/* ============================================================
   Verkoulen Roermond BV — Stylesheet
   ============================================================ */

:root {
    --anthracite: #1c2127;
    --anthracite-2: #262c34;
    --navy: #102a43;
    --navy-deep: #0a1e30;
    --copper: #0e3a6a;
    --copper-light: #1a5aa0;
    --copper-soft: #e6eef7;
    --ink: #1c2127;
    --text: #3c454f;
    --muted: #6b7682;
    --line: #e6e9ee;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --white: #ffffff;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(16, 42, 67, .06);
    --shadow: 0 12px 30px rgba(16, 42, 67, .10);
    --shadow-lg: 0 24px 60px rgba(16, 42, 67, .16);

    --container: 1180px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* Donkere wortel-achtergrond: voorkomt witte "overscroll"-balken boven/onder op mobiel */
    background: var(--navy-deep);
}
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; }

/* ===== Laadscherm (preloader) ===== */
.preloader {
    position: fixed; inset: 0; z-index: 3000;
    display: grid; place-items: center;
    background: #ffffff;
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader__logo {
    width: min(260px, 62vw); height: auto;
    animation: pl-pulse 1.7s var(--ease) infinite;
}
.preloader__bar {
    width: 170px; height: 3px; border-radius: 3px;
    background: var(--line); overflow: hidden;
}
.preloader__bar span {
    display: block; height: 100%; width: 40%; border-radius: 3px;
    background: linear-gradient(90deg, var(--copper), var(--copper-light));
    animation: pl-load 1.1s var(--ease) infinite;
}
@keyframes pl-pulse { 0%,100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes pl-load { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) {
    .preloader__logo, .preloader__bar span { animation: none; }
}

/* ===== Layout helpers ===== */
.container {
    width: 100%; max-width: var(--container); margin: 0 auto;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}
.container--narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
/* Voorkomt dat sectietitels bij ankerlinks onder de vaste header vallen */
section[id], [id="hero"] { scroll-margin-top: 88px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-deep); color: rgba(255,255,255,.82); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 14px;
}
.eyebrow--light { color: var(--copper-light); }

.section__title {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    margin-bottom: 18px;
    letter-spacing: -.02em;
}
.section--dark .section__title { color: var(--white); }
.section__head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__intro { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.12rem; color: var(--ink); margin-bottom: 18px; font-weight: 500; }
.section p { margin-bottom: 16px; }

.grid { display: grid; gap: clamp(36px, 5vw, 72px); }
.grid--split { grid-template-columns: 1fr 1fr; align-items: center; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 10px 24px rgba(14,58,106,.32); }
.btn--primary:hover { background: var(--copper-light); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(14,58,106,.4); }
.btn--outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--outline:hover { background: #fff; color: var(--navy-deep); border-color: #fff; transform: translateY(-2px); }
.btn--outline.btn--dark { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--outline.btn--dark:hover { background: var(--navy); color: #fff; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .35s, box-shadow .35s, padding .35s;
    padding: 18px 0;
}
.header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }

.logo { display: inline-flex; align-items: center; justify-self: start; }
/* Het logo-bestand is vierkant met witruimte; we tonen alleen de middenband. */
.logo__clip { display: block; height: 50px; overflow: hidden; }
.logo__img { height: 112px; width: auto; display: block; margin-top: -32px; }

.nav { display: flex; align-items: center; justify-content: center; gap: 4px; justify-self: center; grid-column: 2; }
.nav__link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .97rem;
    color: rgba(255,255,255,.9);
    padding: 9px 14px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.header.scrolled .nav__link { color: var(--text); }
.nav__link:hover { color: #fff; background: rgba(255,255,255,.14); }
.header.scrolled .nav__link:hover { background: var(--bg-alt); color: var(--copper); }
.nav__cta { color: #fff !important; grid-column: 3; justify-self: end; }
.nav__cta--mobile { display: none; }
.nav__link--mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; grid-column: 3; justify-self: end; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.header.scrolled .nav-toggle span, body.nav-open .nav-toggle span { background: var(--ink); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; z-index: 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 140px 0 80px; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(115deg, rgba(10,30,48,.94) 0%, rgba(16,30,48,.82) 55%, rgba(16,30,48,.68) 100%),
        radial-gradient(ellipse at center, rgba(8,18,30,.45) 0%, transparent 70%);
}
.hero__content { max-width: 760px; margin: 0 auto; text-align: center; transform: translateY(-40px); }
.hero__eyebrow {
    font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    font-size: .85rem; color: #bcd2ee; margin-bottom: 18px;
}
.hero__title { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 22px; color: #fff; }
.hero__subtitle { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 36px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 40px; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.hero__badges li {
    position: relative; padding-left: 26px; font-weight: 600; font-size: .96rem; color: rgba(255,255,255,.92);
    font-family: var(--font-head);
}
.hero__badges li::before {
    content: "✓"; position: absolute; left: 0; top: -1px;
    color: #bcd2ee; font-weight: 800;
}

/* ===== Hero & about images ===== */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

/* ===== Carrousel (bedrijfsbus) ===== */
.carousel {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--anthracite);
}
.carousel__track {
    display: flex;
    height: 100%;
    transition: transform .55s var(--ease);
}
.carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel__dots {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    display: flex; gap: 9px;
}
.carousel__dot {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.55); cursor: pointer;
    transition: background .25s, transform .25s;
}
.carousel__dot.active { background: #fff; transform: scale(1.25); }
.carousel__dot:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* ===== Dienst-subpagina's ===== */
.subhero { position: relative; background: var(--navy-deep); color: #fff; padding: clamp(116px, 15vw, 172px) 0 clamp(44px, 6vw, 72px); }
.subhero .eyebrow { color: var(--copper-light); }
.subhero__title { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3rem); letter-spacing: -.02em; margin-bottom: 16px; }
.subhero__intro { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 660px; margin: 0 0 28px; }
.subhero .hero__actions { justify-content: flex-start; margin-bottom: 0; }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.82); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 7px; opacity: .5; }

.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 14px; }
.prose h3 { font-size: 1.18rem; margin: 24px 0 8px; }
.prose > p { margin-bottom: 16px; }
.check-list { display: grid; gap: 12px; margin: 8px 0; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--copper-soft); color: var(--copper); font-weight: 800; font-size: .78rem; display: grid; place-items: center; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s, color .2s; }
.related a:hover { border-color: var(--copper); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--copper); }
.related a::after { content: "\2192"; color: var(--copper); }

.cta-band { background: var(--navy-deep); color: #fff; text-align: center; }
.cta-band .section__title { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero__actions { justify-content: center; margin: 0; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ===== Projectengalerij ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item {
    position: relative; padding: 0; border: 0; cursor: pointer;
    border-radius: var(--radius); overflow: hidden; background: var(--anthracite);
    aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.gallery__item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s var(--ease), opacity .3s;
}
.gallery__item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,30,48,.7) 0%, transparent 55%);
    opacity: 0; transition: opacity .35s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
    position: absolute; left: 14px; bottom: 12px; z-index: 2;
    color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
    transform: translateY(8px); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.gallery__item:hover .gallery__cap { transform: none; opacity: 1; }
.gallery__item:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }
/* Op touch-schermen bestaat geen hover: toon bijschrift + verloop meteen */
@media (hover: none) {
    .gallery__item::after { opacity: 1; }
    .gallery__cap { opacity: 1; transform: none; }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    background: rgba(8,18,28,.92); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
    max-width: min(92vw, 1000px); max-height: 86vh;
    border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
    transform: scale(.96); transition: transform .3s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
    position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
    cursor: pointer; display: grid; place-items: center; border-radius: 50%;
    transition: background .2s, transform .2s;
}
.lightbox__close { top: 22px; right: 22px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; line-height: 1; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--copper); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card::after {
    content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--copper), var(--copper-light));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: grid; place-items: center; margin-bottom: 22px;
    background: var(--copper-soft); color: var(--copper);
    transition: background .35s, color .35s;
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--copper); color: #fff; }
.card__title { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .99rem; margin: 0; }
.card__link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    padding-top: 20px;
    font-family: var(--font-head); font-weight: 600; font-size: .96rem;
    color: var(--copper);
    transition: gap .25s var(--ease), color .25s;
}
.card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__link { color: var(--copper-light); }
.card:hover .card__link svg { transform: translateX(3px); }
.card__link:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

/* ===== USP ===== */
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.usp__item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--bg-alt); border-radius: var(--radius); padding: 26px 24px;
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.usp__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usp__check {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--copper); color: #fff; display: grid; place-items: center;
    font-weight: 800; font-size: 1rem;
}
.usp__item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.usp__item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
    position: relative; padding: 40px 28px 30px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(188,210,238,.45); }
.step__num {
    display: grid; place-items: center;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #1a5aa0, #3d86cf);
    color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem;
    margin-bottom: 22px; box-shadow: 0 10px 24px rgba(26,90,160,.5);
}
.step__title { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: .96rem; margin: 0; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item.open { box-shadow: var(--shadow); border-color: var(--copper); }
.faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
    background: none; border: 0; cursor: pointer; text-align: left;
    padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; background: var(--copper);
    transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.faq__icon::before { width: 14px; height: 2.5px; }
.faq__icon::after { width: 2.5px; height: 14px; }
.faq__item.open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--muted); margin: 0; }

/* ===== Contact ===== */
.contact-list { display: flex; flex-direction: column; gap: 16px; margin: 26px 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list li svg { color: var(--copper); flex-shrink: 0; margin-top: 3px; }
.contact-list__label { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.contact-list a:hover { color: var(--copper); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 28px; color: var(--muted); font-size: .94rem; font-weight: 500; }

.form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form__row { margin-bottom: 18px; }
.form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.form input, .form select, .form textarea {
    width: 100%; padding: 13px 15px; font-family: var(--font); font-size: 1rem; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(14,58,106,.15);
}
.form textarea { resize: vertical; }
.form__note { margin: 14px 0 0; font-size: .94rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form__note.success { color: #1a8f5a; }
.form__note.error { color: #c0392b; }

/* ===== Footer ===== */
.footer { background: var(--anthracite); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.logo--footer { margin-bottom: 18px; align-self: flex-start; }
.footer__col:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.footer__tag { font-size: .98rem; max-width: 260px; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col p { font-size: .96rem; margin-bottom: 12px; line-height: 1.7; }
.footer__col a:hover { color: var(--copper-light); }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: .96rem; }
.footer__links a:hover { color: var(--copper-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom p { font-size: .9rem; color: rgba(255,255,255,.55); text-align: center; margin: 0; }
.footer__bottom a { color: rgba(255,255,255,.75); text-decoration: underline; }
.footer__bottom a:hover { color: #fff; }

/* ===== Scroll naar boven ===== */
.to-top {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: calc(24px + env(safe-area-inset-right));
    z-index: 90;
    width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--navy); color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--copper); transform: translateY(-3px); }

/* ===== Sticky mobile call FAB ===== */
.call-fab {
    position: fixed;
    bottom: calc(18px + env(safe-area-inset-bottom));
    right: calc(18px + env(safe-area-inset-right));
    z-index: 90;
    display: none; align-items: center; gap: 9px;
    background: var(--copper); color: #fff;
    padding: 14px 22px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    box-shadow: 0 12px 28px rgba(14,58,106,.5);
    animation: fab-pulse 2.4s infinite;
}
@keyframes fab-pulse { 0%,100% { box-shadow: 0 12px 28px rgba(14,58,106,.5); } 50% { box-shadow: 0 12px 28px rgba(14,58,106,.5), 0 0 0 12px rgba(14,58,106,0); } }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .usp .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .usp .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.usp .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.usp .reveal:nth-child(5) { transition-delay: .32s; }
.usp .reveal:nth-child(6) { transition-delay: .4s; }
.usp .reveal:nth-child(7) { transition-delay: .12s; }
.usp .reveal:nth-child(8) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .call-fab { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .usp { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .grid--split { grid-template-columns: 1fr; }
    .lightbox__nav { width: 46px; height: 46px; font-size: 2rem; }
}

@media (max-width: 760px) {
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(84%, 330px);
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 0; background: #fff;
        padding: 88px 26px calc(26px + env(safe-area-inset-bottom));
        transform: translateX(100%); transition: transform .4s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,.18);
        overflow-y: auto;
    }
    body.nav-open .nav { transform: translateX(0); }
    /* Een backdrop-filter op de header maakt hem het referentiekader voor het
       fixed menu; uitschakelen zodra het menu open is, zodat het paneel weer
       de volledige schermhoogte krijgt (i.p.v. in te klappen bij scrollen). */
    body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav__link {
        color: var(--ink); font-size: 1.08rem; font-weight: 600;
        padding: 16px 6px; border-radius: 0;
        border-bottom: 1px solid var(--line);
    }
    .nav__link:active { color: var(--copper); }
    .nav > .nav__cta--mobile { display: inline-flex; margin: 24px 0 0; }
    .nav > .nav__link--mobile {
        display: block; margin-top: auto; padding: 22px 0 4px;
        border: 0; text-align: center;
        font-size: .9rem; font-weight: 500; color: var(--muted);
    }
    .header__inner > .nav__cta { display: none; }
    .nav-toggle { display: flex; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,30,48,.5); z-index: 95; }

    .call-fab { display: inline-flex; }
    .to-top {
        right: auto;
        left: calc(18px + env(safe-area-inset-left));
        bottom: calc(18px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .cards, .usp, .steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lightbox { padding: 12px; }
    .lightbox__nav { width: 42px; height: 42px; font-size: 1.9rem; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero { min-height: 92vh; min-height: 92svh; padding: 120px 0 70px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .btn--lg { padding: 15px 26px; }
}
