/* ================= FONTS ================= */
@font-face {
    font-family: "EchtIT";
    src: url("https://echt-it.de/Fonts/Akzidenz%20Grotesk%20Font%20Family/AkzidenzGroteskBE-LightCn.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "EchtIT", Arial, sans-serif;
    color: #142a79;
    line-height: 1.6;
    background-color: #ffffff;
}

.section,
.section.light {
    background-color: #ffffff;
    box-shadow: none;
}

body.menu-open {
    overflow: hidden;
}

/* ================= HEADER ================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
	will-change: transform;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo img {
    height: 55px;
}

.header-motto {
    color: #142a79;
    font-style: italic;
    font-weight: 500;
    margin: 0 20px;
    white-space: nowrap;
    text-align: center;
    flex: 1;
}

.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #142a79;
    font-weight: 600;
}

.nav a:hover {
    color: #ec6630;
}

/* ================= BURGER MENU ================= */
.burger-menu {
    display: none;
    position: relative;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
}

.burger-line {
    width: 28px;
    height: 3px;
    background-color: #142a79;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.burger-logo {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 4px;
}

/* Burger Menu Active State */
.burger-menu.active .burger-line {
    opacity: 0;
    transform: scale(0);
}

.burger-menu.active .burger-logo {
    width: 36px;
    height: 36px;
    opacity: 1;
}

/* ================= MOBILE NAVIGATION ================= */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding-top: 100px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    padding: 20px 30px;
    text-decoration: none;
    color: #142a79;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px solid #f5f7fb;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav a:hover {
    background-color: #f5f7fb;
    color: #ec6630;
}

/* ================= HERO / VIDEO ================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 45px;
    border-radius: 28px;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.hero-box h1 {
    color: #142a79;
    font-size: 56px;
    margin-bottom: 10px;
}

.hero-box p {
    color: #142a79;
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-box h1 {
    color: #142a79;
    font-size: 40px;
    margin-bottom: 0;
}

.hero-box .hero-logo {
    height: 40px;
    width: auto;
}

/* ================= BUTTONS ================= */
.btn {
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

/* Primary Button (Orange) */
.btn.anrufen {
    background-color: transparent;
    color: #142a79;
    border: 2px solid #142a79;
}

/* Secondary Button (Transparent mit Rahmen) */
.btn.whatsapp {
    background-color: transparent;
    color: #142a79;
    border: 2px solid #142a79;
}

/* Blue Button (Neu für Anrufen) */
.btn.ninja {
    background-color: #142a79;
    color: #ffffff;
    border: 2px solid #142a79;
}

/* Download / Special Button */
.btn-download {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    color: #142a79;
    background-color: #ffffff;
    border: 2px solid #142a79;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ================= HOVER ONLY ON HOVER-DEVICES ================= */
@media (hover: hover) {
    .btn.anrufen:hover {
        background-color: #ff7a45;
        border-color: #ff7a45;
    }

    .btn.whatsapp:hover {
        background-color: #ec6630;
        border-color: #ec6630;
        color: #ffffff;
    }
    
    .btn.ninja:hover {
        background-color: #ec6630;
        border-color: #ec6630;
    }

    .btn-download:hover {
        background-color: #ec6630;
        border-color: #ec6630;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }
}

/* ================= SECTIONS ================= */
.section {
    padding: 40px 10%;
}

.section.light {
    background-color: #ffffff;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #142a79;
}

/* ================= SERVICES ================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-8px);
}

.service-box h3 {
    margin-bottom: 15px;
    color: #ec6630;
}

/* ================= ABOUT ================= */
.about {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.about-left {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.about-text {
    margin-bottom: 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.download-cv {
    margin-top: 30px;
    text-align: center;
}

.about-images {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-images img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ================= REFERENCES ================= */
.references {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.reference-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.reference-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.reference-box span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #ec6630;
}

/* ================= REFERENCES SLIDER ================= */
.slider-wrapper {
    position: relative;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 60px;
    width: fit-content;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    animation: slideLeft 30s linear infinite;
}

/* Animation pausieren beim Hover */
.slider-wrapper:hover .slider-track {
    animation-play-state: paused;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-item {
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    touch-action: pan-x;
    -webkit-tap-highlight-color: transparent;
}

.slider-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.slider-item:active {
    transform: scale(0.98);
}

.slider-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* ================= REFERENCE MODAL ================= */
.reference-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 42, 121, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.reference-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.reference-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ec6630;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: #142a79;
}

.modal-body {
    display: flex;
    gap: 40px;
    padding: 50px;
    align-items: center;
}

.modal-image {
    flex-shrink: 0;
}

.modal-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.modal-text {
    flex: 1;
}

.modal-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #142a79;
    margin-bottom: 20px;
    font-style: italic;
}

.modal-text span {
    display: block;
    font-weight: bold;
    color: #ec6630;
    font-size: 16px;
}

/* ================= RESPONSIVE MODAL & SLIDER ================= */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .modal-image img {
        width: 150px;
        height: 150px;
    }

    .modal-text p {
        font-size: 16px;
    }

    .slider-track {
        gap: 40px;
        padding: 0 20px;
    }

    .slider-item {
        padding: 15px;
    }

    .slider-item img {
        height: 60px;
    }
    
    .slider-wrapper {
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 30px 20px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .modal-image img {
        width: 120px;
        height: 120px;
    }

    .slider-track {
        gap: 30px;
        padding: 0 15px;
    }

    .slider-item {
        padding: 12px;
    }

    .slider-item img {
        height: 50px;
    }
}

/* ================= KARRIERE ================= */
#karriere {
    background-color: #ffffff;
}

.karriere-content {
    max-width: 800px;
    margin: 0 auto;
}

.karriere-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.karriere-box h3 {
    margin-bottom: 25px;
    color: #ec6630;
    font-size: 28px;
}

.karriere-box p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: #142a79;
    text-align: left;
}

.karriere-cta {
    margin-top: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .karriere-box {
        padding: 30px 25px;
    }

    .karriere-box h3 {
        font-size: 24px;
    }

    .karriere-box p {
        font-size: 16px;
    }
}

/* ================= CONTACT ================= */
.contact {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-info a {
    color: #ec6630;
    text-decoration: none;
    font-weight: bold;
}

.contact-map {
    flex: 1;
    min-width: 280px;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}

/* ================= FOOTER ================= */
.footer {
    background-color: #142a79;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .header {
        padding: 0px 20px;
    }

    .header-motto {
        display: none;
    }

    .nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero-box h1 {
        font-size: 44px;
    }

    .hero-box p {
        font-size: 18px;
    }

    .section {
        padding: 30px 5%;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about {
        gap: 30px;
    }

    .about-left {
        order: 1;
    }

    .about-images {
        order: 2;
    }

    .about-images img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }

    .hero-box {
        padding: 35px 25px;
    }

    .hero-box h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-box h1 {
        font-size: 44px;
    }
    
    .hero-box .hero-logo {
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-box h1 {
        font-size: 36px;
    }
    
    .hero-box .hero-logo {
        height: 36px;
    }
    
    .hero-title {
        gap: 15px;
    }
}