/* --- BASIS INSTELLINGEN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Kleuren */
:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --dark-grey: #2c3e50;
    --white: #ffffff;
    --light-grey: #f4f4f4;
}

/* --- SCROLL ANIMATIES --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- ALGEMENE SECTIES (BREED) --- */
.container {
    max-width: 1650px;
    width: 92%;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

p {
    max-width: 800px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    margin-left: auto;
    margin-right: auto;
}

/* --- NAVIGATIE --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1650px;
    width: 92%;
    margin: 0 auto;
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    /* --- VOEG OOK HIER DEZE REGEL TOE --- */
    border-top: 4px solid var(--primary-green);
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-grey);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--action-green);
}

/* DROPDOWN MENU */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    z-index: 1001;
    padding-top: 10px;
}

.dropdown-content li {
    margin: 0;
    display: block;
}

.dropdown-content a {
    color: var(--dark-grey);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none;
    font-weight: 600;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background-color: var(--light-grey);
    color: var(--primary-green);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn::after {
    content: ' ▾';
    font-size: 0.8em;
    margin-left: 5px;
}

/* TAALWISSEL */
.lang-switch {
    margin-left: 1.5rem;
    border: 2px solid var(--primary-green);
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
}

/* Hide mobile switcher by default on desktop */
.mobile-lang {
    display: none !important;
}

.lang-switch a {
    display: inline;
    padding: 0;
}

.lang-switch a.active {
    color: var(--primary-green);
    font-weight: bold;
    cursor: default;
}

/* --- HERO (HEADER MET SLIDESHOW) --- */
header {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* SLIDE 1: Jouw Vrachtwagen */
.slide-1 {
    background-image: url('../img/hero/vrachtwagen-aan-het-water.jpg');
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1000px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: var(--dark-green);
}

/* --- WELKOM SECTIE --- */
.welcome-section {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-size: 2.2rem;
    color: var(--dark-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.welcome-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--light-grey);
    margin: 15px auto 0;
}

.welcome-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin: 0 auto;
}

/* --- OVER ONS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.text-column h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-column p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.features {
    list-style: none !important;
    padding: 0;
    margin-left: 0;
}

.features li {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: var(--dark-grey);
    display: block;
}

.features li::before {
    content: none;
}

/* --- TEAM SECTIE --- */
.team-section {
    background-color: var(--light-grey);
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1650px;
    width: 92%;
    margin: 0 auto;
}

.team-member {
    background: white;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-img {
    width: 100%;
    height: 350px;
    margin-bottom: 0;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: var(--dark-grey);
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
}

.team-info .role {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- FOTOGALERIJ --- */
.gallery-full-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1650px;
    width: 92%;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- TIMELINE --- */
.route-section {
    background-color: var(--light-grey);
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-green);
    top: 0;
    bottom: 0;
    left: 30px;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    width: 100%;
    padding: 20px 0 20px 80px;
    position: relative;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 30px;
    background-color: white;
    border: 5px solid var(--dark-green);
    top: 40px;
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.timeline-content {
    padding: 25px 35px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 25px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
}

.route-note {
    text-align: center;
    margin-top: 5rem;
    color: #555;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- PROCES SECTIE (Voorheen Cards) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.gallery-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    /* Zorgt dat alle tekst netjes in het midden staat */
}

.gallery-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(46, 204, 113, 0.2);
}

.img-container {
    overflow: hidden;
    height: 300px;
    /* Iets korter gemaakt zodat er meer ruimte is voor tekst */
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Dit is het nieuwe gedeelte voor de tekst onder de foto */
.card-content {
    padding: 2rem 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content p {
    color: #777;
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- CONTACT PAGINA STYLING (NIEUW) --- */
.contact-header {
    background-color: var(--light-grey);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--dark-grey);
}

.contact-page-section {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    /* Links breder (form), rechts smaller (info) */
    gap: 4rem;
}

.contact-form-col :is(h1, h2),
.contact-info-col h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-grey);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.2);
}

.contact-info-col {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
    /* Past hoogte aan inhoud aan */
}

.info-block {
    margin-bottom: 2rem;
}

.info-block p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

/* --- FOOTER --- */
.footer-section {
    background-color: var(--dark-grey);
    color: #bdc3c7;
    padding: 6rem 0 2rem;
    width: 100%;
}

.footer-container {
    max-width: 1650px;
    width: 92%;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    flex: 1;
    min-width: 300px;
}

.footer-about {
    text-align: left;
}

.footer-contact {
    text-align: right;
}

/* On smaller screens, stack and center or keep left? Standard mobile is stacked left. */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-about,
    .footer-contact {
        text-align: center;
    }
}

.footer-col h3 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}

.footer-col ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.8rem;
    padding-left: 0;
}

.footer-col li::before {
    content: none !important;
}

.footer-links a {
    color: #bdc3c7 !important;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--primary-green) !important;
    padding-left: 5px;
}

.contact-detail {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

/* --- WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 40px;
    height: 40px;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 1400px) {

    .container,
    nav,
    .team-grid,
    .gallery-full-grid,
    .footer-container {
        width: 95%;
    }
}

@media screen and (max-width: 1024px) {
    .nav-links li {
        margin-left: 1.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .team-grid,
    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .team-grid,
    .gallery-full-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .footer-content {
        justify-content: start;
    }

    /* Contact pagina responsive */
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- LIGHTBOX (Foto vergroten) --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: #2ecc71;
    /* Jouw groene kleur */
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Meer laden knop en verborgen items --- */
.hidden-item {
    display: none;
    /* Verbergt de extra foto's standaard */
}

.gallery-footer {
    text-align: center;
    margin-top: 3rem;
    width: 100%;
}

.gallery-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 54px;
    max-width: 100%;
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--dark-green);
    border-radius: 999px;
    background: var(--dark-green);
    color: #fffefa;
    font: 600 0.95rem/1.4 'Open Sans', sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(31, 48, 38, 0.1);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-more-button:hover {
    background: var(--action-green);
    box-shadow: 0 8px 22px rgba(31, 48, 38, 0.16);
}

.gallery-more-button:focus-visible {
    outline: 3px solid var(--action-green);
    outline-offset: 4px;
}

.gallery-more-button svg {
    flex-shrink: 0;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2ecc71;
    /* Jouw groene kleur */
    color: #2ecc71;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.btn-outline:hover {
    background-color: #2ecc71;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* --- Lightbox Navigatie Pijlen --- */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10002;
    /* Bovenop de afbeelding */
}

/* Posities */
.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Hover effect */
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
    /* Donker vlakje erachter bij hover */
    color: #2ecc71;
    /* Je groene kleur */
    border-radius: 3px;
}

/* Mobiele aanpassing: pijlen iets kleiner */
@media screen and (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1650px;
    width: 92%;
    margin: 0 auto;
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);

    /* --- VOEG DEZE REGEL TOE --- */
    border-top: 4px solid var(--primary-green);
}

/* --- PRO DETAIL: Aangepaste selectiekleur --- */
::selection {
    background: var(--primary-green);
    /* Jouw groene kleur */
    color: white;
    /* De tekst wordt wit */
    text-shadow: none;
}

/* Voor Firefox ondersteuning */
::-moz-selection {
    background: var(--primary-green);
    color: white;
    text-shadow: none;
}

/* Kees Dammers specifieke bel-overlay */
.member-clickable {
    position: relative;
}

.member-call-link {
    text-decoration: none;
    display: block;
}

.member-img {
    position: relative;
    overflow: hidden;
}

.call-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 204, 113, 0.6);
    /* Transparant groen */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-icon {
    width: 60px;
    height: 60px;
    color: white;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.member-clickable:hover .call-overlay {
    opacity: 1;
}

.member-clickable:hover .phone-icon {
    transform: scale(1);
}

/* Strakke Regio Sectie op één rij */
.route-wrapper {
    max-width: 1200px;
    /* Iets breder voor 4 kolommen */
    margin: 0 auto;
    text-align: center;
}

.route-description {
    margin-bottom: 4rem;
}

.route-description p {
    font-size: 1.15rem;
    color: #555;
    margin: 0 auto;
    line-height: 1.8;
}

.region-grid {
    display: grid;
    /* Dwingt 4 gelijke kolommen af op desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.region-box {
    background: #fff;
    padding: 2.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.region-box h3 {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
}

.region-box:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Mobiele weergave: stapelen wanneer het te krap wordt */
@media screen and (max-width: 1024px) {
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .region-grid {
        grid-template-columns: 1fr;
    }
}

/* Volledige WhatsApp Styling */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-badge {
    position: absolute;
    right: 75px;
    background-color: white;
    color: #333;
    padding: 10px 18px;
    border-radius: 20px 20px 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* Standaard onzichtbaar */
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

/* De class die door JS wordt toegevoegd */
.whatsapp-btn.show-badge .whatsapp-badge {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}


.footer-bottom {
    display: block !important;
    text-align: center !important;
    padding: 3rem 0;
    /* Ruimte aan de boven- en onderkant */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    width: 100% !important;
    clear: both;
    /* Zorgt dat er geen andere elementen naast staan */
}

.footer-bottom p {
    margin: 0 auto !important;
    display: inline-block;
}

section {
    scroll-margin-top: 100px;
    /* Dit compenseert de hoogte van de menubalk */
}

/* --- MOBIELE NAVIGATIE (HAMBURGER) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-grey);
    margin: 4px 0;
    transition: all 0.3s ease;
}


/* --- FIX UITLIJNING & TAALWISSEL --- */

/* Zorgt dat logo en hamburger/taalwissel strak aan de zijkanten staan */
/* --- TAALWISSEL LOGICA --- */

/* Standaard: verberg de mobiele versie, toon de desktop versie */
.mobile-lang {
    display: none !important;
}

.mobile-menu-lang {
    display: none !important;
}

.desktop-lang {
    display: flex !important;
    margin-left: 2.5rem;
}

/* Zorg dat de taal-links nooit blauw worden */
.lang-switch a {
    text-decoration: none !important;
    color: var(--dark-grey) !important;
    /* Of de kleur die je op desktop gebruikt */
}

.lang-switch a.active {
    color: var(--primary-green) !important;
    font-weight: bold;
}

/* --- CONSOLIDATED MOBILE STYLES & FIXES --- */
@media screen and (max-width: 768px) {

    /* 1. Header & Hero */
    header {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1rem;
        display: inline-block;
    }

    /* Container for switcher + hamburger */
    .nav-controls {
        display: flex;
        align-items: center;
        z-index: 1002;
        /* Ensure the whole control set is above the menu overlay */
        position: relative;
    }

    /* 2. Menu Toggle (Hamburger) - Fixes */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;

        /* FIX: Return to flow so it doesn't overlap the switcher */
        position: relative;
        z-index: 1003;

        margin-right: 0;
        margin-left: 15px;
        /* Add spacing between switcher and burger */
    }

    /* Hamburger Animations */
    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    /* Turn bars white when menu is active (dark background) */
    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
        background-color: white;
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
        background-color: white;
    }

    /* 3. Mobile Navigation Menu - Background/Alignment Fix */
    .nav-links {
        position: fixed;
        /* Start position: completely off-screen (top) */
        top: -120vh;

        /* Centering Trick for Fixed Elements */
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        /* Force full viewport width */
        height: 100vh;
        /* Full viewport height */

        /* DARK BACKGROUND - Competitor Style */
        background-color: rgba(44, 62, 80, 0.98);
        /* --dark-grey */
        backdrop-filter: blur(5px);

        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        margin: 0 !important;
        padding: 0 !important;
        padding: 0 !important;
        list-style: none !important;


        transition: top 0.4s ease-in-out;
        /* Only animate 'top' */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        /* Slide down to cover screen */
        top: 0;
        /* Ensure transform remains for centering */
        transform: translateX(-50%);
    }

    .nav-links li {
        margin: 1.5rem 0 !important;
        width: 100%;
        text-align: center;
        opacity: 0;
        /* Animation prep */
        transform: translateY(20px);
        animation: fadeInUpMenu 0.5s ease forwards;
        animation-delay: 0.2s;
    }

    /* Staggered animation for menu items */
    .nav-links li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-links li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-links li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav-links li:nth-child(5) {
        animation-delay: 0.5s;
    }

    .nav-links li:nth-child(6) {
        animation-delay: 0.6s;
    }

    .nav-links li:nth-child(7) {
        animation-delay: 0.7s;
    }

    .nav-links li a {
        font-size: 1.4rem;
        /* Smaller, more elegant */
        font-weight: 600;
        color: white;
        /* White text */
        display: block;
        padding: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: color 0.3s;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--primary-green);
    }

    @keyframes fadeInUpMenu {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 4. Language Switcher (Mobile) */
    .desktop-lang,
    .mobile-menu-lang {
        display: none !important;
        /* Hidden on desktop, logical */
    }

    /* On mobile, unhide only the mobile-menu-lang */
    @media screen and (max-width: 768px) {
        .mobile-menu-lang {
            display: flex !important;
        }
    }

    /* Position language switch at bottom - Minimal Style */
    .mobile-menu-lang {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 2rem;
        /* Spacing from links */
        width: 100%;

        /* Typography */
        font-weight: 600;
        letter-spacing: 1px;
    }

    .mobile-menu-lang a {
        color: rgba(255, 255, 255, 0.5) !important;
        /* Dimmed inactive */
        text-decoration: none !important;
        font-size: 1.2rem;
        /* Slightly distinct from menu links */
        padding: 10px;
        text-transform: uppercase;
        transition: color 0.3s;
    }

    .mobile-menu-lang a.active {
        color: white !important;
        /* Bright active */
        font-weight: 800;
    }

    .mobile-menu-lang span {
        color: rgba(255, 255, 255, 0.3);
        font-size: 1.2rem;
    }

    /* Header Language Switcher (Visible when menu closed) */
    /* USER REQUEST: Hide this on mobile now, only want hamburger. */
    .mobile-lang {
        display: none !important;
    }

    .mobile-lang a {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--dark-grey);
        text-decoration: none;
    }

    .mobile-lang a.active {
        color: var(--primary-green);
        font-weight: 700;
    }

    .mobile-lang span {
        color: #ccc;
        font-size: 0.9rem;
    }

    /* HIDE Header Switcher when Menu is OPEN to avoid duplicate/2x */
    body:has(#mobile-menu.is-active) .mobile-lang {
        opacity: 0;
        pointer-events: none;
    }

    /* Fallback if :has is not supported (JS toggle class on body/nav would be better, but z-index might save us) */
    /* Actually, the menu overlay has z-index 1000. 
       If .mobile-lang is in nav (z-index 1000), it might show. 
       Let's use a simpler sibling selector or rely on the dark overlay covering it 
       IF the header isn't on top. 
       Nav is sticky z-index 1000. Menu is fixed z-index 1000. 
       Let's forcefully hide it if we can, or just style it so it looks good. 
    */

    /* 5. Grids & Layouts */
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .welcome-content h2 {
        font-size: 1.8rem;
    }

    /* Single Column Grids */
    .team-grid,
    .gallery-grid,
    .region-grid,
    .contact-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Gallery keeps 2 cols */
    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .gallery-item {
        height: 180px;
    }

    /* 6. Contact & inputs */
    .contact-info-col {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
    }

    /* Prevent zoom */

    /* 7. Footer */
    .footer-section {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-about {
        align-items: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    /* 8. WhatsApp */
    .whatsapp-btn {
        bottom: 10px;
        right: 10px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-badge {
        display: block;
        position: absolute;
        right: 70px;
        top: 50%;
        /* Force override of global .show-badge transform: translateX(0) */
        transform: translateY(-80%) !important;
        bottom: auto;

        font-size: 0.75rem;
        padding: 8px 12px;
        white-space: normal;
        width: max-content;
        max-width: 200px;
        line-height: 1.3;
        text-align: right;
        border-radius: 12px;
        border-bottom-right-radius: 2px;
        background: white;
        color: #333;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Hide WhatsApp button when mobile menu is open to prevent overlap */
    body:has(#mobile-menu.is-active) .whatsapp-btn {
        display: none !important;
        opacity: 0;
        pointer-events: none;
    }
}

/* =========================================
   INTERACTIVE GERMANY MAP SECTION
   ========================================= */

/* Layout: Map + Info Panel side by side */
.route-map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Map Container */
.germany-map-container {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(46, 204, 113, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.germany-map-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(46, 204, 113, 0.15);
}

/* SVG Map Styling */
.germany-map {
    width: 100%;
    height: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto;
    pointer-events: all;
}

/* State Paths - Default (inactive) */
.germany-map .state {
    stroke: #e0e0e0;
    stroke-width: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.germany-map .state.inactive {
    fill: #f0f0f0;
    opacity: 0.7;
}

.germany-map .state.inactive:hover {
    fill: #e8e8e8;
    opacity: 0.85;
}

/* State Paths - Active (delivery regions) */
.germany-map .state.active {
    fill: url(#activeGradient);
    stroke: #27ae60;
    stroke-width: 2.5;
    cursor: pointer;
    filter: drop-shadow(0 4px 8px rgba(46, 204, 113, 0.3));
}

.germany-map .state.active:hover {
    fill: url(#hoverGradient);
    stroke-width: 3;
    filter: drop-shadow(0 6px 15px rgba(46, 204, 113, 0.5));
    transform: scale(1.02);
    transform-origin: center;
}

/* Highlight animation for active states */
@keyframes pulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 4px 8px rgba(46, 204, 113, 0.3));
    }

    50% {
        filter: drop-shadow(0 6px 20px rgba(46, 204, 113, 0.5));
    }
}

.germany-map .state.active {
    animation: pulseGlow 3s ease-in-out infinite;
}

.germany-map .state.active:hover {
    animation: none;
}

/* Info Panel */
.route-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Route Description */
.route-info-panel .route-description {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.route-info-panel .route-description p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Delivery Badge */
.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.badge-icon {
    font-size: 1.3rem;
}

/* Region Cards Grid */
.region-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.region-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.region-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.15);
}

.region-card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.region-card h3 {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.region-card p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* Responsive Styles for Map */
@media screen and (max-width: 1200px) {
    .route-map-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .germany-map-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .route-map-layout {
        gap: 2rem;
    }

    .germany-map-container {
        padding: 1.5rem;
        max-width: 100%;
    }

    .region-cards {
        grid-template-columns: 1fr;
    }

    .route-info-panel .route-description {
        padding: 1.5rem;
    }

    .delivery-badge {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

}

@media screen and (max-width: 480px) {
    .germany-map-container {
        padding: 1rem;
        border-radius: 15px;
        min-height: 400px;
    }

    .germany-map {
        min-height: 400px;
        max-height: 500px;
    }

    .region-card {
        padding: 1.2rem;
    }

    .region-card-icon {
        font-size: 1.5rem;
    }

    .region-card h3 {
        font-size: 1rem;
    }
}

/* Interactive Highlight States (from JS) */
.region-card.highlight {
    border-color: var(--primary-green);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.germany-map .state.active.map-highlight {
    fill: url(#hoverGradient);
    stroke-width: 3.5;
    filter: drop-shadow(0 8px 20px rgba(46, 204, 113, 0.6));
    animation: none;
}

/* --- VISUAL POLISH LAYER --- */
:root {
    --primary-green: #4f9f38;
    --action-green: #387b29;
    --dark-green: #2f6f2f;
    --dark-grey: #1f3026;
    --ink: #1e2c23;
    --muted: #5d695f;
    --line: #dfe6dc;
    --soft-surface: #f7f8f3;
    --warm-white: #fffefa;
    --shadow-soft: 0 18px 45px rgba(31, 48, 38, 0.09);
    --shadow-lift: 0 26px 58px rgba(31, 48, 38, 0.13);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, var(--warm-white) 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    color: var(--ink);
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.container {
    max-width: 1540px;
}

section {
    padding: 5.8rem 0;
}

.section-header {
    margin-bottom: 3.4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    line-height: 1.12;
    margin-bottom: 0.85rem;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 54px;
    height: 2px;
    background: var(--primary-green);
    margin: 1rem auto 0;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

nav {
    height: 92px;
    border-top: 3px solid var(--primary-green);
    border-bottom: 1px solid rgba(31, 48, 38, 0.08);
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

body::before {
    height: 92px;
    border-top: 3px solid var(--primary-green);
    box-shadow: 0 12px 28px rgba(31, 48, 38, 0.07);
}

.logo img {
    width: clamp(178px, 15vw, 230px);
    height: auto;
    max-height: 74px;
    object-fit: contain;
}

.nav-links {
    gap: 1.65rem;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    position: relative;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.035em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--primary-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.lang-switch {
    border: 1px solid rgba(79, 159, 56, 0.35);
    border-radius: 999px;
    background: rgba(247, 248, 243, 0.8);
    padding: 6px 14px;
}

.lang-switch a::after,
.mobile-menu-lang a::after {
    display: none;
}

header {
    height: calc(100vh - 92px);
    min-height: 680px;
    max-height: 860px;
    justify-content: flex-start;
    text-align: left;
    padding: 0 max(2rem, calc((100vw - 1540px) / 2 + 4vw));
}

.hero-slide {
    background-attachment: scroll;
}

.slide-1 {
    background-position: center 52%;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(13, 26, 18, 0.78) 0%, rgba(13, 26, 18, 0.48) 46%, rgba(13, 26, 18, 0.16) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.hero-content {
    max-width: 760px;
    padding: 0;
    margin-top: -1.5rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.86);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.hero-kicker::before {
    content: '';
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-content h1 {
    color: #ffffff;
    font-size: 5.25rem;
    line-height: 0.98;
    margin-bottom: 1.4rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.45rem;
    line-height: 1.55;
    max-width: 650px;
    margin-bottom: 2.2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.btn,
.btn-outline,
.contact-actions a {
    border-radius: 6px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--action-green);
    box-shadow: 0 14px 28px rgba(31, 48, 38, 0.18);
}

.btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(31, 48, 38, 0.22);
}

.welcome-section {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--soft-surface) 100%);
    border-bottom: 1px solid var(--line);
}

.welcome-content {
    max-width: 980px;
}

.welcome-content h2 {
    color: var(--ink);
    font-size: 2.55rem;
    line-height: 1.15;
    text-transform: none;
}

.welcome-content h2::after {
    background-color: var(--primary-green);
}

.welcome-content p {
    color: var(--muted);
    font-size: 1.16rem;
}

.proof-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 2.4rem auto 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 32px rgba(31, 48, 38, 0.06);
    overflow: hidden;
}

.proof-strip span {
    padding: 1rem 1.5rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.proof-strip span + span {
    border-left: 1px solid var(--line);
}

.proof-strip strong {
    color: var(--ink);
}

.about-grid {
    gap: clamp(3rem, 6vw, 7rem);
}

.text-column h2 {
    font-size: 2.85rem;
    line-height: 1.1;
}

.text-column p {
    color: var(--muted);
    line-height: 1.8;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    font-weight: 700;
}

.features li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    flex: 0 0 26px;
    background: rgba(79, 159, 56, 0.12);
    color: var(--dark-green);
    font-size: 0.9rem;
}

.image-column img {
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.team-section,
.route-section {
    background: var(--soft-surface);
}

.team-member,
.gallery-card,
.region-card,
.route-info-panel .route-description,
.germany-map-container,
.contact-form-col,
.contact-info-col {
    border: 1px solid rgba(31, 48, 38, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(31, 48, 38, 0.07);
}

.team-member,
.gallery-card,
.region-card,
.contact-form-col,
.contact-info-col {
    background: #ffffff;
}

.team-member:hover,
.gallery-card:hover,
.region-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.member-img {
    height: clamp(270px, 24vw, 360px);
}

.team-info {
    padding: 1.55rem 1.25rem 1.7rem;
}

.team-info h3 {
    font-size: 1.25rem;
}

.team-info .role {
    color: var(--dark-green);
    letter-spacing: 0.04em;
}

.call-overlay {
    background: rgba(47, 111, 47, 0.72);
}

.gallery-full-grid {
    gap: 16px;
}

.gallery-item {
    border-radius: 8px;
    border: 1px solid rgba(31, 48, 38, 0.1);
    box-shadow: none;
}

.gallery-item img,
.gallery-card img,
.member-img img {
    filter: saturate(0.96) contrast(1.03);
}

.gallery-card {
    overflow: hidden;
}

.gallery-card:hover {
    box-shadow: var(--shadow-lift);
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.card-content {
    border-top: 1px solid var(--line);
}

.card-content h3 {
    color: var(--ink);
    letter-spacing: 0.04em;
}

.card-content p {
    color: var(--muted);
}

.btn-outline {
    color: var(--dark-green);
    border-color: rgba(79, 159, 56, 0.6);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    box-shadow: 0 14px 30px rgba(31, 48, 38, 0.16);
}

.route-wrapper {
    max-width: 1240px;
}

.germany-map-container {
    background: #ffffff;
    min-height: 460px;
}

.germany-map-container:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.germany-map .state.active {
    animation: none !important;
    filter: drop-shadow(0 3px 7px rgba(47, 111, 47, 0.25)) !important;
}

.route-info-panel .route-description {
    padding: 2.2rem;
}

.route-info-panel .route-description p,
.route-description p {
    color: var(--muted);
}

.region-card {
    padding: 1.45rem;
}

.region-card:hover,
.region-card.highlight {
    border-color: rgba(79, 159, 56, 0.55);
    background: #ffffff;
    box-shadow: var(--shadow-lift);
}

.region-card h3 {
    color: var(--ink);
    margin-bottom: 0;
}

.footer-section {
    background:
        linear-gradient(180deg, #17251c 0%, #121f17 100%);
    color: #d7ded3;
}

.footer-col h3 {
    color: #8dcc72;
}

.footer-col p,
.footer-col li {
    color: #d7ded3;
}

.footer-logo {
    width: min(240px, 100%);
    height: auto;
    max-height: none;
    border-radius: 8px;
    padding: 12px;
}

.whatsapp-btn {
    box-shadow: 0 14px 28px rgba(31, 48, 38, 0.24);
}

.whatsapp-badge {
    border: 1px solid var(--line);
}

.contact-header {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.75rem;
    padding: 4.5rem 1.5rem;
    overflow: hidden;
    border-bottom: none;
    background:
        linear-gradient(90deg, rgba(13, 26, 18, 0.78) 0%, rgba(13, 26, 18, 0.48) 100%),
        url('../img/hero/vrachtwagen-aan-het-water.jpg') center 56% / cover no-repeat;
}

.contact-header h1,
.contact-header p {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-header h1 {
    color: #ffffff;
    font-size: 4.4rem;
    line-height: 1;
}

.contact-header p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
}

.contact-map-hero {
    position: relative;
    height: clamp(280px, 18vw, 340px);
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(31, 48, 38, 0.1);
    background: #eef2e7;
    isolation: isolate;
}

.contact-map-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 254, 250, 0.08), rgba(236, 242, 228, 0.22)),
        linear-gradient(90deg, rgba(238, 242, 231, 0.12), rgba(255, 254, 250, 0));
}

.contact-map-canvas {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: zoom-in;
    line-height: 0;
    touch-action: none;
    user-select: none;
}

.contact-location-map.leaflet-container {
    background: #eef2e7;
    color: var(--ink);
    font-family: 'Open Sans', sans-serif;
}

.contact-location-map.is-live {
    cursor: grab;
}

.contact-location-map.is-live.leaflet-dragging {
    cursor: grabbing;
}

.contact-location-map.is-live > .contact-map-track,
.contact-location-map.is-live > .contact-map-attribution,
.contact-location-map.is-live > .contact-map-controls {
    display: none;
}

.contact-location-map .leaflet-tile-pane {
    filter: saturate(0.42) contrast(0.92) brightness(1.04);
}

.contact-location-map .leaflet-control-attribution {
    margin: 0 0 0.55rem 0.75rem;
    padding: 0.2rem 0.38rem;
    border-radius: 4px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.68rem;
    line-height: 1.35;
}

.contact-location-map .leaflet-control-attribution a {
    color: inherit;
}

.contact-location-map .leaflet-control-zoom {
    margin-top: 0.85rem;
    margin-right: 0.85rem;
    border: 0;
    box-shadow: none;
}

.contact-location-map .leaflet-control-zoom a,
.contact-location-map .leaflet-control-zoom a:hover {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(31, 48, 38, 0.14);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 254, 250, 0.94);
    box-shadow: 0 10px 22px rgba(31, 48, 38, 0.12);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.contact-location-map .leaflet-control-zoom a:hover {
    border-color: rgba(79, 159, 56, 0.34);
    color: var(--primary-green);
}

.contact-location-map .leaflet-control-zoom-in {
    margin-bottom: 0.38rem;
}

.contact-map-pin {
    display: grid !important;
    grid-template-columns: auto auto;
    align-items: center;
    width: max-content !important;
    height: auto !important;
    gap: 0.52rem;
    border: 0;
    background: transparent;
    color: var(--ink);
}

.contact-map-pin:hover .contact-map-label {
    box-shadow: 0 16px 34px rgba(31, 48, 38, 0.16);
}

.contact-location-map.is-context-zoom .contact-map-label {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0) scale(0.94);
}

.contact-map-canvas.is-zoomed {
    cursor: grab;
}

.contact-map-canvas.is-dragging {
    cursor: grabbing;
}

.contact-map-track {
    position: relative;
    width: var(--map-base-width, 100%);
    min-width: 100%;
    transform: translate3d(var(--map-x, 0px), var(--map-y, 0px), 0) scale(var(--map-scale, 1));
    transform-origin: 0 0;
    transition: transform 0.18s ease;
    will-change: transform;
}

.contact-map-canvas.is-dragging .contact-map-track {
    transition: none;
}

.contact-map-marker {
    position: absolute;
    left: var(--pin-x);
    top: var(--pin-y);
    z-index: 2;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.52rem;
    color: var(--ink) !important;
    text-decoration: none !important;
    transform: translate(-9px, -50%);
    transition: transform 0.2s ease;
}

.contact-map-marker:hover {
    transform: translate(-9px, -50%) translateY(-2px);
}

.contact-map-track img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.contact-map-attribution {
    position: absolute;
    left: 0.75rem;
    bottom: 0.55rem;
    z-index: 2;
    padding: 0.2rem 0.38rem;
    border-radius: 4px;
    color: rgba(31, 48, 38, 0.62);
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    line-height: 1;
}

.contact-map-controls {
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
    z-index: 3;
    display: grid;
    gap: 0.38rem;
}

.contact-map-controls button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(31, 48, 38, 0.14);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 254, 250, 0.94);
    box-shadow: 0 10px 22px rgba(31, 48, 38, 0.12);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.contact-map-controls button:hover {
    border-color: rgba(79, 159, 56, 0.34);
    color: var(--primary-green);
}

.contact-map-dot {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--primary-green);
    box-shadow:
        0 0 0 4px rgba(79, 159, 56, 0.2),
        0 10px 22px rgba(31, 48, 38, 0.2);
}

.contact-map-dot::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(79, 159, 56, 0.24);
    border-radius: 50%;
}

.contact-map-label {
    display: block;
    min-width: 116px;
    padding: 0.48rem 0.66rem;
    border: 1px solid rgba(31, 48, 38, 0.12);
    border-radius: 8px;
    background: rgba(255, 254, 250, 0.96);
    box-shadow: 0 14px 30px rgba(31, 48, 38, 0.13);
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

/* Align labels with their pins; inward offsets made the location names overlap. */
.contact-map-marker--office .contact-map-label,
.contact-map-marker--warehouse .contact-map-label {
    transform: none;
}

.contact-map-label strong,
.contact-map-label small {
    display: block;
}

.contact-map-label strong {
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.2;
}

.contact-map-label small {
    margin-top: 0.08rem;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.25;
}

@media screen and (max-width: 900px) {
    .contact-map-hero {
        height: clamp(230px, 54vw, 300px);
    }

    .contact-map-marker {
        transform: translate(-9px, -50%);
    }

    .contact-map-marker:hover {
        transform: translate(-9px, -50%) translateY(-2px);
    }

    .contact-map-label {
        min-width: 100px;
        padding: 0.4rem 0.52rem;
    }

    .contact-map-label strong {
        font-size: 0.78rem;
    }

    .contact-map-label small {
        font-size: 0.68rem;
    }
}

.contact-page-section {
    background: linear-gradient(180deg, var(--soft-surface) 0%, #ffffff 100%);
}

.contact-grid-layout {
    align-items: start;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form .btn {
    justify-self: start;
    margin-top: 0.15rem;
}

.contact-form-col,
.contact-info-col {
    padding: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-info-col {
    background: linear-gradient(135deg, #f8faf4 0%, #f0f4e9 100%);
    border-color: #dce5d5;
    border-top: 2px solid #6a9659;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 12px 32px -18px rgba(31, 48, 38, 0.22);
}

.contact-info-col .info-block h3 {
    margin: 0 0 0.35rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
}

.contact-info-col a {
    color: var(--ink);
    text-decoration-color: #b8c7ae;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    overflow-wrap: anywhere;
}

.contact-info-col a:hover,
.contact-info-col a:focus-visible {
    color: var(--dark-green);
    text-decoration-color: currentColor;
}

.contact-info-col .info-block:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-form-col :is(h1, h2),
.contact-info-col h2 {
    color: var(--ink);
    line-height: 1.2;
}

.form-group label {
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    border: 1px solid #879280;
    border-radius: 6px;
    background: #fffefa;
    padding: 14px 15px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

@media screen and (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form .btn {
        width: 100%;
        justify-self: stretch;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(79, 159, 56, 0.14);
}

.info-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(31, 48, 38, 0.08);
}

.info-block:last-of-type {
    border-bottom: none;
}

.info-block p {
    color: var(--muted);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1rem;
    color: var(--dark-green);
    border: 1px solid rgba(79, 159, 56, 0.45);
    background: rgba(79, 159, 56, 0.08);
    font-weight: 800;
    text-decoration: none;
}

.contact-actions a:hover {
    color: #ffffff;
    background: var(--primary-green);
    transform: translateY(-2px);
}

@media screen and (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.78rem;
    }

    header {
        padding-inline: 2rem;
    }
}

@media screen and (max-width: 768px) {
    nav,
    body::before {
        height: 78px;
    }

    nav {
        width: 94%;
    }

    .logo img {
        width: 168px;
        max-height: 58px;
    }

    header {
        height: auto;
        min-height: 610px;
        max-height: none;
        padding: 7rem 1.35rem 4rem;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-kicker {
        justify-content: center;
        font-size: 0.72rem;
        letter-spacing: 0.09em;
    }

    .hero-kicker::before {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.85rem !important;
        line-height: 1.02;
    }

    .hero-content p {
        max-width: 100%;
    }

    .proof-strip {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .proof-strip span + span {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .section-header h2,
    .welcome-content h2,
    .text-column h2 {
        font-size: 1.85rem;
    }

    .team-member:hover,
    .gallery-card:hover,
    .region-card:hover {
        transform: none;
    }

    .contact-header {
        min-height: 260px;
        padding: 3.5rem 1.25rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-form-col,
    .contact-info-col {
        padding: 1.35rem;
    }

    .contact-actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* --- PREMIUM DIRECTION PASS --- */
header {
    isolation: isolate;
}

header::after {
    content: '';
    position: absolute;
    left: max(2rem, calc((100% - 1540px) / 2 + 4rem));
    right: max(2rem, calc((100% - 1540px) / 2 + 4rem));
    bottom: 34px;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
    z-index: 4;
}

.hero-content {
    transform: translateY(-10px);
}

.hero-content h1 {
    max-width: 820px;
}

.scroll-cue {
    position: absolute;
    right: max(2rem, calc((100% - 1540px) / 2 + 4rem));
    bottom: 18px;
    z-index: 5;
    color: rgba(255, 255, 255, 0.86);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    padding-right: 34px;
}

.scroll-cue::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 22px;
    height: 22px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
}

.welcome-section {
    padding: 6.8rem 2rem 6.2rem;
}

.welcome-content {
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 4.5rem;
    align-items: start;
}

.welcome-content h2 {
    margin: 0;
}

.welcome-content h2::after {
    margin: 1.4rem 0 0;
}

.welcome-content p {
    margin: 0;
    max-width: 680px;
}

.proof-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
    width: 100%;
    margin: 3.4rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.proof-strip span {
    position: relative;
    display: block;
    padding: 1.15rem 0 0;
    border-top: 1px solid rgba(31, 48, 38, 0.16);
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.45;
}

.proof-strip span + span {
    border-left: 0;
}

.proof-strip span::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary-green);
}

.proof-strip strong {
    display: block;
    color: var(--ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.about-grid {
    padding-top: 6.8rem;
    padding-bottom: 6.8rem;
}

.text-column {
    max-width: 660px;
}

.image-column {
    position: relative;
}

.image-column::before {
    content: '';
    position: absolute;
    inset: 24px -24px -24px 24px;
    border: 1px solid rgba(79, 159, 56, 0.32);
    border-radius: 8px;
    z-index: -1;
}

.gallery-full-section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.gallery-full-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 142px;
    gap: 18px;
}

.gallery-item {
    height: auto;
    min-height: 0;
}

/* Five photographs followed by two equally sized video previews. */
.gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 4;
}

.gallery-item:nth-child(6),
.gallery-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid {
    counter-reset: work-step;
    gap: 1.8rem;
}

.gallery-card {
    position: relative;
    display: grid;
    grid-template-rows: 290px auto;
    text-align: left;
}

.gallery-card::before {
    counter-increment: work-step;
    content: '0' counter(work-step);
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(31, 48, 38, 0.82);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
}

.gallery-card .img-container {
    height: auto;
}

.gallery-card .img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 48, 38, 0.02), rgba(31, 48, 38, 0.2));
    pointer-events: none;
}

.img-container {
    position: relative;
}

.card-content {
    padding: 1.8rem;
}

.card-content h3 {
    font-size: 1.45rem;
    text-transform: none;
}

.lightbox-overlay {
    background: rgba(13, 22, 17, 0.9);
    backdrop-filter: blur(8px);
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-content {
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

/* Simple line icons with a generous, invisible hit area. */
.lightbox-overlay .close-lightbox,
.lightbox-overlay .lightbox-prev,
.lightbox-overlay .lightbox-next {
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    display: grid;
    place-items: center;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-overlay button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.lightbox-overlay .lightbox-prev,
.lightbox-overlay .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-overlay .close-lightbox:hover,
.lightbox-overlay .lightbox-prev:hover,
.lightbox-overlay .lightbox-next:hover {
    background: transparent;
    color: #ffffff;
    border-radius: 4px;
    opacity: 1;
}

.lightbox-overlay button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-full-grid {
        grid-auto-rows: 130px;
    }
}

@media screen and (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .welcome-content h2,
    .text-column h2 {
        font-size: 2.2rem;
    }

    .gallery-full-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 3;
    }
}

@media screen and (max-width: 768px) {
    header::after,
    .scroll-cue {
        display: none;
    }

    .hero-content {
        transform: none;
    }

    .welcome-section {
        padding: 4.4rem 1.35rem;
    }

    .welcome-content {
        display: block;
        text-align: center;
    }

    .welcome-content h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .proof-strip {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        margin-top: 2.4rem;
        text-align: left;
    }

    .proof-strip span {
        padding-top: 0.95rem;
    }

    .about-grid {
        padding-top: 4.2rem;
        padding-bottom: 4.2rem;
    }

    .image-column::before {
        display: none;
    }

    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 150px;
        gap: 10px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(7) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-card {
        grid-template-rows: 240px auto;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }

    .close-lightbox {
        width: 46px;
        height: 46px;
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.55rem !important;
    }

    .hero-content p {
        font-size: 1.05rem !important;
    }

    .section-header h2,
    .welcome-content h2,
    .text-column h2 {
        font-size: 1.75rem;
    }
}

/* --- FINAL REFINEMENT PASS --- */
.hero-content {
    max-width: 850px;
}

.hero-content .btn {
    margin-top: 0.15rem;
}

.btn {
    min-height: 58px;
    padding: 0 2.1rem;
    letter-spacing: 0.01em;
}

.btn::after {
    content: '';
    width: 18px;
    height: 1px;
    margin-left: 14px;
    background: currentColor;
    opacity: 0.75;
    transition: transform 0.22s ease;
}

.btn:hover::after {
    transform: translateX(4px);
}

.team-section {
    background:
        linear-gradient(180deg, #17251c 0%, #1f3026 100%);
    color: #ffffff;
}

.team-section .section-header h2 {
    color: #ffffff;
}

.team-section .section-header p {
    color: rgba(255, 255, 255, 0.68);
}

.team-section .section-header h2::after {
    background: #8dcc72;
}

.team-grid {
    gap: 1px;
    max-width: 1420px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.team-member {
    display: grid;
    grid-template-rows: auto auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.team-member .member-img {
    aspect-ratio: 4 / 3;
    height: auto !important;
    background: #eef1ea;
}

.team-member:hover {
    transform: none;
    box-shadow: none;
}

.team-member:hover .member-img img {
    transform: scale(1.035);
}

.member-img img {
    object-position: center 18%;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.team-info {
    text-align: left;
    padding: 1.45rem 1.4rem 1.55rem;
}

.team-info h3 {
    color: var(--ink);
}

.team-info .role {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    line-height: 1.45;
}

.gallery-full-section .section-header {
    text-align: left;
    max-width: 1540px;
    width: 92%;
}

.gallery-full-section .section-header h2::after {
    margin-left: 0;
}

.gallery-full-section .section-header p {
    margin-left: 0;
}

.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(13, 26, 18, 0.28));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.route-section {
    background:
        linear-gradient(180deg, #f7f8f3 0%, #ffffff 100%);
}

.route-map-layout {
    align-items: center;
}

.route-info-panel {
    gap: 1.35rem;
}

.route-info-panel .route-description {
    background: #17251c;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.route-info-panel .route-description p {
    color: rgba(255, 255, 255, 0.82);
}

.route-info-panel .route-description strong {
    color: #ffffff;
}

.region-card {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.region-card h3 {
    font-size: 1rem;
}

.germany-map-container {
    box-shadow: none;
    border-color: rgba(31, 48, 38, 0.12);
}

/* --- FINAL NAV POSITION FIX --- */
nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(1.5rem, calc((100% - 1650px) / 2));
    padding-right: max(1.5rem, calc((100% - 1650px) / 2));
    z-index: 3000;
    box-shadow: 0 12px 28px rgba(31, 48, 38, 0.07);
}

body::before {
    content: none;
    display: none;
}

.footer-section {
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: 'Nova Green Plants';
    position: absolute;
    right: -0.05em;
    bottom: -0.24em;
    color: rgba(255, 255, 255, 0.035);
    font-family: 'Montserrat', sans-serif;
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {
    .team-grid {
        gap: 1px;
    }

    .team-member {
        grid-template-rows: auto auto;
    }

    .team-member .member-img {
        height: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .btn {
        min-height: 56px;
    }

    .btn::after {
        display: none;
    }

    .team-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .team-grid {
        background: transparent;
        border: 0;
        gap: 1rem;
    }

    .team-member {
        border-radius: 8px;
        overflow: hidden;
        grid-template-rows: auto auto;
    }

    .team-member .member-img {
        height: auto !important;
    }

    .gallery-full-section .section-header {
        text-align: center;
    }

    .gallery-full-section .section-header h2::after,
    .gallery-full-section .section-header p {
        margin-left: auto;
    }

    .region-card {
        min-height: 76px;
        justify-content: center;
        text-align: center;
    }

    .footer-section::before {
        font-size: 3.8rem;
    }

}

/* --- SECTION BACKGROUND ALIGNMENT PASS --- */
:root {
    --brand-green: #4f9f38;
    --brand-green-dark: #14301f;
    --brand-ink: #1f3026;
    --brand-muted: #687366;
    --brand-soft: #f8faf4;
}

body {
    background: #fffefa;
}

nav {
    height: 74px;
    padding-left: max(2rem, calc((100% - 1440px) / 2 + 2rem));
    padding-right: max(2rem, calc((100% - 1440px) / 2 + 2rem));
    background: #ffffff;
    border-top: 0;
    box-shadow: 0 10px 30px rgba(20, 48, 31, 0.08);
}

.logo img {
    width: clamp(136px, 11vw, 178px);
    max-height: 56px;
}

.nav-links {
    gap: clamp(1.35rem, 1.45vw, 2.15rem);
}

.nav-links a {
    font-size: clamp(0.82rem, 0.72vw, 0.9rem);
    line-height: 1;
    letter-spacing: 0.07em;
    padding: 13px 0;
}

.nav-links a::after {
    bottom: 2px;
    height: 3px;
}

.desktop-lang {
    margin-left: 0.5rem;
}

.lang-switch {
    padding: 5px 12px;
    background: #ffffff;
}

.lang-switch span {
    font-size: clamp(0.78rem, 0.68vw, 0.84rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}

header {
    min-height: 690px;
    height: calc(100vh - 74px);
    max-height: 860px;
    padding: 0 max(2rem, calc((100vw - 1320px) / 2));
    overflow: hidden;
    background: #102016;
}

.slide-1 {
    background-image: url('../img/hero/vrachtwagen-aan-het-water.jpg') !important;
    background-position: center 52% !important;
    background-size: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 25, 15, 0.72) 0%, rgba(8, 25, 15, 0.5) 30%, rgba(8, 25, 15, 0.16) 62%, rgba(8, 25, 15, 0.02) 100%),
        linear-gradient(180deg, rgba(8, 25, 15, 0.02) 0%, rgba(8, 25, 15, 0.18) 100%);
}

.hero-content {
    max-width: 620px;
    margin-top: -1rem;
    transform: none;
    z-index: 6;
}

.hero-content h1 {
    max-width: 580px;
    font-size: clamp(3.4rem, 6vw, 5.15rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-content p {
    max-width: 560px;
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    align-items: center;
    margin-bottom: 0;
}

.hero-link {
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.hero-link::after {
    content: '>';
    margin-left: 0.55rem;
    color: #8dcc72;
}

header::after {
    display: none;
}

.scroll-cue {
    display: none;
}

.welcome-section {
    position: relative;
    min-height: 500px;
    margin-top: -76px;
    padding: 8.9rem 2rem 5.5rem;
    background:
        url('../img/backgrounds/bladeren-licht-kwaliteit-service.jpg') center top / cover no-repeat,
        #fffefa;
    border-bottom: 1px solid rgba(31, 48, 38, 0.08);
}

.welcome-content {
    position: relative;
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1fr);
    column-gap: 4.6rem;
    row-gap: 3.2rem;
}

.quality-heading h2,
.welcome-content h2 {
    color: var(--brand-ink);
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    line-height: 1.08;
    text-transform: uppercase;
}

.quality-copy p {
    max-width: 520px;
    color: var(--brand-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.quality-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
    max-width: 820px;
    margin-top: 0.2rem;
}

.quality-metrics article {
    position: relative;
    display: block;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(31, 48, 38, 0.16);
}

.quality-metrics article::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--brand-green);
}

.quality-metrics strong {
    display: block;
    color: var(--brand-ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.quality-metrics span:last-child {
    display: block;
    color: var(--brand-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.about-section {
    margin-bottom: 0;
    padding-top: 6.7rem;
    padding-bottom: 6.7rem;
}

.about-section .image-column img {
    border-radius: 8px;
}

.team-section {
    padding: 6.2rem 0 5.4rem;
    background:
        linear-gradient(180deg, rgba(8, 24, 15, 0.08), rgba(8, 24, 15, 0.08)),
        url('../img/backgrounds/bladeren-donker-team.jpg') center / cover no-repeat;
}

.team-section .section-header {
    margin-bottom: 2.4rem;
}

.team-grid {
    max-width: 1120px;
    gap: 1.2rem;
    background: transparent;
    border: 0;
}

.team-member {
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.team-info {
    padding: 1.1rem 1.15rem 1.25rem;
}

.team-info h3 {
    font-size: 1rem;
}

.team-info .role {
    color: var(--brand-green);
    font-size: 0.68rem;
}

.gallery-full-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 5.7rem 0 6.4rem;
    background:
        url('../img/backgrounds/bladeren-licht-media.jpg') center / cover no-repeat,
        #fffefa;
}

.gallery-full-section .section-header,
.gallery-full-grid,
.gallery-footer {
    max-width: 1120px;
    width: min(88%, 1120px);
    margin-left: auto;
    margin-right: auto;
}

.gallery-full-section .section-header {
    margin-bottom: 2.4rem;
}

.gallery-full-grid {
    grid-auto-rows: 138px;
    gap: 16px;
}

.gallery-item {
    border: 0;
    box-shadow: 0 16px 34px rgba(31, 48, 38, 0.1);
}

.route-section {
    padding: 5.8rem 0;
    background: #f7f9f2;
}

.route-section .section-header {
    max-width: 780px;
}

.route-map-layout {
    max-width: 1160px;
    padding: 2rem;
    gap: 3rem;
    border: 1px solid rgba(31, 48, 38, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 22px 55px rgba(31, 48, 38, 0.08);
    backdrop-filter: blur(6px);
}

.germany-map-container {
    min-height: 420px;
    background: rgba(255, 255, 255, 0.82);
}

.route-info-panel .route-description {
    background: #14301f;
    border-radius: 8px;
}

#aanbod.gallery-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 6rem 0 6.5rem;
    background:
        url('../img/backgrounds/bladeren-licht-werkwijze.jpg') center / cover no-repeat,
        #fffefa;
}

#aanbod .section-header,
#aanbod .gallery-grid {
    max-width: 1120px;
    width: min(88%, 1120px);
    margin-left: auto;
    margin-right: auto;
}

#aanbod .gallery-card {
    border: 1px solid rgba(31, 48, 38, 0.08);
}

.footer-section {
    position: relative;
    padding: 5.5rem 0 2.2rem;
    background:
        linear-gradient(180deg, rgba(8, 22, 14, 0.08), rgba(8, 22, 14, 0.08)),
        url('../img/backgrounds/bladeren-donker-footer.jpg') center / cover no-repeat;
}

.footer-content {
    max-width: 1120px;
    align-items: center;
}

.footer-logo {
    width: 170px;
    padding: 10px;
}

.footer-bottom {
    padding: 2rem 0 0;
}

@media screen and (max-width: 900px) {
    .welcome-content,
    .route-map-layout {
        grid-template-columns: 1fr;
    }

    .quality-metrics {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
}

@media screen and (max-width: 768px) {
    nav {
        height: 78px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    header {
        min-height: 650px;
        height: auto;
        padding: 6rem 1.35rem 5rem;
        text-align: left;
        justify-content: flex-start;
    }

    .slide-1 {
        background-position: 72% bottom !important;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 25, 15, 0.68) 0%, rgba(8, 25, 15, 0.34) 100%);
    }

    .hero-content {
        margin: 0;
        max-width: 92%;
    }

    .hero-kicker {
        justify-content: flex-start;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
    }

    .hero-actions {
        gap: 1rem;
    }

    .welcome-section {
        padding: 5.2rem 1.25rem 4.6rem;
        background-position: center top;
    }

    .welcome-content {
        text-align: left;
    }

    .quality-heading h2::after,
    .welcome-content h2::after {
        margin-left: 0;
    }

    .team-grid,
    .gallery-full-section .section-header,
    .gallery-full-grid,
    .gallery-footer,
    #aanbod .section-header,
    #aanbod .gallery-grid {
        width: min(92%, 1120px);
    }

    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 148px;
    }

    .route-map-layout {
        width: 92%;
        padding: 1.1rem;
    }

    .germany-map-container {
        min-height: 360px;
    }
}

/* --- MOBILE READABILITY TUNING --- */
.hero-content h1 span,
.quality-heading h2 span {
    display: block;
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .hero-content h1 {
        max-width: 340px;
        font-size: 2.35rem !important;
        line-height: 1.05;
    }

    .hero-content p {
        max-width: 330px;
        font-size: 1rem !important;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero-link {
        font-size: 0.86rem;
    }

    .welcome-section {
        min-height: auto;
    }

    .quality-heading h2,
    .welcome-content h2 {
        max-width: 330px;
        font-size: 1.82rem !important;
        line-height: 1.12;
    }

    .quality-copy p,
    .text-column p,
    .features li {
        max-width: 100%;
        color: var(--brand-muted);
    }

    .about-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .text-column h2 {
        font-size: 2rem !important;
    }

    .team-section .section-header p {
        max-width: 300px;
    }

    .team-member .member-img {
        aspect-ratio: 16 / 10.8;
    }
}

@media screen and (max-width: 430px) {
    .hero-content h1 {
        font-size: 1.96rem !important;
    }

    .quality-heading h2,
    .welcome-content h2 {
        font-size: 1.62rem !important;
    }

    .btn {
        min-height: 50px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        font-size: 0.92rem;
    }
}

/* Keep the upgraded layout visible even before scroll scripts run. */
.reveal {
    opacity: 1;
    transform: none;
}

@media screen and (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-controls {
        display: flex !important;
        align-items: center;
        margin-left: auto;
        position: fixed;
        top: 24px;
        right: 1.25rem;
    }

    .menu-toggle {
        display: flex !important;
        flex: 0 0 auto;
    }

    .menu-toggle .bar {
        background-color: var(--brand-ink);
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-content h1 {
        max-width: 305px;
    }

    .welcome-content,
    .about-grid {
        width: 100%;
        max-width: 100%;
    }

    .quality-copy,
    .text-column {
        width: 100%;
        max-width: 330px;
    }

    .quality-copy p,
    .text-column p {
        width: 100%;
        overflow-wrap: break-word;
    }

    .features li {
        display: grid;
        grid-template-columns: 26px minmax(0, 1fr);
        align-items: start;
        overflow-wrap: break-word;
    }

    .gallery-full-section,
    #aanbod.gallery-section,
    .team-section,
    .route-section {
        max-width: 100vw;
    }
}

/* Real hero photo with a CSS-built wave transition into the quality section. */
header::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 51px;
    width: 66px;
    height: 66px;
    transform: translateX(-50%);
    z-index: 7;
    pointer-events: none;
    border-radius: 50%;
    background:
        #fffefa url('../img/brand/nova-green-plants-beeldmerk.svg?v=logo-20261113') center / 43px no-repeat;
    box-shadow: 0 14px 34px rgba(31, 48, 38, 0.11);
}

header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    display: block;
    height: 118px;
    z-index: 5;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1440 118'%3E%3Cpath fill='%23fffefa' d='M0 62C170 49 292 74 430 66c137-8 210-31 290-30s153 22 290 30c138 8 260-17 430-4v56H0V62Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.welcome-section {
    margin-top: 0;
    padding-top: 6.8rem;
    background-image:
        linear-gradient(180deg, #fffefa 0%, rgba(255, 254, 250, 0.98) 22%, rgba(255, 254, 250, 0.72) 48%, rgba(255, 254, 250, 0) 100%),
        url('../img/backgrounds/bladeren-licht-kwaliteit-service.jpg');
    background-size: 100% 190px, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center -168px;
    background-color: #fffefa;
}

.welcome-section::before {
    display: none;
}

.welcome-content {
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .nav-links {
        gap: 0;
        height: 112vh;
        min-height: 100dvh;
        background-color: #2c3e50;
    }

    .nav-links.active {
        bottom: 0;
    }

    .nav-links li {
        margin: 0.85rem 0 !important;
    }

    .mobile-menu-lang {
        margin-top: 1rem;
    }

    header::before {
        content: '';
        display: block;
        bottom: 40px;
        width: 54px;
        height: 54px;
        background-size: 36px;
    }

    header::after {
        height: 96px;
    }

    .welcome-section {
        margin-top: 0;
        padding-top: 5.4rem;
        background-size: 100% 150px, cover;
        background-position: center top, center -124px;
    }

    .welcome-section::before {
        display: none;
    }
}

/* Subtle scroll motion: calm reveal, slight hero depth, no hard dependency on JS. */
.hero-slide {
    transform: translate3d(0, 0, 0) scale(1.04);
    transform-origin: center;
    will-change: transform;
}

body.motion-ready .reveal {
    --reveal-distance: 22px;
    --reveal-scale: 0.992;
    --reveal-delay: 0ms;

    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, var(--reveal-distance), 0) scale(var(--reveal-scale));
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 700ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay);
    will-change: opacity, filter, transform;
}

body.motion-ready .reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

body.motion-ready .section-header.reveal,
body.motion-ready .contact-map-hero.reveal {
    --reveal-distance: 14px;
}

body.motion-ready .image-column.reveal,
body.motion-ready .route-wrapper.reveal {
    --reveal-distance: 28px;
    --reveal-scale: 0.986;
}

body.motion-ready .team-member.reveal,
body.motion-ready .gallery-item.reveal,
body.motion-ready .gallery-card.reveal,
body.motion-ready .region-card.reveal,
body.motion-ready .quality-metrics article.reveal,
body.motion-ready .proof-strip span.reveal {
    --reveal-distance: 18px;
}

body.motion-ready .team-grid .reveal:nth-child(2),
body.motion-ready .gallery-grid .reveal:nth-child(2),
body.motion-ready .region-cards .reveal:nth-child(2),
body.motion-ready .quality-metrics .reveal:nth-child(2),
body.motion-ready .proof-strip .reveal:nth-child(2) {
    --reveal-delay: 70ms;
}

body.motion-ready .team-grid .reveal:nth-child(3),
body.motion-ready .gallery-grid .reveal:nth-child(3),
body.motion-ready .region-cards .reveal:nth-child(3),
body.motion-ready .quality-metrics .reveal:nth-child(3),
body.motion-ready .proof-strip .reveal:nth-child(3) {
    --reveal-delay: 140ms;
}

body.motion-ready .team-grid .reveal:nth-child(4),
body.motion-ready .region-cards .reveal:nth-child(4) {
    --reveal-delay: 210ms;
}

body.motion-ready .gallery-full-grid .reveal:nth-child(3n + 2) {
    --reveal-delay: 70ms;
}

body.motion-ready .gallery-full-grid .reveal:nth-child(3n) {
    --reveal-delay: 140ms;
}

body.motion-ready .footer-content .reveal:nth-child(2),
body.motion-ready .contact-grid-layout .reveal:nth-child(2) {
    --reveal-delay: 90ms;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }

    body.motion-ready .reveal,
    body.motion-ready .reveal.active {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }
}

/* Refined language switcher */
.lang-switch {
    gap: 0.42rem;
    align-items: center;
    padding: 7px 15px;
    border: 1px solid rgba(79, 159, 56, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.lang-switch:hover {
    border-color: rgba(79, 159, 56, 0.36);
    background: rgba(79, 159, 56, 0.055);
    box-shadow: 0 6px 18px rgba(20, 48, 31, 0.045);
}

.lang-switch a {
    padding: 2px 0;
    color: #2f3d36 !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    transition: color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--action-green) !important;
}

.lang-switch a.active {
    font-weight: 800;
    cursor: default;
}

.lang-switch span {
    color: rgba(47, 61, 54, 0.34);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .mobile-menu-lang {
        gap: 0.75rem;
    }

    .mobile-menu-lang a {
        color: rgba(255, 255, 255, 0.76) !important;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        transition: color 0.2s ease;
    }

    .mobile-menu-lang a:hover,
    .mobile-menu-lang a.active {
        color: var(--brand-green) !important;
    }

    .mobile-menu-lang span {
        color: rgba(255, 255, 255, 0.34);
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0;
    }
}

/* One continuous surface from Media through Regions to Workprocess. */
.story-sections {
    position: relative;
    isolation: isolate;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: var(--warm-white);
}

.story-sections::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: max(32rem, 56.3vw);
    max-height: 100%;
    z-index: -1;
    pointer-events: none;
    background: url('../img/backgrounds/bladeren-licht-media.jpg') right bottom / cover no-repeat;
    mask-image: linear-gradient(180deg, transparent, #000 30%);
    opacity: 0.35;
}

.story-sections > .gallery-full-section,
.story-sections > .route-section,
.story-sections > #aanbod.gallery-section {
    width: 100%;
    left: auto;
    right: auto;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

.story-sections > .gallery-full-section {
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.story-sections > .route-section {
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.story-sections .route-section .section-header::after {
    content: none;
}

@media screen and (max-width: 768px) {
    .story-sections::before {
        height: 40rem;
        opacity: 0.35;
    }

    .story-sections .process-panel {
        width: 100%;
    }
}

/* Mobile polish pass: keep sections compact, intentional, and thumb-friendly. */
@media screen and (max-width: 768px) {
    :root {
        --mobile-edge: clamp(1.1rem, 5vw, 1.45rem);
    }

    html {
        scroll-padding-top: calc(78px + env(safe-area-inset-top));
    }

    body {
        background: #fffefa;
    }

    .nav-links {
        inset: 0 auto auto 50%;
        width: 100vw;
        height: 100dvh;
        min-height: 100dvh;
        justify-content: flex-start;
        gap: 0;
        padding: calc(5.8rem + env(safe-area-inset-top)) var(--mobile-edge) 2rem !important;
        overflow-y: auto;
    }

    .nav-links.active {
        top: 0;
        bottom: auto;
    }

    .nav-links li {
        margin: 0.68rem 0 !important;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links .desktop-lang {
        display: none !important;
    }

    .nav-links .mobile-menu-lang {
        display: flex !important;
    }

    .nav-links a {
        line-height: 1.2;
    }

    .container,
    .footer-container {
        width: 100%;
        padding-left: var(--mobile-edge);
        padding-right: var(--mobile-edge);
    }

    .section-header {
        width: 100%;
        max-width: 430px;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: clamp(2rem, 9.5vw, 2.65rem);
        line-height: 1.08;
    }

    .section-header p {
        max-width: 340px;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .gallery-full-section {
        padding-top: 4.8rem;
        padding-bottom: 6.1rem;
    }

    .welcome-section {
        padding: 4.35rem var(--mobile-edge) 2.85rem;
    }

    .welcome-content {
        width: 100%;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
    }

    .quality-heading h2,
    .welcome-content h2 {
        max-width: 360px;
        font-size: clamp(1.82rem, 7.3vw, 2.28rem) !important;
        line-height: 1.12;
        letter-spacing: 0;
    }

    .quality-copy p {
        max-width: 350px;
        font-size: 1rem;
        line-height: 1.72;
    }

    .quality-metrics {
        grid-template-columns: 1fr;
        gap: 0;
        width: min(100%, 350px);
        max-width: 350px;
        margin: 1.75rem auto 0;
        padding: 0.18rem 1rem;
        border: 1px solid rgba(31, 48, 38, 0.1);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 14px 34px rgba(31, 48, 38, 0.055);
    }

    .quality-metrics article {
        display: grid;
        grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
        align-items: center;
        column-gap: 1rem;
        min-height: 68px;
        padding: 0.85rem 0 0.85rem 0.85rem;
        border-top: 0;
        border-bottom: 1px solid rgba(31, 48, 38, 0.1);
    }

    .quality-metrics article:last-child {
        border-bottom: 0;
    }

    .quality-metrics article::before {
        top: 50%;
        left: 0;
        width: 3px;
        height: 30px;
        transform: translateY(-50%);
        border-radius: 999px;
    }

    .quality-metrics strong {
        margin-bottom: 0;
        font-size: 1.08rem;
    }

    .quality-metrics span:last-child {
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .about-section {
        padding-top: 3.35rem;
        padding-bottom: 4.4rem;
    }

    .about-section .text-column h2 {
        max-width: calc(100% - 68px);
        font-size: clamp(2.15rem, 9vw, 2.6rem) !important;
        line-height: 1.08;
    }

    .about-section .text-column p {
        font-size: 1.02rem;
        line-height: 1.72;
    }

    .features {
        gap: 0.9rem;
    }

    .features li {
        line-height: 1.55;
    }

    .gallery-full-section .section-header,
    .gallery-full-grid,
    .gallery-footer,
    #aanbod .section-header,
    #aanbod .gallery-grid {
        width: calc(100% - (var(--mobile-edge) * 2)) !important;
        max-width: 430px;
    }

    .gallery-full-section .section-header {
        text-align: left;
    }

    .gallery-full-section .section-header h2::after,
    .gallery-full-section .section-header p {
        margin-left: 0;
    }

    .gallery-full-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: auto !important;
        gap: 0.82rem !important;
        align-items: start;
    }

    .gallery-item,
    .gallery-item:nth-child(n),
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(7) {
        grid-column: auto !important;
        grid-row: auto !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 0.82;
        border-radius: 8px;
        box-shadow: 0 12px 26px rgba(31, 48, 38, 0.08);
    }

    .gallery-item:first-child {
        grid-column: 1 / -1 !important;
        aspect-ratio: 16 / 10;
    }

    .gallery-item.gallery-item--landscape {
        grid-column: 1 / -1 !important;
        aspect-ratio: 3 / 2;
    }

    .gallery-item a,
    .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .gallery-item img {
        object-fit: cover;
        transform: none !important;
    }

    .gallery-item::after,
    .gallery-item:hover::after {
        opacity: 0 !important;
        display: none;
    }

    .gallery-footer {
        margin-top: 1.45rem;
    }

    .btn-outline {
        width: 100%;
        max-width: 340px;
        min-height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.95rem 1.1rem;
        font-size: 0.96rem;
        line-height: 1.15;
        letter-spacing: 0.01em;
        white-space: normal;
        border-radius: 8px;
    }

    .btn-outline span {
        margin-left: 0.35rem;
    }

    body.motion-ready .reveal,
    body.motion-ready .reveal.active {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    .gallery-full-section::before {
        bottom: 1.55rem;
        width: min(330px, calc(100vw - (var(--mobile-edge) * 2)));
    }

    .gallery-full-section::after {
        height: 118px;
    }

    .route-section {
        padding-top: 4.8rem;
        padding-bottom: 4.7rem;
    }

    .route-map-layout {
        width: 100%;
        max-width: 430px;
        padding: 1rem;
        gap: 1.35rem;
        border-radius: 8px;
    }

    .germany-map-container {
        min-height: 320px;
    }

    .region-cards {
        gap: 0.8rem;
    }

    .region-card {
        min-height: 68px;
        padding: 1rem;
    }

    #aanbod.gallery-section {
        padding-top: 4.8rem;
        padding-bottom: 4.2rem;
    }

    #aanbod .gallery-grid {
        gap: 1rem;
    }

    #aanbod .gallery-card {
        grid-template-rows: auto auto;
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(31, 48, 38, 0.08);
    }

    #aanbod .gallery-card .img-container {
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-content h3 {
        font-size: 1.45rem;
        line-height: 1.15;
        margin-bottom: 0.55rem;
    }

    .card-content p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .footer-section {
        padding-top: 3.6rem;
        padding-bottom: calc(6.4rem + env(safe-area-inset-bottom));
    }

    .footer-content {
        width: 100%;
        max-width: 430px;
        gap: 2rem;
        margin-bottom: 1.9rem;
    }

    .footer-col {
        min-width: 0;
        width: 100%;
        flex: 0 0 100%;
    }

    .footer-logo {
        width: min(220px, 74vw);
        margin-bottom: 1.25rem;
        padding: 0.75rem;
    }

    .footer-about p {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.02rem;
        line-height: 1.75;
    }

    .footer-col h3 {
        margin-bottom: 1rem;
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .footer-col li {
        margin-bottom: 0.85rem;
        font-size: 1rem;
        line-height: 1.55;
    }

    .contact-detail {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        width: 100%;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 1.4rem;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .footer-bottom p {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-section::before {
        right: auto;
        left: 50%;
        bottom: 0.45rem;
        transform: translateX(-50%);
        font-size: clamp(3rem, 17vw, 4.6rem);
        opacity: 0.75;
    }

    .whatsapp-btn {
        width: 54px;
        height: 54px;
        right: calc(1rem + env(safe-area-inset-right));
        bottom: calc(1rem + env(safe-area-inset-bottom));
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(0.96);
        box-shadow: 0 16px 34px rgba(16, 70, 39, 0.24);
    }

    .whatsapp-btn.show-badge {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .whatsapp-btn img {
        width: 31px;
        height: 31px;
    }

    .whatsapp-badge {
        display: block !important;
        top: auto;
        right: calc(100% + 0.7rem);
        bottom: 0.1rem;
        height: auto;
        min-height: 0;
        box-sizing: border-box;
        width: min(240px, calc(100vw - 5.65rem));
        max-width: calc(100vw - 5.65rem);
        padding: 0.68rem 0.82rem;
        border-radius: 8px 8px 0 8px;
        color: #1f3026;
        font-size: 0.78rem;
        line-height: 1.35;
        text-align: left;
        white-space: normal;
        box-shadow: 0 14px 32px rgba(16, 70, 39, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateX(8px) scale(0.98) !important;
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease,
            transform 0.22s ease;
    }

    .whatsapp-badge::after {
        content: "";
        position: absolute;
        right: -7px;
        bottom: 0;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 0 solid transparent;
        border-left: 8px solid white;
    }

    .whatsapp-btn.show-badge .whatsapp-badge {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1) !important;
    }

    body:has(.contact-page-section) .whatsapp-btn {
        display: none;
    }
}

@media screen and (max-width: 430px) {
    .gallery-full-grid {
        gap: 0.72rem !important;
    }

    .btn-outline {
        max-width: 100%;
    }

    .footer-col h3 {
        font-size: 1.65rem;
    }
}

/* Mobile menu hardening: closed really means offscreen, inert, and scroll-safe. */
@media screen and (max-width: 768px) {
    body.mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    body.mobile-menu-open .whatsapp-btn {
        display: none !important;
        opacity: 0;
        pointer-events: none;
    }

    .menu-toggle {
        touch-action: manipulation;
    }

    .nav-links {
        top: -110dvh !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) !important;
        transition:
            top 0.34s ease,
            opacity 0.2s ease,
            visibility 0s linear 0.34s;
    }

    .nav-links.active {
        top: 0 !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition:
            top 0.34s ease,
            opacity 0.2s ease,
            visibility 0s linear 0s;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(16px);
        animation: none !important;
    }

    .nav-links.active li {
        animation: fadeInUpMenu 0.36s ease forwards !important;
    }

    .nav-links.active li:nth-child(1) {
        animation-delay: 0.05s !important;
    }

    .nav-links.active li:nth-child(2) {
        animation-delay: 0.1s !important;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.15s !important;
    }

    .nav-links.active li:nth-child(4) {
        animation-delay: 0.2s !important;
    }

    .nav-links.active li:nth-child(5) {
        animation-delay: 0.25s !important;
    }

    .nav-links.active li:nth-child(6) {
        animation-delay: 0.3s !important;
    }

    .nav-links.active li:nth-child(7) {
        animation-delay: 0.35s !important;
    }

    .team-grid {
        width: calc(100% - (var(--mobile-edge, 1.2rem) * 2.7)) !important;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-member {
        border-radius: 8px;
    }

    .team-member .member-img {
        aspect-ratio: 16 / 10.5 !important;
    }
}

/* Mobile footer finish: compact, readable, and clear of fixed CTAs. */
@media screen and (max-width: 768px) {
    #aanbod.gallery-section {
        padding-bottom: 2.7rem;
    }

    .footer-section {
        padding-top: 3rem;
        padding-bottom: calc(8.3rem + env(safe-area-inset-bottom));
    }

    .footer-container {
        width: min(calc(100% - (var(--mobile-edge, 1.2rem) * 2)), 430px);
    }

    .footer-content {
        gap: 1.45rem;
        margin-bottom: 1.35rem;
    }

    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        width: min(190px, 68vw);
        margin-bottom: 1rem;
        padding: 0.65rem;
    }

    .footer-about p {
        max-width: 310px;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .footer-contact {
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-col h3 {
        margin-bottom: 0.8rem;
        font-size: 1.55rem;
        letter-spacing: 0.06em;
    }

    .footer-contact ul {
        display: grid;
        justify-items: center;
        gap: 0.55rem;
    }

    .footer-col li {
        margin-bottom: 0;
        line-height: 1.45;
    }

    .footer-contact li:first-child {
        max-width: 285px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.95rem;
    }

    .contact-detail {
        color: #ffffff;
        font-size: 0.98rem;
        font-weight: 700;
    }

    .footer-bottom {
        margin-top: 1.25rem;
        padding-top: 1.1rem;
        font-size: 0.8rem;
    }

    .footer-section::before {
        bottom: 0.25rem;
        font-size: clamp(2.6rem, 14vw, 4rem);
        opacity: 0.45;
    }
}

/* Mobile-only polish: show the WhatsApp button immediately, reveal the label after a short scroll. */
@media screen and (max-width: 768px) {
    .slide-1 {
        background-position: 92% bottom !important;
    }

    .whatsapp-btn {
        bottom: calc(2.35rem + env(safe-area-inset-bottom));
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .whatsapp-btn .whatsapp-badge {
        opacity: 0;
        visibility: hidden;
        transform: translateX(8px) scale(0.98) !important;
    }

    .whatsapp-btn.show-badge .whatsapp-badge {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1) !important;
    }
}

@media screen and (max-width: 380px) {
    .slide-1 {
        background-position: 96% bottom !important;
    }
}

/* Footer contact polish: clean links, no mobile browser auto-blue styling. */
@media screen and (min-width: 1025px) {
    .footer-content {
        display: grid;
        grid-template-columns: minmax(250px, 1.05fr) minmax(250px, 0.95fr) minmax(170px, 0.72fr);
        align-items: start;
        gap: clamp(3rem, 5.5vw, 5.5rem);
        width: min(88%, 1120px);
    }

    .footer-col {
        min-width: 0;
    }

    .footer-about,
    .footer-contact,
    .footer-quick {
        text-align: left;
    }

    .footer-contact,
    .footer-quick {
        justify-self: start;
    }
}

.footer-contact-note {
    margin: 0 0 1.05rem;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.footer-contact-list,
.footer-quick ul {
    display: grid;
    gap: 0.65rem;
}

.footer-contact-list {
    justify-items: stretch;
    width: max-content;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.footer-contact-link,
.footer-contact-link:visited,
.footer-quick a,
.footer-quick a:visited {
    color: rgba(255, 255, 255, 0.86) !important;
    -webkit-text-fill-color: currentColor;
    text-decoration: none !important;
}

.footer-contact-link {
    display: grid;
    grid-template-columns: 1.1em minmax(0, 1fr);
    align-items: baseline;
    column-gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: left;
}

.footer-contact-label {
    color: var(--primary-green);
    font-weight: 800;
    justify-self: start;
    white-space: nowrap;
}

.footer-contact-value {
    min-width: 0;
}

.footer-phone-value {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.55rem;
    align-items: baseline;
}

.footer-phone-name {
    flex: 0 0 9em;
    min-width: 0;
}

.footer-phone-name,
.footer-phone-number {
    white-space: nowrap;
}

.footer-contact-list > li:has(.footer-phone-link) {
    max-width: none;
}

.footer-contact-list > li:first-child:has(.footer-phone-link),
.footer-contact-list > li:first-child .footer-phone-link {
    margin-bottom: 0;
}

.footer-phone-link .footer-contact-label {
    align-self: baseline;
}

.footer-quick a {
    transition: color 0.2s ease;
}

.footer-quick a:hover {
    color: #ffffff !important;
}

/* Final mobile footer and WhatsApp placement pass. */
@media screen and (max-width: 768px) {
    .whatsapp-btn {
        right: calc(0.95rem + env(safe-area-inset-right));
        bottom: calc(1.15rem + env(safe-area-inset-bottom));
    }

    .whatsapp-btn .whatsapp-badge,
    .whatsapp-btn.show-badge:not([data-badge-ready="true"]) .whatsapp-badge {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(8px) scale(0.98) !important;
    }

    .whatsapp-btn.show-badge[data-badge-ready="true"] .whatsapp-badge {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) scale(1) !important;
    }

    .footer-section {
        background:
            linear-gradient(180deg, rgba(5, 15, 10, 0.94), rgba(2, 9, 6, 0.98)),
            url('../img/backgrounds/bladeren-donker-footer.jpg') center / cover no-repeat !important;
        padding: 4rem 0 calc(7.1rem + env(safe-area-inset-bottom)) !important;
        color: rgba(255, 255, 255, 0.78);
    }

    .footer-section::before {
        display: none !important;
    }

    .footer-container {
        width: min(100%, calc(390px + var(--mobile-edge, 1.2rem) * 2)) !important;
    }

    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2.65rem !important;
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto 2.2rem !important;
        text-align: center;
    }

    .footer-col {
        min-width: 0 !important;
        width: 100%;
        text-align: center !important;
    }

    .footer-logo {
        width: min(214px, 70vw) !important;
        height: auto !important;
        margin: 0 auto 1.35rem !important;
        padding: 0.78rem 0.95rem !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    }

    .footer-about p {
        max-width: 315px !important;
        margin: 0 auto !important;
        color: rgba(255, 255, 255, 0.76);
        font-size: 1rem !important;
        line-height: 1.72 !important;
    }

    .footer-contact {
        padding-top: 2.25rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    .footer-col h3 {
        margin: 0 0 1rem !important;
        color: #ffffff !important;
        font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .footer-contact-note {
        max-width: 285px;
        margin: 0 auto 1.15rem !important;
        color: rgba(255, 255, 255, 0.66);
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .footer-contact-list,
    .footer-quick ul {
        justify-items: center;
        gap: 0.78rem !important;
    }

    .footer-contact-list {
        justify-items: stretch;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col li {
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .footer-contact-link {
        justify-content: stretch;
        color: rgba(255, 255, 255, 0.86) !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
    }

    .footer-contact-label {
        color: #8bd16f;
        font-weight: 800;
    }

    .footer-quick {
        padding-top: 2.1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-quick a {
        color: rgba(255, 255, 255, 0.72) !important;
        font-size: 1rem;
        line-height: 1.45;
    }

    .footer-bottom {
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        padding: 1.25rem 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.13) !important;
        color: rgba(255, 255, 255, 0.52);
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
    }

    .footer-bottom p {
        max-width: 270px !important;
        margin: 0 auto !important;
    }
}

/* Mobile navigation is defined in mobile-menu.css. */

/* Desktop/laptop guard: keep the work-process cards comfortably inside their visual section. */
@media screen and (min-width: 769px) {
    #aanbod.gallery-section {
        padding-top: clamp(4.4rem, 5.2vw, 5.6rem);
        padding-bottom: clamp(5.4rem, 6vw, 6.4rem);
    }

    #aanbod .section-header {
        margin-bottom: clamp(1.65rem, 2.1vw, 2.25rem);
    }

    #aanbod .section-header h2 {
        font-size: clamp(2.55rem, 3.45vw, 3.5rem);
        line-height: 1.05;
    }

    #aanbod .gallery-grid {
        width: min(84vw, 1120px);
        gap: clamp(1.35rem, 1.8vw, 1.8rem);
        align-items: stretch;
    }

    #aanbod .gallery-card {
        grid-template-rows: clamp(220px, 17.2vw, 258px) minmax(118px, auto);
        min-height: 0;
    }

    #aanbod .gallery-card .img-container {
        min-height: 0;
    }

    #aanbod .card-content {
        padding: 1.35rem 1.55rem 1.45rem;
    }

    #aanbod .card-content h3 {
        margin-bottom: 0.48rem;
        font-size: clamp(1.25rem, 1.55vw, 1.52rem);
        line-height: 1.15;
    }

    #aanbod .card-content p {
        font-size: 0.98rem;
        line-height: 1.45;
    }
}

@media screen and (min-width: 769px) and (max-height: 850px) {
    #aanbod.gallery-section {
        padding-top: 4rem;
        padding-bottom: 5.2rem;
    }

    #aanbod .section-header {
        margin-bottom: 1.45rem;
    }

    #aanbod .gallery-card {
        grid-template-rows: clamp(205px, 16.4vw, 240px) minmax(112px, auto);
    }

    #aanbod .card-content {
        padding-top: 1.22rem;
        padding-bottom: 1.35rem;
    }

    .whatsapp-badge {
        bottom: 10px;
    }
}

/* Final CTA position guard: mobile lower, desktop label optically aligned a touch higher. */
@media screen and (max-width: 768px) {
    .whatsapp-btn {
        bottom: calc(0.55rem + env(safe-area-inset-bottom)) !important;
    }
}

@media screen and (min-width: 769px) {
    .whatsapp-badge {
        bottom: 10px;
    }
}

/* German copy guard: keep "für Deutschland" together on wider screens. */
@media screen and (min-width: 769px) {
    html[lang="de"] .hero-content {
        max-width: 760px;
    }

    html[lang="de"] .hero-content h1 {
        max-width: 720px;
    }

    html[lang="de"] .hero-content h1 span:last-child {
        white-space: nowrap;
    }
}

@media screen and (min-width: 769px) and (max-width: 1120px) {
    html[lang="de"] .hero-content h1 {
        max-width: 640px;
        font-size: clamp(3.15rem, 5.5vw, 4.2rem);
    }
}

/* Contact-page/footer and mobile sticky-header finishing pass. */
body:has(.contact-page-section) .footer-section {
    margin-top: 0;
}

body:has(.contact-page-section) .footer-contact-list {
    gap: 0.75rem;
}

body:has(.contact-page-section) .footer-contact-link,
body:has(.contact-page-section) .footer-contact-link:visited {
    color: rgba(255, 255, 255, 0.88) !important;
    -webkit-text-fill-color: currentColor;
    text-decoration: none !important;
}

body:has(.contact-page-section) .footer-contact-label {
    color: #8dcc72;
}

@media screen and (max-width: 768px) {
    body {
        padding-top: calc(78px + env(safe-area-inset-top));
    }

    body::before {
        height: calc(78px + env(safe-area-inset-top)) !important;
        border-top: 0 !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 10px 26px rgba(16, 38, 24, 0.08) !important;
        z-index: 2490 !important;
    }

    nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: calc(78px + env(safe-area-inset-top)) !important;
        margin: 0 !important;
        padding:
            env(safe-area-inset-top)
            var(--mobile-edge, 1.2rem)
            0 !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: none !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        z-index: 2500 !important;
    }

    nav .logo img {
        width: auto !important;
        height: 54px !important;
        max-height: 54px !important;
    }

    .nav-controls {
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin-left: auto !important;
    }

    .menu-toggle {
        width: 50px !important;
        height: 50px !important;
    }

    header[id],
    section[id],
    footer[id] {
        /* The root scroll padding already accounts for the fixed navigation. */
        scroll-margin-top: 12px;
    }

    body.mobile-menu-open nav {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.mobile-menu-open::before {
        opacity: 0 !important;
    }

    body:has(.contact-page-section) .footer-section {
        padding-top: 3.6rem !important;
    }

    body:has(.contact-page-section) .footer-contact-link {
        justify-content: center;
        font-size: 1rem;
    }
}

/* Final footer alignment guard. */
@media screen and (max-width: 768px) {
    .footer-contact-list {
        justify-items: stretch !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-contact-list > li {
        width: 100% !important;
    }

    .footer-contact-link {
        justify-content: stretch !important;
    }
}

/* Mobile team polish: compact two-column portrait tiles instead of tall stacked cards. */
@media screen and (max-width: 768px) {
    .team-section {
        padding-top: 3.85rem !important;
        padding-bottom: 4.25rem !important;
        background-position: center top !important;
    }

    .team-section .section-header {
        width: min(calc(100% - (var(--mobile-edge, 1.2rem) * 2)), 420px);
        margin: 0 auto 1.65rem !important;
    }

    .team-section .section-header h2 {
        font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
        line-height: 1.05;
    }

    .team-section .section-header p {
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .team-grid {
        width: min(calc(100% - (var(--mobile-edge, 1.2rem) * 2)), 430px) !important;
        max-width: 430px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.72rem !important;
        align-items: stretch;
    }

    .team-member {
        min-width: 0;
        display: grid;
        grid-template-rows: auto minmax(88px, 1fr);
        border-radius: 8px !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
    }

    .team-member .member-img {
        aspect-ratio: 4 / 4.45 !important;
        min-height: 0;
    }

    .team-member .member-img img {
        object-position: center 16%;
    }

    .team-info {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0.82rem 0.72rem 0.95rem !important;
        text-align: left;
        background: #ffffff;
    }

    .team-info h3 {
        margin-bottom: 0.28rem;
        font-size: clamp(0.9rem, 4vw, 1.03rem) !important;
        line-height: 1.13;
        overflow-wrap: anywhere;
    }

    .team-info .role {
        font-size: clamp(0.58rem, 2.65vw, 0.68rem) !important;
        line-height: 1.34;
        letter-spacing: 0.04em;
    }

    .member-clickable .call-overlay {
        top: auto;
        left: auto;
        right: 0.55rem;
        bottom: 0.55rem;
        width: 2.05rem;
        height: 2.05rem;
        border-radius: 999px;
        opacity: 1;
        background: rgba(79, 159, 56, 0.94);
        box-shadow: 0 10px 24px rgba(8, 25, 15, 0.24);
    }

    .member-clickable .phone-icon {
        width: 1rem;
        height: 1rem;
        transform: none;
    }
}

@media screen and (max-width: 360px) {
    .team-grid {
        gap: 0.58rem !important;
    }

    .team-member {
        grid-template-rows: auto minmax(96px, 1fr);
    }

    .team-info {
        padding: 0.75rem 0.6rem 0.85rem !important;
    }

    .team-info h3 {
        font-size: 0.86rem !important;
    }

    .team-info .role {
        font-size: 0.55rem !important;
    }
}

/* Scrollbar color where mobile browsers allow it, plus an iOS-friendly visual thumb. */
@media screen and (max-width: 768px) {
    html {
        scrollbar-color: var(--primary-green) rgba(31, 48, 38, 0.12);
        scrollbar-width: thin;
    }

    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(31, 48, 38, 0.08);
    }

    ::-webkit-scrollbar-thumb {
        border: 2px solid transparent;
        border-radius: 999px;
        background-color: var(--primary-green);
        background-clip: content-box;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: var(--dark-green);
    }
}

.mobile-scroll-indicator {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-scroll-indicator {
        position: fixed;
        top: 0;
        right: max(3px, env(safe-area-inset-right));
        z-index: 2600;
        display: block;
        width: 3px;
        height: var(--mobile-scroll-track-height, 100dvh);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.18s ease;
    }

    .mobile-scroll-indicator__thumb {
        display: block;
        width: 100%;
        height: var(--mobile-scroll-thumb-height, 46px);
        border-radius: 999px;
        background: linear-gradient(180deg, #8dcc72, var(--primary-green));
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 7px 18px rgba(8, 25, 15, 0.24);
        transform: translate3d(0, var(--mobile-scroll-thumb-offset, 0), 0);
        will-change: transform;
    }

    .mobile-scroll-indicator.is-visible.is-scrolling {
        opacity: 0.95;
    }

    body.mobile-menu-open .mobile-scroll-indicator,
    body.lightbox-open .mobile-scroll-indicator {
        opacity: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-scroll-indicator,
    .mobile-scroll-indicator__thumb {
        transition: none !important;
    }
}

/* Production mobile polish: better tap targets in the footer. */
@media screen and (max-width: 768px) {
    .footer-contact-link {
        min-height: 44px;
        align-items: center;
    }

    .footer-quick a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.25rem 0.55rem;
    }
}

/* Mobile landscape guard: keep the hero message inside the first viewport. */
@media screen and (orientation: landscape) and (min-width: 769px) and (max-width: 950px) and (max-height: 520px) {
    nav {
        height: 74px !important;
    }

    header {
        height: calc(100svh - 74px) !important;
        min-height: 316px !important;
        padding: 1.1rem 2rem 1.35rem !important;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-slide {
        background-position: 70% bottom !important;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 25, 15, 0.72) 0%, rgba(8, 25, 15, 0.3) 72%);
    }

    .hero-content {
        max-width: 440px;
        margin: 0;
        padding: 0;
    }

    .hero-kicker {
        margin-bottom: 0.55rem;
        font-size: 0.74rem;
        line-height: 1.25;
    }

    .hero-content h1 {
        max-width: 440px !important;
        margin-bottom: 0.62rem;
        font-size: clamp(2.2rem, 5.2vw, 2.9rem) !important;
        line-height: 0.98;
    }

    html[lang="de"] .hero-content h1 {
        max-width: 475px !important;
        font-size: clamp(2.05rem, 4.8vw, 2.65rem) !important;
    }

    .hero-content p {
        max-width: 360px;
        margin-bottom: 1rem;
        font-size: 0.95rem !important;
        line-height: 1.45;
    }

    .hero-actions {
        gap: 0.78rem;
    }

    .hero-content .btn {
        min-height: 44px;
        padding: 0.68rem 1.2rem;
        font-size: 0.88rem;
    }

    .hero-link,
    .scroll-cue,
    header::before {
        display: none !important;
    }

    header::after {
        height: 54px;
    }
}

/* Contact form confirmation page. */
.thanks-page {
    background: #f7f9f2;
}

.thanks-section {
    min-height: calc(100svh - 78px);
    display: flex;
    align-items: center;
    padding: clamp(4rem, 8vw, 6.2rem) 0;
    background:
        linear-gradient(180deg, rgba(247, 249, 242, 0.84), rgba(247, 249, 242, 0.96)),
        url('../img/backgrounds/bladeren-licht-kwaliteit-service.jpg') center / cover no-repeat;
}

.thanks-card {
    width: min(92%, 620px);
    margin: 0 auto;
    padding: clamp(2.1rem, 6vw, 3.5rem);
    border: 1px solid rgba(31, 48, 38, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 55px rgba(31, 48, 38, 0.1);
    text-align: center;
}

.thanks-mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.35rem;
    border-radius: 999px;
    background:
        #ffffff
        url('../img/brand/nova-green-plants-beeldmerk.svg?v=logo-20261113')
        center / 42px no-repeat;
    box-shadow: 0 14px 34px rgba(31, 48, 38, 0.12);
}

.thanks-card h1 {
    margin: 0 auto 1rem;
    color: var(--brand-ink);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.thanks-card p {
    max-width: 460px;
    margin: 0 auto 1.7rem;
    color: var(--brand-muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.thanks-actions .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    font-size: 0.96rem;
}

.thanks-actions .btn-outline {
    background: #ffffff;
    border-color: rgba(79, 159, 56, 0.5);
    color: var(--dark-green);
    box-shadow: none;
}

.thanks-actions .btn-outline:hover {
    background: rgba(79, 159, 56, 0.08);
    border-color: var(--primary-green);
    color: var(--dark-green);
    box-shadow: none;
}

@media screen and (max-width: 768px) {
    .thanks-section {
        min-height: calc(100svh - 78px - env(safe-area-inset-top));
        padding: 3.2rem 0 4.2rem;
    }

    .thanks-card {
        width: min(calc(100% - (var(--mobile-edge, 1.2rem) * 2)), 430px);
        padding: 2rem 1.35rem 2.15rem;
    }

    .thanks-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .thanks-actions .btn,
    .thanks-actions .btn-outline {
        width: 100%;
    }
}

/* ============================================================
   CLAUDE — VERFIJNINGSLAAG  (laatste laag; wint bewust de cascade)
   Puur visueel, geen inhoudelijke tekst gewijzigd.
   1) redactionele serif voor display-koppen
   2) tonale banner-cohesie (één merk-waas over de fotosecties)
   3) micro-craft: focus-states · footer-watermerk · regelafbreking
   ============================================================ */

/* 1 · TYPOGRAFIE -------------------------------------------------- */
:root {
    --display-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

h1,
h2 {
    font-family: var(--display-serif);
    font-weight: 600;
    letter-spacing: -0.011em;
    font-optical-sizing: auto;
}

.hero-content h1 {
    font-weight: 600;
    letter-spacing: -0.018em;
}

/* uppercase label-kop → ingetogen title-case serif */
.welcome-content h2,
.quality-heading h2 {
    font-family: var(--display-serif);
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.008em;
}

/* content-titels (teamnamen, kaarttitels) in serif */
.team-info h3,
.gallery-card h3,
.card-content h3 {
    font-family: var(--display-serif);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

/* functionele labels / eyebrows / nav blijven bewust schreefloos */
.nav-links a,
.hero-kicker,
.proof-strip strong,
.quality-metrics strong,
.footer-col h3,
.region-card h3,
.team-info .role,
.scroll-cue,
.hero-link {
    font-family: 'Montserrat', sans-serif;
}

/* Workprocess: open photo captions, with the existing step numbers in the margin. */
.process-panel {
    width: min(88%, 1120px);
    margin: 0 auto;
}

#aanbod .process-panel .section-header,
#aanbod .process-panel .gallery-grid {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

#aanbod .process-panel .section-header {
    margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

#aanbod .gallery-card,
#aanbod .gallery-card:hover {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    column-gap: 0.8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    overflow: visible;
}

#aanbod .gallery-card .img-container {
    grid-column: 1 / -1;
    grid-row: 1;
    border-radius: 6px;
    box-shadow: 0 5px 14px -6px rgba(31, 48, 38, 0.24);
}

#aanbod .gallery-card::before {
    position: static;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: auto;
    height: auto;
    padding-top: 1.1rem;
    background: transparent;
    color: #64795a;
    font-family: var(--display-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

#aanbod .card-content {
    grid-column: 2;
    grid-row: 2;
    padding: 1.25rem 0 0;
    border: 0;
    background: transparent;
}

#aanbod .card-content p {
    color: #455141;
}

@media screen and (max-width: 768px) {
    #aanbod .process-panel .section-header,
    #aanbod .process-panel .gallery-grid {
        margin-left: auto;
        margin-right: auto;
    }
}

/* 3 · MICRO-CRAFT ------------------------------------------------- */
/* Toegankelijke focus-states (ontbraken; formuliervelden stonden op outline:none) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-outline:focus-visible,
.menu-toggle:focus-visible,
.region-card:focus-visible,
.lang-switch a:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Footer-watermerk netjes laten bijsnijden i.p.v. afkappen */
.footer-section {
    overflow: hidden;
}

.footer-section::before {
    bottom: -0.14em;
    right: 0.6rem;
    color: rgba(255, 255, 255, 0.05);
}

/* Rustigere regelafbreking op koppen en intro's */
.section-header h2,
.welcome-content h2,
.quality-heading h2 {
    text-wrap: balance;
}

.section-header p,
.welcome-content p,
.text-column p {
    text-wrap: pretty;
}

/* 4 · DELIVERY-POLISH (audit-ronde) — low-risk afwerking voor oplevering:
   knoppen-states & vormtaal, leesbaarheid, mobiel-menu in merkkleur. */

/* knoppen: ontbrekende :active press-feedback */
.btn:active,
.btn-outline:active,
.contact-actions a:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(31, 48, 38, 0.14);
}

/* radius geharmoniseerd met kaarten (8px) + kleur in transitielijst */
.btn,
.btn-outline,
.contact-actions a {
    border-radius: 8px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn-outline:hover {
    color: #ffffff;
}

/* leesbaarheid: ruimere regelafstand op intro-/sectietekst (desktop) */
.welcome-content p {
    line-height: 1.7;
}

.section-header p {
    line-height: 1.6;
}

/* formuliervelden: vloeiende focus i.p.v. abrupt */
.form-group input,
.form-group textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* teamrol-label: donkerder groen voor nette contrast op witte kaart */
.team-info .role {
    color: var(--dark-green);
}

/* mobiel menu: van off-brand leigrijs naar merk-donkergroen */
@media screen and (max-width: 768px) {
    .nav-links {
        background-color: #1f3026;
    }
}

/* regio-sectie: eigen blad-divider, zonder ingebakken achtergrond-decor. */
.route-section .section-header::after {
    content: '';
    display: block;
    width: min(300px, 64%);
    height: 28px;
    margin: 1.7rem auto 0;
    background:
        url('../img/brand/nova-green-plants-beeldmerk.svg?v=logo-20261113') center / 28px no-repeat,
        linear-gradient(90deg,
            rgba(79, 159, 56, 0) 0%,
            rgba(79, 159, 56, 0.30) 20%,
            rgba(79, 159, 56, 0.30) calc(50% - 28px),
            rgba(79, 159, 56, 0) calc(50% - 28px),
            rgba(79, 159, 56, 0) calc(50% + 28px),
            rgba(79, 159, 56, 0.30) calc(50% + 28px),
            rgba(79, 159, 56, 0.30) 80%,
            rgba(79, 159, 56, 0) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 28px 28px, 100% 1px;
}

/* 5 · ART-DIRECTION-RONDE (red-team-gevet) — esthetische klassewinst:
   rustigere motion (anti-AI), sterkere stat-hierarchie, consistente
   accenten, zachte team->media overgang voor banner-cohesie. */

/* scroll-reveal: blur eraf -> gegrond 'inzakken' i.p.v. cinematisch/AI */
body.motion-ready .reveal {
    filter: none;
}

/* stat-strip: het kerngetal/woord echt als 'stat' laten lezen + nette cijfers */
.quality-metrics strong {
    font-size: clamp(1.4rem, 1.9vw, 1.6rem);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.quality-metrics strong,
.proof-strip strong {
    font-variant-numeric: lining-nums tabular-nums;
}

/* groen accent consistent: kop-onderstreping even dik als de stat-balkjes (3px) */
.section-header h2::after,
.welcome-content h2::after,
.quality-heading h2::after {
    height: 3px;
}

/* hero-kop iets strakker als echte display-cut */
.hero-content h1 {
    letter-spacing: -0.02em;
}

/* zachte overgang uit de donkere team-band naar de lichte mediasectie
   (de enige harde naad) — bewust subtiel, geen wave/blob. */
.team-section {
    position: relative;
    isolation: isolate;
}

.team-section .section-header,
.team-section .team-grid {
    position: relative;
    z-index: 1;
}

.team-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(40px, 4vw, 64px);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(255, 254, 250, 0) 0%,
        rgba(255, 254, 250, 0.45) 58%,
        var(--warm-white) 100%);
}

/* mobiel: stat-label op één regel houden + caption strak uitgelijnd
   (door de grotere cijfers wrapte "6 dagen" eerder naar twee regels). */
@media screen and (max-width: 768px) {
    .quality-metrics article {
        grid-template-columns: 7rem 1fr;
        align-items: center;
        column-gap: 0.9rem;
    }

    .quality-metrics strong {
        white-space: nowrap;
    }
}

@media screen and (max-width: 768px) {
    header {
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: clamp(5.2rem, 14vh, 7rem);
    }

    html[lang="nl"] .contact-form-col :is(h1, h2) {
        font-size: clamp(1.18rem, 5.4vw, 1.42rem);
        white-space: nowrap;
    }
}

/* team-sectie: nog 2 leden (Kees & Wouter) -> 2 kaarten gecentreerd
   i.p.v. links uitgelijnd in een 4-koloms grid. */
@media screen and (min-width: 901px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-section .member-img {
        height: clamp(245px, 20vw, 310px);
    }
}

.gallery-item a,
.gallery-item video {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item video {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-item a[data-type="video"] {
    position: relative;
}

.gallery-item a[data-type="video"]::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(13, 22, 17, 0.68);
    transform: translate(-50%, -50%);
}

.gallery-item a[data-type="video"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #ffffff;
    transform: translate(-36%, -50%);
}

.lightbox-content.is-hidden {
    display: none;
}

/* Proceskaarten: automatische crossfade */
.verlading-slider,
.verkoop-slider {
    position: relative;
}

.verlading-slider .vl-slide,
.verkoop-slider .vl-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.verlading-slider .vl-slide.is-active,
.verkoop-slider .vl-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .verlading-slider .vl-slide,
    .verkoop-slider .vl-slide {
        transition: opacity 0.25s linear;
    }
}

/* Keep every navigation item in view on smaller laptops and tablets. */
@media screen and (min-width: 769px) and (max-width: 1100px) {
    nav .logo {
        justify-self: start;
    }

    nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.55rem;
        height: auto !important;
        padding: 0.65rem 1.5rem 0.8rem;
    }

    nav .logo img {
        width: 136px;
    }

    nav .nav-links {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
        gap: 0.65rem;
    }

    nav .nav-links > li > a {
        white-space: nowrap;
        font-size: 0.8rem;
    }

    nav .desktop-lang {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        margin: 0;
    }

    section[id], header[id] {
        scroll-margin-top: 136px;
    }
}

/* Focus stays visible within the clipped photograph. */
.gallery-item .lightbox-trigger:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

/* Native dialog: reserve space for controls, including phone safe areas. */
html:has(body.lightbox-open),
html:has(body.mobile-menu-open) {
    overflow: hidden;
}

dialog.lightbox-overlay {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    padding: max(80px, env(safe-area-inset-top)) 100px max(40px, env(safe-area-inset-bottom));
    overflow: hidden;
}

dialog.lightbox-overlay[open] {
    display: flex;
}

.lightbox-overlay .lightbox-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-overlay .close-lightbox {
    top: max(16px, env(safe-area-inset-top));
    right: max(24px, env(safe-area-inset-right));
}

@media screen and (max-width: 768px) {
    dialog.lightbox-overlay {
        padding: calc(76px + env(safe-area-inset-top)) 16px calc(100px + env(safe-area-inset-bottom));
    }

    .lightbox-overlay .lightbox-prev,
    .lightbox-overlay .lightbox-next {
        top: auto;
        bottom: calc(22px + env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
        transform: none;
    }

    .lightbox-overlay .lightbox-prev {
        left: calc(50% - 60px);
    }

    .lightbox-overlay .lightbox-next {
        right: calc(50% - 60px);
    }
}

@media screen and (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .nav-links,
    .nav-links.active {
        transition: none !important;
    }

    .nav-links.active li {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* Relief in the delivery map, with a quiet, matte frame. */
.germany-map-container,
.germany-map-container:hover {
    background: linear-gradient(140deg, #f8faf4, #edf2e7);
    border-color: #e0e7d9;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.5),
        inset 0 1px 3px rgba(31, 48, 38, 0.04);
    transform: none;
}

#germany-svg #features {
    filter: drop-shadow(0 2px 0 #b9c5b2) drop-shadow(0 11px 9px rgba(31, 48, 38, 0.14));
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #germany-svg {
        transform: perspective(1000px) rotateX(var(--map-rotate-x, 0deg)) rotateY(var(--map-rotate-y, 0deg));
        transform-origin: 50% 60%;
        transition: transform 0.45s ease-out;
    }

    .germany-map-container:hover #germany-svg {
        transition-duration: 0.16s;
    }
}

/* A fine print edge and an unobtrusive cue that photographs can be opened. */
.gallery-full-grid .gallery-item {
    box-shadow: 0 2px 4px rgba(31, 48, 38, 0.08),
        0 18px 28px -18px rgba(31, 48, 38, 0.35);
}

.gallery-full-grid .gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.gallery-item a.lightbox-trigger:not([data-type="video"]) {
    position: relative;
    cursor: zoom-in;
}

.gallery-item a.lightbox-trigger:not([data-type="video"])::after {
    content: '';
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4 4M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 16px no-repeat, rgba(18, 27, 22, 0.6);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.gallery-item:hover a.lightbox-trigger:not([data-type="video"])::after,
.gallery-item a.lightbox-trigger:focus-visible:not([data-type="video"])::after {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px), (hover: none) {
    .gallery-item a.lightbox-trigger:not([data-type="video"])::after {
        right: 10px;
        bottom: 10px;
        opacity: 1;
        transform: none;
    }
}

/* Restrained edge lighting gives primary actions a tangible press state. */
.btn:not(.btn-outline) {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.23),
        inset 0 -2px 0 rgba(20, 48, 31, 0.15),
        0 8px 18px -8px rgba(20, 48, 31, 0.3);
}

.btn:not(.btn-outline):hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(20, 48, 31, 0.15),
        0 12px 22px -8px rgba(20, 48, 31, 0.35);
}

.btn:not(.btn-outline):active {
    box-shadow: inset 0 2px 3px rgba(20, 48, 31, 0.2),
        0 2px 5px rgba(20, 48, 31, 0.12);
}

/* Shared reading sizes across both languages and all page types. */
:root {
    --section-title-size: clamp(1.875rem, 1.25rem + 1.75vw, 3rem);
    --reading-size: clamp(1rem, 0.95rem + 0.15vw, 1.125rem);
}

.home-page .welcome-content h2,
.home-page .text-column h2,
.home-page .section-header h2,
#aanbod .section-header h2 {
    font-size: var(--section-title-size) !important;
    line-height: 1.16;
    letter-spacing: -0.012em;
    text-wrap: balance;
}

.welcome-content p,
.about-section .text-column p,
.section-header p,
.route-description p {
    font-size: var(--reading-size);
    line-height: 1.7;
}

.about-section .features li {
    font-size: var(--reading-size);
    line-height: 1.6;
    font-weight: 600;
}

.team-info h3 {
    font-size: clamp(1.125rem, 1.5vw, 1.5rem) !important;
    line-height: 1.25;
    overflow-wrap: normal;
    text-wrap: balance;
}

.team-info .role {
    font-size: 0.8125rem !important;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

#aanbod .card-content h3 {
    font-size: clamp(1.375rem, 1.6vw, 1.625rem);
    line-height: 1.25;
}

#aanbod .card-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-grid-layout :is(h1, h2) {
    font-size: clamp(1.625rem, 1.25rem + 0.9vw, 2.125rem) !important;
    line-height: 1.2;
    white-space: normal !important;
    text-wrap: balance;
}

.contact-info-col .info-block p {
    font-size: var(--reading-size);
    line-height: 1.7;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    line-height: 1.5;
}

.form-group input {
    margin-top: auto;
}

.form-group input,
.form-group textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-col h3 {
    font-size: 1.25rem !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.015em;
}

.footer-bottom p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
}

.thanks-card h1 {
    text-wrap: balance;
}

@media (min-width: 1101px) {
    .nav-links a {
        font-size: clamp(0.8125rem, 0.98vw, 0.9375rem);
        line-height: 1.3;
        letter-spacing: 0.035em;
    }
}

@media (max-width: 1024px) {
    .contact-grid-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .route-section > .section-header {
        width: calc(100% - (var(--mobile-edge, 1.2rem) * 2));
        margin-inline: auto;
    }
}

/* Keep touch controls clear of the location labels and let the page scroll. */
@media (max-width: 768px), (pointer: coarse) {
    .whatsapp-badge {
        display: none !important;
    }

    .thanks-page .whatsapp-btn {
        position: static;
        margin: 1.5rem auto 0;
        transform: none;
    }
}

@media (pointer: coarse) {
    .contact-map-canvas,
    .contact-location-map.leaflet-container {
        touch-action: pan-y pinch-zoom;
        cursor: auto;
    }

    .contact-map-marker--office .contact-map-label,
    .contact-map-marker--warehouse .contact-map-label {
        transform: none;
    }

    .contact-map-controls {
        right: auto;
        left: 0.85rem;
    }

    .contact-map-controls button,
    .contact-location-map .leaflet-control-zoom a {
        width: 44px;
        height: 44px;
    }

    .contact-location-map .leaflet-control-zoom {
        margin-left: 0.85rem;
    }
}

/* A short viewport needs scrolling space, not compressed navigation rows. */
@media (max-width: 768px) and (max-height: 520px) {
    .nav-links {
        padding-top: calc(5rem + env(safe-area-inset-top)) !important;
    }

    .nav-links::before,
    .nav-links::after {
        display: none;
    }

    .nav-links .mobile-menu-lang {
        margin-top: 1rem !important;
    }
}
