/* ====================================
   FONT: STEAGAL
==================================== */
@font-face {
    font-family: "Steagal";
    src: url("../fonts/Steagal-Re.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ====================================
   RESET + GLOBAL
==================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge legacy */ /* Propagates to viewport — prevents horizontal scroll from off-screen blobs.
                           overflow-x:clip on .page-diensten is visual-only (no scroll container),
                           so blob positions still reach the document scroll width without this. */
}

/* Chrome / Safari / Edge (Blink + WebKit) — hides scrollbar while keeping scroll functional */
html::-webkit-scrollbar { display: none; }

body {
    font-family:
        "Steagal",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background-color: #000000; /* Hele site zwart */
    color: #ffffff;
    line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
    font-weight: 600;
}

#root,
#__next {
    isolation: isolate;
}

/* Algemene section spacing (pas aan naar smaak) */
section {
    padding: 4rem 0;
}

/* Container helper */
.container {
    /* Was 1200px. Nu 1280px voor de moderne standaard. */
    width: min(1280px, 100%);

    /* Zorgt dat hij in het midden staat */
    margin-inline: auto;

    /* BELANGRIJK VOOR STRAKS (MOBIEL):
     We zetten de breedte op 100% (in plaats van 90%)
     maar voegen padding toe. Dit is makkelijker te beheren op mobiel. */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ====================================
   HEADER / NAVBAR
==================================== */

/* Alleen de hoofdnavigatie bovenaan de site */
body > header {
    background-color: #000000;
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    max-width: 1600px;
    margin: 0 auto;
}

/* LOGO */
.brand {
    display: flex;
    align-items: center;
    margin-right: 60px;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 133px;
    height: 30px;
    aspect-ratio: 133 / 30;
    object-fit: contain;
}

/* NAVIGATIE */
.primary-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: #cccccc;
}

/* Nav dropdown (Diensten) */
.has-dropdown {
    position: relative;
}

/* Invisible hover bridge: fills the 5px gap so the mouse never leaves .has-dropdown */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 5px;
}

.has-dropdown > .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #004a64;
    border-radius: 5px;
    list-style: none;
    margin: 5px 0 0;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    min-width: 180px;
}

.has-dropdown:hover .nav-dropdown {
    display: block;
}

.has-dropdown > a .fa-angle-down {
    font-size: 10px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a .fa-angle-down {
    transform: rotate(180deg);
}

.nav-dropdown li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-dropdown li a:hover {
    color: #3b8dbd;
    background: rgba(255, 255, 255, 0.1);
}

/* Extra class .navbar (indien gebruikt) */
.navbar a {
    color: #ffffff;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.navbar a:hover {
    color: #cccccc;
}

/* HEADER ACTIES (rechts) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

/* TAALWISSELAAR */
.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #ffffff;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 5px 10px;
}

.lang-toggle i {
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* Dropdownmenu styling */
.lang-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #004a64;
    border-radius: 5px;
    list-style: none;
    margin: 5px 0 0;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.lang-menu li {
    padding: 0;
}

.lang-menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 5px 15px;
}

.lang-menu li a:hover {
    color: #3b8dbd;
    background: rgba(255, 255, 255, 0.1);
}

/* Actieve state */
.language-switcher.active .lang-menu {
    display: block;
}

.language-switcher.active .lang-toggle i {
    transform: rotate(180deg);
}

/* CONTACT KNOP */
.btn-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    width: 87px;
    height: 31px;
    padding: 7px 17px 8px 18px;

    text-decoration: none;
    font-weight: 600;
    color: #ffffff;

    border-radius: 30px;
    border: 1px solid #0096ca;

    background: radial-gradient(
        94.55% 94.29% at 50.57% 51.43%,
        #004a64 0%,
        #1483aa 47.59%,
        #28bdf0 100%
    );

    box-shadow: 0 0 15px rgba(46, 125, 165, 0.6);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: radial-gradient(
        94.55% 94.29% at 50.57% 51.43%,
        #005b7d 0%,
        #1a8fbf 47.59%,
        #30c8ff 100%
    );
    box-shadow: 0 0 20px rgba(46, 125, 165, 0.8);
    transform: translateY(-1px);
}

/* ===== HERO (full bleed zoals Figma) ===== */

.hero {
    position: relative;
    width: 100%;
    min-height: 830px; /* hoogte uit Figma als desktop-basis */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    background-color: #000000; /* fallback als image niet laadt */
}

/* Achtergrondfoto full-bleed */
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* vult de hele breedte, snijdt randjes af */
    object-position: center top; /* bovenkant mooi tegen navbar */
    display: block;
    z-index: 0;
}

/* Blurred cover backdrop — hidden on desktop, enabled in mobile media query.
 * Sits behind the sharp hero__bg and the fade overlay. */
.hero__bg-blur {
    display: none;
}

/* Donkere fade aan de onderkant.
 * Start position is controlled by --hero-fade-start (default 55% desktop).
 * Override in the mobile media query to push the fade lower. */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0)    var(--hero-fade-start, 55%),
        rgba(0, 0, 0, 0.92) 92%,
        rgba(0, 0, 0, 1)    100%
    );
    z-index: 1;
}

/* Tekstblok in het midden */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 960px;

    /* precies centreren + lichte offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 0; /* geen extra padding meer */
    top: -124px; /* schuift alles licht naar beneden */
}

/* TITEL â€“ volgens Figma */
.hero h1 {
    width: fit-content;
    margin: 0 auto;

    font-family: "Steagal", sans-serif;
    font-size: 64px; /* Figma */
    font-weight: 500; /* Figma */
    line-height: 1; /* Figma: normal */
    letter-spacing: 0.01em; /* kleine optische tweak; zet desnoods op 0 */
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.hero h1 .hero-line {
    display: inline; /* Desktop: all on one line */
}

/* TAGLINE â€" volgens Figma */
.hero__tagline {
    width: fit-content;
    white-space: nowrap;
    margin-top: 24px; /* iets meer spacing zoals in Figma */
    margin-left: auto;
    margin-right: auto;

    font-family: "Steagal", sans-serif;
    font-size: 24px; /* Figma */
    font-weight: 400; /* Figma */
    line-height: 1;
    text-align: center;
    color: #fff;
}

/* Comfort / Luxe */
.hero__tagline strong {
    font-weight: 500; /* Figma */
    color: #fff;
}

/* Hero button (mobile only) */
.hero__btn {
    display: none; /* Hidden on desktop */
}

/* Responsive hero tekst */
@media (max-width: 768px) {
    .hero {
        /* ===== TUNING: Mobile hero layout variables =====================
         *
         * --hero-h
         *   Hero height on mobile. Uses 100svh (small viewport height — excludes
         *   the browser address bar on iOS/Android so the hero truly fills the screen).
         *   Falls back to 100vh for older browsers.
         *
         * --hero-min-px
         *   Hard pixel floor so the hero stays Figma-tall (827 px = Figma canvas)
         *   even on unusually short viewports or landscape phones.
         *
         * --hero-fade-start
         *   Where the dark gradient begins (measured from the top of the hero).
         *   Wired directly into .hero::after — there is no other overlay; this is the
         *   single source of truth for the fade.
         *   ↑ Increase (e.g. 90%) → fade starts LOWER → more photo visible above it.
         *   ↓ Decrease (e.g. 60%) → fade starts HIGHER → image darkens sooner.
         *   Range 70 – 90% works best for most images.
         *
         * --hero-title-size / --hero-title-lh
         *   Font-size and line-height for the H1 title on mobile.
         *   Applied to .hero h1 — change here to scale text without hunting selectors.
         *
         * --hero-subtitle-size / --hero-subtitle-lh
         *   Font-size and line-height for the .hero__tagline paragraph on mobile.
         *   Applied to .hero__tagline — .hero__tagline-line display:block is untouched.
         *
         * --hero-subtitle-max
         *   Max-width of the subtitle block.
         *   Narrower = tighter 2-line layout guaranteed.
         *   Too wide = text may collapse to 1 line on larger phones.
         *
         * --hero-title-x / --hero-title-y
         *   Pixel offsets that shift the H1 title horizontally / vertically.
         *
         * --hero-subtitle-x / --hero-subtitle-y
         *   Pixel offsets that shift the subtitle block.
         *
         * --hero-button-y
         *   Vertical offset for the CTA button below the subtitle.
         *
         * object-position on .hero__bg controls which part gets cropped
         *   when the image is larger than the container (cover mode).
         *   "center bottom" → top is cropped, bottom/subject is preserved.
         *
         * ================================================================ */
        --hero-h:            100svh; /* ← preferred: svh excludes mobile browser chrome */
        --hero-min-px:       827px;  /* ← Figma canvas height — floor for very short viewports */
        --hero-fade-start:   70%;    /* ← 70–90% range; raise = more photo, lower = more dark */
        --hero-title-size:   48px;   /* ← mobile H1 font-size */
        --hero-title-lh:     1.1;    /* ← mobile H1 line-height */
        --hero-subtitle-size: 28px;  /* ← mobile subtitle font-size */
        --hero-subtitle-lh:  1.25;   /* ← mobile subtitle line-height */
        --hero-subtitle-max: 350px;
        --hero-title-x:      0px;
        --hero-title-y:      -65px;
        --hero-subtitle-x:   0px;
        --hero-subtitle-y:   -30px;
        --hero-button-y:     40px;

        height: 100vh;                          /* fallback: older browsers without svh support */
        height: var(--hero-h, 100svh);          /* modern: small viewport height (iOS/Android safe) */
        min-height: var(--hero-min-px, 827px);  /* TUNING: Figma-tall floor */
    }

    /* MOBILE ONLY: Sharp image — cover fills edge-to-edge, no letterboxing */
    .hero__bg {
        content: url('../img/hero-mobile.webp'); /* TUNING: swap path here to change the mobile hero image */
        /* cover fills the hero container without letterboxing.
         * TUNING: object-position controls which part of the image is cropped.
         *   "center top"  → top of subject preserved, bottom may be clipped.
         *   "center 20%"  → bias slightly downward (show more of the subject).
         *   "center bottom" → top cropped, bottom/feet preserved (avoid unless needed). */
        object-fit: cover;
        object-position: center top; /* TUNING: shift to bias crop focus */
        z-index: 0; /* below ::after (z:1) and .hero__content (z:2) */
    }

    /* Blurred full-cover backdrop — makes the hero feel fullscreen
     * despite the sharp image using contain (no letterboxing effect).
     * Uses the same mobile image but blurred + scaled to fill every pixel. */
    .hero__bg-blur {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom; /* TUNING: shift to preserve the most important part of the blurred fill */
        filter: blur(18px);             /* TUNING: increase for softer backdrop, decrease for more defined */
        transform: scale(1.08);         /* slightly overscales to hide blur edge artefacts */
        opacity: 0.6;                   /* TUNING: lower = less prominent backdrop, higher = more visible */
        z-index: 0;                     /* behind sharp image (1), ::after fade (1), and content (2) */
    }

    .site-header {
        padding: 0 20px;
    }

    .hero__content {
        top: 0;
        padding: 3rem 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    /* TITLE: Split into 3 lines, left-aligned */
    .hero h1 {
        font-size: var(--hero-title-size, 48px);
        font-weight: 700;
        line-height: var(--hero-title-lh, 1.1);
        text-align: left;
        width: auto;
        margin: 0;
        transform: translate(var(--hero-title-x), var(--hero-title-y));
    }

    .hero h1 .hero-line {
        display: block; /* Each line on separate line */
    }

    /* Forces each <span class="hero__tagline-line"> onto its own line.
     * On desktop the spans remain inline (default) inside white-space:nowrap. */
    .hero__tagline-line {
        display: block;
    }

    /* SUBTITLE: Right-aligned, "comfort" and "luxe" are bold via <strong> tags */
    .hero__tagline {
        font-size: var(--hero-subtitle-size, 18px);
        line-height: var(--hero-subtitle-lh, 1.25);
        width: 100%;
        max-width: var(--hero-subtitle-max, 350px); /* ← tunable via --hero-subtitle-max */
        text-align: right;
        margin: 0;
        margin-left: auto;
        margin-right: 0;
        white-space: normal;
        transform: translate(var(--hero-subtitle-x), var(--hero-subtitle-y));
    }

    /* BUTTON: Centered, VISIBLE on mobile */
    .hero__btn {
        display: flex !important; /* Override any .btn-contact hiding */
        justify-content: center;
        align-items: center;
        width: fit-content;
        margin: 0 auto;
        transform: translateY(var(--hero-button-y));
    }
}

/* ==========================
   ONZE DIENSTEN SECTIE
========================== */

/* DIENSTEN CAROUSEL STYLES */
.home-diensten {
    padding: 120px 0;
    background: #000;
    overflow: hidden;
}

/* Typography - ONZE DIENSTEN */
.home-diensten h2 {
    text-align: center;
    margin-bottom: 60px;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 3.24px;
}

.home-diensten h2 .white {
    color: #fff;
}

.home-diensten h2 .accent {
    color: #0096ca;
}

/* Carousel Wrapper */
.diensten-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.diensten-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;

    /* Scroll snap settings */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    /* Verberg scrollbar */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    /* BASIS START (Mobiel / Default) */
    padding: 0 20px 40px 20px;
    scroll-padding: 20px;

    box-sizing: border-box;
}

/* Cursor verandert in een handje om aan te geven dat je kan slepen */
.diensten-carousel {
    cursor: grab;
}

/* Terwijl je sleept, knijpt het handje dicht */
.diensten-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none; /* Tijdelijk uitzetten tijdens slepen voor soepelheid */
    user-select: none; /* Voorkomt dat je per ongeluk tekst/plaatjes selecteert */
}

/* Zorg dat plaatjes niet blauw worden als je erover sleept */
.dienst-card img,
.dienst-card a {
    -webkit-user-drag: none;
    user-select: none;
}

.diensten-carousel::-webkit-scrollbar {
    display: none;
}

/* Container boundary fades — desktop only (enabled via @media below) */
.diensten-edge-fade { display: none; }

/* Swipe hint arrows — desktop only (enabled via @media below) */
.services-swipe-hint { display: none; }

/* Dienst Cards - Los van elkaar */
.dienst-card {
    flex: 0 0 407px;
    width: 407px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;

    /* Zorgt dat je overal op de kaart kan vastpakken */
    position: relative;
    user-select: none; /* Voorkomt tekst selecteren tijdens slepen */
}

/* Foto Styling */
.dienst-image {
    margin: 0;
    width: 407px;
    height: 477px;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    /* Zorgt dat het plaatje de muisklik niet 'opeet' */
    pointer-events: none;
}

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

/* Hover effect op de foto als je over de hele kaart muist */
.dienst-card:hover .dienst-image img {
    transform: scale(1.05);
}

/* Glass Content Box */
.dienst-content {
    /* Glass token overrides — matches FAQ card / footer dark glass treatment:
       dark tint, higher sat/bright, deeper shadow, stronger angled emboss. */
    --vwm-glass-radius: 20px;
    --vwm-glass-tint:   rgba(0, 0, 0, 0.30);
    --vwm-glass-border: rgba(255, 255, 255, 0.10);
    --vwm-glass-blur:   20px;
    --vwm-glass-sat:    190%;
    --vwm-glass-bright: 1.06;
    --vwm-glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.55),
                        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --vwm-glass-emboss: 0.22;

    margin-top: 31px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

/* Hover effect op de box */
.dienst-card:hover .dienst-content {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 150, 202, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(0, 150, 202, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.dienst-content h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
}

.dienst-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* De LINK styling (Toon meer) */
.toon-meer {
    color: #0096ca;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s ease;
    text-decoration: none;

    /* Belangrijk: Zorgt dat de link wél klikbaar blijft */
    cursor: pointer;
    pointer-events: auto;
}

.toon-meer:hover {
    gap: 8px;
    text-decoration: underline;
}

/* VIP Services kaart — goud accent */
.diensten-carousel .dienst-card:last-child .toon-meer {
    color: #ffb700;
}

/* Last card hover: gold glow instead of blue, matching the Toon meer color */
.diensten-carousel .dienst-card:last-child:hover .dienst-content {
    border-color: rgba(255, 183, 0, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(255, 183, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
========================================= */

/* DESKTOP: carousel flush to left edge; fades handle visual treatment */
@media (min-width: 1024px) {
    .diensten-carousel {
        padding-left: 0;   /* left fade masks the edge — no gap */
        padding-right: 40px;
        scroll-padding-left: 0;
    }

    /* Left + right fade masks — subtle luxury edge treatment.
     * pointer-events: none keeps drag/click fully working under the gradient. */
    .diensten-carousel-wrapper::before,
    .diensten-carousel-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 40px; /* stop above the progress bar */
        width: 60px;
        pointer-events: none;
        z-index: 2;
    }

    .diensten-carousel-wrapper::before {
        left: 0;
        background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0) 100%);
    }

    .diensten-carousel-wrapper::after {
        right: 0;
        background: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0) 100%);
    }

    /* Swipe hint arrows — subtle pill circles, pointer-events:none keeps drag working */
    .services-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #0096ca;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 150, 202, 0.35);
        color: rgba(255, 255, 255, 0.98);
        font-size: 13px;
        pointer-events: none;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s;
    }
    .services-swipe-hint.is-visible {
        opacity: 1;
        visibility: visible;
    }
    .services-swipe-hint--left  { left: 16px; cursor: pointer; pointer-events: auto; }
    .services-swipe-hint--right { right: 16px; cursor: pointer; pointer-events: auto; }

    /* Micro nudge animations */
    .services-swipe-hint--right.is-visible { animation: svc-nudge-r 2.5s ease-in-out infinite; }
    .services-swipe-hint--left.is-visible  { animation: svc-nudge-l 2.5s ease-in-out infinite; }

    @keyframes svc-nudge-r {
        0%, 100% { transform: translateY(-50%) translateX(0); }
        50%       { transform: translateY(-50%) translateX(4px); }
    }
    @keyframes svc-nudge-l {
        0%, 100% { transform: translateY(-50%) translateX(0); }
        50%       { transform: translateY(-50%) translateX(-4px); }
    }
}

/* TABLET: Iets kleinere kaarten */
@media (min-width: 768px) and (max-width: 1023px) {
    .dienst-card {
        flex: 0 0 360px;
        width: 360px;
    }

    .dienst-image {
        width: 360px;
        height: 420px;
    }
}

/* MOBIEL: Kleinere kaarten + padding fix */
@media (max-width: 767px) {
    .dienst-card {
        flex: 0 0 320px;
        width: 320px;
    }

    .dienst-image {
        width: 320px;
        height: 374px;
    }

    .diensten-carousel {
        padding: 0 20px 40px 20px;
    }

    .carousel-progress {
        padding: 0 20px;
    }
}

/* =========================================
   GROEPSVERVOER FOTO CORRECTIE
   Verschuift de foto binnen de kaart
========================================= */

/* Dit pakt specifiek de 3e kaart (Groepsvervoer) */
.dienst-card:nth-child(3) .dienst-image img {
    object-position: 70% center;
}

/* =========================================
   VIP SERVICE FOTO CORRECTIE (4e kaart)
========================================= */

.dienst-card:nth-child(4) .dienst-image img {
    object-position: 15% center;
}

/* DE ZEKERHEID VAN VWM GROUP SECTION */
.home-zekerheid {
    padding: 100px 0;
    background: #000;
    position: relative;
}

/* Header */
.zekerheid-header {
    margin-bottom: 80px;
}

.zekerheid-header h2 {
    color: #fff;
    text-align: center;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.zekerheid-header .accent {
    color: #0096ca;
}

.zekerheid-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 320px);
    justify-content: center;
    gap: 60px 40px;

    /* AANPASSING: Van 1400px naar 1280px (matcht container) */
    max-width: 1280px;

    margin: 0 auto;
    padding: 0 20px; /* Padding gelijk trekken met container */
}

/* Item Styling */
.zekerheid-item {
    text-align: left;
    transition: transform 0.3s ease;
}

.zekerheid-item:hover {
    transform: translateY(-8px);
}

/* Icon */
.zekerheid-item__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.zekerheid-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(56%) sepia(86%) saturate(2345%)
        hue-rotate(166deg) brightness(95%) contrast(101%);
    transition: transform 0.3s ease;
}

.zekerheid-item:hover .zekerheid-item__icon img {
    transform: scale(1.1);
}

/* Title */
.zekerheid-item h3 {
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

/* Description */
.zekerheid-item p {
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
    max-width: 280px;
}

/* Responsive Design */

/* Tablet - 2 kolommen */
@media (max-width: 1024px) {
    .zekerheid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
        padding: 0 30px;
    }

    .zekerheid-header h2 {
        font-size: 32px;
    }

    .home-zekerheid {
        padding: 80px 0;
    }

    .zekerheid-header {
        margin-bottom: 60px;
    }
}

/* Mobile - 2 kolommen compact */
@media (max-width: 640px) {
    .zekerheid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
        padding: 0 20px;
    }

    .zekerheid-header h2 {
        font-size: 24px;
        padding: 0 20px;
    }

    .home-zekerheid {
        padding: 60px 0;
    }

    .zekerheid-header {
        margin-bottom: 40px;
    }

    .zekerheid-item {
        text-align: center;
    }

    .zekerheid-item__icon {
        width: 36px;
        height: 36px;
        margin: 0 auto 16px;
        justify-content: center;
    }

    .zekerheid-item h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .zekerheid-item p {
        font-size: 12px;
        line-height: 1.5;
        max-width: 100%;
    }

    .zekerheid-item:hover {
        transform: none;
    }
}

/* Very small mobile - 1 kolom */
@media (max-width: 380px) {
    .zekerheid-list {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .zekerheid-item {
        text-align: left;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .zekerheid-item__icon {
        margin: 0;
        flex-shrink: 0;
    }

    .zekerheid-item h3 {
        margin-bottom: 6px;
    }
}

/* Extra groot scherm - max width */
@media (min-width: 1600px) {
    .zekerheid-list {
        max-width: 1600px;
        gap: 70px 50px;
    }
}

/* WAGENPARK SECTION – UPDATED */
.home-wagenpark {
    padding: 120px 32px 100px;
    /* lichte gradient zoals in Figma */
    background: #000;
    position: relative;
}

/* Header */
.wagenpark-header {
    text-align: center;
    margin-bottom: 32px;
}

.wagenpark-header h2 {
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px; /* ← Was 40px */
    font-weight: 500;
    letter-spacing: normal; /* ← Was 4px */
    line-height: normal;
    margin: 0;
    text-align: center;
}

/* Swipe hint — hidden on desktop; mobile styles live in the 768px block below */
.wagenpark-swipe-hint {
    display: none;
}

.fleet-container {
    position: relative;
    background: #fff;
    border-radius: 30px;
    padding: 0;
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 1600px;
    height: 850px;
    min-height: 850px;
    margin: 0 auto;
    overflow: hidden; /* Blijft hidden voor de afgeronde hoeken */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Left Sidebar - Vehicle List */
.vehicle-list {
    flex: 0 0 380px;
    background: #f5f6f7;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    overflow-y: auto;
}

.vehicle-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vehicle-list li button {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    border-radius: 18px;
    transition: all 0.25s ease;
    text-align: left;
}

.vehicle-list li.active button {
    /* brede gradient-balk zoals in Figma */
    background: linear-gradient(90deg, #0b2333 0%, #f5f6f7 55%, #f5f6f7 100%);
    border-color: #0b2333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.vehicle-list li button:hover {
    border-color: rgba(0, 150, 202, 0.4);
    transform: translateX(4px);
}

.vehicle-list button img {
    width: 140px;
    height: 70px;
    object-fit: contain;
    display: block;
}

/* V-Klasse + EQV sidebar icons: the side-view PNG has different proportions/whitespace,
   making the car appear smaller than the sedan icons in the same 140×70 bounding box.
   Dennis: tune the scale value — 1.0 = unchanged, 1.3 = 30% larger visual size. */
.vehicle-list li button[data-vehicle="v-klasse"] img,
.vehicle-list li button[data-vehicle="v-klasse-electric"] img {
    transform: scale(1.2);
}

.vehicle-info h3 {
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.vehicle-info p {
    color: #666;
    font-family: "Steagal", sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

/* Right Content - Vehicle Details */
.vehicle-details-wrapper {
    flex: 1;
    padding: 60px 80px 60px 70px;
    position: relative;
    background: #ffffff;
    overflow: visible; /* Staat foto's toe om eruit te steken */
}

.vehicle-details {
    display: none;
}

.vehicle-details.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-content header h3 {
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 40px; /* Figma */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 9px 0; /* 9px naar beschrijving - Figma */
    letter-spacing: normal;
}

.vehicle-description {
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 14px; /* Figma */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 520px;
    max-width: 100%; /* responsive */
    margin: 0 0 83px 0; /* 83px naar features - Figma */
}

/* Vehicle Features */
.vehicle-features {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 338px;
    max-width: 100%; /* responsive */
    height: auto; /* laat het natuurlijk groeien */
}

.vehicle-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000; /* Figma */
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.feature-icon {
    font-size: 18px;
    width: 24px;
    display: inline-block;
}

/* Vehicle Gallery – overlappende kaarten zoals Figma */
/* Mobiel/standaard: nette stapel onder elkaar */
.vehicle-gallery {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.vehicle-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 30px; /* Figma */
    background: lightgray; /* Figma fallback */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

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

.vehicle-gallery figure:hover img {
    transform: scale(1.08);
}

/* Desktop: foto's BUITEN het witte vak overlappend - Figma layout */
@media (min-width: 1024px) {
    .vehicle-details-wrapper {
        overflow: visible !important;
    }

    .vehicle-gallery {
        position: absolute;
        right: 0; /* <- was -100px, nu tegen de rechterrand */
        top: 45%;
        transform: translateY(-50%);
        width: 750px;
        height: 700px;
        margin: 0;
    }

    .vehicle-gallery figure {
        position: absolute;
        border-radius: 30px;
    }

    /* FOTO 1 - Grote middelste foto (auto voorkant) */
    .vehicle-gallery figure:nth-child(1) {
        width: 318px;
        height: 438px;
        left: 220px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    }

    /* FOTO 2 - Rechtsboven (Interieur - stoelen) */
    .vehicle-gallery figure:nth-child(2) {
        width: 218px;
        height: 273px;
        right: 23px; /* <- was -40px, nu precies tegen de rand */
        top: 26px;
        z-index: 3;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    }

    /* FOTO 3 - Linksonder (Detail - speaker/dashboard) */
    .vehicle-gallery figure:nth-child(3) {
        width: 153px;
        height: 191px;
        left: 90px;
        bottom: 40px;
        z-index: 3;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    }

    /* FOTO 4 - Rechtsonder (Dashboard/stuur) */
    .vehicle-gallery figure:nth-child(4) {
        width: 200px;
        height: 250px;
        right: 30px;
        bottom: 0;
        z-index: 3;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        display: block;
    }
}

/* ── Wagenpark: narrow-desktop safety net (1024–1439px) ───────────────────
   At these widths the absolute photo collage from min-width:1024px doesn't
   fit inside the container — photos fall over the text. Reset to the same
   single-image column layout used at 769–1023px.
   Upper bound raised to 1439px so the collage only appears on screens wide
   enough (≥1440px) to actually contain it without overlapping the text.   */
@media (min-width: 1024px) and (max-width: 1439px) {

    .fleet-container {
        height: auto;
        min-height: auto;
        overflow: hidden;
    }

    /* Kill the desktop overflow:visible !important so nothing escapes the box */
    .vehicle-details-wrapper {
        overflow: hidden !important;
    }

    /* Flex column so order/z-index on children are actually honoured */
    .vehicle-details.active {
        display: flex;
        flex-direction: column;
    }

    /* Text block always rendered first and wins any stacking context */
    .vehicle-content {
        order: 1;
        position: relative;
        z-index: 2;
    }

    /* Neutralise the absolute collage layout — gallery drops below text */
    .vehicle-gallery {
        order: 2;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        top: auto !important;
        right: auto !important;
        display: block;
        margin: 24px 0 18px;
        z-index: 0;
    }

    /* All figures back to normal flow — kill per-figure absolute coords */
    .vehicle-gallery figure {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        border-radius: 20px;
        z-index: 0;
    }

    /* Show only the main photo */
    .vehicle-gallery figure:not(:first-child) {
        display: none;
    }

    .vehicle-gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .fleet-container {
        flex-direction: column;
        padding: 30px;
        border-radius: 28px;
    }

    .vehicle-list {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .vehicle-list ul {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
    }

    .vehicle-list li button {
        flex-direction: column;
        min-width: 140px;
    }

    .vehicle-details-wrapper {
        padding: 30px 10px 0;
    }
}

/* ── Wagenpark: in-between / small desktop (769 – 1023px) ──────────────────
   Problem: base .fleet-container carries height:850px/min-height:850px which
   is never reset here — stacked content overflows and gets clipped by
   overflow:hidden. Gallery figures still inherit desktop absolute positions
   (they're in the same cascade layer), causing overlaps.
   Fix: release the fixed height; flatten the gallery to static flow; show
   only the main photo; clip at the container level as a safety guard.
───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1023px) {

    /* Explicit column stack — redundant but immune to cascade surprises */
    .fleet-container {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        overflow: hidden; /* safety: clip any child that exceeds bounds */
    }

    .vehicle-details-wrapper {
        overflow: hidden;
    }

    /* Flex column on the active article → order/z-index on children are respected */
    .vehicle-details.active {
        display: flex;
        flex-direction: column;
    }

    /* Text always renders first and wins any stacking contest */
    .vehicle-content {
        order: 1;
        position: relative;
        z-index: 1;
    }

    /* Gallery locked below text — can never float up over it */
    .vehicle-gallery {
        order: 2;
        position: static;
        width: 100%;
        height: auto;
        transform: none !important; /* kill any lingering desktop/animation transform */
        display: block;
        margin-top: 24px;
        margin-bottom: 18px;
        z-index: 0;
    }

    /* Reset every figure to static/auto — desktop rules won't win here */
    .vehicle-gallery figure {
        position: static;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        border-radius: 20px;
        z-index: 0;
    }

    /* Show only the main photo; hide the three secondary shots */
    .vehicle-gallery figure:not(:first-child) {
        display: none;
    }

    .vehicle-gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    /* Smooth title scaling — no abrupt size jump */
    .vehicle-content header h3 {
        font-size: clamp(22px, 3.5vw, 38px);
    }

    /* Prevent description from escaping its column */
    .vehicle-description {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .home-wagenpark {
        padding: 80px 16px 60px;
        overflow-x: hidden;
    }

    .wagenpark-header h2 {
        font-size: 30px;
    }

    .fleet-container {
        padding: 20px;
        border-radius: 24px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .vehicle-list ul {
        max-width: 100%;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .vehicle-list li button {
        min-width: 120px;
    }

    .vehicle-content header h3 {
        font-size: 24px;
    }

    .vehicle-description {
        font-size: 14px;
        max-width: 100%;
    }

}

.home-wagenpark .vehicle-content header {
    background: transparent;
    width: auto;
    padding: 0;
}

/* ── Wagenpark: per-vehicle image crop/frame tuning ─────────────────────────
   Only affects the ≥1440px collage. Smaller breakpoints win via !important.
   ─────────────────────────────────────────────────────────────────────────── */

/* E-Klasse — middelste (front) foto: horizontal crop bijstellen
   Dennis: pas --eclass-front-pos aan om de zichtbare zone te sturen.
   0%   center = uiterst links  (maximale neus/grille zichtbaar)
   50%  center = gecentreerd
   100% center = uiterst rechts */
#veh-e-klasse .vehicle-gallery figure:nth-child(1) {
    --eclass-front-pos: 45% center;
}
#veh-e-klasse .vehicle-gallery figure:nth-child(1) img {
    object-position: var(--eclass-front-pos);
}

/* Touringcar — rechtsboven (interior) foto: kader landscape maken
   Dennis: pas --tc-img2-w / --tc-img2-h aan om de kadergrootte te sturen.
   Houd --tc-img2-h ≈ width × 0.58 voor een nette 16:9 verhouding.
   Voorbeeld: 340px / 197px voor een breder kader. */
#veh-touringcar .vehicle-gallery figure:nth-child(2) {
    --tc-img2-w: 300px;
    --tc-img2-h: 175px;
    width:  var(--tc-img2-w);
    height: var(--tc-img2-h);
}

/* EQA — middelste (front) foto: minder zoom door frame minder hoog te maken
   Het beeld is 6126×4084px (landscape ~3:2). De standaard kader is 318×438px
   (portrait). object-fit:cover schaalt op de hoogte → bij 438px is slechts
   48% van de breedte zichtbaar (sterk bijgesneden). Door de hoogte te verlagen
   wordt de schaalfactor kleiner → meer van de auto past in het kader.
   Dennis: verander --eqa-main-h om het zoom-niveau te sturen.
   Lager = minder zoom, meer auto zichtbaar. Hoger = meer zoom (origineel 438px).
   Houd de waarde tussen ~220px (bijna geen crop) en 438px (origineel). */
#veh-eqa .vehicle-gallery figure:nth-child(1) {
    --eqa-main-h: 300px;
    height: var(--eqa-main-h);
}

/* ==================================
   ONZE PARTNERS SECTIE
================================== */

.home-partners {
    padding: 100px 0;
    background: #000;
    position: relative;
}

/* Header */
.partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-header h2 {
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    letter-spacing: 2px;
}

.partners-header h2 .white {
    color: #fff;
}

.partners-header h2 .accent {
    color: #0096ca;
}

/* Marquee Container - met fade aan zijkanten */
.partners-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* ← belangrijk voor de endless loop */
    margin-bottom: 40px; /* ruimte tussen de 2 rijen */
}

/* Fade effect aan zijkanten */
.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000 0%, transparent 100%);
}

.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000 0%, transparent 100%);
}

/* Marquee track */
.partners-marquee {
    display: inline-flex; /* content op één lijn, breedte = inhoud */
    align-items: center;
    gap: 80px; /* ruimte tussen logo’s */
    width: max-content;
    will-change: transform;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Rij 1 - naar LINKS */
.partners-marquee-wrapper[data-direction="left"] .partners-marquee {
    animation-name: scrollLeft;
    animation-duration: 40s; /* hoger = langzamer */
}

/* Rij 2 - naar RECHTS */
.partners-marquee-wrapper[data-direction="right"] .partners-marquee {
    animation-name: scrollRight;
    animation-duration: 40s;
}

/* Logo items */
.partners-marquee li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partners-marquee a {
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    /* filter: brightness(0) invert(1); /* Maakt alle logo's wit */
}

.partners-marquee a:hover {
    opacity: 1;
}

.partners-marquee img {
    height: 50px; /* Vaste hoogte, breedte schaalt mee */
    width: auto;
    object-fit: contain;
}

/* Animations – endless loop met dubbele content */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* halve track-breedte */
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Alleen CSS keyframes uitzetten als deze wrapper door GSAP is overgenomen */
.partners-marquee-wrapper.is-gsap .partners-marquee {
    animation: none !important;
    transform: translateX(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .home-partners {
        padding: 60px 0;
    }

    .partners-header h2 {
        font-size: 28px;
    }

    .partners-marquee {
        gap: 60px;
    }

    .partners-marquee img {
        height: 40px;
    }

    .partners-marquee-wrapper::before,
    .partners-marquee-wrapper::after {
        width: 80px;
    }
}

/* ==================================
   CONTACT CTA SECTIE - PIXEL PERFECT FIGMA
   ================================== */

.contact-cta {
    padding: 100px 0; /* Ruime padding boven/onder de sectie */
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- De Header Tekst --- */
.contact-header {
    margin-bottom: 40px; /* Ruimte tussen tekst en het witte blok */
    text-align: center;
}

.contact-header h2 {
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 24px; /* Aanname op basis van proportie, pas aan indien nodig */
    font-weight: 500;
    line-height: 1.3;
}

/* --- Het Witte Formulier Container --- */
.contact-form {
    /* Layout: 617px breed, 745px hoog */
    width: 617px;
    min-height: 745px; /* Min-height zorgt dat het niet breekt als content groeit */

    /* Style */
    background: #fff;
    border-radius: 30px;

    /* PADDING BEREKENING:
     Top: 91px (zoals gevraagd).
     Zijkanten: 85px (om de content van 447px te centreren in 617px).
     Bottom: 50px (ruimte onder de knop).
  */
    padding: 91px 85px 50px 85px;

    /* Flexbox om alles netjes onder elkaar te zetten */
    display: flex;
    flex-direction: column;
    box-sizing: border-box; /* Zorgt dat padding binnen de width valt, indien width 100% is, maar hier fixen we width */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); /* Subtiele schaduw voor diepte */
}

/* --- Algemene Styles voor Labels --- */
.contact-form label {
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;

    display: block;
    margin-bottom: 8px; /* Kleine afstand tussen label en het vakje */
}

/* --- Rij 1: Voornaam & Achternaam (Naast elkaar) --- */
.form-row.two-columns {
    display: flex;
    justify-content: space-between; /* Zet ze maximaal uit elkaar */
    gap: 23px; /* Exact berekend: (447 breedte - (2 * 212 input)) = 23px gap */
    margin-bottom: 20px; /* 40px afstand tot het volgende blok (E-mail) */
}

.form-row .form-group {
    display: flex;
    flex-direction: column;
    width: 212px; /* Breedte van de naam blokjes */
}

.form-row input {
    width: 212px;
    height: 40px;
    border-radius: 10px;
    border: 0.5px solid #afafaf;
    background: #ebebeb;
    padding: 0 15px;
    outline: none;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    color: #000;
}

/* --- De Volledige Breedte Velden (E-mail, Telefoon, Bericht) --- */

/* Wrapper marges (De 40px afstanden) */
.contact-form > .form-group {
    margin-bottom: 20px; /* Standaard afstand naar beneden */
}

/* Specifiek voor het bericht blok, de knop zit er 51px onder */
.contact-form .form-group:has(textarea),
.contact-form .form-group:last-of-type {
    /* Fallback als :has niet werkt in oudere browsers, target de laatste groep voor buttons */
    margin-bottom: 0;
}

/* Inputs styling (Email & Telefoon) */
.contact-form > .form-group input {
    width: 447px;
    height: 40px;
    border-radius: 10px;
    border: 0.5px solid #afafaf;
    background: #ebebeb;
    padding: 0 15px;
    outline: none;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    color: #000;
}

/* Textarea styling (Bericht) */
.contact-form textarea {
    width: 447px;
    height: 213px;
    border-radius: 10px;
    border: 0.5px solid #afafaf;
    background: #ebebeb;
    padding: 15px; /* Padding voor tekst in de box */
    outline: none;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    color: #000;
    resize: none; /* Voorkomt dat gebruiker de box groter trekt */
}

/* Focus statussen voor betere UX */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0096ca; /* De blauwe kleur uit je knop */
    background: #fff;
}

/* --- De Verstuur Knop --- */
.form-actions {
    margin-top: 51px; /* Exact 51px van de onderkant van bericht blokje */
    display: flex;
    justify-content: center; /* Knop centreren */
}

.btn-submit {
    /* Layout */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px; /* WCAG touch target minimum */
    padding: 12px 24px;

    /* Typography */
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;

    /* Style */
    border-radius: 30px;
    border: 1px solid #0096ca;
    background: radial-gradient(
        94.55% 94.29% at 50.57% 51.43%,
        #017096 0%,
        #1483aa 40.73%,
        #28bdf0 100%
    );

    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 150, 202, 0.4);
}

/* --- Responsive Mobiel Aanpassingen --- */
@media (max-width: 700px) {
    .contact-form {
        width: 100%;
        max-width: 400px; /* Iets smaller op mobiel */
        padding: 40px 20px;
        height: auto;
        min-height: auto;
    }

    /* Forceer alles onder elkaar en full-width op mobiel */
    .form-row.two-columns {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-row .form-group,
    .form-row input,
    .contact-form > .form-group input,
    .contact-form textarea {
        width: 100% !important; /* Forceer breedte naar container breedte */
    }

    .contact-form > .form-group {
        margin-bottom: 20px; /* Iets minder witruimte op mobiel */
    }

    .contact-form textarea {
        height: 150px; /* Iets minder hoog op mobiel */
    }

    .form-actions {
        margin-top: 30px;
    }
}

/* ==================================
   VWM GLASS SYSTEM — SITE-WIDE
   Reusable single-class glass treatment.
   Add .vwm-glass to any container.
   Tune per-element by overriding the
   --vwm-glass-* custom properties locally.

   Adapted from liquid-glass reference:
   - backdrop-filter: blur + saturate + brightness (core frosted glass)
   - ::before angled gradient ring: bright top-left, dim mid, soft bottom-right
     uses mask-composite:exclude to show only the 1px border strip
   - CSS custom properties for every tunable value
================================== */

/* ── Default tokens — override per element ──────────────────────────────── */
:root {
    --vwm-glass-blur:     20px;
    --vwm-glass-sat:      180%;
    --vwm-glass-bright:   1.04;
    --vwm-glass-tint:     rgba(0, 0, 0, 0.04);
    --vwm-glass-border:   rgba(255, 255, 255, 0.12);
    --vwm-glass-shadow:   0 16px 48px rgba(0, 0, 0, 0.5),
                          inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --vwm-glass-radius:   30px;
    --vwm-glass-emboss:   0.16;  /* angled edge highlight strength 0–1 */
}

/* ── Base class ─────────────────────────────────────────────────────────── */
.vwm-glass {
    position: relative;
    border-radius: var(--vwm-glass-radius);
    background: var(--vwm-glass-tint);
    backdrop-filter:
        blur(var(--vwm-glass-blur))
        saturate(var(--vwm-glass-sat))
        brightness(var(--vwm-glass-bright));
    -webkit-backdrop-filter:
        blur(var(--vwm-glass-blur))
        saturate(var(--vwm-glass-sat))
        brightness(var(--vwm-glass-bright));
    border: 1px solid var(--vwm-glass-border);
    box-shadow: var(--vwm-glass-shadow);
}

/* ── Angled edge highlight ──────────────────────────────────────────────── */
/* mask-composite:exclude keeps only the 1px padding ring visible,
   so the gradient appears solely at the border — bright top-left,
   dark mid, soft bottom-right. pointer-events:none never blocks children. */
.vwm-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        155deg,
        hsla(0, 0%, 100%, var(--vwm-glass-emboss))                0%,
        hsla(0, 0%, 0%,   0.18)                                    50%,
        hsla(0, 0%, 100%, calc(var(--vwm-glass-emboss) * 0.7))   100%
    );
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0) content-box;
    mask-composite: exclude;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0) content-box;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* ── Reduced-motion: keep glass shape, drop backdrop blur ───────────────── */
@media (prefers-reduced-motion: reduce) {
    .vwm-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ==================================
   FOOTER – GLASSMORPHISM
================================== */

#footer {
    background: #000;
    padding-top: 40px;
    color: #fff;
}

/* Glass container: 27px zijkant, 50px onderkant */
#footer .footer-content.container {
    /* Glass token overrides — footer is dark and opaque */
    --vwm-glass-tint:   rgba(0, 0, 0, 0.88);
    --vwm-glass-border: rgba(255, 255, 255, 0.08);
    --vwm-glass-blur:   22px;
    --vwm-glass-bright: 1;
    --vwm-glass-shadow: 0 18px 60px rgba(0, 0, 0, 0.75),
                        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --vwm-glass-emboss: 0.08;

    width: auto;
    max-width: none;
    margin: 0 27px 50px;

    /* GRID – extra kolom als spacer */
    display: grid;
    grid-template-columns: 420px 1fr auto auto;
    column-gap: 60px; /* 60px tussen SITE MAP en DIENSTEN */
    align-items: flex-start;

    /* top, right, bottom, left */
    padding: 68px 120px 50px 62px; /* right = 120px → DIENSTEN 120px van rand */
}

/* Linkerkolom: logo + tekst + contact + socials */
.footer-info {
    display: flex;
    flex-direction: column;
    max-width: 420px;
    grid-column: 1; /* expliciet in kolom 1 */
}

/* Logo linksboven */
.footer-logo {
    display: inline-flex;
}

.footer-logo img {
    width: 226px;
    height: 51px;
    aspect-ratio: 226 / 51;
    object-fit: contain;
}

/* Intro-tekst onder logo */
.footer-info > p {
    margin: 34px 0 0 0; /* 34px onder het logo */
    max-width: 363px;
    color: #afafaf;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.42px;
}

/* Contactblok daaronder */
.footer-info address {
    margin: 24px 0 0 0;
    font-style: normal;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.42px;
}

.footer-info address p {
    margin: 0;
}

.footer-info address p + p {
    margin-top: 4px;
}

.footer-info address a {
    color: inherit;
    text-decoration: none;
}

.footer-info address a:hover {
    text-decoration: underline;
}

/* Social icons links onder */
.social-links {
    margin-top: auto; /* schuift naar onderkant van de kolom */
    padding-top: 32px;
}

.social-links ul {
    list-style: none;
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.social-links a {
    display: inline-flex;
    width: 27.5px;
    height: 27.5px;
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Rechterkolommen: SITE MAP & DIENSTEN */
.footer-nav {
    font-family: "Steagal", sans-serif;
}

/* Sitemap in kolom 3 */
.footer-nav.sitemap {
    grid-column: 3;
}

/* Diensten in kolom 4 */
.footer-nav.diensten {
    grid-column: 4;
}

.footer-nav h3 {
    margin: 0 0 18px 0;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.8px;
    text-transform: uppercase; /* weghalen als Figma geen uppercase gebruikt */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li + li {
    margin-top: 10px;
}

.footer-nav a {
    color: #afafaf;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.42px;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
}

/* Copyright onder de kaart */
.footer-bottom {
    grid-column: 1 / -1;
    width: 100%;
    text-align: right;
    color: #afafaf;
    font-family: "Steagal", sans-serif;
    font-size: 12px;
    margin: 32px 0 0;
}

/* Responsive */
@media (max-width: 960px) {
    #footer .footer-content.container {
        display: block; /* kolommen onder elkaar */
        padding: 40px 32px 40px 32px;
    }

    .footer-info {
        margin-bottom: 32px;
    }

    .footer-nav {
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    #footer .footer-content.container {
        margin: 0 16px 40px;
        border-radius: 24px;
        padding: 32px 24px 32px 24px;
    }

    .footer-nav {
        width: 100%;
    }
}

/* Footer — max-width op grote schermen */
@media (min-width: 1654px) {
    #footer .footer-content.container {
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================
   OVER ONS — INTRO (deterministic layout)
========================= */

.page-over-ons .intro {
    /* Fine-tuning variables (Desktop only) */
    --intro-max: 1280px;

    /* Line 1 position */
    --line1-x: 0px;
    --line1-y: 150px;

    /* Photo 1 (top-right) — anchored to .intro-media top/right
       Dennis: change --img1-y to move photo 1 up (more negative) or down */
    --img1-x: 0px;
    --img1-y: -145px;
    --img1-w: 465px;
    --img1-h: 217px;

    /* Right text block ("WAAR ONZE REIS BEGON") — anchored to .intro-media top/right
       Dennis: change --rightblock-y to move block up/down; --rightblock-x to nudge left from right edge */
    --rightblock-x: 0px;
    --rightblock-y: 107px;

    /* Photo 2 (bottom-left) — anchored to .intro-media bottom/left
       Dennis: change --img2-y to move photo 2 up (more negative) or down */
    --img2-x: 0px;
    --img2-y: 35px;
    --img2-w: 525px;
    --img2-h: 236px;

    /* Typography */
    --text-small-size: 36px;
    --text-small-weight: 400;
    --text-big-size: 64px;
    --text-big-weight: 700;
    --title-track: 3.24px;
    --accent-color: #0096ca;

    padding: 140px 0 180px;
    position: relative;
    overflow: hidden;
}

/* Intro container breedte */
.page-over-ons .intro > .container {
    max-width: var(--intro-max);
}

/* Text container */
.page-over-ons .intro-title {
    text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.25);
    letter-spacing: var(--title-track);
    font-size: var(--text-small-size);
    font-weight: var(--text-small-weight);
    line-height: 1.15;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
}

.page-over-ons .intro-line {
    display: block;
    color: #fff;
    font-weight: var(--text-small-weight);
}

/* Line 1A: "ÉÉN AUTO. ÉÉN IDEE. EN DE WENS OM" — left-aligned */
.page-over-ons .intro-line--one {
    text-align: left;
    transform: translate(var(--line1-x), var(--line1-y));
}

/* Line 1B: "REIZEN ANDERS TE MAKEN." — left-aligned, same as 1A */
.page-over-ons .intro-line--oneb {
    text-align: left;
    transform: translate(var(--line1-x), var(--line1-y));
}

/* Blue accent in line 1 */
.page-over-ons .intro-line .accent {
    color: var(--accent-color);
    font-weight: 700;
    font-size: var(--text-small-size);
}

/* Line 2 + Line 3: right-aligned block wrapper — absolutely placed inside .intro-media */
.page-over-ons .intro-block--right {
    position: absolute;
    right: var(--rightblock-x);
    top: var(--rightblock-y);
    text-align: right;
}

.page-over-ons .intro-line--center {
    display: block;
}

/* Line 3: "IS HET BEGIN VAN ONS VERHAAL." — subtitle typography */
.page-over-ons .intro-line--light {
    font-size: var(--text-small-size);
    font-weight: var(--text-small-weight);
    margin-top: 8px;
}

/* Media wrapper als "stage" */
.page-over-ons .intro-media {
    max-width: var(--intro-max);
    position: relative;
    margin-top: 60px;
    min-height: 420px;
}

/* Foto's */
.page-over-ons .intro-photo {
    position: absolute;
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
}

.page-over-ons .intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Foto 1 rechtsboven */
.page-over-ons .intro-photo.top {
    width: var(--img1-w);
    height: var(--img1-h);
    right: 0;
    top: 0;
    transform: translate(var(--img1-x), var(--img1-y));
}

/* Foto 2 linksonder */
.page-over-ons .intro-photo.bottom {
    width: var(--img2-w);
    height: var(--img2-h);
    left: 0;
    bottom: 0;
    transform: translate(var(--img2-x), var(--img2-y));
}

/* Line 2: "WAAR ONZE REIS BEGON" — big title typography (exact spec) */
.page-over-ons .intro-block--right .intro-big {
    font-family: "Steagal", sans-serif;
    font-size: var(--text-big-size); /* 64px on desktop, 42px on mobile via --text-big-size */
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 5.76px;
    color: #0096ca;
    display: block;
}

/* ─────────────────────────────────────────────────────
   OVER-ONS — Narrow-desktop safety net (901px–1279px)
   Photo 1 left edge drifts into the text column as the
   container shrinks below the 1280px max-width cap.
   Fix A: shrink photo so it intrudes less.
   Fix B: z-index guard so text always paints on top.
   ───────────────────────────────────────────────────── */
@media (min-width: 901px) and (max-width: 1279px) {
    .page-over-ons .intro {
        /* Dennis: lower --img1-w to push photo 1's left edge right (less overlap).
           At 1024px this gives photo left ≈ 684px vs text right ≈ 720px.
           Raise the value to make the photo bigger (more design presence, more overlap);
           lower it to be safer (smaller photo). */
        --img1-w: 340px;   /* wide desktop default: 465px */

        /* Dennis: keep roughly proportional to --img1-w (original ratio ≈ 2.14:1). */
        --img1-h: 158px;   /* wide desktop default: 217px */

        /* Dennis: less negative = less upward pull = photo sits lower.
           Scaled from -145px to match the shorter photo height. */
        --img1-y: -108px;  /* wide desktop default: -145px */
    }

    /* Stacking guard — intro-title text always above photo 1.
       Needed because photo 1 (via transform) naturally paints on top of DOM-earlier elements. */
    .page-over-ons .intro-title {
        position: relative;
        z-index: 2;
    }
    .page-over-ons .intro-photo.top {
        z-index: 1;
    }
}

/* Mobile: reset offsets and stack layout */
@media (max-width: 900px) {
    .page-over-ons .intro {
        padding: 110px 0 120px;

        /* Smaller typography */
        --text-small-size: 24px;
        --text-big-size: 42px;
        --title-track: 1.8px;

        /* Reset all offsets */
        --line1-x: 0px;
        --line1-y: 0px;
        --line2-x: 0px;
        --line2-y: 0px;
    }

    .page-over-ons .intro-media {
        min-height: auto;
        display: grid;
        gap: 18px;
        margin-top: 28px;
    }

    .page-over-ons .intro-photo {
        position: static;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
    }

    .page-over-ons .intro-photo img {
        height: 240px;
    }

    .page-over-ons .intro-block--right {
        position: static;
        top: auto;
        right: auto;
        text-align: right; /* mirror: line 1 = left, line 2 = right → alternating rhythm */
    }
}

/* =========================
   OVER ONS — MISSIE & VISIE (tweakable) — CORRECT (Figma base)
========================= */

.page-over-ons .missie {
    --mv-max: 1280px;

    /* TUNING: glass horizontal padding — visually centers text left/right | Example: 35px, 40px, 45px */
    --mv-glass-padding-x: 20px;

    /* TUNING: glass vertical padding — visually centers text top/bottom | Example: 45px, 50px, 55px */
    --mv-glass-padding-y: 25px;

    /* TUNING: text column width inside glass — must fit inside (glass-w minus 2×padding-x) | Example: 680px, 690px, 700px */
    --mv-text-width: 700px;

    --mv-header-offset-x: 10px;
    --mv-header-offset-y: 0px;

    --mv-content-offset-x: 0px;
    --mv-content-offset-y: 0px;

    /* TUNING: gap between glass and photo — DECREASE for tighter layout | Example: 40px, 60px, 80px */
    --mv-gap: 60px;

    /* TUNING: glass container width — INCREASE if text doesn't fit | Example: 750px, 780px, 800px */
    --mv-glass-w: 780px;
    --mv-glass-h: 429px;

    --mv-photo-w: 343px;
    --mv-photo-h: 429px;

    padding: 120px 0 360px;
    position: relative;
    overflow: hidden;
}

/* Titel */
.page-over-ons .missie > header.container {
    max-width: var(--mv-max);
    width: min(var(--mv-max), 90%);
    margin-inline: auto;
    margin-bottom: 60px;
    transform: translate(var(--mv-header-offset-x), var(--mv-header-offset-y));
}

.page-over-ons .missie h2 {
    margin: 0;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 3.24px;
    text-transform: uppercase;
    text-align: left;
}

.page-over-ons .missie h2 span {
    color: #0096ca;
    font-weight: 500;
}

/* Layout: glas + foto */
.page-over-ons .missie-content.container {
    max-width: var(--mv-max);
    width: min(var(--mv-max), 90%);
    margin-inline: auto;

    display: grid;
    grid-template-columns: var(--mv-glass-w) var(--mv-photo-w);
    gap: var(--mv-gap);

    /* Als je top-aligned wil zoals Figma vaak oogt: start
     Als je perfect verticaal wil matchen: center */
    align-items: center;

    transform: translate(
        var(--mv-content-offset-x),
        var(--mv-content-offset-y)
    );
}

/* Glass box */
.page-over-ons .missie-text {
    /* Glass token overrides — fully transparent tint, stronger border */
    --vwm-glass-tint:   rgba(0, 0, 0, 0);
    --vwm-glass-border: rgba(255, 255, 255, 0.15);
    --vwm-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
                        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    width: var(--mv-glass-w);
    height: var(--mv-glass-h);
    position: relative;

    padding: var(--mv-glass-padding-y) var(--mv-glass-padding-x);
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-over-ons .missie-text p {
    margin: 0 0 45px 0; /* <-- dit bepaalt ruimte tussen paragrafen */
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;

    max-width: var(--mv-text-width); /* <-- gebruikt nu jouw variabele */
    width: 100%;
    line-height: 1.55;
    letter-spacing: 1.44px;
}

.page-over-ons .missie-text p:last-child {
    margin-bottom: 0;
}

/* Foto rechts */
.page-over-ons .missie-photo {
    width: var(--mv-photo-w);
    height: var(--mv-photo-h);
    border-radius: 30px;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.page-over-ons .missie-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption */
.page-over-ons .missie-photo figcaption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Steagal", sans-serif;
    font-size: 12px;
    font-style: italic;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1100px) {
    .page-over-ons .missie-content.container {
        grid-template-columns: 1fr;
        gap: 40px;
        transform: none;
        align-items: start;
    }

    .page-over-ons .missie-text {
        width: 100%;
        height: auto;
    }

    .page-over-ons .missie-photo {
        width: 100%;
        height: 500px;
    }
}

@media (max-width: 640px) {
    .page-over-ons .missie {
        padding: 80px 0;
    }

    /* Centreer de sectietitel */
    .page-over-ons .missie > header.container {
        text-align: center;
    }

    .page-over-ons .missie h2 {
        font-size: 28px;
        letter-spacing: 2px;
        text-align: center;
    }

    /* Centreer het glass-tekstvak + de paragrafen erin */
    .page-over-ons .missie-text {
        padding: 30px 24px;
        text-align: center;
    }

    .page-over-ons .missie-text p {
        font-size: 14px;
        letter-spacing: 1.2px;
        line-height: 1.6;
    }

    /* Tim's foto verbergen op mobiel — alleen zichtbaar op tablet/desktop */
    .page-over-ons .missie-photo {
        display: none;
    }
}

/* =========================
   OVER ONS — VOLLEDIGE FOTO (na Missie & Visie)
   HTML: <section class="fullphoto"><figure class="container"><img ...>
   Specs: 37px zijkant, radius 30px
========================= */

.page-over-ons .fullphoto {
    /* TUNING: adjust space after large photo | Example: 80px, 100px, 120px */
    --space-after-fullphoto: 100px;

    padding: 0px; /* override globale section padding */
    margin: 0 0 var(--space-after-fullphoto) 0;
}

.page-over-ons .fullphoto > figure.container {
    /* override .container (min(1200px, 90%)) zodat het bijna full-width is */
    width: auto;
    max-width: none;
    margin: 0 37px;
    padding: 0;

    border-radius: 30px;
    overflow: hidden !important; /* belangrijk voor afgeronde hoeken */
    position: relative;
}

.page-over-ons .fullphoto img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px; /* fallback if overflow doesn't work */
}

/* Mobiel: zelfde idee, maar met kleinere gutters */
@media (max-width: 640px) {
    .page-over-ons .fullphoto > figure.container {
        margin: 0 20px;
        border-radius: 24px;
    }
}

/* =========================
   OVER ONS — TEAM HEADER (Figma: 204x40, 36px, 500, 3.24px)
========================= */

.page-over-ons .team > header {
    display: flex;
    justify-content: center;
    margin-bottom: 40px; /* ruimte tussen header en carousel */
}

.page-over-ons .team > header h2 {
    width: 204px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 3.24px;
    text-transform: uppercase;
}

.page-over-ons .team > header h2 .accent {
    color: #0096ca;
}

/* =========================
   OVER ONS — TEAM (GSAP Rail) — GEEN OVERLAP
========================= */

.page-over-ons .team {
    /* TUNING: adjust space above team section | Example: 80px, 100px, 120px */
    --space-before-team: 100px;

    /* TUNING: adjust space after team rail | Example: 100px, 120px, 140px */
    --space-after-team-rail: 120px;

    padding: var(--space-before-team) 0 var(--space-after-team-rail);
    overflow: hidden;
}

/* fade aan zijkanten */
.page-over-ons .team-rail {
    position: relative;
    width: 100%;
    overflow: hidden;
    pointer-events: none;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
}

/* track */
.page-over-ons .team-track {
    display: flex;
    gap: 0; /* GEEN gap meer, we gebruiken negatieve margin */
    width: max-content;
    padding: 40px 0; /* Iets minder padding aan zijkant voor strakker effect */
}

.page-over-ons .team-card {
    flex: 0 0 auto;
    width: 300px;

    /* STAP 1: Zet ze flink over elkaar heen (de waaier) */
    margin-right: -30px;

    will-change: transform, opacity;
    transform-origin: center center;
}

/* Mobiel */
@media (max-width: 767px) {
    .page-over-ons .team-card {
        width: 240px;
        margin-right: -15px;
    }
}

/* TEAM — namen/rollen verbergen */
.page-over-ons .team-card figcaption,
.page-over-ons .team-card .team-name,
.page-over-ons .team-card .team-role,
.page-over-ons .team-card .team-meta,
.page-over-ons .team-card .caption,
.page-over-ons .team-card .name,
.page-over-ons .team-card .role {
    display: none !important;
}

/* =========================
   OVER ONS - NIEUWE FIGMA LAYOUT (1 BOX)
========================================= */

/* 1. DE GROTE CONTAINER (Dit is nu de Glass Box) */
.page-over-ons .about-split {
    /* Glass token overrides — fully transparent tint, stronger border */
    --vwm-glass-tint:   rgba(0, 0, 0, 0);
    --vwm-glass-border: rgba(255, 255, 255, 0.15);
    --vwm-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37),
                        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    /* Layout */
    display: grid;
    /* Verdeling: Tekst krijgt de ruimte (1fr), Foto heeft vaste breedte (440px) */
    grid-template-columns: 1fr 440px;
    width: min(1280px, 100%);
    padding-inline: 0; /* FIXED: Was 20px, causing photo gap at glass edge */
    margin-inline: auto;
    margin-top: 70px;

    /* BELANGRIJK: Zorgt dat de foto de ronde hoeken niet "afsnijdt" */
    overflow: hidden;
}

/* 2. HET TEKST GEDEELTE */
.page-over-ons .about-glass {
    /* Reset: Geen eigen border/glass meer */
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    width: auto;
    height: auto;

    /* Padding voor de tekst BINNEN de grote kaart */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Tekst verticaal in het midden */
}

/* Typography correctie */
.page-over-ons .about-glass p {
    margin: 0 0 26px 0;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 1.2px;
}

/* 3. DE FOTO CONTAINER */
.page-over-ons .about-photo {
    /* Reset */
    width: 100%;
    height: 100%; /* Vul de volledige hoogte van de kaart */
    margin: 0;
    border-radius: 0; /* Geen radius, want de parent container heeft die al */
    position: relative;
}

.page-over-ons .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt dat de foto mooi vult zonder vervormen */
    display: block;
}

/* =========================
   FOTO GRADIENTS (FADE)
========================= */

/* Overlay element */
.page-over-ons .about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Situatie 1: Foto RECHTS (Standaard) -> Fade Links */
.page-over-ons .about-split:not(.about-split--bottom) .about-photo::after {
    background: linear-gradient(to right, #000 0%, transparent 100%);
    /* #000 moet matchen met je glaskleur, of iets transparanter */
}

/* Situatie 2: Foto LINKS (Bottom variant) -> Fade Rechts */
.page-over-ons .about-split--bottom .about-photo::after {
    background: linear-gradient(to left, #000 0%, transparent 100%);
}

/* =========================
   VARIANT: FOTO LINKS (BOTTOM)
========================= */
.page-over-ons .about-split--bottom {
    /* Draai de kolommen om: Foto eerst (440px), dan Tekst (1fr) */
    grid-template-columns: 440px 1fr;
}

/* Omdat de volgorde in HTML andersom kan staan, forceren we de foto naar links */
.page-over-ons .about-split--bottom .about-photo {
    order: -1; /* Zet foto visueel vooraan */
}

/* Responsive (Mobiel/Tablet) */
@media (max-width: 1024px) {
    .page-over-ons .about-split,
    .page-over-ons .about-split--bottom {
        grid-template-columns: 1fr; /* Alles onder elkaar */
        height: auto;
        padding-inline: 0;               /* Foto vult de glass-box tot de afgeronde randen */
        width: calc(100% - 32px);        /* 16px adembreedte aan elke kant */
        margin-inline: auto;             /* Kaart gecentreerd in de viewport */
    }

    .page-over-ons .about-photo {
        height: 300px; /* Vaste hoogte voor foto op mobiel */
        order: -1;     /* Foto altijd bovenaan op mobiel */
    }

    /* Op mobiel staat de foto BOVEN de tekst → fade onderkant van de foto
       zodat hij vloeiend overgaat in het glazen tekstvak eronder. */
    .page-over-ons .about-photo::after {
        background: linear-gradient(
            to bottom,
            transparent 30%,
            rgba(0, 0, 0, 0.75) 100%
        );
    }

    /* Beide tekstvakken gecentreerd op mobiel (foto staat erboven, geen zij-kolom) */
    .page-over-ons .about-glass {
        padding: 30px;
        text-align: center;
    }
}

/* =========================
   404 PAGINA — VWM GROUP
========================= */

.page-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-404 {
    width: 100%;
    padding: 120px 0;
}

.error-404__inner {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.error-404 h1 {
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.error-404 p {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Steagal", sans-serif;
    font-size: 16px;
    letter-spacing: 1.2px;
    margin-bottom: 40px;
}

.btn-404 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 26px;
    border-radius: 30px;

    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    color: #fff;
    border: 1px solid #0096ca;

    background: radial-gradient(
        94.55% 94.29% at 50.57% 51.43%,
        #004a64 0%,
        #1483aa 47.59%,
        #28bdf0 100%
    );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-404:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(46, 125, 165, 0.7);
}

/* 404 code accent */
.page-404 .error-code {
    display: block;
    margin-bottom: 12px;

    font-family: "Steagal", sans-serif;
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 4px;

    color: #0096ca; /* VWM blauw */
    text-shadow:
        0 0 12px rgba(0, 150, 202, 0.6),
        0 0 24px rgba(0, 150, 202, 0.35);
}

/* ==================================
   DIENSTEN PAGINA — FIGMA BASE
   (Header + Tabs + Intro + 2-koloms tekstgrid)
================================== */

.page-diensten {
    --diensten-accent: #0096ca; /* default blauw */

    /* Mobile title vertical offset — Dennis: change this value to move the title up (negative) or down (positive) on mobile */
    --diensten-title-offset: 0px;

    background: #000;
    padding: 70px 0 120px;
}

/* VIP active maakt accent goud — via :target (directe URL) of via JS-klasse (tab-switch) */
.page-diensten:has(#vip:target),
.page-diensten.vip-active {
    --diensten-accent: #ffb700;
}

/* Visually hidden helper */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Header "ONZE DIENSTEN" (centraal) */
.page-diensten .page-header {
    display: flex;
    justify-content: center;
    margin-bottom: 80px; /* 80px naar tabs */
}

.page-diensten .page-header h1 {
    width: 304px;
    height: 40px;

    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 3.24px;
    text-transform: uppercase;
}

.page-diensten .page-header h1 span {
    color: var(--diensten-accent);
}

/* ======================================================
   VERVANG DIT GEDEELTE IN style.css (Rond regel 1300)
   ====================================================== */

/* Tabs container */
.page-diensten .diensten-tabs {
    display: flex;
    align-items: center;
    gap: 76px;
    padding-left: 130px;
    padding-right: 130px;
    margin: 0 0 63px 0;
}

/* De Tab knoppen (RESET button styles) */
.page-diensten .diensten-tab {
    /* Reset standaard button styles */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;

    /* Jouw typografie */
    text-decoration: none;
    text-transform: uppercase;
    color: rgba(175, 175, 175, 0.56);
    font-family: "Steagal", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;

    transition: all 0.3s ease;
}

/* Hover effect */
.page-diensten .diensten-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Active State - BLAUW (Standaard voor taxi, zakelijk, groep) */
.page-diensten .diensten-tab.is-active {
    color: #0096ca;
    text-shadow: 0 0 9px #00bdff;
}

/* Active State - VIP (Specifiek GOUD) */
.page-diensten .diensten-tab[data-target="vip"].is-active {
    color: #ffb700;
    text-shadow: 0 0 9px #ffb700;
}

/* Panels tonen/verbergen */
.page-diensten .diensten-panels {
    padding-left: 130px;
    padding-right: 130px;
}

.page-diensten .diensten-panel {
    display: none; /* Standaard alles verbergen */
    animation: fadeIn 0.5s ease;
}

.page-diensten .diensten-panel.is-active {
    display: block; /* Alleen de actieve tonen */
}

/* Simpele fade-in animatie */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================================
   EINDE VERVANGING
   ====================================================== */

/* Intro blok (711px breed) */
.page-diensten .diensten-intro {
    width: 711px;
    max-width: 100%;

    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 16.513px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.486px;

    margin: 0px; /* spacing zit in tabs + grid */
}

/* Grid spacing: 20px onder intro */
.page-diensten .dienst-grid {
    margin-top: 50px;

    /* 2 kolommen zoals screenshot, met grote gap */
    column-count: 2;
    column-gap: 190px;
}

.page-diensten .dienst {
    break-inside: avoid;
    margin: 0 0 65px 0; /* 65px tussen blokken */
}

/* H3 (24px) */
.page-diensten .dienst h3 {
    width: 489px;
    max-width: 100%;

    margin: 0;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 2.16px;
    text-transform: uppercase;
}

/* Kleine tekst (14px, grijs) */
.page-diensten .dienst p {
    width: 305px;
    max-width: 100%;

    margin: 10px 0 0 0;
    color: #afafaf;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.42px;
}

/* Link "Reserveer nu >" */
.page-diensten .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: 125px;
    height: 21px;

    margin-top: 18px; /* 18px onder tekst */
    text-decoration: none;

    color: var(--diensten-accent);
    font-family: "Steagal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.48px;
}

.page-diensten .btn-link:hover {
    text-decoration: underline;
}

/* Responsive (kleine schermen) */
@media (max-width: 1024px) {
    .page-diensten .diensten-tabs,
    .page-diensten .diensten-panels {
        padding-left: 24px;
        padding-right: 24px;
    }

    .page-diensten .diensten-tabs {
        gap: 28px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .page-diensten .diensten-tabs::-webkit-scrollbar {
        display: none;
    }

    .page-diensten .dienst-grid {
        column-count: 1;
        column-gap: 0;
    }
}

@media (max-width: 768px) {
    /* Title — smaller, consistent with FAQ mobile */
    .page-diensten .page-header {
        margin-top: var(--diensten-title-offset);
        margin-bottom: 24px;
    }

    .page-diensten .page-header h1 {
        width: auto;   /* clear fixed 304px desktop value */
        height: auto;  /* clear fixed 40px desktop value */
        font-size: 22px;
        letter-spacing: 1.2px;
    }

    /* Tabs — single row, equal-width, no scroll; mirrors FAQ mobile approach */
    .page-diensten .diensten-tabs {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 6px;
        padding: 0 10px; /* equal outer gutter both sides */
        margin-bottom: 36px;
        overflow-x: hidden; /* no scroll, no swipe */
    }

    .page-diensten .diensten-tab {
        flex: 1 1 0;
        min-width: 0;
        font-size: 12px;
        padding: 8px 4px; /* vertical tap area kept; horizontal tight for longer labels */
        white-space: normal; /* let "ZAKELIJK VERVOER" wrap to 2 lines within its equal-width column */
        text-align: center;
    }

    /* CTA link — separate from the grid, give it breathing room */
    .page-diensten .btn-link {
        display: block;
        margin-top: 8px;
    }
}

/* =========================
   FAQS — STIJL ZOALS DIENSTEN
========================= */
.page-faqs {
    /* Thema kleuren */
    --faq-accent: #0096ca;
    --faq-glow: #00bdff;

    /* Mobile title vertical offset — Dennis: change this value to move the title up (negative) or down (positive) on mobile */
    --faqs-title-offset: -35px;

    /* Mobile tabs spacing — Dennis: equal outer gutter + gap between every tab */
    --faqs-tabs-gutter: 10px; /* left/right distance from screen edge */
    --faqs-tabs-gap:    6px;  /* space between each tab */

    /* Layout basis */
    background: #000;
    padding: 70px 0 120px; /* Zelfde padding als diensten */
    position: relative;
}

/* VIP Thema wissel */
.page-faqs[data-theme="vip"] {
    --faq-accent: #ffb700;
    --faq-glow: #ffb700;
}

/* 1. HEADER (Exact zoals Diensten) */
.page-faqs .page-header {
    display: flex;
    justify-content: center;
    margin-bottom: 80px; /* 80px afstand tot tabs */
}

.page-faqs .page-header h1 {
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em; /* word spacing between flex items (text node + span) */
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 3.24px;
    text-transform: uppercase;
    text-align: center;
}

.page-faqs .page-header h1 span {
    color: var(--faq-accent);
}

/* 2. TABS (Exact zoals Diensten) */
.page-faqs .faqs-tabs {
    display: flex;
    align-items: center;
    gap: 76px;

    /* De specifieke inspringing van Diensten */
    padding-left: 130px;
    padding-right: 130px;
    margin: 0 0 63px 0;

    overflow-x: auto; /* Veiligheid voor mobiel */
}

/* De knoppen zelf */
.page-faqs .faqs-tab {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;

    text-decoration: none;
    text-transform: uppercase; /* Hoofdletters net als diensten */
    color: rgba(175, 175, 175, 0.56);
    font-family: "Steagal", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;

    transition: all 0.3s ease;
}

.page-faqs .faqs-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.page-faqs .faqs-tab.is-active {
    color: var(--faq-accent);
    text-shadow: 0 0 9px var(--faq-glow);
}

/* 3. LAYOUT CONTENT (Vragen links, Foto rechts) */
/* Dit deel houden we zoals "het oude goed was" */

.page-faqs .faqs-layout {
    position: relative;
    width: 100%;

    /* We lijnen de content uit met de tabs (130px links) */
    padding-left: 130px;
    /* Ruimte rechts vrijhouden voor de foto */
    padding-right: calc(456px + 110px);

    min-height: 684px; /* Hoogte van de foto */
}

/* Linkerkant: De Vragenblokken */
.page-faqs .faqs-left {
    width: 620px; /* Vaste breedte voor mooie kaarten */
    max-width: 100%;
}

.page-faqs .faqs-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-faqs .faqs-panel.is-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-faqs .faqs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* De Vraag Kaart (Glass look) */
.page-faqs .faq-card {
    /* Dark tint (like footer) instead of white-frosted — this is the key shift
       from "flat frosted card" to "premium dark glass" feel.
       Higher emboss = stronger angled edge highlight = liquid-glass depth.
       Deeper shadow = more lifted/dimensional surface. */
    --vwm-glass-radius: 20px;
    --vwm-glass-tint:   rgba(0, 0, 0, 0.30);
    --vwm-glass-border: rgba(255, 255, 255, 0.10);
    --vwm-glass-blur:   20px;
    --vwm-glass-sat:    190%;
    --vwm-glass-bright: 1.06;
    --vwm-glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.55),
                        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --vwm-glass-emboss: 0.22;
    overflow: hidden; /* keeps details/summary expansion inside rounded corners */
}

.page-faqs .faq-card details {
    padding: 19px 0;
}

.page-faqs .faq-card summary {
    list-style: none;
    cursor: pointer;
    padding: 0 70px 0 22px; /* Ruimte voor icoon rechts */
    position: relative;
    color: #fff;
    font-family: "Steagal", sans-serif;
    font-size: 24px;
    font-weight: 500;
}

.page-faqs .faq-card summary::-webkit-details-marker {
    display: none;
}

/* Plusje / Icoon rechts */
.page-faqs .faq-card summary::after {
    content: "+";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 300;
    font-size: 24px;
    color: var(--faq-accent);
}

.page-faqs .faq-card details[open] summary::after {
    content: "-";
}

.page-faqs .faq-a {
    padding: 0 30px 20px 22px;
}

.page-faqs .faq-a p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
}

/* De Foto Rechts (Absoluut gepositioneerd) */
.page-faqs .faqs-photo {
    position: absolute;
    right: 110px; /* Afstand vanaf rechts */
    top: 0;

    width: 456px;
    height: 684px;
    border-radius: 30px;
    overflow: hidden;
    margin: 0;
}

.page-faqs .faqs-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1200px) {
    .page-faqs .faqs-tabs,
    .page-faqs .faqs-layout {
        padding-left: 24px;
        padding-right: 24px;
    }

    .page-faqs .faqs-tabs {
        gap: 30px;
    }

    .page-faqs .faqs-layout {
        display: flex;
        flex-direction: column-reverse;
    }

    .page-faqs .faqs-photo {
        position: static;
        width: 100%;
        height: 400px;
        margin-bottom: 40px;
    }

    .page-faqs .faqs-left {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Title — tunable offset via --faqs-title-offset (defined on .page-faqs) */
    .page-faqs .page-header {
        margin-top: var(--faqs-title-offset);
        margin-bottom: 24px;
    }

    .page-faqs .page-header h1 {
        font-size: 22px;
        letter-spacing: 1.2px;
    }

    /* Tabs — single row, no scroll, each tab gets equal width */
    .page-faqs .faqs-tabs {
        flex-wrap: nowrap;
        justify-content: center;
        gap: var(--faqs-tabs-gap);
        padding: 0 var(--faqs-tabs-gutter); /* equal outer gutter both sides */
        margin-bottom: 36px;
        overflow-x: hidden; /* no scroll, no swipe */
    }

    .page-faqs .faqs-tab {
        flex: 1 1 0;
        min-width: 0;
        font-size: 13px;
        padding: 10px 8px; /* vertical keeps tap area ~44px */
        white-space: nowrap;
        text-align: center;
    }

    /* Layout — reset column-reverse + min-height so questions hug the top */
    .page-faqs .faqs-layout {
        flex-direction: column; /* undo column-reverse from the 1200px block */
        min-height: 0;          /* undo the 684px photo-height constraint */
    }

    /* Photo — hidden; layout collapses cleanly to accordion-only */
    .page-faqs .faqs-photo {
        display: none;
    }
}

/* =========================
   CONTACT — FIGMA (tweakable via CSS vars)
========================= */
.page-contact {
    /* Witte card */
    --contact-card-w: 1280px;
    --contact-card-h: 745px;
    --contact-card-gutter: 90px; /* 90px links/rechts buiten de card */

    /* Foto links (mag “te groot” zijn, wordt geclipped door overflow) */
    --contact-photo-w: 450px;
    --contact-photo-h: 767px;

    /* Titel positie */
    --contact-title-top: 75px; /* 75px van boven */
    --contact-title-left: 322px; /* 322px van links */
    --contact-title-w: 354px;
    --contact-title-h: 81px; /* voor berekeningen */
    --contact-title-gap: 38px; /* titel -> eerste info blok */

    /* Info spacing */
    --contact-info-gap: 0px; /* tussen info blokken */
    --contact-logo-gap: 44px; /* tussen locatie en logo */

    /* Form kolom positie (niet gegeven in Figma-info → tweak hier) */
    --contact-form-top: 75px;
    --contact-form-right: 70px;
    --contact-form-w: 500px;

    /* Input maten (tweak) */
    --contact-gap: 23px; /* gap tussen voornaam/achternaam */
    --contact-input-h: 40px;
    --contact-input-radius: 10px;
    --contact-textarea-h: 260px;

    /* Page padding (ruimte onder navbar) */
    padding: 120px 0 120px;
}

/* Card */
.page-contact .contact-card {
    width: min(
        var(--contact-card-w),
        calc(100% - (2 * var(--contact-card-gutter)))
    );
    height: var(--contact-card-h);
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    position: relative;
    overflow: hidden; /* <- zorgt dat de foto “overflow” niet zichtbaar is */
}

/* Foto links (absolute achter content) */
.page-contact .contact-media {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--contact-photo-w);
    height: var(--contact-photo-h);
    z-index: 0;
}

.page-contact .contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fade naar wit (zoals screenshot) */
.page-contact .contact-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 42%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
}

/* Content boven foto */
.page-contact .contact-content {
    position: relative;
    height: 100%;
    z-index: 1;
}

/* Titel (positioneerbaar via vars) */
.page-contact .contact-intro {
    position: absolute;
    top: var(--contact-title-top);
    left: var(--contact-title-left);
    width: var(--contact-title-w);
}

.page-contact .contact-intro h1 {
    margin: 0;
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Info kolom (onder titel) */
.page-contact .contact-info {
    position: absolute;
    left: var(--contact-title-left);
    top: calc(
        var(--contact-title-top) + var(--contact-title-h) +
            var(--contact-title-gap)
    );
    display: flex;
    flex-direction: column;
    gap: var(--contact-info-gap);
}

.page-contact .contact-label {
    margin: 0 0 10px 0;
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.page-contact .contact-info p,
.page-contact .contact-info address,
.page-contact .contact-info a,
.page-contact .contact-socials a {
    margin: 0;
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.page-contact .contact-info a:hover {
    text-decoration: underline;
}

.page-contact .contact-socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.page-contact .contact-logo {
    margin-top: var(--contact-logo-gap);
}

.page-contact .contact-logo img {
    width: 131px;
    height: 42px;
    object-fit: contain;
    display: block;
}

/* Form kolom (positioneerbaar via vars) */
.page-contact .contact-form-col {
    position: absolute;
    top: var(--contact-form-top);
    right: var(--contact-form-right);
    width: var(--contact-form-w);
}

/* Override oude .contact-form (CTA) alleen binnen contact page */
.page-contact .contact-form {
    width: 100%;
    min-height: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* Labels */
.page-contact .contact-form label {
    color: #000;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    display: block;
    margin-bottom: 8px;
}

/* Layout */
.page-contact .form-row.two {
    display: flex;
    gap: var(--contact-gap);
    margin-bottom: 24px;
}

/* Each name field grows to share the row equally — fixes "short box" appearance */
.page-contact .form-row.two .form-group {
    flex: 1;
    min-width: 0;
}

.page-contact .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

/* Inputs */
.page-contact .contact-form input,
.page-contact .contact-form textarea {
    width: 100%;
    border-radius: var(--contact-input-radius);
    border: 0.5px solid #afafaf;
    background: #ebebeb;
    padding: 0 15px;
    outline: none;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    color: #000;
}

.page-contact .contact-form input {
    height: var(--contact-input-h);
}

.page-contact .contact-form textarea {
    height: var(--contact-textarea-h);
    padding: 15px;
    resize: none;
}

/* Focus */
.page-contact .contact-form input:focus,
.page-contact .contact-form textarea:focus {
    border-color: #0096ca;
    background: #fff;
}

/* Button */
.page-contact .form-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Responsive — hide photo + info, form-first premium layout.
   Switches at 1400px: at narrower viewports the card width shrinks below 1280px
   and the absolutely-positioned form column starts overlapping the info/title column.
   Switching here gives a comfortable ~80px safety margin. */
@media (max-width: 1400px) {
    .page-contact {
        --contact-card-gutter: 20px;
        /* Dennis: tune this to change the form card max-width in responsive mode.
           The form column is 560px; this value adds ~50px breathing room per side. */
        --contact-form-max: 660px;
    }

    /* Card is a transparent centring wrapper — the white box lives on .contact-body.
       overflow: visible so .contact-body's box-shadow is not clipped. */
    .page-contact .contact-card {
        width: min(var(--contact-form-max), calc(100% - (2 * var(--contact-card-gutter))));
        height: auto;
        min-height: auto;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    /* Photo + info disappear — only title + form remain */
    .page-contact .contact-media { display: none; }
    .page-contact .contact-info  { display: none; }

    /* Title + form-col back to normal flow */
    .page-contact .contact-intro,
    .page-contact .contact-form-col {
        position: static;
    }

    /* Outer wrapper: transparent flex column; padding handled by .contact-body */
    .page-contact .contact-content {
        position: static;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Title sits on the dark page background — white text, centred, above the white box */
    .page-contact .contact-intro {
        width: 100%;
        text-align: center;
        margin-bottom: 32px;
    }

    .page-contact .contact-intro h1 {
        color: #fff;
    }

    /* White box wraps only the form */
    .page-contact .contact-body {
        width: 100%;
        display: flex;
        justify-content: center;
        background: #fff;
        border-radius: 20px;
        padding: 40px;
        box-shadow: 0 8px 48px rgba(0, 0, 0, 0.10);
    }

    .page-contact .contact-form-col {
        width: 100%;
        max-width: 560px;
    }

    /* Name row stays side-by-side down to 640px — no early stacking */
}

@media (max-width: 640px) {
    /* Tighter padding on the white form box for narrow phones */
    .page-contact .contact-body {
        padding: 32px 20px;
    }

    /* Stack first/last name on narrow phones only */
    .page-contact .form-row.two {
        flex-direction: column;
    }
}

/* =========================
   CONTACT — FIX extra spacing
========================= */

/* haal de globale section-padding weg voor deze pagina */
.page-contact section {
    padding: 0;
}

/* haal globale p-margin weg binnen contact */
.page-contact p {
    margin: 0;
}

/* ook lijstjes resetten binnen contact */
.page-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* als je de spacing tussen info blokken zelf wilt regelen */
/* NOTE: display/flex-direction intentionally omitted — set in base rule above.
   Keeping only gap here so the responsive display:none is never overridden. */
.page-contact .contact-info {
    gap: 38px;
}

/* Form Messages (success/error feedback) */
/* ─── Premium glass form notification toast ────────────────────────────────
   position:fixed removes it from document flow → zero layout shift on form.
   Slides down from the top edge; rounded only on bottom corners.
   JS adds/removes .is-visible to trigger enter/exit transitions.
   ─────────────────────────────────────────────────────────────────────────── */
.form-message {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-110%);
    z-index: 10000;
    min-width: 280px;
    max-width: min(540px, calc(100vw - 32px));
    padding: 18px 24px;
    border-radius: 0 0 14px 14px;
    font-family: "Steagal", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease;
}
.form-message.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.form-message--success {
    background: rgba(4, 24, 14, 0.92);
    border: 1px solid rgba(34, 197, 94, 0.32);
    border-top: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55),
                0 0 30px rgba(34, 197, 94, 0.10),
                inset 0 -1px 0 rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

.form-message--error {
    background: rgba(24, 4, 8, 0.92);
    border: 1px solid rgba(239, 68, 68, 0.32);
    border-top: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55),
                0 0 30px rgba(239, 68, 68, 0.10),
                inset 0 -1px 0 rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.form-message a { color: inherit; text-decoration: underline; opacity: 0.85; }
.form-message a:hover { opacity: 1; }

/* Form field error states */
.page-contact .contact-form .form-group.has-error input,
.page-contact .contact-form .form-group.has-error textarea,
.contact-cta .contact-form .form-group.has-error input,
.contact-cta .contact-form .form-group.has-error textarea {
    border-color: #dc3545;
    background: #fff5f5;
}

.page-contact .contact-form .field-error,
.contact-cta .contact-form .field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.page-contact .contact-form .form-group.has-error .field-error,
.contact-cta .contact-form .form-group.has-error .field-error {
    display: block;
}

/* Loading state for submit button */
.page-contact .btn-submit.is-loading,
.contact-cta .btn-submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}

.page-contact .btn-submit.is-loading::after,
.contact-cta .btn-submit.is-loading::after {
    content: "...";
}

/* .contact-cta .form-message — no longer needed; toast is position:fixed */

/* =========================================
   HERO FIX VOOR GROTE SCHERMEN (4K / Ultrawide)
========================================= */

@media (min-width: 1921px) {
    .hero__bg {
        /* Omdat je foto 4096px is, kunnen we hem iets breder laten worden
       dan Full HD, bijvoorbeeld 2400px. Dit oogt "voller" op 4K,
       maar voorkomt dat de hoofden worden afgesneden. */
        max-width: 2400px;

        /* Reset de width zodat hij niet geforceerd wordt uitgerekt */
        width: 100%;
        height: 100%;

        /* Centreer de foto netjes in het midden van het zwarte vlak */
        left: 50%;
        transform: translateX(-50%);
        right: auto;

        /* Zorg dat de hoofden belangrijk blijven (focus op bovenkant midden) */
        object-position: center 35%;
    }
}

/* =========================================
   MOBILE OPTIMIZATIONS
========================================= */

/* --- Tablet (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Header improvements */
    .site-header {
        height: 70px;
    }

    .brand img {
        width: 110px;
        height: auto;
    }

    .header-actions {
        gap: 15px;
    }

    /* Navigation tap targets */
    .primary-nav a {
        padding: 12px 8px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .primary-nav ul {
        gap: 5px;
    }

    /* Contact button in header - HIDDEN ON MOBILE */
    .site-header .btn-contact {
        display: none;
    }

    /* Language switcher tap target */
    .lang-toggle {
        min-height: 44px;
        padding: 10px 12px;
    }

    .lang-menu li a {
        padding: 12px 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Form improvements */
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
    }

    .contact-cta .contact-form {
        width: 100%;
        max-width: 500px;
    }

    /* Section padding reduction */
    .home-diensten,
    .zekerheid,
    .partners-section {
        padding: 80px 0;
    }

    /* Zekerheid: Single column on mobile, everything left-aligned */
    .zekerheid-list {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
        padding: 0 20px;
    }

    .zekerheid-item {
        text-align: left; /* Left-align text */
    }

    .zekerheid-item__icon {
        width: 40px;
        height: 40px;
        margin: 0 0 20px 0; /* Left-align icon (no auto margin) */
        justify-content: flex-start; /* Ensure icon content is left-aligned */
    }

    .zekerheid-item h3 {
        text-align: left; /* Ensure title is left-aligned */
    }

    .zekerheid-item p {
        text-align: left; /* Ensure paragraph is left-aligned */
    }

    .zekerheid-header h2 {
        font-size: 28px;
    }

    /* Wagenpark: Simplified mobile carousel - photos only */
    .home-wagenpark .vehicle-list {
        display: none; /* Hide sidebar tabs */
    }

    .home-wagenpark .fleet-container {
        padding: 0;
        margin: 0;
        background: transparent; /* Remove white background */
        border-radius: 0; /* Remove rounded corners */
        box-shadow: none; /* Remove shadow */
        border: none; /* Remove any border */
        height: auto; /* Remove fixed height */
        min-height: auto; /* Remove min-height */
        overflow: visible; /* Allow scrolling */
    }

    .home-wagenpark .vehicle-details-wrapper {
        padding: 0;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        background: transparent;        /* override desktop #ffffff — white panel gone */
        scrollbar-width: none;          /* Firefox: hide white scrollbar bar */
        overscroll-behavior-x: contain; /* prevent horizontal scroll chaining to page */
    }

    .home-wagenpark .vehicle-details-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge: hide white scrollbar bar */
    }

    .home-wagenpark .vehicle-details {
        display: block !important; /* Show all vehicles */
        flex: 0 0 90%;
        scroll-snap-align: center;
    }

    .home-wagenpark .vehicle-content {
        display: none; /* Hide text, specs, features */
    }

    .home-wagenpark .vehicle-gallery {
        margin: 0;
        position: static;
        width: 100%;
        transform: none;
        display: block;
    }

    .home-wagenpark .vehicle-gallery figure {
        position: static;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        border-radius: 20px;
        background: transparent; /* override lightgray fallback — no colored fill on dark bg */
        box-shadow: none;        /* remove desktop shadow; not needed against black */
    }

    .home-wagenpark .vehicle-gallery figure:not(:first-child) {
        display: none; /* Show only main (front) image */
    }

    .home-wagenpark .vehicle-gallery img {
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: 20px;      /* Keep rounded corners on images */
        user-select: none;        /* Prevent text/image selection during swipe */
        -webkit-user-select: none;
        -webkit-user-drag: none;  /* Prevent ghost image on drag (iOS/Safari) */
    }

    /* Wagenpark section spacing on mobile */
    .home-wagenpark {
        padding: 80px 20px 60px;
    }

    .home-wagenpark .wagenpark-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .home-wagenpark .wagenpark-header h2 {
        font-size: 28px;
    }

    /* Swipe hint: two stacked chevrons, right-center of carousel */
    .home-wagenpark .wagenpark-swipe-hint {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.55);
        font-size: 12px;
        pointer-events: none;
        z-index: 5;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
        animation: wag-swipe 2.4s ease-in-out infinite;
    }

    @keyframes wag-swipe {
        0%, 100% { transform: translateY(-50%) translateX(0);  }
        50%       { transform: translateY(-50%) translateX(5px); }
    }

    /* Over-ons: about-split — minimal refinements over the ≤1024px block */
    .page-over-ons .about-photo {
        height: 260px;
    }

    .page-over-ons .about-glass {
        padding: 24px;
    }

    /* Onze Diensten: Mobile adjustments */
    .home-diensten .diensten-carousel {
        padding: 0 24px 40px 24px; /* Increased horizontal padding */
        gap: 16px; /* Tighter gap for better fit */
    }

    .home-diensten .dienst-card {
        flex: 0 0 300px; /* Slightly smaller for better fit */
        width: 300px;
    }

    .home-diensten .dienst-image {
        width: 300px;
        height: 350px;
    }

    .home-diensten .dienst-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .home-diensten .dienst-content h3 {
        order: 1;
        margin-bottom: 0;
    }

    .home-diensten .dienst-content p {
        order: 2;
        margin-bottom: 0;
    }

    .home-diensten .dienst-content .toon-meer {
        order: 3;
        margin-top: 8px;
        align-self: center; /* Center the button */
        display: flex; /* Ensure flex for centering */
    }

    /* Contact page: Mobile — tighter white-box styling. Card is transparent at ≤1400px;
       radius/shadow now live on .contact-body. Title hidden via !important below. */
    .page-contact .contact-body {
        border-radius: 16px;
        box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    }

    .page-contact .contact-media { display: none !important; }
    .page-contact .contact-intro { display: none !important; }
    .page-contact .contact-info  { display: none !important; }

    .page-contact .contact-content {
        position: static;
        height: auto;
    }

    .page-contact .contact-form-col {
        position: static;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    /* Footer: Sitemap and Diensten side by side */
    #footer .footer-content.container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .footer-info {
        grid-column: 1 / -1; /* Span full width */
        margin-bottom: 0;
    }

    .footer-nav.sitemap {
        grid-column: 1;
    }

    .footer-nav.diensten {
        grid-column: 2;
    }

    .footer-bottom {
        grid-column: 1 / -1; /* Span full width */
        margin-top: 8px;
    }

    /* Navigation: Hide "Diensten" dropdown on mobile */
    .nav-dropdown {
        display: none !important;
    }

    .has-dropdown > a .fa-angle-down {
        display: none;
    }
}

/* --- Mobile (max-width: 640px) --- */
@media (max-width: 640px) {
    /* Header compact */
    .site-header {
        height: 60px;
        padding: 0 16px;
    }

    .brand {
        margin-right: 20px;
    }

    .brand img {
        width: 100px;
    }

    /* Hide navigation on very small screens - show hamburger instead */
    .primary-nav {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    /* Hero adjustments — sizes controlled by variables in the main mobile block */
    .hero h1 {
        font-size: var(--hero-title-size, 48px);
        line-height: var(--hero-title-lh, 1.1);
    }

    .hero__tagline {
        font-size: var(--hero-subtitle-size, 18px);
        line-height: var(--hero-subtitle-lh, 1.25);
    }

    /* Section titles */
    .home-diensten h2,
    .zekerheid h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    /* Contact CTA form */
    .contact-cta {
        padding: 60px 16px;
    }

    .contact-cta .contact-form {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .contact-header h2 {
        font-size: 20px;
    }

    /* Form fields full width */
    .form-row.two-columns {
        flex-direction: column;
        gap: 16px;
    }

    .form-row .form-group,
    .form-row input {
        width: 100%;
    }

    /* Larger touch targets for form */
    .contact-form input,
    .contact-form textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .contact-form textarea {
        min-height: 120px;
    }

    /* Submit button full width on mobile */
    .form-actions {
        width: 100%;
    }

    .btn-submit {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

    /* Footer compact */
    #footer .footer-content.container {
        margin: 0 16px 30px;
    }

    /* Zekerheid items */
    .zekerheid-list {
        gap: 30px;
        padding: 0 16px;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Further header reduction */
    .brand img {
        width: 90px;
    }

    /* Hero even smaller */
    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: var(--hero-title-size, 48px);
        line-height: var(--hero-title-lh, 1.1);
    }

    .hero__tagline {
        font-size: var(--hero-subtitle-size, 18px);
        line-height: var(--hero-subtitle-lh, 1.25);
    }

    /* Diensten carousel */
    .diensten-card {
        width: 280px;
    }

    /* Contact CTA */
    .contact-cta .contact-form {
        padding: 24px 16px;
    }

    .contact-form label {
        font-size: 13px;
    }

    /* Footer */
    #footer .footer-content.container {
        margin: 0 12px 24px;
    }

    .footer-brand img {
        width: 80px;
    }
}

/* --- Very Small Mobile (max-width: 360px) --- */
@media (max-width: 360px) {
    .site-header {
        padding: 0 12px;
    }

    .brand img {
        width: 80px;
    }

    .hero h1 {
        font-size: var(--hero-title-size, 48px);
        line-height: var(--hero-title-lh, 1.1);
    }

    .hero__tagline {
        font-size: var(--hero-subtitle-size, 18px);
        line-height: var(--hero-subtitle-lh, 1.25);
    }

    .home-diensten h2,
    .zekerheid h2 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .contact-header h2 {
        font-size: 18px;
    }

    .diensten-card {
        width: 260px;
    }

    /* Even more compact form */
    .contact-cta .contact-form {
        padding: 20px 12px;
        border-radius: 16px;
    }
}

/* --- Touch device improvements --- */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects that don't work on touch */
    .btn-submit:hover,
    .btn-contact:hover {
        transform: none;
    }

    /* Ensure tap targets are large enough */
    .primary-nav a,
    .lang-toggle,
    .lang-menu li a,
    .btn-contact,
    .btn-submit {
        min-height: 44px;
    }
}

/* =========================================
   MOBILE HAMBURGER MENU
========================================= */

/* Mobile-only elements (hidden on desktop) */
.mobile-only {
    display: none;
}

/* Hide hamburger on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    z-index: 101;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when open */
.mobile-menu-toggle.is-active .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Show hamburger and mobile-only elements on mobile */
@media (max-width: 640px) {
    .mobile-only {
        display: block;
    }

    .primary-nav .mobile-only {
        display: list-item;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
    }

    /* Mobile navigation styles */
    .primary-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 100;
        padding: 100px 20px 40px;
        overflow-y: auto;
    }

    .primary-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .primary-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .primary-nav li:last-child {
        border-bottom: none;
    }

    .primary-nav a {
        display: block;
        padding: 20px;
        font-size: 18px;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide language switcher in header on mobile, show in menu */
    .header-actions .language-switcher {
        display: none;
    }

    /* Keep contact button visible */
    .header-actions {
        margin-left: 0;
    }

    /* Diensten dropdown — HIDDEN on mobile (normal link only) */
    .nav-dropdown {
        display: none !important; /* Hide dropdown completely on mobile */
    }

    .has-dropdown > a .fa-angle-down {
        display: none; /* Hide dropdown icon on mobile */
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ============================================
   DESKTOP POLISH — LARGE SCREENS
   Consistent max-width and spacing control
============================================ */

/* --- Desktop: 1280px+ --- */
@media (min-width: 1280px) {
    /* GLOBAL MAX-WIDTH CONSISTENCY */
    :root {
        --site-max-width: 1280px;
        --content-max-width: 1280px;
    }

    /* NAVIGATION — Tighter spacing */
    .site-header {
        max-width: var(--content-max-width);
        padding: 0 60px;
    }

    .brand {
        margin-right: 80px;
    }

    .primary-nav ul {
        gap: 40px;
    }

    /* HERO — Balanced content width */
    .hero__content {
        max-width: 1000px;
        padding: 0 40px;
    }

    /* ONZE DIENSTEN — Constrain carousel */
    .diensten-carousel {
        max-width: var(--content-max-width);
        margin: 0 auto;
        padding-left: 0; /* left fade handles edge */
        padding-right: 60px;
    }

    /* Container boundary fades — short (30px) fades at the carousel's centered edges.
     * calc(50% - 640px) = distance from wrapper left to the centered 1280px container edge. */
    .diensten-edge-fade {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        z-index: 3;
        transition: opacity 0.25s ease;
    }
    .diensten-edge-fade--left {
        left: calc(50% - 640px - 12px);
        background: linear-gradient(to right, rgba(0, 0, 0, 0.65), transparent);
    }
    .diensten-edge-fade--right {
        right: calc(50% - 640px - 12px);
        background: linear-gradient(to left, rgba(0, 0, 0, 0.65), transparent);
    }

    /* Dynamic visibility — JS toggles these classes on .diensten-carousel-wrapper */
    .diensten-fade-hide-left  .diensten-edge-fade--left  { opacity: 0; pointer-events: none; }
    .diensten-fade-hide-right .diensten-edge-fade--right { opacity: 0; pointer-events: none; }

    /* Reposition swipe hints to sit just inside the container boundary */
    .services-swipe-hint--left  { left:  calc(50% - 640px + 20px); }
    .services-swipe-hint--right { right: calc(50% - 640px + 20px); }

    /* ZEKERHEID — Already handled but ensure consistency */
    .zekerheid-list {
        max-width: var(--content-max-width);
    }

    /* WAGENPARK — Constrain fleet container */
    .fleet-container {
        max-width: var(--content-max-width);
    }

    /* FOOTER — Constrain content */
    #footer .footer-content.container {
        max-width: var(--content-max-width);
    }

    /* OVER ONS — Ensure consistent max-width */
    .page-over-ons .intro > .container,
    .page-over-ons .missie > header.container,
    .page-over-ons .missie-content.container {
        max-width: var(--content-max-width);
    }

    .page-over-ons .about-split.container,
    .page-over-ons .about-split--bottom.container {
        max-width: var(--content-max-width);
    }

    /* FAQ — Constrain layout */
    .page-faqs .faqs-layout {
        max-width: var(--content-max-width);
        margin: 0 auto;
        padding: 0 40px;
    }

    /* CONTACT — Constrain card */
    .page-contact .contact-card {
        max-width: var(--content-max-width);
    }
}

/* --- Desktop: 1440px+ (Prevent excessive spread) --- */
@media (min-width: 1440px) {
    /* NAVIGATION — Prevent navbar from spreading too wide */
    .site-header {
        max-width: 1440px;
        padding: 0 80px;
    }

    /* HERO — Slightly larger content area */
    .hero__content {
        max-width: 1100px;
    }

    /* ONZE DIENSTEN — More breathing room */
    .diensten-carousel {
        padding-left: 0; /* left fade handles edge */
        padding-right: 80px;
        gap: 24px;
    }

    /* ZEKERHEID — Increase gap slightly */
    .zekerheid-list {
        gap: 70px 60px;
    }

    /* WAGENPARK — Allow slight increase */
    .fleet-container {
        max-width: 1400px;
    }

    /* FOOTER — Allow slight increase */
    #footer .footer-content.container {
        max-width: 1400px;
        gap: 60px 80px;
    }

    /* FAQ — More spacing */
    .page-faqs .faqs-layout {
        max-width: 1400px;
        padding: 0 60px;
        gap: 60px;
    }
}

/* --- Desktop: 1600px+ (Max comfortable width) --- */
@media (min-width: 1600px) {
    /* NAVIGATION — Max width reached */
    .site-header {
        max-width: 1600px;
        padding: 0 100px;
    }

    /* HERO — Max content width */
    .hero__content {
        max-width: 1200px;
    }

    /* ONZE DIENSTEN — Max width */
    .diensten-carousel {
        max-width: 1600px;
        padding-left: 0; /* left fade handles edge */
        padding-right: 100px;
    }

    /* Update container boundary fades for 1600px max-width */
    .diensten-edge-fade--left  { left:  calc(50% - 800px - 12px); }
    .diensten-edge-fade--right { right: calc(50% - 800px - 12px); }
    .services-swipe-hint--left  { left:  calc(50% - 800px + 20px); }
    .services-swipe-hint--right { right: calc(50% - 800px + 20px); }

    /* ZEKERHEID — Max width and spacing */
    .zekerheid-list {
        max-width: 1600px;
        gap: 80px 70px;
    }

    /* WAGENPARK — Max width */
    .fleet-container {
        max-width: 1600px;
    }

    /* FOOTER — Max width */
    #footer .footer-content.container {
        max-width: 1600px;
        gap: 80px 100px;
    }

    /* OVER ONS — Max width */
    .page-over-ons .intro > .container,
    .page-over-ons .missie > header.container,
    .page-over-ons .missie-content.container {
        max-width: 1600px;
    }

    .page-over-ons .about-split.container,
    .page-over-ons .about-split--bottom.container {
        max-width: 1600px;
    }

    /* FAQ — Max width */
    .page-faqs .faqs-layout {
        max-width: 1600px;
        padding: 0 80px;
        gap: 80px;
    }

    /* CONTACT — Max width */
    .page-contact .contact-card {
        max-width: 1600px;
    }
}

/* ============================================================
   HOME PAGE — BACKGROUND ATMOSPHERE
   Blue glow blobs + VWM logo watermarks.
   Figma reference: node 1:4 (home page full canvas).

   HOW TO TUNE:
   Each blob and logo declares its own CSS custom properties (--blob-* / --logo-*).
   To reposition or resize any element, edit only the -- lines in its block below.
   The base class (.home-bg__blob / .home-bg__logo) reads them via var().

   TECHNIQUE:
   - .page-home: isolation:isolate → own stacking context.
   - .home-bg: z-index:-1 → always behind sections, in front of body #000.
   - Sections: background:transparent → body black base + blobs show through.
   - .page-home: overflow:hidden → clips off-screen blob edges, no horizontal scroll.
============================================================ */

/* 1. Page wrapper — stacking root + horizontal clip */
.page-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* 2. Sections become transparent — body #000 base + blobs show through */
.home-diensten,
.home-zekerheid,
.home-wagenpark,
.home-partners,
.contact-cta {
    background: transparent;
}

/* 3. Background container — absolute fill, behind all sections */
.home-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

/* ── BLOBS ────────────────────────────────────────────────────────────────
   4 blobs mapped to the actual live homepage section positions.
   Base class reads all values from --blob-* custom properties.
   To tune a blob: edit only its --blob-* lines in its own block below.
   left/right: set the one you need; the other defaults to auto (ignored).
──────────────────────────────────────────────────────────────────────── */
.home-bg__blob {
    position: absolute;
    border-radius: 50%;
    background: #0096ca;
    pointer-events: none;
    will-change: filter;
    width:   var(--blob-w);
    height:  var(--blob-h);
    top:     var(--blob-top);
    left:    var(--blob-left,  auto);
    right:   var(--blob-right, auto);
    filter:  blur(var(--blob-blur));
    opacity: var(--blob-opacity);
}

/* Bottom edge of Diensten section — left bleed
   Diensten ends ~1850px; center here anchors glow to that boundary. */
.home-bg__blob--1 {
    --blob-w:       450px;
    --blob-h:       450px;
    --blob-top:     2000px;
    --blob-left:   -200px;
    --blob-blur:    230px;
    --blob-opacity: 0.87;
}

/* Zekerheid → Wagenpark transition — right bleed
   Zekerheid ends ~2620px; blob bridges that section boundary. */
.home-bg__blob--2 {
    --blob-w:       450px;
    --blob-h:       450px;
    --blob-top:     2540px;
    --blob-right:  -180px;
    --blob-blur:    230px;
    --blob-opacity: 0.83;
}

/* Contact form area — left bleed
   Contact CTA starts ~4260px; blobs 3+4 frame the form from both sides. */
.home-bg__blob--3 {
    --blob-w:       400px;
    --blob-h:       400px;
    --blob-top:     4600px;
    --blob-left:   380px;
    --blob-blur:    170px;
    --blob-opacity: 0.87;
}

/* Contact form area — right bleed */
.home-bg__blob--4 {
    --blob-w:       400px;
    --blob-h:       400px;
    --blob-top:     4600px;
    --blob-right:  380px;
    --blob-blur:    170px;
    --blob-opacity: 0.87;
}

/* ── LOGO WATERMARKS ──────────────────────────────────────────────────────
   Asset: assets/img/logo-background.png  (path relative to this CSS file: ../img/)
   Base class reads all values from --logo-* custom properties.
   To tune a watermark: edit only its --logo-* lines in its own block below.
──────────────────────────────────────────────────────────────────────── */
.home-bg__logo {
    position: absolute;
    background-image: url('../img/logo-background.png');
    background-repeat: no-repeat;
    background-size: var(--logo-bg-size, contain);
    background-position: left center;
    pointer-events: none;
    width:   var(--logo-w);
    height:  var(--logo-h);
    top:     var(--logo-top);
    left:    var(--logo-left);
    opacity: var(--logo-opacity);
}

/* Diensten area */
.home-bg__logo--1 {
    --logo-w:       1300px;
    --logo-h:        300px;
    --logo-top:     1600px;
    --logo-left:    -100px;
    --logo-opacity:    0.25;
}

/* Zekerheid area */
.home-bg__logo--2 {
    --logo-w:       1300px;
    --logo-h:        300px;
    --logo-top:     2250px;
    --logo-left:      390px;
    --logo-opacity:    0.25;
}

/* Contact area */
.home-bg__logo--3 {
    --logo-w:       1500px;
    --logo-h:        500px;
    --logo-top:     4600px;
    --logo-left:     80px;
    --logo-opacity:    0.35;
}

/* ── MOBILE ───────────────────────────────────────────────────────────────
   Re-declare --blob-* variables to scale down blobs for mobile.
   Blobs 3+4 hidden — contact area is closer to top on mobile and the
   heavy blur is GPU-intensive on small devices.
──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .home-bg__blob--1 {
        --blob-w:       260px;
        --blob-h:       260px;
        --blob-top:     1200px;
        --blob-left:   -110px;
        --blob-blur:    120px;
        --blob-opacity: 0.70;
    }
    .home-bg__blob--2 {
        --blob-w:       240px;
        --blob-h:       240px;
        --blob-top:     2000px;
        --blob-right:  -100px;
        --blob-blur:    120px;
        --blob-opacity: 0.65;
    }
    .home-bg__blob--3,
    .home-bg__blob--4 { display: none; }
    .home-bg__logo    { display: none; }
}

/* ── REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .home-bg { display: none; }
}

/* --- Desktop: 1920px+ (Ultra-wide prevention) --- */
@media (min-width: 1920px) {
    /* Prevent excessive spread on ultra-wide monitors */
    .site-header,
    .hero__content,
    .diensten-carousel,
    .zekerheid-list,
    .fleet-container,
    #footer .footer-content.container,
    .page-over-ons .intro > .container,
    .page-over-ons .missie > header.container,
    .page-over-ons .missie-content.container,
    .page-over-ons .about-split.container,
    .page-over-ons .about-split--bottom.container,
    .page-faqs .faqs-layout,
    .page-contact .contact-card {
        max-width: 1600px;
    }

    /* Hero can be slightly wider on ultra-wide */
    .hero__content {
        max-width: 1400px;
    }

    /* Keep spacing comfortable */
    .site-header {
        padding: 0 120px;
    }

    .diensten-carousel {
        padding-left: 0; /* left fade handles edge */
        padding-right: 120px;
    }
}

/* ============================
   Floating Action Button (FAB) — Speed Dial CTA
   Fixed bottom-right on all pages via layout/footer.php
============================ */

/*
 * Pulse ring — uses the same blue palette as header .btn-contact
 * (radial-gradient #004a64 → #1483aa → #28bdf0, glow rgba(20,131,170)).
 * Ring expands to 10px at very low opacity (0.08) for a luxury feel.
 * Stops automatically when menu is open via animation: none.
 */
@keyframes fab-shake {
    0%   { transform: rotate(0deg)   translateX(0); }
    18%  { transform: rotate(-7deg)  translateX(-2px); }
    36%  { transform: rotate(6deg)   translateX(2px); }
    54%  { transform: rotate(-4deg)  translateX(-1px); }
    72%  { transform: rotate(3deg)   translateX(1px); }
    88%  { transform: rotate(-1deg)  translateX(0); }
    100% { transform: rotate(0deg)   translateX(0); }
}

/* Bell-shake on label appear — JS adds/removes .is-shaking */
.fab-toggle.is-shaking {
    animation: fab-shake 620ms ease-in-out;
}

.fab-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 56px;
    height: 56px;
}

/* ── Main toggle — same blue accent as header .btn-contact ── */
.fab-toggle {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 50%,
        #004a64 0%,
        #1483aa 52%,
        #28bdf0 100%
    );
    border: 1px solid #0096ca;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(20, 131, 170, 0.45);
    transition: box-shadow 0.25s ease, filter 0.25s ease;
    padding: 0;
}

.fab-toggle:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 28px rgba(20, 131, 170, 0.65);
}

/* Pulse stops when menu is open */
.fab-container.is-open .fab-toggle {
    animation: none;
    box-shadow: 0 4px 20px rgba(20, 131, 170, 0.35);
}

.fab-toggle-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    display: block;
}

.fab-container.is-open .fab-toggle-icon {
    transform: rotate(45deg);
}

/* ── Exclamation icon: swapped in when label is visible (JS adds .is-alerting) ── */
.fab-exclaim-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.fab-toggle.is-alerting .fab-toggle-icon {
    opacity: 0;
}

.fab-toggle.is-alerting .fab-exclaim-icon {
    opacity: 1;
}

/* ── Actions container: floats above the toggle ── */
.fab-actions {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none; /* closed: block all interaction */
}

.fab-container.is-open .fab-actions {
    pointer-events: auto;
}

/*
 * Per-item animation replaces the old container-level fade.
 * Closed: opacity 0, slightly down and scaled.
 * Open:   smooth reveal via cubic-bezier(0.22,1,0.36,1) — soft landing, no bounce.
 * Closing uses a faster transition (0.15s) for a crisp dismissal.
 */
.fab-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(8px) scale(0.92);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.fab-container.is-open .fab-action {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stagger bottom-to-top: Contact (4th) first, Phone (1st) last */
.fab-container.is-open .fab-action:nth-child(4) { transition-delay:   0ms; }
.fab-container.is-open .fab-action:nth-child(3) { transition-delay:  40ms; }
.fab-container.is-open .fab-action:nth-child(2) { transition-delay:  80ms; }
.fab-container.is-open .fab-action:nth-child(1) { transition-delay: 120ms; }

/* Icon circle */
.fab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.18s ease, background 0.18s ease;
}

.fab-action:hover .fab-icon,
.fab-action:focus-visible .fab-icon {
    transform: scale(1.1);
}

/* WhatsApp keeps its brand green */
.fab-action--whatsapp .fab-icon {
    background: #25D366;
    border-color: #25D366;
}

.fab-action--whatsapp:hover .fab-icon {
    background: #20ba5a;
}

/* ── Label tooltip (slides in from right on hover) ── */
.fab-label {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 5px 11px;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.fab-action:hover .fab-label,
.fab-action:focus-visible .fab-label {
    opacity: 1;
    transform: translateX(0);
}

/* ── "Boek direct je rit" slide-in label (once per session) ── */
.fab__label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    white-space: nowrap;
    background: rgba(8, 14, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #0096ca;
    border-radius: 20px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 150, 202, 0.12);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.fab__label.is-visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .fab-toggle {
        width: 52px;
        height: 52px;
    }

    .fab-icon {
        width: 44px;
        height: 44px;
    }

    /* Always show label on mobile (no hover) */
    .fab-label {
        opacity: 1;
        transform: translateX(0);
        font-size: 11px;
    }

    /* Hide the cycling slide-in pill on small screens — it floats left of the FAB
       and can overlap page content. JS still runs but the element stays invisible. */
    .fab__label {
        display: none;
    }
}

/* ── Skeleton / shimmer loading ───────────────────────────────────────────
   Applied via JS to .vehicle-gallery figure and .dienst-image until each
   image fires its load event. Container size is already set by the layout
   so there is zero layout shift.                                           */
.img-skeleton {
    background: #111416;
    position: relative;
    overflow: hidden;
}

.img-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 20%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 80%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}


/* ── Respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    /* No shake */
    .fab-toggle.is-shaking {
        animation: none;
    }

    /* No label slide */
    .fab__label {
        transition: opacity 0.1s ease;
        transform: translateY(-50%) !important; /* skip translateX slide */
    }

    /* No stagger delays, instant opacity only */
    .fab-action,
    .fab-container.is-open .fab-action {
        transition: opacity 0.1s ease;
        transition-delay: 0ms !important;
        transform: none !important;
    }

    /* No icon rotation or cross-fade */
    .fab-toggle-icon,
    .fab-exclaim-icon {
        transition: none;
    }

    /* No label slide */
    .fab-label {
        transition: opacity 0.1s ease;
        transform: none !important;
    }

    /* No swipe nudge */
    .wagenpark-swipe-hint {
        animation: none;
    }

    /* No diensten carousel swipe nudge */
    .services-swipe-hint--left.is-visible,
    .services-swipe-hint--right.is-visible {
        animation: none;
    }

    /* No skeleton shimmer */
    .img-skeleton::after {
        animation: none;
    }
}

/* ============================================================
   DIENSTEN PAGE — BACKGROUND ATMOSPHERE
   Blue glow blobs (gold when VIP tab active) + VWM logo watermarks.
   Figma reference: node 605:14 (default) / 605:419 (VIP gold state).

   HOW TO TUNE:
   Each blob and logo exposes all position/size/blur/opacity values
   as CSS custom properties. Edit only the -- lines in each block below.

   VIP COLOR:
   Blobs use background: var(--diensten-accent) directly.
   --diensten-accent flips from #0096ca → #ffb700 when .vip-active is set
   by JS. No extra code needed — the color change is automatic.

   TECHNIQUE:
   - .page-diensten background is overridden to transparent here so
     z-index:-1 blobs are not hidden by the page background (#000).
     The body's black base still provides the dark background.
   - isolation:isolate creates a stacking context so z-index:-1 works
     correctly without escaping to the body layer.
   - overflow:hidden clips off-screen blob edges cleanly.
============================================================ */

/* 1. Page wrapper — override background so blobs show through */
.page-diensten {
    background: transparent; /* body #000 is the base; cascade wins over earlier #000 */
    isolation: isolate;
    overflow-x: clip; /* clips horizontal side-bleed blobs without blocking vertical blur */
                      /* overflow:hidden would clip the vertical blur at main's bottom edge */
}

/* 2. Footer — transparent on Diensten so blob blur bleeds through into footer area.
      ~ (general sibling) matches #footer anywhere after .page-diensten in <body>.
      All other pages keep the default #footer { background: #000 } unchanged. */
.page-diensten ~ #footer {
    background: transparent;
}

/* 3. Footer glass card — reduce tint opacity on Diensten so the blob glow shows through.
      Other pages keep the default --vwm-glass-tint: rgba(0,0,0,0.88) on the card.
      --vwm-glass-emboss: 0 suppresses the ::before gradient overlay (a new layer from
      the glass system that sat above the card surface and added darkening). */
.page-diensten ~ #footer .footer-content.container {
    --vwm-glass-tint:   rgba(0, 0, 0, 0.45);
    --vwm-glass-emboss: 0;
}

/* 2. Background container */
.diensten-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

/* ── BLOBS ────────────────────────────────────────────────────────────────
   background: var(--diensten-accent) auto-switches to gold in VIP state.
   transition: background lets the color change animate smoothly on tab click.
   To tune: edit only the --blob-* lines in each element block below.
──────────────────────────────────────────────────────────────────────── */
.diensten-bg__blob {
    position: absolute;
    border-radius: 50%;
    background: var(--diensten-accent); /* #0096ca default, #ffb700 in VIP */
    transition: background 0.5s ease;   /* smooth blue → gold on tab switch */
    pointer-events: none;
    will-change: filter;
    width:   var(--blob-w);
    height:  var(--blob-h);
    top:     var(--blob-top);
    left:    var(--blob-left,  auto);
    right:   var(--blob-right, auto);
    filter:  blur(var(--blob-blur));
    opacity: var(--blob-opacity);
}

/* Mid-page — left bleed (Figma node 605:21, top ~725px on 2000px canvas) */
.diensten-bg__blob--1 {
    --blob-w:       480px;
    --blob-h:       480px;
    --blob-top:     550px;
    --blob-left:   1660px;
    --blob-blur:    240px;
    --blob-opacity: 0.85;
}

/* Lower area — center-left (Figma node 605:268, top ~1963px on 2000px canvas) */
.diensten-bg__blob--2 {
    --blob-w:       460px;
    --blob-h:       460px;
    --blob-top:     1450px;
    --blob-left:    280px;
    --blob-blur:    220px;
    --blob-opacity: 0.78;
}

/* ── LOGO WATERMARKS ──────────────────────────────────────────────────────
   Asset: assets/img/logo-background.png  (path relative to CSS: ../img/)
   3 watermarks across the page — mirrors Figma rhythm (605:37, 605:38, 605:269).
   To tune: edit only the --logo-* lines in each element block below.
──────────────────────────────────────────────────────────────────────── */
.diensten-bg__logo {
    position: absolute;
    background-image: url('../img/logo-background.png');
    background-repeat: no-repeat;
    background-size: var(--logo-bg-size, contain);
    background-position: left center;
    pointer-events: none;
    width:   var(--logo-w);
    height:  var(--logo-h);
    top:     var(--logo-top);
    left:    var(--logo-left);
    opacity: var(--logo-opacity);
}

/* Near tabs — mostly off left (Figma node 605:37, top ~300px, left ~-576px) */
.diensten-bg__logo--1 {
    --logo-w:       1488px;
    --logo-h:        320px;
    --logo-top:      220px;
    --logo-left:    -580px;
    --logo-opacity:    0.3;
}

/* Service panel — from left edge (Figma node 605:38, top ~846px, left ~238px) */
.diensten-bg__logo--2 {
    --logo-w:       1488px;
    --logo-h:        320px;
    --logo-top:      780px;
    --logo-left:     520px;
    --logo-opacity:    0.3;
}

/* Lower / near footer (Figma node 605:269, top ~1792px → scaled) */
.diensten-bg__logo--3 {
    --logo-w:       1488px;
    --logo-h:        320px;
    --logo-top:     1560px;
    --logo-left:      38px;
    --logo-opacity:    0.3;
}

/* ── MOBILE ───────────────────────────────────────────────────────────────
   Blob 2 and all logos hidden on mobile — page is short enough that
   one subtle blob is sufficient and the logos are too wide to be useful.
──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .diensten-bg__blob--1 {
        --blob-w:       240px;
        --blob-h:       240px;
        --blob-top:     300px;
        --blob-left:   -110px;
        --blob-blur:    130px;
        --blob-opacity: 0.65;
    }
    .diensten-bg__blob--2 { display: none; }
    .diensten-bg__logo    { display: none; }
}

/* ── REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .diensten-bg { display: none; }
}

/* ============================================================
   OVER ONS PAGE — BACKGROUND ATMOSPHERE
   Blue glow blobs + VWM logo watermarks.
   Figma reference: node 230:33.

   HOW TO TUNE:
   Each blob and logo declares its own CSS custom properties (--blob-* / --logo-*).
   Edit only the -- lines in each block to reposition or resize.
   The base class reads them via var().

   TECHNIQUE:
   - .page-over-ons: isolation:isolate → own stacking context.
   - .over-ons-bg: z-index:-1 → always behind sections, in front of body #000.
   - Sections are already transparent (rgba(0,0,0,0)) → body black base shows through.
   - .page-over-ons: overflow:hidden → clips off-screen blob edges.
============================================================ */

/* 1. Page wrapper */
.page-over-ons {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* 2. Background container */
.over-ons-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

/* ── BLOBS ────────────────────────────────────────────────────────────────
   Base class reads from --blob-* custom properties.
   To tune: edit only the --blob-* lines in each element block below.
──────────────────────────────────────────────────────────────────────── */
.over-ons-bg__blob {
    position: absolute;
    border-radius: 50%;
    background: #0096ca;
    pointer-events: none;
    will-change: filter;
    width:   var(--blob-w);
    height:  var(--blob-h);
    top:     var(--blob-top);
    left:    var(--blob-left,  auto);
    right:   var(--blob-right, auto);
    filter:  blur(var(--blob-blur));
    opacity: var(--blob-opacity);
}

/* Intro section — left bleed (Figma node 230:42, top ~520px) */
.over-ons-bg__blob--1 {
    --blob-w:       540px;
    --blob-h:       540px;
    --blob-top:     400px;
    --blob-left:   -230px;
    --blob-blur:    265px;
    --blob-opacity: 0.85;
}

/* Intro section — right bleed (balances blob--1 on the opposite side) */
.over-ons-bg__blob--5 {
    --blob-w:       420px;
    --blob-h:       420px;
    --blob-top:     300px;
    --blob-right:  -180px;
    --blob-blur:    240px;
    --blob-opacity: 0.78;
}

/* Team carousel — right bleed (Figma node 230:38, top ~3090px) */
.over-ons-bg__blob--2 {
    --blob-w:       360px;
    --blob-h:       360px;
    --blob-top:     2800px;
    --blob-right:  -160px;
    --blob-blur:    260px;
    --blob-opacity: 0.80;
}

/* About-split (ons team text) — left bleed (Figma node 230:41, top ~3998px) */
.over-ons-bg__blob--3 {
    --blob-w:       520px;
    --blob-h:       520px;
    --blob-top:     3600px;
    --blob-left:   -220px;
    --blob-blur:    260px;
    --blob-opacity: 0.80;
}

/* Toekomst section — right bleed (Figma node 230:37, top ~4852px) */
.over-ons-bg__blob--4 {
    --blob-w:       360px;
    --blob-h:       360px;
    --blob-top:     4200px;
    --blob-right:  -150px;
    --blob-blur:    240px;
    --blob-opacity: 0.78;
}

/* ── LOGO WATERMARKS ──────────────────────────────────────────────────────
   Asset: assets/img/logo-background.png  (path relative to CSS: ../img/)
   5 watermarks across the page, alternating left/right — mirrors Figma rhythm.
   To tune: edit only the --logo-* lines in each element block below.
──────────────────────────────────────────────────────────────────────── */
.over-ons-bg__logo {
    position: absolute;
    background-image: url('../img/logo-background.png');
    background-repeat: no-repeat;
    background-size: var(--logo-bg-size, contain);
    background-position: left center;
    pointer-events: none;
    width:   var(--logo-w);
    height:  var(--logo-h);
    top:     var(--logo-top);
    left:    var(--logo-left);
    opacity: var(--logo-opacity);
}

/* Intro area — partially off left (Figma node 398:59, top ~258px) */
.over-ons-bg__logo--1 {
    --logo-w:       1400px;
    --logo-h:        320px;
    --logo-top:      200px;
    --logo-left:    -640px;
    --logo-opacity:    0.3;
}

/* Missie section — comes in from left (Figma node 230:75, top ~1124px) */
.over-ons-bg__logo--2 {
    --logo-w:       1400px;
    --logo-h:        330px;
    --logo-top:     900px;
    --logo-left:    400px;
    --logo-opacity:    0.3;
}

/* Fullphoto / Team transition — mostly off left (Figma node 340:238, top ~1576px → scaled) */
.over-ons-bg__logo--3 {
    --logo-w:       1400px;
    --logo-h:        320px;
    --logo-top:     1500px;
    --logo-left:    -220px;
    --logo-opacity:    0.3;
}

/* About-split area — right side offset (Figma node 605:2, top ~3698px → scaled) */
.over-ons-bg__logo--4 {
    --logo-w:       1400px;
    --logo-h:        330px;
    --logo-top:     3600px;
    --logo-left:      -80px;
    --logo-opacity:    0.3;
}

/* Toekomst area — mostly off left (Figma node 398:181, top ~4140px → scaled) */
.over-ons-bg__logo--5 {
    --logo-w:       1400px;
    --logo-h:        320px;
    --logo-top:     4200px;
    --logo-left:    580px;
    --logo-opacity:    0.3;
}

/* ── MOBILE ───────────────────────────────────────────────────────────────
   Blobs scaled down. Blobs 3+4 and all logos hidden on mobile.
──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .over-ons-bg__blob--1 {
        --blob-w:       260px;
        --blob-h:       260px;
        --blob-top:     280px;
        --blob-left:   -110px;
        --blob-blur:    130px;
        --blob-opacity: 0.65;
    }
    .over-ons-bg__blob--2 {
        --blob-w:       240px;
        --blob-h:       240px;
        --blob-top:     2000px;
        --blob-right:  -100px;
        --blob-blur:    130px;
        --blob-opacity: 0.60;
    }
    .over-ons-bg__blob--3,
    .over-ons-bg__blob--4 { display: none; }
    .over-ons-bg__logo    { display: none; }
}

/* ── REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .over-ons-bg { display: none; }
}

/* ============================================================
   FAQS PAGE — BACKGROUND ATMOSPHERE
   Blue glow blobs + VWM logo watermarks.
   Figma reference: node 585:2.

   HOW TO TUNE:
   Each blob and logo declares its own CSS custom properties (--blob-* / --logo-*).
   Edit only the -- lines in each block to reposition or resize.
   The base class reads them via var().

   TECHNIQUE:
   - .page-faqs: isolation:isolate → own stacking context for z-index layering.
   - .page-faqs: overflow-x:clip → clips horizontal blob bleed without
     creating a scroll container (preserves vertical blob bleed into footer).
   - .faqs-bg: z-index:-1 → behind all page content, above page background.
   - Blobs use --faq-accent (already declared on .page-faqs) so VIP gold
     switches automatically when data-theme="vip" is set.
============================================================ */

/* 1. Page wrapper — override background + add stacking context */
.page-faqs {
    background: transparent; /* body #000 is the base */
    isolation: isolate;
    overflow-x: clip; /* visual clip only — does not block vertical blur bleed */
}

/* Footer — transparent on FAQ so the page atmosphere bleeds through.
   Same approach as Diensten: ~ targets #footer only when it follows
   .page-faqs in <body>, leaving all other pages unchanged. */
.page-faqs ~ #footer {
    background: transparent;
}

/* Footer glass card — reduce tint so the atmosphere shows through.
   --vwm-glass-emboss:0 suppresses the ::before gradient overlay. */
.page-faqs ~ #footer .footer-content.container {
    --vwm-glass-tint:   rgba(0, 0, 0, 0.45);
    --vwm-glass-emboss: 0;
}

/* 2. Background container */
.faqs-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

/* ── BLOBS ────────────────────────────────────────────────────────────────
   background: var(--faq-accent) auto-switches to gold in VIP state.
   To tune: edit only the --blob-* lines in each element block below.
──────────────────────────────────────────────────────────────────────── */
.faqs-bg__blob {
    position: absolute;
    border-radius: 50%;
    background: var(--faq-accent);
    transition: background 0.5s ease;   /* smooth blue → gold on VIP tab switch */
    pointer-events: none;
    will-change: filter;
    width:   var(--blob-w);
    height:  var(--blob-h);
    top:     var(--blob-top);
    left:    var(--blob-left,  auto);
    right:   var(--blob-right, auto);
    filter:  blur(var(--blob-blur));
    opacity: var(--blob-opacity);
}

/* Mid-page — left bleed (Figma node 585:71, left:-458px top:909px) */
.faqs-bg__blob--1 {
    --blob-w:       548px;
    --blob-h:       562px;
    --blob-top:     909px;
    --blob-left:   -400px;
    --blob-blur:    260px;
    --blob-opacity: 0.87;
}

/* ── LOGO WATERMARKS ──────────────────────────────────────────────────────
   Asset: assets/img/logo-background.png  (path relative to CSS: ../img/)
   3 watermarks across the page — mirrors Figma rhythm (585:10, 585:17, 585:75).
   To tune: edit only the --logo-* lines in each element block below.
──────────────────────────────────────────────────────────────────────── */
.faqs-bg__logo {
    position: absolute;
    background-image: url('../img/logo-background.png');
    background-repeat: no-repeat;
    background-size: var(--logo-bg-size, contain);
    background-position: left center;
    pointer-events: none;
    width:   var(--logo-w);
    height:  var(--logo-h);
    top:     var(--logo-top);
    left:    var(--logo-left);
    opacity: var(--logo-opacity);
}

/* Near header — mostly off left (Figma node 585:10, left:-683px top:162px) */
.faqs-bg__logo--1 {
    --logo-w:       1488px;
    --logo-h:        341px;
    --logo-top:      162px;
    --logo-left:    -683px;
    --logo-opacity:    0.3;
}

/* Mid page — right side offset (Figma node 585:17, left:~658px top:673px) */
.faqs-bg__logo--2 {
    --logo-w:       1488px;
    --logo-h:        341px;
    --logo-top:      673px;
    --logo-left:     658px;
    --logo-opacity:    0.3;
}

/* Lower/footer area — centered (Figma node 585:75, center:~740px top:1510px) */
.faqs-bg__logo--3 {
    --logo-w:       1440px;
    --logo-h:        330px;
    --logo-top:     1510px;
    --logo-left:      20px;
    --logo-opacity:    0.3;
}

/* ── MOBILE ───────────────────────────────────────────────────────────────
   Blob scaled down on mobile — one subtle blob is sufficient.
   All logos hidden as they are too wide to render usefully on small screens.
──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .faqs-bg__blob--1 {
        --blob-w:       240px;
        --blob-h:       240px;
        --blob-top:     400px;
        --blob-left:   -110px;
        --blob-blur:    130px;
        --blob-opacity: 0.65;
    }
    .faqs-bg__logo    { display: none; }
}

/* ── REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .faqs-bg { display: none; }
}
