@charset "UTF-8";

/* ----------------------------------------
   Grund‐Reset
   ---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* ----------------------------------------
   Top‐Bar
   ---------------------------------------- */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

    .top-bar .container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px;
        font-size: 0.9rem;
        color: #333333;
    }

.top-left, .top-right {
    display: flex;
    align-items: center;
}

    .top-left .icon-phone,
    .top-right .icon-clock {
        margin-right: 5px;
        font-size: 1rem;
    }

/* ----------------------------------------
   Navbar
   ---------------------------------------- */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
}

.nav-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.nav-right {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}




.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 25px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

    .nav-links a {
        position: relative;
        text-decoration: none;
        color: #333333;
        font-weight: 600;
        font-size: 1rem;
        transition: color 0.2s ease-in-out;
    }


        .nav-links a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -4px;
            width: 0;
            height: 3px;
            background-color: #1ab5a5;
            transition: width 0.3s ease, left 0.3s ease;
        }


        .nav-links a:hover {
            color: #1ab5a5; 
        }

            .nav-links a:hover::after {
                left: 0;
                width: 100%;
            }


.language-selector {
    position: relative;
    display: inline-block;
    overflow: visible;
}

    .language-selector .lang-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 4px;
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        list-style: none;
        padding: 5px 0;
        min-width: 120px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
        z-index: 100;
    }


    .language-selector:hover .lang-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

  
    .language-selector .lang-button {
        background: transparent;
        border: none;
        position: relative;
        color: #333;
        padding: 0; 
        cursor: pointer;
    }

        .language-selector .lang-button::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -4px;
            width: 0;
            height: 3px;
            background-color: #1ab5a5;
            transition: width 0.3s ease, left 0.3s ease;
        }

        .language-selector .lang-button:hover {
            color: #1ab5a5;
        }

            .language-selector .lang-button:hover::after {
                left: 0;
                width: 100%;
            }

  
    .language-selector .lang-dropdown li a {
        display: block;
        padding: 8px 16px;
        position: relative;
        color: #333;
        text-decoration: none;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

        .language-selector .lang-dropdown li a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -4px;
            width: 0;
            height: 3px;
            background-color: #1ab5a5;
            transition: width 0.3s ease, left 0.3s ease;
        }
    .language-selector .lang-button,
    .language-selector .lang-dropdown li a {
        font-weight: 600;
        font-size:.969rem;
    }


        .language-selector .lang-dropdown li a:hover {
            color: #1ab5a5;
            background-color: transparent !important;
        }

            .language-selector .lang-dropdown li a:hover::after {
                left: 0;
                width: 100%;
            }

      
        .language-selector .lang-dropdown li a:hover,
        .language-selector .lang-dropdown li a:focus {
            background-color: transparent !important;
        }


    
    .language-selector:hover .lang-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* ----------------------------------------
   Carousel:
   ---------------------------------------- */
.carousel {
    position: relative;
    width: 100%;
    height: 62vh; 
    overflow: hidden;
}

.btn-contact-slide {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    margin-top: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 6px;
    background-color: #1ab5a5;
    color: white;
    text-decoration: none;
    margin-right: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .btn-contact-slide:hover {
        background-color: #1ab5a5;
        transform: translateY(-2px);
    }


    .carousel .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        pointer-events: none; 
    }


        .carousel .slide.active {
            opacity: 1;
            z-index: 1;
            pointer-events: auto;
        }

        .carousel .slide .overlay {
            position: absolute;
            top: 50%;
            left: 40%;
            transform: translate(-50%, -50%);
            z-index: 2;
            max-width: 1100px;
        }

    .logo{
        display: flex;
        align-items: center;
    }

    .logo-txt{
        text-decoration: none;
        color: black;
        font-size: 1.3rem;
    }
    .carousel .overlay {
        position: absolute;
        top: 30%;
        left: 5%;
        z-index: 2;
        max-width: 700px;
    }

    .carousel .title-bar {
        background-color: #ffffff;
        display: flex;
        padding: 10px 20px;
        font-size: 2.5rem;
        font-weight: 600;
        line-height: 1.2;
        width: 85%;
    }

    .carousel .title-bold {
        color: #000000;
        font-size:2.4rem;
    }

    .carousel .title-light {
        color: #000000;
        font-weight: 400;
        padding-left: 25px;
    }

.carousel .description {
    background-color: #1ab5a5;
    color: #ffffff;
    padding: 20px;
    margin-top: 20px;
    font-size: 1.8rem;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.carousel .bottom-red {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #1ab5a5;
    z-index: 1;
}


.overlay {
    position: absolute;
    top: 30%; 
    left: 5%; 
    transform: translateY(-10%);
    z-index: 2;
    max-width: 600px; 
}

.title-bar {
    background-color: #ffffff;
    display: inline-block;
    padding: 10px 20px;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.title-bold {
    color: #000000;
}

.title-light {
    color: #000000;
    font-weight: 400;
}

.description {
    background-color: #1ab5a5; /* kräftiges Rot */
    color: #ffffff;
    padding: 20px;
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.bottom-red {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Höhe des roten Balkens */
    background-color: #1ab5a5;
    z-index: 1;
}

/* ----------------------------------------
   Responsive Anpassungen
   ---------------------------------------- */
@media (max-width: 1024px) {
    .overlay {
        top: 25%;
        left: 5%;
        max-width: 80%;
    }

    .title-bar {
        font-size: 1.8rem;
        padding: 8px 16px;
    }

    .description {
        font-size: 0.95rem;
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .title-bar {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .overlay {
        top: 20%;
        left: 3%;
        max-width: 95%;
    }

    .title-bar {
        font-size: 1.3rem;
        padding: 6px 12px;
    }

    .description {
        font-size: 0.85rem;
        padding: 16px;
    }
}



.button-group {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 17px 30px;
    font-size: 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.btn-contact {
    background-color: #1ab5a5; /* kräftiges Rot */
    color: white;
    border: none;
}

    .btn-contact:hover {
        opacity: 0.8;
    }

.btn-info-slide {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    margin-top: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 6px;
    background-color: white;
    color: black;
    text-decoration: none;
    margin-right: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .btn-info-slide:hover {
        background-color: #f5f5f5;
        transform: translateY(-2px);
    }


    .btn-info:hover {
        opacity: 0.8;
    }

.btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: white;
}

.btn-info svg {
    fill: black;
}


/* =========================
   Nos Services Section
   ========================= */
.services {
    background-color: #ffffff; /* Weißer Hintergrund */
    padding: 60px 20px;
}

    .services .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Überschrift + rote Unterline */
    .services .section-header {
        position: relative;
        display: inline-block; /* Damit Unterline knapp an der Headline bleibt */
        margin-bottom: 40px;
    }

        .services .section-header h2 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #111111;
            line-height: 1.2;
        }

    .services .underline {
        position: absolute;
        top: -5px;
        left: 0;
        width: 160px; /* Länge der roten Linie */
        height: 4px; /* Dicke der roten Linie */
        background-color: #1ab5a5; /* Kräftiges Rot */
    }

    /* Grid für die Service-Items */
    .services .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px; /* Abstand zwischen den Kacheln */
    }

.services {
    background-color: #ffffff;
    padding: 60px 20px;
}

    .services .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Überschrift + rote Unterline bleibt unverändert */
    .services .section-header {
        position: relative;
        display: inline-block;
        margin-bottom: 40px;
    }

        .services .section-header h2 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #111111;
            line-height: 1.2;
        }

    .services .underline {
        position: absolute;
        top: -5px;
        left: 0;
        width: 160px;
        height: 4px;
        background-color: #1ab5a5;
    }

    /* Grid für die Service-Items */
    .services .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    /* Basis-Style für jedes Item: unsichtbar, nach unten verschoben */
    .services .service-item {
        position: relative;
        background-color: #fafafa;
        border-radius: 12px;
        padding: 20px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0; /* erstmal unsichtbar */
        transform: translateY(20px); /* nach unten geschoben */
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

        /* Sobald .in-view dazu kommt, wird es sichtbar und verschiebt sich nach oben */
        .services .service-item.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        /* Hover & Icon-Effekte bleiben wie gehabt */
        .services .service-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        }

        .services .service-item .icon {
            width: 120px;
            height: 120px;
            margin-bottom: 16px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            transition: transform 0.3s ease, filter 0.3s ease;
        }

        .services .service-item:hover .icon {
            transform: scale(1.1) rotate(10deg);
            filter: brightness(1.2);
        }

        .services .service-item h3 {
            font-size: 1.25rem;
            font-weight: bold;
            color: #111111;
            margin-bottom: 12px;
            position: relative;
            transition: color 0.3s ease;
        }

            .services .service-item h3::after {
                content: "";
                position: absolute;
                bottom: -4px;
                left: 50%;
                width: 0;
                height: 3px;
                background-color: #1ab5a5;
                transition: width 0.3s ease, left 0.3s ease;
            }

        .services .service-item:hover h3::after {
            left: 0;
            width: 100%;
        }

        .services .service-item:hover h3 {
            color: #1ab5a5;
        }

        .services .service-item p {
            font-size: 1rem;
            line-height: 1.5;
            color: #333333;
            transition: color 0.3s ease;
        }

        .services .service-item:hover p {
            color: #111111;
        }

        /* Icon-Hintergründe beibehalten */
        .services .service-item .icon-installation {
            background-image: url('images/moji0.png');
        }

        .services .service-item .icon-lighting {
            background-image: url('images/moji1.png');
        }

        .services .service-item .icon-automation {
            background-image: url('images/moji2.png');
        }

        .services .service-item .icon-safety {
            background-image: url('images/moji3.png');
        }

        .services .service-item .icon-photovoltaic {
            background-image: url('images/moji4.png');
        }

/* Responsive: Bei kleinen Bildschirmen eins- oder zweispaltig */
@media (max-width: 992px) {
    .services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Nos derniers travaux Section:
   ========================================== */
.recent-work {
    /* Leichtes diagonales Muster als Hintergrund */
    background-color: #f9f9f9;
    background-image: repeating-linear-gradient( 135deg, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 5px );
    padding: 80px 0px 10px 0px;
}

    .recent-work .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Header: zentriert, Unterlinie animieren */
#projects .section-header {
    text-align: left;
    left: 0;
    transform: none;
}

        .recent-work .section-header h2 {
            font-size: 2.75rem;
            font-weight: bold;
            color: #111;
            line-height: 1.2;
            position: relative;
            display: inline-block;
            margin-bottom: 8px;
        }

        /* Animierte Unterlinie: vollständige Breite beim Laden */
        .recent-work .section-header .underline {
            position: absolute;
            left: 0%;
            top: 0px;
            width: 0;
            height: 4px;
            background-color: #1ab5a5;
            animation: expandUnderline 0.8s ease-out forwards;
        }

/* Keyframes für Unterlinien-Animation */
@keyframes expandUnderline {
    to {
        width: 150px;
    }
}

/* Grid: etwas enger anordnen, damit es kompakter wirkt */
.recent-work .work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Basis-Style für jede Kachel: unsichtbar + leicht verkleinert */
.recent-work .work-item {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    opacity: 1;
    transform: scale(0.93);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Pop-In-Animation wie zuvor, aber mit neuem Namen */
@keyframes popInNew {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.recent-work .work-item.in-view {
    animation: popInNew 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered Delay für Pop-In */
.recent-work .work-item:nth-child(1).in-view {
    animation-delay: 0.1s;
}

.recent-work .work-item:nth-child(2).in-view {
    animation-delay: 0.2s;
}

.recent-work .work-item:nth-child(3).in-view {
    animation-delay: 0.3s;
}

.recent-work .work-item:nth-child(4).in-view {
    animation-delay: 0.4s;
}

.recent-work .work-item:nth-child(5).in-view {
    animation-delay: 0.5s;
}

.recent-work .work-item:nth-child(6).in-view {
    animation-delay: 0.6s;
}
.recent-work .work-item:nth-child(7).in-view {
    animation-delay: 0.7s;
}
.recent-work .work-item:nth-child(8).in-view {
    animation-delay: 0.8s;
}

/* Bild-Grundstil: abgerundete Ecken, leichte Graustufen */
.recent-work .work-item img {
    width: 110%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    filter: grayscale(30%);
    transition: filter 0.5s ease-in-out;
}

/* Hover: Bild zoomt etwas, Graustufen zurücksetzen, Schatten */
.recent-work .work-item:hover img {
    transform: scale(1);
    filter: grayscale(0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Hover: gesamte Karte hebt sich leicht */
.recent-work .work-item:hover {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* Overlay für .work-overlay: sanftes Slide-Up statt abrupt */
.recent-work .work-item.work-overlay .overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 181, 165, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

    .recent-work .work-item.work-overlay .overlay-content h3 {
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: bold;
        padding: 0 20px;
        line-height: 1.3;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

/* Overlay einblenden: Slide-Up */
.recent-work .work-item.work-overlay:hover .overlay-content {
    opacity: 1;
    transform: translateY(0);
}

/* Karten-Text */
.recent-work .work-item .caption {
    padding: 16px;
    font-size: 1rem;
    color: #333;
}

/*Galerie‐Button mit Slide‐In + Hover‐Effekt*/
.work-cta {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.btn-gallery {
    position: relative;
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #1ab5a5;
    border: 2px solid #1ab5a5;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    transition: color 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

    .btn-gallery span {
        position: relative;
        z-index: 1;
    }

    /* Hintergrund‐Slide auf Hover */
    .btn-gallery::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #1ab5a5;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
        z-index: 0;
    }

    .btn-gallery:hover {
        color: white;
    }

        .btn-gallery:hover::before {
            transform: scaleX(1);
        }

/* Keyframes für sanftes Einblenden */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 992px) {
    .recent-work .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .recent-work .work-grid {
        grid-template-columns: 1fr;
    }

    .recent-work .section-header h2 {
        font-size: 2rem;
    }
}
/* ==============================
   Metrics
   ============================== */
.metrics {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.metrics-header {
    text-align: center;
    margin-bottom: 40px;
}

    .metrics-header h2 {
        font-size: 2.5rem;
        font-weight: bold;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

.section-header {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

    .section-header .underline {
        position: absolute;
        top: -7px; /* knapp über die Überschrift */
        left: 0; /* beginnt links am Container */
        width: 80px; /* Länge der Linie */
        height: 4px;
        background-color: #1ab5a5;
    }


.metrics-subtitle {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card */
.metric-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .metric-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }

    .metric-card .icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 16px;
    }

        .metric-card .icon img {
            width: 100%;
            height: auto;
        }

/* Zahl */
.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1ab5a5;
    margin: 0 0 8px;
    transition: color 0.3s ease;
}

.metric-card:hover .metric-number {
    color: #0e8b7f;
}

/* Label */
.metric-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews {
    background-color: #ffffff;
    padding: 60px 20px;
}

    .reviews .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .reviews .section-header {
        position: relative;
        display: inline-block;
        margin-bottom: 40px;
    }

        .reviews .section-header h2 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #111111;
            line-height: 1.2;
        }

        .reviews .section-header .underline {
            position: absolute;
            top: -5px;
            left: 0;
            width: 130px;
            height: 4px;
            background-color: #1ab5a5;
        }

    /* Grid für die Review‐Karten */
    .reviews .reviews-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Einzelne Review‐Karte */
    .reviews .review-item {
        position: relative;
        background-color: #fafafa;
        border-radius: 12px;
        padding: 20px 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .reviews .review-item {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

        .reviews .review-item.in-view {
            opacity: 1;
            transform: translateY(0);
        }


        .reviews .review-item:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        }

    .reviews .review-stars {
        font-size: 1.2rem;
        color: #FFB800;
        margin-bottom: 12px;
    }

    .reviews .review-text {
        font-size: 1rem;
        line-height: 1.5;
        color: #333333;
        margin-bottom: 16px;
    }

    .reviews .review-author {
        font-size: 0.9rem;
        color: #555555;
    }

        .reviews .review-author .author-name {
            font-weight: 600;
            color: #111111;
        }

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .reviews .reviews-grid {
        grid-template-columns: 1fr;
    }
}


.about {
    background-color: #ffffff;
    background-image: repeating-linear-gradient( 135deg, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 5px );
    padding: 80px 20px; /* Oben/unten Abstand */
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px; /* Abstand zwischen Bild- und Text-Container */
}

/* ==============================
   Linke Seite: Bilder-Container
   ============================== */
.about-images {
    position: relative;
    flex: 1 1 0;
    max-width: 500px;
    min-width: 280px;
    height: auto;
    overflow: visible;
}

/* Basis‐Stil für beide Bilder */
.about-img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
}

    /* Hinteres Bild: leicht zurückgesetzt, dunklerer Filter */
    .about-img.img-back {
        position: relative;
        z-index: 1;
        width: 90%;
        margin-left: 40px; /* schiebt das Back-Bild leicht nach rechts */
        margin-top: 20px; /* hebt es ein wenig nach unten */
        filter: grayscale(30%);
    }

    /* Vorderes Bild: überlappt, minimal größer */
    .about-img.img-front {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        width: 80%;
        height: 100%;
        max-width: none;
        filter: grayscale(15%);
    }

/* ==============================
   Pop-In-Animation für Bilder
   ============================== */
@keyframes slideInLeftBack {
    0% {
        opacity: 0;
        transform: translateX(-60px) scale(0.8) rotate(-5deg);
    }

    50% {
        opacity: 1;
        transform: translateX(10px) scale(1.02) rotate(-3deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(-2deg);
    }
}

@keyframes slideInRightFront {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.8) rotate(5deg);
    }

    50% {
        opacity: 1;
        transform: translateX(-10px) scale(1.02) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(2deg);
    }
}

/* Wenn die Klasse .in-view gesetzt wird, laufen die Animationen */
.about-images.in-view .img-back {
    animation: slideInLeftBack 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.about-images.in-view .img-front {
    animation: slideInRightFront 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


.about-images:hover .img-back {
    transform: translateX(-5px) scale(1.02) rotate(-2deg);
    filter: grayscale(0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Auf hover: Front‐Bild leicht nach oben, größer und volle Farbe */
.about-images:hover .img-front {
    transform: translateY(-8px) scale(1.05) rotate(2deg);
    filter: grayscale(0);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* ==============================
   Rechte Seite: Text-Container
   ============================== */
.about-text {
    flex: 1 1 0;
    max-width: 600px;
    text-align: left;
}

    .about-text h2 {
        font-size: 3rem;
        font-weight: bold;
        color: #111111;
        margin-bottom: 16px;
        line-height: 1.1;
    }

    .about-text .subtitle {
        font-size: 1.125rem;
        font-weight: 600;
        color: #222222;
        margin-bottom: 24px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        color: #333333;
        margin-bottom: 18px;
    }

.about-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

    .about-buttons .btn-contact {
        background-color: #1ab5a5;
        color: white;
        border: none;
        padding: 14px 28px;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        transition: opacity 0.2s;
    }

        .about-buttons .btn-contact:hover {
            opacity: 0.8;
        }

    .about-buttons .btn-info {
        background-color: transparent;
        color: #111111;
        border: 2px solid #111111;
        padding: 14px 28px;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: background-color 0.2s, color 0.2s;
    }

        .about-buttons .btn-info:hover {
            background-color: #f0f0f0;
        }

/* ==============================
   Responsive Anpassungen
   ============================== */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .about-images {
        max-width: 80%;
    }

        .about-images .img-back {
            margin-left: 20px;
            margin-top: 10px;
        }

        .about-images .img-back:hover {
            transform: translateX(-10px) translateY(-5px) scale(1.02) rotate(-1deg);
            filter: grayscale(0); /* volle Farbe */
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
            cursor: pointer;
        }

        /* Wenn du über das vordere Bild hoverst */
        .about-images .img-front:hover {
            transform: translateY(-12px) scale(1.07) rotate(3deg);
            filter: grayscale(0);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
            cursor: pointer;
        }

        .about-images .img-front {
            width: 120%;
        }

    .about-text {
        max-width: 90%;
        text-align: center;
    }

        .about-text h2 {
            font-size: 2.5rem;
        }
}

@media (max-width: 640px) {
    .about {
        padding: 60px 15px;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .about-text .subtitle {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .about-text p {
        margin-bottom: 14px;
        font-size: 0.95rem;
    }

    .about-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

        .about-buttons .btn-contact,
        .about-buttons .btn-info {
            width: 100%;
            justify-content: center;
        }
}

/* ==============================
   Confiance et localisation Section
   ============================== */
.contact-section {
    background: url('images/bgb.jpg') center/cover no-repeat;
    position: relative;
    padding: 100px 20px; /* Oben/unten Abstand */
    color: white;
}

    .contact-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

.contact-container {
    position: relative;
    z-index: 2; /* über dem Overlay */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px; /* Abstand zwischen links und rechts */
}

/* ====== Linke Spalte ====== */
.contact-left {
    flex: 1 1 0;
    max-width: 550px;
}

    .contact-left h2 {
        font-size: 2.5rem;
        font-weight: bold;
        line-height: 1.2;
        margin-bottom: 20px;
    }

.contact-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

/* roter Link-Button */
.btn-contact-left {
    background-color: #1ab5a5;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .btn-contact-left svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .btn-contact-left:hover {
        opacity: 0.8;
    }

/* weißer Info-Button */
.btn-info-left {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

    .btn-info-left:hover {
        background-color: white;
        color: #111;
    }


.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-label {
    flex: 0 0 140px; 
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
}

.progress-wrap {
    flex: 1 1 auto;
    background-color: rgba(255, 255, 255, 0.2);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background-color: #1ab5a5;
    height: 100%;
    transition: width 0.4s ease;
}

.progress-percent {
    flex: 0 0 50px;
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

/* ====== Rechte Spalte ====== */
.contact-right {
    flex: 1 1 0;
    max-width: 450px;
    background-color: white;
    border-top: 6px solid #1ab5a5; /* rote Top-Border */
    border-radius: 6px;
    padding: 30px 25px;
    box-sizing: border-box;
    color: #111;
}

    .contact-right h3 {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 20px;
    }

    /* Form-Layout */
    .contact-right form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.two-cols .form-group {
    flex: 1 1 calc(50% - 10px);
}

.full-width {
    flex: 1 1 100%;
}



.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
        border: 2px solid #111;
        border-radius: 8px;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #1ab5a5;
        }

    .form-group textarea {
        resize: vertical;
        height: 125px;
    }

/* Checkbox-Zeile */
.checkbox-row {
    align-items: center;
}

    .checkbox-row label {
        font-size: 0.95rem;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .checkbox-row input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

/* Submit-Button */
.btn-contact-form {
    background-color: #1ab5a5;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
    transition: opacity 0.2s;
}

    .btn-contact-form svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .btn-contact-form:hover {
        opacity: 0.8;
    }

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left,
    .contact-right {
        max-width: 100%;
    }

    .progress-label {
        flex: 0 0 120px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 60px 15px;
    }

    .contact-left h2 {
        font-size: 2rem;
    }

    .contact-intro {
        font-size: 0.95rem;
    }

    .button-group {
        flex-direction: column;
        gap: 16px;
    }

    .btn-contact-left,
    .btn-info-left {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .two-cols .form-group {
        flex: 1 1 100%;
    }
}












/* ==============================
   Footer‐Styles
   ============================== */
.site-footer {
    background-color: #111111;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Container für alle Spalten */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
}

/* Jede Footer‐Spalte */
.footer-column {
    flex: 1 1 220px; /* wächst, schrumpft, Basis 220px */
}

    /* Überschrift in jeder Spalte */
    .footer-column h3 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #ffffff;
        margin-bottom: 16px;
    }

    /* Kontakt‐Paragraphen */
    .footer-column p {
        margin-bottom: 10px;
        color: #cccccc;
    }

/* Links in Schnelle Links und Social */
.footer-links,
.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li,
    .social-links li {
        margin-bottom: 8px;
    }

    .footer-links a,
    .social-links a {
        color: #cccccc;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-links a:hover,
        .social-links a:hover {
            color: #1ab5a5;
        }

/* Untere Leiste */
.footer-bottom {
    background-color: #0a0a0a;
    text-align: center;
    padding: 16px 20px;
    border-top: 1px solid #222222;
}

    .footer-bottom p {
        margin: 0;
        color: #777777;
        font-size: 0.85rem;
    }

/* ==============================
   Responsive Anpassungen
   ============================== */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-column {
        flex: 1 1 100%;
        text-align: center;
    }
}


/* ==============================
   Links Kontakt
   ============================== */

.contact-section,
.contact-wrapper,
.contact-leftbox,
.contact-right {
  position: relative;   /* nötig, sonst wirkt z-index nicht */
  z-index: 1001;        /* hoch genug für die meisten Overlays */
}


.contact-wrapper{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* links Infos, rechts Formular */
  gap: 40px;
}


.contact-wrapper > .contact-container{
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}

.contact-leftbox-title{
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
}

.contact-leftbox-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-leftbox-item{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 23px;
}

.contact-leftbox-icon{
  width: 22px;
  display: inline-flex;
  justify-content: center;
  opacity: .9;
}

.contact-leftbox-link{
  color: #1ab5a5;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.contact-leftbox-link:hover{
  border-bottom-color: currentColor;
}

@media (max-width: 900px){
  .contact-wrapper{ grid-template-columns: 1fr; gap: 24px; }
}

/* ==============================
   Jobs‐Sektion & Bewerbungsformular
   ============================== */
.jobs {
    background-color: #f5f5f5;
    padding: 80px 20px;
}

    .jobs .container {
        max-width: 800px;
        margin: 0 auto;
        text-align: left;
    }

    .jobs .section-header {
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
    }

        .jobs .section-header h2 {
            font-size: 2.75rem;
            font-weight: bold;
            color: #111111;
            line-height: 1.2;
        }

        .jobs .section-header .underline {
            position: absolute;
            top: -15px;
            left: 0;
            width: 130px;
            height: 4px;
            background-color: #1ab5a5;
        }

.jobs-intro {
    font-size: 1rem;
    color: #444444;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Karte um das Formular */
.jobs-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Formular-Layout */
.jobs-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    /* Form-Gruppen */
    .jobs-form .form-row {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .jobs-form .two-cols .form-group {
        flex: 1 1 calc(50% - 10px);
    }

    .jobs-form .full-width {
        flex: 1 1 100%;
    }

    .jobs-form .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .jobs-form label {
        margin-bottom: 6px;
        font-weight: 500;
        color: #111111;
    }

    .jobs-form input[type="text"],
    .jobs-form input[type="email"],
    .jobs-form input[type="tel"],
    .jobs-form input[type="file"],
    .jobs-form textarea {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border: 2px solid #d0d0d0;
        border-radius: 8px;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
        background-color: #fafafa;
    }

        .jobs-form input:focus,
        .jobs-form textarea:focus {
            border-color: #1ab5a5;
            box-shadow: 0 0 6px rgba(255, 59, 48, 0.3);
        }

    .jobs-form textarea {
        resize: vertical;
        min-height: 120px;
    }

    /* Checkbox */
    .jobs-form .checkbox-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        color: #333333;
    }

        .jobs-form .checkbox-row input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

    /* Submit-Button */
    .jobs-form .btn-contact-form {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        padding: 14px 32px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 6px;
        background-color: #1ab5a5;
        color: white;
        text-decoration: none;
        border: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
        cursor: pointer;
    }

        .jobs-form .btn-contact-form svg {
            margin-right: 8px;
            fill: white;
        }

        .jobs-form .btn-contact-form:hover {
            background-color: #1ab5a5;
            transform: translateY(-2px);
        }

/* ==============================
   Responsive Anpassungen
   ============================== */
@media (max-width: 768px) {
    .jobs-form .two-cols .form-group {
        flex: 1 1 100%;
    }

    .jobs-form .btn-contact-form {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================
   Galerie‐Sektion
   ============================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Section-Header zentriert und Überline */
.gallery .section-header {
    position: relative;
    text-align: center;
    margin-bottom: 16px;
}
.gallery{
    margin-bottom: 50px;
}

    .gallery .section-header::before {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background-color: #1ab5a5;
        margin-top: 50px;
    }

    .gallery .section-header h2 {
        font-size: 2.5rem;
        font-weight: 600;
        color: #111;
    }

.gallery-intro {
    padding-left: 3px;
    margin-bottom: 32px;
    font-size: 1rem;
    color: #555;
}

/* Moderner Masonry-Grid mit variabler Span-Klasse */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1.2fr));
    grid-auto-rows: 250px;
    gap: 16px;
    grid-auto-flow: dense;
    max-width: 1700px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-item.large-row {
        grid-row: span 2;
    }

    .gallery-item.large-col {
        grid-column: span 2;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    }

    .gallery-item .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 12px;
        background: rgba(0,0,0,0.6);
        color: #fff;
        font-weight: 600;
        opacity: 0;
        transform: translateY(100%);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .gallery-item:hover .overlay {
        opacity: 1;
        transform: translateY(0);
    }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
    }

    .lightbox:target {
        display: flex;
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}






@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header: schneller einfliegen */
#services .section-header.in-view {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.1s; /* weniger Delay */
}

#services .services-grid .service-item.in-view {
    animation: fadeInUp 0.5s ease-out forwards;
}

#services .services-grid .service-item:nth-child(1).in-view {
    animation-delay: 0.2s;
}

#services .services-grid .service-item:nth-child(2).in-view {
    animation-delay: 0.35s;
}

#services .services-grid .service-item:nth-child(3).in-view {
    animation-delay: 0.5s;
}

#services .services-grid .service-item:nth-child(4).in-view {
    animation-delay: 0.65s;
}

#services .services-grid .service-item:nth-child(5).in-view {
    animation-delay: 0.8s;
}


#projects [data-animate].in-view {
    animation: fadeInUp 0.5s ease-out forwards;
}

#projects .section-header.in-view {
    animation-delay: 0.1s;
}

#projects .work-item:nth-child(1).in-view {
    animation-delay: 0.2s;
}

…
#projects .work-item:nth-child(8).in-view {
    animation-delay: 0.9s;
}

#projects .work-cta.in-view {
    animation-delay: .1s;
}


@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


#metrics [data-animate].in-view {
    animation: bounceIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


#metrics .metrics-header.in-view {
    animation-delay: 0.1s;
}

#metrics .section-header.in-view {
    animation-delay: 0.2s;
}

#metrics .metrics-subtitle.in-view {
    animation-delay: 0.3s;
}

#metrics .metric-card:nth-child(1).in-view {
    animation-delay: 0.4s;
}

#metrics .metric-card:nth-child(2).in-view {
    animation-delay: 0.6s;
}

#metrics .metric-card:nth-child(3).in-view {
    animation-delay: 0.8s;
}

#about .about-text [data-animate],
#about .about-buttons[data-animate] {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
}

#about .about-images .img-back,
#about .about-images .img-front {
    opacity: 0;
}

@keyframes slideInLeftBack {
    0% {
        opacity: 0;
        transform: translateX(-60px) scale(0.8) rotate(-5deg);
    }

    50% {
        opacity: 1;
        transform: translateX(10px) scale(1.02) rotate(-3deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(-2deg);
    }
}

@keyframes slideInRightFront {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.8) rotate(5deg);
    }

    50% {
        opacity: 1;
        transform: translateX(-10px) scale(1.02) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(2deg);
    }
}

#about .about-images.in-view .img-back {
    animation: slideInLeftBack 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

#about .about-images.in-view .img-front {
    animation: slideInRightFront 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.4s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#about .section-header[data-animate].in-view {
    animation: slideInRight 0.6s ease-out forwards;
    animation-delay: 0.6s;
}

#about .about-text .subtitle[data-animate].in-view {
    animation: slideInRight 0.6s ease-out forwards;
    animation-delay: 0.8s;
}

#about .about-text p[data-animate]:nth-of-type(2).in-view {
    animation: slideInRight 0.6s ease-out forwards;
    animation-delay: 1.0s;
}

#about .about-text p[data-animate]:nth-of-type(3).in-view {
    animation: slideInRight 0.6s ease-out forwards;
    animation-delay: 1.2s;
}

#about .about-text p[data-animate]:nth-of-type(4).in-view {
    animation: slideInRight 0.6s ease-out forwards;
    animation-delay: 1.4s;
}

#about .about-buttons[data-animate].in-view {
    animation: popUp 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    animation-delay: 1.6s;
}


#contact [data-animate] {
    transform: translateY(20px) scale(0.95);
}


@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateX(20px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

#contact .contact-left.in-view {
    animation: slideInFromLeft 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
    animation-delay: 0.2s;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#contact .contact-intro.in-view {
    animation: fadeUp 0.5s ease-out forwards;
    animation-delay: 0.4s;
}


@keyframes popPulse {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#contact .button-group.in-view {
    animation: popPulse 0.6s ease-out forwards;
    animation-delay: 0.6s;
}


#contact .progress-item.in-view {
    animation: fadeUp 0.5s ease-out forwards;
}

#contact .progress-item:nth-child(1).in-view {
    animation-delay: 0.8s;
}

#contact .progress-item:nth-child(2).in-view {
    animation-delay: 1.0s;
}

#contact .progress-item:nth-child(3).in-view {
    animation-delay: 1.2s;
}


@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateX(-20px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

#contact .contact-right.in-view {
    animation: slideInFromRight 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
    animation-delay: 0.3s;
}


#contact .form-row.in-view {
    animation: fadeUp 0.5s ease-out forwards;
}

#contact .form-row:nth-of-type(1).in-view {
    animation-delay: 0.5s;
}

#contact .form-row:nth-of-type(2).in-view {
    animation-delay: 0.6s;
}

#contact .form-row:nth-of-type(3).in-view {
    animation-delay: 0.7s;
}

#contact .form-row:nth-of-type(4).in-view {
    animation-delay: 0.8s;
}

#contact .form-row:nth-of-type(5).in-view {
    animation-delay: 0.9s;
}


#contact .btn-contact-form.in-view {
    animation: popPulse 0.6s ease-out forwards;
    animation-delay: 1.1s;
}




@media (max-width: 968px) {
    .nav-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 32px;
        height: 28px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-container {
        position: relative; /* für das absolute Positionieren */
    }

    .nav-toggle {
        display: flex; 
        position: absolute;
        top: 50%;
        right: 20px; 
        transform: translateY(-50%);
        z-index: 1002; 
    }
        .nav-toggle span {
            display: block;
            width: 100%;
            height: 4px;
            background-color: #333;
            border-radius: 2px;
            transition: transform 0.4s ease, opacity 0.4s ease;
        }

        .nav-toggle.open span:nth-child(1) {
            transform: translateY(10px) rotate(45deg);
        }

        .nav-toggle.open span:nth-child(2) {
            opacity: 0;
        }

        .nav-toggle.open span:nth-child(3) {
            transform: translateY(-10px) rotate(-45deg);
        }


    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s;
        z-index: 1000;
    }

  
        .nav-overlay.open {
            opacity: 1;
            visibility: visible;
        }


    .nav-right {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        padding: 60px 20px;
    }

        .nav-right.open {
            transform: translateX(0);
        }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

        .nav-links a {
            font-size: 1.2rem;
            padding: 10px;
            border-radius: 4px;
            transition: background 0.2s;
        }

            .nav-links a:hover {
                background: rgba(26,181,165,0.1);
            }

 
    .language-selector {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .nav-toggle {
        display: flex;
    }
}




@media (max-width: 1024px) {
    .carousel {
        position: relative;
        width: 100%;
        height: 62vh;
        overflow: hidden;
    }

        .carousel .overlay {
            position: absolute;
            top: 30%;
            left: 5%;
            transform: translateY(-10%);
            max-width: 700px;
            padding: 0 1rem;
        }
    .carousel {
        height: 50vh;
    }

        .carousel .overlay {
            top: 35%;
            left: 50%;
            transform: translate(-50%, -35%);
            max-width: 85%;
            padding: 1rem;
        }

        .carousel .title-bar {
            font-size: 2rem;
            padding: 8px 16px;
            width: 100%;
        }

        .carousel .description {
            font-size: 1.2rem;
            padding: 16px;
        }

    .button-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-contact-slide,
    .btn-info-slide {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* ----------------------------------------
   Mobile (<768px)
   ---------------------------------------- */
@media (max-width: 768px) {
    .carousel {
        height: 600px;
    }

    .overlay{
        width: 100%;
    }
        .carousel .slide .overlay {
            top: 30%;
            left: 50%;
            transform: translate(-50%, -40%);
            max-width: 95%;
            text-align: center;
        }


        .carousel .title-bar {
            font-size: 1.5rem;
            padding: 6px 12px;
            line-height: 1.2;
        }

    .carousel .title-bold{
        font-size: 1.5rem;
    }

        .carousel .title-light{
            font-size: 1.5rem;
        }

        .carousel .description {
            font-size: 1rem;
            padding: 12px;
            margin-top: 5px;
        }

    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-contact-slide,
    .btn-info-slide {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* ----------------------------------------
   Kleinste Smartphones (<480px)
   ---------------------------------------- */
@media (max-width: 480px) {
    .carousel .slide .overlay{
        padding: 30px;
    }

    .carousel {
        height: 700px;
    }

        .carousel .title-bar {
            font-size: 1.2rem;
            padding: 4px 8px;
        }

        .carousel .description {
            font-size: 0.9rem;
            padding: 8px;
        }

        .service-item{
            text-align: center;
            align-items: center;
            justify-content: center;
            display: flex;
            flex-direction: column;
        }
        
        .contact-container {
            flex-direction: column;
            gap: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gallery-grid{
            display: flex;
            flex-direction: column;
        }
}


.contact-leftbox{
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}