/* =========================================================
   IEDERE ZORG — Stylesheet
   Warm, rustig, vertrouwenwekkend zorg-design.
   Verplichte kleur #ADD8E6 (lichtblauw) + diep teal voor contrast.
   ========================================================= */

:root {
    /* Kleuren */
    --sky:        #ADD8E6;   /* verplichte huisstijlkleur */
    --sky-200:    #C7E4EE;
    --sky-100:    #E3F2F7;
    --sky-50:     #F1F9FC;
    --deep:       #0E4D63;   /* diep teal — koppen, knoppen */
    --deep-700:   #0A3B4D;
    --deep-500:   #157394;
    --accent:     #E9A17C;   /* warme zachte terracotta, spaarzaam */
    --accent-soft:#F6D9C8;

    --ink:        #1F3A44;   /* body-tekst */
    --ink-soft:   #4A6570;
    --muted:      #74898F;
    --line:       #DDE9ED;
    --bg:         #F7FBFD;
    --surface:    #FFFFFF;

    /* Typografie */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Vorm & schaduw */
    --radius:     18px;
    --radius-sm:  12px;
    --radius-lg:  28px;
    --shadow-sm:  0 2px 10px rgba(14, 77, 99, 0.06);
    --shadow:     0 12px 34px rgba(14, 77, 99, 0.10);
    --shadow-lg:  0 24px 60px rgba(14, 77, 99, 0.16);
    --ring:       0 0 0 4px rgba(21, 115, 148, 0.18);

    --container: 1180px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior-x: none; width: 100%; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-tap-highlight-color: rgba(21, 115, 148, .18);
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
/* Lange woorden (e-mailadressen, URL's) nooit buiten het scherm laten lopen */
p, li, dd, dt, a, h1, h2, h3, h4, span { overflow-wrap: break-word; }
/* Formuliervelden minimaal 16px → voorkomt automatisch inzoomen op iOS/Safari */
input, textarea, select { font-size: 16px; max-width: 100%; }
a { color: var(--deep-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--deep-700); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container {
    width: min(100% - 2.6rem, var(--container)); margin-inline: auto;
    padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
.hide-sm { }

/* ---------- Inline SVG-iconen ---------- */
svg.ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.utility-link .ico { display: inline-flex; align-items: center; }
.utility-link .ico svg { width: 15px; height: 15px; }
.hero-eyebrow svg { width: 16px; height: 16px; vertical-align: -.2em; margin-right: .1rem; }
.fc-ico svg { width: 18px; height: 18px; }
.aside-item .ai { color: var(--sky); display: inline-flex; }
.aside-item .ai svg { width: 22px; height: 22px; }
.feature .fi { color: var(--deep); }
.feature .fi svg { width: 26px; height: 26px; }
.flash-ico { display: inline-flex; }
.flash-ico svg { width: 22px; height: 22px; }
.file-field .file-ico { color: var(--deep); display: inline-flex; }
.file-field .file-ico svg { width: 28px; height: 28px; }

.skip-link {
    position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
    background: var(--deep); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 12px 12px;
    z-index: 2000; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Utility-balk ---------- */
.utility-bar {
    background: var(--deep-700);
    color: #cfe6ee;
    font-size: .84rem;
}
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.utility-contact { display: flex; gap: 1.4rem; }
.utility-link { color: #cfe6ee; display: inline-flex; align-items: center; gap: .45rem; }
.utility-link:hover { color: #fff; }
.utility-link .ico { font-size: .9em; }
.utility-login {
    color: #9fc4d1; font-size: .8rem; letter-spacing: .02em;
    padding: .3rem .8rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
    transition: all .2s var(--ease);
}
.utility-login:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(247, 251, 253, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--deep); }
.brand-logo { height: 54px; width: auto; display: block; transition: opacity .2s var(--ease); }
.brand:hover .brand-logo { opacity: .82; }
.brand-mark {
    width: 44px; height: 44px; display: grid; place-items: center;
    background: linear-gradient(150deg, var(--sky) 0%, var(--sky-200) 100%);
    color: var(--deep); border-radius: 13px; box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--deep-700); letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .2rem; padding: 0; }
.nav-list > li > a, .dropdown-toggle {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .55rem .8rem; border-radius: 10px; color: var(--ink);
    font-weight: 600; font-size: .95rem; transition: all .18s var(--ease); white-space: nowrap;
}
.nav-list > li > a:hover, .dropdown-toggle:hover { background: var(--sky-100); color: var(--deep); }
.nav-list a[aria-current="page"] { color: var(--deep); background: var(--sky-100); }
.nav-close { display: none; }
.nav-mobile-cta { display: none; }

/* Dropdown "Meer" */
.has-dropdown { position: relative; }
.dropdown-toggle .caret { font-size: .7em; transition: transform .2s var(--ease); }
.has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px;
    list-style: none; padding: .5rem; margin: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .22s var(--ease); z-index: 50;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block; padding: .6rem .8rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem;
}
.dropdown li a:hover { background: var(--sky-50); color: var(--deep); }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.icon-btn {
    width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px;
    color: var(--deep); background: var(--sky-100); transition: all .18s var(--ease);
}
.icon-btn:hover { background: var(--sky-200); }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: 11px; background: var(--sky-100); position: relative; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--deep); border-radius: 2px; margin: 4px auto; transition: all .25s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Knoppen ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
    transition: all .22s var(--ease); cursor: pointer; text-align: center; line-height: 1.2;
}
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-primary { background: var(--deep); color: #fff; box-shadow: 0 8px 20px rgba(14,77,99,.22); }
.btn-primary:hover { background: var(--deep-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14,77,99,.3); }
.btn-ghost { background: #fff; color: var(--deep); border: 1.5px solid var(--sky); }
.btn-ghost:hover { background: var(--sky-50); color: var(--deep); border-color: var(--deep-500); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.28); color: #fff; transform: translateY(-2px); }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; min-height: 640px; min-height: 90vh; min-height: 90dvh;
    display: flex; align-items: center;
    color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(95deg, rgba(8,45,60,.88) 0%, rgba(10,59,77,.62) 40%, rgba(14,77,99,.30) 68%, rgba(14,77,99,.18) 100%),
        linear-gradient(0deg, rgba(8,45,60,.42) 0%, rgba(8,45,60,0) 38%),
        var(--hero-image, url("../img/hero.jpg")),
        radial-gradient(1200px 600px at 75% 10%, var(--sky) 0%, var(--deep-500) 45%, var(--deep-700) 100%);
    background-size: cover; background-position: center;
    background-attachment: fixed;
}
/* Decoratieve zachte vormen als de foto ontbreekt */
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(600px 400px at 12% 85%, rgba(173,216,230,.35), transparent 60%),
        radial-gradient(500px 380px at 90% 20%, rgba(233,161,124,.20), transparent 60%);
    mix-blend-mode: screen;
}
.hero-inner { padding: 8rem 0 6rem; max-width: 780px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
    backdrop-filter: blur(6px); margin-bottom: 1.6rem;
}
.hero h1 {
    color: #fff; font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.05;
    text-shadow: 0 2px 30px rgba(0,0,0,.28); margin-bottom: .8rem;
}
.hero h1 .accent-word { font-style: italic; color: var(--sky); }
.hero-sub {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: #eaf6fa;
    max-width: 620px; margin-bottom: 2.2rem; text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll {
    position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.85); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: .4rem; z-index: 2;
}
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.hero-scroll .mouse::before { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: #fff; border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Secties ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--sky-50), var(--bg)); }
.section-sky { background: var(--sky-100); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; color: var(--deep-500);
    font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Intro / welkomst-tekst ---------- */
.welcome-lead {
    font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.75rem);
    color: var(--deep-700); font-weight: 500; line-height: 1.5; max-width: 900px;
}
.prose { max-width: 800px; }
.prose p { margin-bottom: 1.15rem; color: var(--ink-soft); }
.prose p:first-of-type { color: var(--ink); }
.lead { font-size: 1.18rem; color: var(--ink); }

/* Twee-koloms intro met beeld/kaart */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.split-media {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    background: linear-gradient(150deg, var(--sky) 0%, var(--deep-500) 100%);
    min-height: 380px; position: relative; display: grid; place-items: center; color: #fff; text-align: center; padding: 2rem;
}
.split-media .media-note { font-size: .85rem; opacity: .85; max-width: 260px; }
.split-media .media-icon { font-size: 3rem; margin-bottom: .8rem; }
/* Foto binnen de intro-media (valt terug op gradient als bestand ontbreekt) */
.media-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* Herbruikbaar foto-figuur met terugval-achtergrond */
.figure-photo {
    width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); background-color: var(--sky-200);
    background-image: linear-gradient(150deg, var(--sky), var(--deep-500));
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.figure-caption { margin-top: .8rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Kaarten (kopjes / diensten) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }
.nav-card {
    position: relative; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.8rem; transition: all .28s var(--ease); overflow: hidden;
    display: flex; flex-direction: column; gap: .6rem; min-height: 190px;
}
.nav-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(var(--sky), var(--deep-500)); transform: scaleY(0); transform-origin: top;
    transition: transform .3s var(--ease);
}
.nav-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.nav-card:hover::before { transform: scaleY(1); }
.nav-card .card-num { font-family: var(--font-display); font-size: .95rem; color: var(--sky); font-weight: 700; }
.nav-card h3 { font-size: 1.35rem; color: var(--deep-700); }
.nav-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.nav-card .card-arrow {
    display: inline-flex; align-items: center; gap: .4rem; color: var(--deep-500); font-weight: 700; font-size: .9rem;
    transition: gap .2s var(--ease);
}
.nav-card:hover .card-arrow { gap: .75rem; }
.nav-card .stretched { position: absolute; inset: 0; }

/* Feature-kaarten (waar helpen wij) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; }
.feature {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.feature .fi {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
    background: var(--sky-100); margin-bottom: 1rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature p { color: var(--ink-soft); font-size: .93rem; }

/* Statistiek / vertrouwen-strook */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.trust-item .t-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--deep); font-weight: 600; }
.trust-item .t-label { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Inhoudspagina-hero (klein) ---------- */
.page-hero {
    position: relative; padding: 3.5rem 0 3rem; color: #fff; overflow: hidden;
    background: linear-gradient(140deg, var(--deep-700) 0%, var(--deep) 45%, var(--deep-500) 100%);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 340px at 85% 0%, rgba(173,216,230,.28), transparent 65%);
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: .85rem; color: #a8cdd9; margin-bottom: .9rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { color: #cbe6ee; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.page-hero p { color: #dceef4; font-size: 1.1rem; max-width: 640px; }

/* ---------- Content-blokken ---------- */
.content-wrap { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.content-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow-sm);
}
.content-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2rem 0 1rem; }
.content-card h2:first-child { margin-top: 0; }
.content-card h3 { font-size: 1.3rem; color: var(--deep); margin: 1.6rem 0 .6rem; }
.content-card p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.content-card ul, .content-card ol { margin: 0 0 1.2rem 0; padding-left: 0; list-style: none; }
.content-card ul li {
    position: relative; padding-left: 1.9rem; margin-bottom: .65rem; color: var(--ink-soft);
}
.content-card ul li::before {
    content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%;
    background: var(--sky); box-shadow: 0 0 0 4px var(--sky-100);
}
.content-card ol { counter-reset: step; }
.content-card ol li {
    position: relative; padding-left: 3rem; margin-bottom: 1.1rem; counter-increment: step; color: var(--ink-soft);
}
.content-card ol li::before {
    content: counter(step); position: absolute; left: 0; top: -.1rem;
    width: 2rem; height: 2rem; border-radius: 50%; background: var(--deep); color: #fff;
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}
.content-card ol li strong { color: var(--deep-700); }

.callout {
    background: var(--sky-50); border-left: 4px solid var(--sky); border-radius: var(--radius-sm);
    padding: 1.3rem 1.5rem; margin: 1.5rem 0; font-size: 1.05rem; color: var(--deep-700);
}
.callout.warm { background: #FDF4EE; border-left-color: var(--accent); }
.pull-quote {
    font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.7rem); font-style: italic;
    color: var(--deep); line-height: 1.4; padding: 1rem 0 1rem 1.5rem; border-left: 3px solid var(--sky); margin: 1.5rem 0;
}
.inline-link { color: var(--deep-500); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--deep); }

/* Definitielijst (privacy begrippen) */
.def-list { display: grid; gap: .9rem; margin: 1.2rem 0; }
.def-list .def {
    background: var(--sky-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem;
}
.def-list .def dt { font-weight: 800; color: var(--deep-700); font-family: var(--font-body); }
.def-list .def dd { margin: .2rem 0 0; color: var(--ink-soft); font-size: .96rem; }

/* Stappen (aanpak) */
.steps { display: grid; gap: 1.2rem; margin: 1.5rem 0; }
.step {
    display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.step .step-n {
    width: 2.6rem; height: 2.6rem; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(150deg, var(--sky), var(--deep-500)); color: #fff;
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
}
.step h3 { margin: .1rem 0 .3rem; font-size: 1.2rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Dienst-kaarten (wat doen wij) */
.service-block {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem;
    margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--sky);
}
.service-block .tag {
    display: inline-block; background: var(--sky-100); color: var(--deep); font-weight: 800; font-size: .78rem;
    letter-spacing: .06em; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .7rem;
}
.service-block h3 { margin: 0 0 .5rem; }
.service-block p { margin: 0; color: var(--ink-soft); }

/* ---------- Tabel ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
table.iz-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
table.iz-table th, table.iz-table td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; }
table.iz-table thead th { background: var(--deep); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .95rem; }
table.iz-table thead th:first-child { border-top-left-radius: 0; }
table.iz-table tbody tr:nth-child(even) { background: var(--sky-50); }
table.iz-table tbody tr { border-top: 1px solid var(--line); }
table.iz-table td:first-child { font-weight: 800; color: var(--deep-700); white-space: nowrap; }
table.iz-table td .chip {
    display: inline-block; background: #FDF0EA; color: #B5613C; border: 1px solid var(--accent-soft);
    padding: .25rem .7rem; border-radius: 999px; font-size: .82rem; margin: .15rem .25rem .15rem 0; font-weight: 600;
}

/* ---------- Formulieren ---------- */
.form-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.form-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow);
}
.form-card > h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.form-card > .form-intro { color: var(--ink-soft); margin-bottom: 1.8rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--deep-700); font-size: .95rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--sky-50); transition: all .2s var(--ease); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #9fb3ba; }
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--deep-500); background: #fff; box-shadow: var(--ring); outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field .hint { font-size: .82rem; color: var(--muted); }

/* Bestandsupload */
.file-field {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
    border: 1.5px dashed var(--sky); border-radius: var(--radius-sm); background: var(--sky-50);
    cursor: pointer; transition: all .2s var(--ease);
}
.file-field:hover { border-color: var(--deep-500); background: #fff; }
.file-field input[type="file"] { display: none; }
.file-field .file-ico { font-size: 1.6rem; }
.file-field .file-text strong { display: block; color: var(--deep-700); }
.file-field .file-text span { font-size: .82rem; color: var(--muted); }
.file-name { font-size: .9rem; color: var(--deep); font-weight: 600; margin-top: .5rem; }

/* Honeypot verbergen */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--deep); flex-shrink: 0; }
.form-actions { margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--muted); }

/* Zijkolom bij formulieren */
.form-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.aside-card {
    background: var(--deep); color: #fff; border-radius: var(--radius-lg); padding: 1.8rem;
}
.aside-card h3 { color: #fff; margin-bottom: 1rem; font-size: 1.25rem; }
.aside-card .aside-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.aside-card .aside-item:last-child { margin-bottom: 0; }
.aside-card .aside-item .ai { font-size: 1.2rem; }
.aside-card .aside-item a { color: var(--sky); font-weight: 600; }
.aside-card .aside-item a:hover { color: #fff; }
.aside-card .aside-item .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #a8cdd9; display: block; }

/* ---------- Flash-berichten ---------- */
.flash {
    display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 1.3rem; border-radius: var(--radius);
    margin: 1.5rem 0 0; font-weight: 600; animation: flashIn .4s var(--ease);
}
.flash p { margin: 0; }
.flash-success { background: #E6F6EC; color: #1B6B3A; border: 1px solid #B7E4C7; }
.flash-error { background: #FDECEC; color: #A33; border: 1px solid #F5C6C6; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- CTA-strook ---------- */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: linear-gradient(140deg, var(--deep-700), var(--deep) 55%, var(--deep-500));
    color: #fff; padding: clamp(2.5rem, 5vw, 4rem); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(173,216,230,.3), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.cta-band p { color: #dceef4; max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Zoek-overlay ---------- */
.search-overlay {
    position: fixed; inset: 0; z-index: 1200; background: rgba(10,59,77,.55);
    backdrop-filter: blur(6px); display: none; opacity: 0; transition: opacity .25s var(--ease);
    padding: calc(10vh + env(safe-area-inset-top)) calc(1.4rem + env(safe-area-inset-right)) 2rem calc(1.4rem + env(safe-area-inset-left));
    overflow-y: auto;
}
.search-overlay.open { display: block; opacity: 1; }
.search-box { width: min(100%, 640px); margin: 0 auto; }
.search-field {
    display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: var(--radius);
    padding: .5rem .7rem .5rem 1.1rem; box-shadow: var(--shadow-lg); color: var(--deep);
}
.search-field input { flex: 1; border: none; background: none; font-size: 1.15rem; padding: .7rem 0; color: var(--ink); outline: none; }
.search-close { width: 40px; height: 40px; border-radius: 10px; background: var(--sky-100); color: var(--deep); font-size: 1rem; }
.search-close:hover { background: var(--sky-200); }
.search-results {
    background: #fff; margin-top: .8rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    max-height: 55vh; overflow-y: auto; padding: .6rem;
}
.search-hint { padding: 1.2rem; color: var(--muted); text-align: center; }
.search-hint em { color: var(--deep-500); font-style: normal; font-weight: 700; }
.search-item { display: block; padding: .9rem 1.1rem; border-radius: var(--radius-sm); transition: background .15s; }
.search-item:hover, .search-item.active { background: var(--sky-50); }
.search-item .si-title { font-weight: 800; color: var(--deep-700); display: block; }
.search-item .si-snip { font-size: .88rem; color: var(--ink-soft); }
.search-item mark { background: var(--sky); color: var(--deep-700); border-radius: 3px; padding: 0 2px; }
.search-empty { padding: 1.4rem; text-align: center; color: var(--muted); }

/* ---------- Navigatie-backdrop (mobiel) ---------- */
.nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,59,77,.4); backdrop-filter: blur(2px);
    z-index: 850; opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-700); color: #cfe0e6; margin-top: 4rem; }
.footer-top {
    display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem;
}
.footer-brand .brand-mark { background: rgba(173,216,230,.16); color: var(--sky); box-shadow: none; margin-bottom: 1rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline { color: #b7cdd4; font-size: .98rem; max-width: 300px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .02em; }
.footer-nav ul, .footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-nav a, .footer-contact a { color: #b7cdd4; font-size: .93rem; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: flex-start; gap: .55rem; }
.footer-contact .fc-ico { flex-shrink: 0; }
.fc-kvk { color: #8caab3; font-size: .88rem; margin-top: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; padding-bottom: calc(1.3rem + env(safe-area-inset-bottom)); flex-wrap: wrap; }
.footer-bottom p { color: #8caab3; font-size: .85rem; }
.footer-mini a { color: #a8cdd9; font-size: .85rem; }
.footer-mini a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; z-index: 800;
    right: calc(1.1rem + env(safe-area-inset-right));
    bottom: calc(1.1rem + env(safe-area-inset-bottom));
    width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 1.3rem;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--deep-700); transform: translateY(-3px); }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE — desktop → tablet → telefoon (Android & iOS)
   ========================================================= */

/* Vloeiende momentum-scroll voor tabellen op touch */
.table-wrap { -webkit-overflow-scrolling: touch; }

/* ---- Groot scherm splitsingen ---- */
@media (min-width: 861px) {
    .form-layout.with-aside { grid-template-columns: 1.6fr 1fr; align-items: start; }
    .content-wrap.with-aside { grid-template-columns: 1.7fr 1fr; align-items: start; }
}

/* ---- Kleine laptop / tablet-landschap (≤ 1100px) ---- */
@media (max-width: 1100px) {
    :root { --container: 960px; }
    .nav-list { gap: 0; }
    .nav-list > li > a, .dropdown-toggle { padding: .5rem .6rem; font-size: .9rem; }
    .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* ---- Tablet-portret & kleiner (≤ 980px) ---- */
@media (max-width: 980px) {
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .split-media { min-height: 300px; order: -1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobiel menu & hamburger (≤ 860px) ---- */
@media (max-width: 860px) {
    .hide-sm { display: none !important; }
    .hamburger { display: block; }
    .header-actions .btn { display: none; }
    .header-inner { min-height: 66px; }
    .brand-logo { height: 44px; }
    .footer-logo { height: 54px; }

    .main-nav {
        position: fixed; top: 0; right: 0;
        height: 100vh; height: 100dvh; width: min(88vw, 360px);
        background: #fff; box-shadow: var(--shadow-lg); z-index: 900;
        transform: translateX(100%); transition: transform .35s var(--ease);
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        padding: calc(4.5rem + env(safe-area-inset-top)) calc(1.4rem + env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) 1.4rem;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-close { display: grid; place-items: center; position: absolute; top: calc(1.1rem + env(safe-area-inset-top)); right: 1.1rem; width: 44px; height: 44px; border-radius: 11px; background: var(--sky-100); color: var(--deep); font-size: 1rem; }
    .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
    .nav-list > li > a, .dropdown-toggle { width: 100%; font-size: 1.05rem; padding: .85rem 1rem; min-height: 48px; }
    .dropdown-toggle { justify-content: space-between; }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
        max-height: 0; overflow: hidden; padding: 0 0 0 .8rem; transition: max-height .3s var(--ease);
    }
    .has-dropdown.open .dropdown { max-height: 600px; }
    .dropdown li a { min-height: 46px; display: flex; align-items: center; }
    .nav-mobile-cta { display: block; margin-top: .3rem; }
    .nav-mobile-cta a { background: var(--sky-100); color: var(--deep); justify-content: center; }
    .nav-mobile-cta:last-child a { background: var(--deep); color: #fff; }

    .form-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .hero-bg { background-attachment: scroll; }
    .icon-btn { width: 44px; height: 44px; }
}

/* ---- Grote telefoon (≤ 640px) ---- */
@media (max-width: 640px) {
    .section { padding: 3rem 0; }
    .hero-inner { padding: 6.5rem 0 4.5rem; }
    .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
    .hero-actions { gap: .7rem; }
    .hero-actions .btn { flex: 1 1 auto; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .trust-strip { grid-template-columns: 1fr; }
    .step { grid-template-columns: auto 1fr; gap: .9rem; padding: 1.1rem 1.2rem; }
    .split-media { min-height: 240px; }
    .aside-card { padding: 1.4rem; }
}

/* ---- Telefoon (≤ 480px) ---- */
@media (max-width: 480px) {
    .container { width: min(100% - 1.8rem, var(--container)); }
    .section { padding: 2.6rem 0; }
    .section-head { margin-bottom: 2rem; }
    .content-card, .form-card { border-radius: 18px; }
    .form-actions .btn { width: 100%; }
    .form-actions { flex-direction: column; align-items: stretch; text-align: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .btn-lg { padding: .9rem 1.4rem; }
    .pull-quote { font-size: 1.2rem; padding-left: 1rem; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .brand-name { font-size: 1.18rem; }
    .brand-sub { display: none; }
    .content-card ol li { padding-left: 2.6rem; }
    /* Utility-balk compacter zodat "Login medewerker" volledig past */
    .utility-bar { font-size: .77rem; }
    .utility-inner { gap: .5rem; }
    .utility-contact { gap: .55rem; }
    .utility-link { gap: .3rem; }
    .utility-login { padding: .28rem .6rem; letter-spacing: 0; white-space: nowrap; }
}

/* ---- Kleine telefoon (≤ 380px, bv. iPhone SE) ---- */
@media (max-width: 380px) {
    .container { width: min(100% - 1.4rem, var(--container)); }
    .hero h1 { font-size: clamp(1.9rem, 10vw, 2.4rem); }
    .hero-eyebrow { font-size: .72rem; padding: .4rem .8rem; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-logo { height: 38px; }
    .utility-bar { font-size: .72rem; }
    .utility-login { padding: .24rem .5rem; letter-spacing: 0; }
    .utility-link .ico svg { width: 13px; height: 13px; }
    .section-head h2 { font-size: 1.6rem; }
}

/* ---- Telefoon in landschap (lage hoogte) ---- */
@media (max-height: 520px) and (orientation: landscape) {
    .hero { min-height: 480px; }
    .hero-inner { padding: 5rem 0 3rem; }
    .hero-scroll { display: none; }
    .main-nav { padding-top: 3.5rem; }
}

/* ---- Fijn-touch apparaten: geen hover-verschuivingen die blijven hangen ---- */
@media (hover: none) {
    .nav-card:hover { transform: none; }
    .btn-primary:hover, .btn-ghost:hover, .btn-light:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-bg { background-attachment: scroll; }
}
