/* =====================================================================
   AIM-Robotics — homepage, FAQ-pagina en visionpagina
   Huisstijl: navy #0A1628, primair #0B1993, accent #428FE7, DINosaur.
   Alle tekstkleuren halen minimaal WCAG AA (4,5:1; grote tekst 3:1).
   ===================================================================== */

@font-face {
    font-family: 'DINosaur';
    src: url('fonts/DINosaur-Medium.woff') format('woff'), url('/Assets/fonts/DINosaur-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DINosaur';
    src: url('fonts/DINosaur-Bold.woff') format('woff'), url('/Assets/fonts/DINosaur-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DINosaur';
    src: url('fonts/DINosaur-BookItalic.woff') format('woff'), url('/Assets/fonts/DINosaur-BookItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --navy-950: #070F1F;
    --navy-900: #0A1628;
    --primary: #0B1993;
    --primary-hover: #1A2BB5;
    --accent: #428FE7;
    --accent-text: #1D5FB8;      /* accentkleur voor kleine tekst op licht (5,8:1) */
    --accent-on-dark: #8CB8F2;   /* accentkleur voor tekst op navy (8,9:1) */

    --ink: #0F172A;
    --text: #334155;
    --muted: #475569;
    --faint: #64748B;            /* alleen op wit */
    --line: #E2E8F0;
    --line-strong: #CBD5E1;
    --field: #7C8BA1;            /* rand van invoervelden, 3,5:1 */
    --tint: #F4F7FB;

    --radius-lg: 18px;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
    --shadow-md: 0 14px 34px -16px rgba(15, 23, 42, .22);
    --shadow-lg: 0 30px 70px -30px rgba(11, 25, 147, .32);

    --container: 1200px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(72px, 9vw, 120px);
    --header-h: 72px;
    --font: 'DINosaur', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-weight: 500;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; }

h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    padding: 12px 18px; border-radius: 10px;
    background: var(--primary); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.icon {
    width: 1.2em; height: 1.2em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
    margin-bottom: 14px;
    font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent-text);
}
.eyebrow--light { color: var(--accent-on-dark); }

.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--muted); }

/* ---------- knoppen ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 10px;
    font-size: 1rem; font-weight: 700; line-height: 1; letter-spacing: .005em;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); box-shadow: 0 10px 22px -10px rgba(11, 25, 147, .6); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: #E8EEFB; }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .25); }

.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; flex: none; }
.brand img { height: 46px; width: auto; }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
    position: relative; display: block; padding: 8px 0;
    font-size: .96875rem; color: var(--ink); text-decoration: none; transition: color .2s;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a[aria-current="true"] { color: var(--primary); }
.main-nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .9375rem; color: var(--muted); text-decoration: none; transition: color .2s;
}
.header-link:hover { color: var(--primary); }
.header-lang {
    padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px;
    font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
}

.menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; color: var(--ink); cursor: pointer;
}
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after {
    display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .25s var(--ease), background-color .2s;
}
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }

/* absolute i.p.v. fixed: de backdrop-filter van de header maakt die header het bevattende blok */
.mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain; padding: 16px 0 40px;
    background: #fff; border-top: 1px solid var(--line);
}
.mobile-menu-links a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
    font-size: 1.375rem; font-weight: 700; color: var(--ink); text-decoration: none;
}
.mobile-menu-foot { display: grid; gap: 14px; justify-items: start; margin-top: 28px; }
.mobile-menu-foot .btn { justify-self: stretch; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
    --half: calc(var(--container) / 2);
    position: relative; isolation: isolate;
    display: grid;
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, var(--half)) minmax(0, var(--half)) minmax(var(--gutter), 1fr);
    /* de klantenbalk eronder (ca. 104px) hoort nog op het eerste scherm */
    min-height: min(calc(100svh - var(--header-h) - 104px), 780px);
    background: var(--navy-900); color: #fff;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(55% 75% at 12% 25%, rgba(66, 143, 231, .2), transparent 62%);
}
.hero-text { grid-column: 2; align-self: center; padding: 64px 48px 72px 0; }
.hero h1 { color: #fff; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* klantenbalk onder de hero: een band met klantlogo's die rustig doorloopt.
   De lijst staat er twee keer in; na een halve track-breedte begint hij weer van voren. */
.clients { background: #fff; border-bottom: 1px solid var(--line); }
.clients-inner { display: flex; align-items: center; gap: 20px 40px; padding-block: 26px; }
.clients-label { flex: none; max-width: 12em; font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.client-band { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-track { display: flex; width: max-content; animation: client-band 38s linear infinite; }
.client-band:hover .client-track { animation-play-state: paused; }
.client-list { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; color: #7A889C; }
.client-list .logo { width: calc(var(--w) * .82); }
@keyframes client-band { to { transform: translateX(-50%); } }
.client-list .logo-word { font-size: 1rem; }

.hero-media { grid-column: 3 / 5; position: relative; min-height: 420px; background: #111c30; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; }
.hero-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, var(--navy-900) 0%, rgba(10, 22, 40, .45) 10%, rgba(10, 22, 40, 0) 28%),
        linear-gradient(0deg, rgba(10, 22, 40, .8) 0%, rgba(10, 22, 40, 0) 32%);
}
.hero-caption {
    position: absolute; left: 32px; right: 24px; bottom: 22px; z-index: 1;
    display: flex; align-items: center; gap: 12px;
    font-size: .875rem; color: rgba(255, 255, 255, .88);
}
.hero-caption strong { color: #fff; }
.video-toggle {
    display: inline-grid; place-items: center; flex: none;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4); background: rgba(10, 22, 40, .45); color: #fff; cursor: pointer;
}
.video-toggle:hover { background: rgba(10, 22, 40, .7); border-color: #fff; }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle .icon-play, .demo-btn .icon-play { display: none; }
.video-toggle.is-paused .icon-play, .demo-btn.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause, .demo-btn.is-paused .icon-pause { display: none; }

/* ---------- bewijsbalk ---------- */
/* logo's van klanten en merken: maskers, zodat ze allemaal dezelfde kleur krijgen */
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 44px; margin-top: clamp(40px, 5vw, 56px); padding-top: 30px; border-top: 1px solid var(--line); }
.brands-label { font-size: .9375rem; color: var(--muted); }
.brand-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; color: #7A889C; }
.logo { display: block; width: var(--w); aspect-ratio: var(--r); background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo-word { font-size: 1.1875rem; font-weight: 700; line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.logo--vlasman { --src: url(media/logos/vlasman.svg); --r: 3.75; --w: 108px; }
.logo--strukton { --src: url(media/logos/strukton.svg); --r: 4.29; --w: 112px; }
.logo--excluton { --src: url(media/logos/excluton.svg); --r: 7.03; --w: 124px; }
.logo--fanuc { --src: url(media/logos/fanuc.svg); --r: 5.93; --w: 92px; }
.logo--abb { --src: url(media/logos/abb.svg); --r: 2.52; --w: 56px; }
.logo--kuka { --src: url(media/logos/kuka.svg); --r: 5.84; --w: 88px; }
.logo--yaskawa { --src: url(media/logos/yaskawa.svg); --r: 5.52; --w: 96px; }
.logo--hydrofoamer { --src: url(media/logos/hydrofoamer.png); --r: 4.37; --w: 132px; }
.logo--marinemetals { --src: url(media/logos/marinemetals.svg); --r: 4.09; --w: 132px; }
.logo--niesternsander { --src: url(media/logos/niesternsander.png); --r: 6.21; --w: 150px; }
@supports not ((mask-image: none) or (-webkit-mask-image: none)) {
    .logo { width: auto; aspect-ratio: auto; background: none; }
    .logo::before { content: attr(aria-label); font-weight: 700; text-transform: uppercase; }
}

/* ---------- secties ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .8); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .78); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; max-width: none; }
.section-head--split .lead { margin-top: 0; }
.section-foot { margin-top: 40px; }

/* ---------- flexibele automatisering ---------- */
.flex-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "intro demo" "steps demo";
    grid-template-rows: auto 1fr;
    gap: 28px clamp(32px, 5vw, 64px);
}
.flex-intro { grid-area: intro; }
.flex-intro h2 { margin-bottom: 18px; }
.flex-steps { grid-area: steps; display: grid; gap: 4px; align-content: start; }
.flex-steps li {
    display: grid; grid-template-columns: 36px 1fr; gap: 14px;
    padding: 14px 16px; margin-inline: -16px;
    border: 1px solid transparent; border-radius: var(--radius);
    transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.flex-steps li.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.flex-step-num {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid #C5D3E8; background: #fff;
    font-size: .9375rem; font-weight: 700; color: var(--primary);
    transition: background-color .35s, color .35s, border-color .35s;
}
.flex-steps li.is-active .flex-step-num { background: var(--primary); border-color: var(--primary); color: #fff; }
.flex-steps h3 { margin-bottom: 3px; font-size: 1.0625rem; }
.flex-steps p { font-size: .96875rem; line-height: 1.55; color: var(--muted); }

.demo {
    grid-area: demo; align-self: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.demo-stage {
    position: relative; aspect-ratio: 16 / 11; overflow: hidden;
    background: radial-gradient(120% 90% at 55% 40%, #F7F9FC 0%, #EEF2F7 60%, #E6EBF2 100%);
}
.demo-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; display: block;
    cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .6s;
}
.demo-canvas.is-dragging { cursor: grabbing; }
.demo-stage.is-ready .demo-canvas { opacity: 1; }
.demo-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-stage.is-ready .demo-poster { opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.demo-hud { position: absolute; z-index: 2; pointer-events: none; }
.demo-hud--tr { top: 14px; right: 14px; display: flex; gap: 8px; }
.demo-hud--bl { left: 14px; right: 14px; bottom: 14px; }
.demo-stat {
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid rgba(15, 23, 42, .08);
}
.demo-live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: live-pulse 1.8s infinite; }
.demo-stage.is-paused .demo-live-dot { background: #94A3B8; animation: none; }
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
    70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.demo-stat { display: flex; flex-direction: column; align-items: flex-end; padding: 5px 12px 6px; border-radius: 10px; }
.demo-stat-num { font-size: 1.125rem; font-weight: 700; line-height: 1.15; color: var(--primary); font-variant-numeric: tabular-nums; }
.demo-stat-lbl { font-size: .75rem; letter-spacing: .04em; color: var(--muted); }
.demo-status {
    display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 8px 14px; border-radius: 10px;
    background: rgba(10, 22, 40, .84); color: #fff;
    font-size: .875rem; line-height: 1.4;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.demo-fallback { display: none; }
.demo.is-failed .demo-fallback {
    display: block; position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
    padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .94);
    font-size: .875rem; color: var(--muted);
}
.demo.is-failed .demo-hud, .demo.is-failed .demo-buttons { display: none; }

.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.demo-buttons { display: flex; gap: 8px; flex: none; }
.demo-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px;
    background: #fff; color: var(--ink); font-size: .875rem; font-weight: 700; cursor: pointer;
    transition: border-color .2s, color .2s;
}
.demo-btn:hover { border-color: var(--primary); color: var(--primary); }
.demo-btn .icon { width: 16px; height: 16px; }
.demo-btn--icon { width: 40px; padding: 0; }
.demo-caption { font-size: .8125rem; color: var(--faint); }
.demo-caption a { color: inherit; }
.demo-foot-stats { display: none; font-size: .875rem; color: var(--muted); }
.demo-foot-stats b { color: var(--primary); font-variant-numeric: tabular-nums; }

.compare {
    margin-top: clamp(44px, 6vw, 72px);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.compare-row { display: grid; grid-template-columns: minmax(160px, .75fr) 1fr 1fr; }
.compare-row > * { padding: 16px 24px; border-top: 1px solid var(--line); }
.compare-head > * { padding-block: 18px; border-top: 0; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.compare-row > :nth-child(1) { font-weight: 700; color: var(--ink); }
.compare-row > :nth-child(2) { color: var(--muted); }
.compare-row > :nth-child(3) { position: relative; padding-left: 54px; background: #F3F7FE; color: var(--ink); }
.compare-head > :nth-child(3) { padding-left: 24px; color: var(--primary); }
.compare-row:not(.compare-head) > :nth-child(3)::before {
    content: ""; position: absolute; left: 22px; top: 18px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- diensten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
    position: relative; display: flex; flex-direction: column; gap: 12px;
    padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .2s, box-shadow .2s, transform .25s var(--ease);
}
.card:hover { border-color: #C5D3E8; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card:has(.card-link:focus-visible) { box-shadow: 0 0 0 3px var(--accent); }
.card-icon {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px;
    border-radius: 12px; background: #EAF1FC; color: var(--primary);
}
.card-icon .icon { width: 24px; height: 24px; }
.card p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.card-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px;
    font-size: .96875rem; font-weight: 700; color: var(--accent-text); text-decoration: none;
}
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-link .icon { transition: transform .2s var(--ease); }
.card:hover .card-link .icon, .case-card:hover .card-link .icon { transform: translateX(3px); }
.card--featured { background: var(--navy-900); border-color: var(--navy-900); }
.card--featured:hover { border-color: var(--navy-900); }
.card--featured h3 { color: #fff; }
.card--featured p { color: rgba(255, 255, 255, .8); }
.card--featured .card-icon { background: rgba(66, 143, 231, .18); color: #BFD6F6; }
.card--featured .card-link { color: #9DC3F5; }
.card-badge {
    position: absolute; top: 26px; right: 26px; padding: 4px 10px; border-radius: 999px;
    background: var(--accent); color: var(--navy-950);
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.card-price { color: #fff !important; }
.card-price strong { font-size: 1.5rem; letter-spacing: -0.01em; }

/* ---------- projecten ---------- */
.case-feature {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.case-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.case-feature-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.case-meta { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.case-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.case-feature p { color: var(--muted); }
.case-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.case-figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 12px 14px; border-radius: 10px; background: var(--tint); }
.case-figures dd { font-size: 1.375rem; font-weight: 700; line-height: 1.2; color: var(--primary); white-space: nowrap; }
.case-figures dt { font-size: .8125rem; color: var(--muted); }
.quote { padding: 2px 0 2px 18px; border-left: 3px solid var(--accent); }
.quote p { font-size: 1.0625rem; font-style: italic; font-weight: 400; line-height: 1.55; color: var(--ink); }
.quote footer { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.quote footer strong { color: var(--ink); }
.case-feature .btn { align-self: flex-start; margin-top: 4px; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.case-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .2s, box-shadow .2s, transform .25s var(--ease);
}
.case-card:hover { border-color: #C5D3E8; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-card:has(.card-link:focus-visible) { box-shadow: 0 0 0 3px var(--accent); }
.case-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-card img[src*="pitbeton"] { object-position: 50% 38%; }
.case-card img[src*="vision-dashboard"] { border-bottom: 1px solid var(--line); }
.case-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 28px 28px; }
.case-card-body p:not(.case-meta) { color: var(--muted); }

/* ---------- werkwijze: vijf processtappen ---------- */
.process-phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.process-phase { grid-column: 1 / span 4; padding-top: 10px; border-top: 2px solid var(--accent); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-on-dark); }
.process-phase--service { grid-column: 5; border-top-color: var(--accent-on-dark); }
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.process-step { display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.process-media { position: relative; }
.process-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px 15px 0 0; background: #0D1D36; }
.process-step:not(:last-child) .process-media::after {
    content: ""; position: absolute; z-index: 1; top: 50%; right: -23px; width: 30px; height: 30px; margin-top: -15px;
    border: 1px solid rgba(140, 184, 242, .35); border-radius: 50%; background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CB8F2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.process-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.process-num { margin-bottom: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--accent-on-dark); font-variant-numeric: tabular-nums; }
.process-body h3 { margin-bottom: 8px; font-size: 1.0625rem; color: #fff; }
.process-body > p:not(.process-num) { font-size: .9375rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.process-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.process-tags li { padding: 4px 9px; border-radius: 999px; background: rgba(140, 184, 242, .12); font-size: .8125rem; line-height: 1.35; color: #D2E3FA; }

/* ---------- sectoren ---------- */
.sector-grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: clamp(300px, 30vw, 400px) clamp(250px, 23vw, 300px); gap: 16px;
}
.sector {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    grid-column: span 3; border-radius: var(--radius-lg); background: var(--navy-900); color: #fff;
}
.sector--xl { grid-column: span 7; }
.sector--lg { grid-column: span 5; }
.sector img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sector::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0) 30%, rgba(10, 22, 40, .38) 55%, rgba(10, 22, 40, .9) 100%);
}
.sector-body { display: grid; justify-items: start; gap: 4px; padding: clamp(18px, 2vw, 26px); }
.sector h3 { color: #fff; font-size: 1.3125rem; }
.sector--xl h3 { font-size: clamp(1.5rem, 2.3vw, 2.125rem); }
.sector--lg h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); }
.sector p { font-size: .9375rem; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.sector-tag {
    margin-bottom: 8px; padding: 4px 11px; border-radius: 999px;
    background: rgba(10, 22, 40, .55); border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.sector-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .9375rem; font-weight: 700; color: #fff; text-decoration: none; }
.sector-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.sector-link:focus-visible { outline: none; }
.sector-link .icon { transition: transform .2s var(--ease); }
.sector:has(.sector-link):hover img { transform: scale(1.05); }
.sector:has(.sector-link):hover .sector-link .icon { transform: translateX(3px); }
.sector:has(.sector-link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- over ons ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.about-body h2 { margin-bottom: 18px; }
.about-body > p:not(.eyebrow):not(.lead) { margin-top: 16px; color: var(--muted); }
.about-kicker { margin: 28px 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.about-drivers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.about-drivers li { display: flex; align-items: flex-start; gap: 14px; }
.about-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--accent-text); }
.about-icon .icon { width: 22px; height: 22px; stroke-width: 1.7; }
.about-drivers h3 { margin-bottom: 4px; font-size: 1.0625rem; line-height: 1.3; }
.about-drivers p { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.about-partner { display: flex; align-items: center; gap: 20px; margin: 28px 0 30px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.about-partner img { flex: none; width: 116px; height: auto; }
.about-partner p { font-size: .9375rem; line-height: 1.55; color: var(--text); }

/* ---------- faq ---------- */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
    display: flex; justify-content: space-between; gap: 24px; padding: 20px 0;
    font-size: 1.0625rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; flex: none; width: 24px; text-align: center;
    font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--accent-text); transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--primary); }
.faq-list details p { max-width: 62ch; padding-bottom: 22px; color: var(--muted); }

/* ---------- visionpagina ---------- */
.page-hero.vision-hero { padding: clamp(40px, 6vw, 80px) 0; background: linear-gradient(135deg, var(--navy-900) 0%, #0D1E4F 58%, var(--primary) 135%); border-bottom: 0; color: rgba(255, 255, 255, .82); }
.vision-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.vision-hero h1 { color: #fff; }
.vision-hero .lead { color: rgba(255, 255, 255, .8); }
.vision-hero .breadcrumb ol { color: rgba(255, 255, 255, .72); }
.vision-hero .breadcrumb a { color: var(--accent-on-dark); }
.vision-hero .breadcrumb li + li::before { color: rgba(255, 255, 255, .45); }
.vision-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .9375rem; color: rgba(255, 255, 255, .88); }
.vision-proof li { display: flex; align-items: center; gap: 8px; }
.vision-proof .icon { color: var(--accent-on-dark); }
.vision-live { position: relative; }
.vision-live-screen { overflow: hidden; background: var(--navy-950); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65); }
.vision-live-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .88); }
.vision-live-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vision-live-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .22); animation: live-pulse 2s ease-in-out infinite; }
.vision-live-legend { display: flex; gap: 16px; }
.vision-live-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vision-live-legend span::before { content: ""; width: 10px; height: 10px; border: 2px solid; border-radius: 3px; }
.vision-live-legend .is-ok::before { border-color: #22C55E; }
.vision-live-legend .is-nok::before { border-color: #EF4444; }
.vision-live-screen img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.vision-live-alert { position: absolute; left: -28px; bottom: 64px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .875rem; line-height: 1.35; color: var(--muted); }
.vision-live-alert strong { display: block; font-size: .9375rem; color: var(--ink); }
.vision-live-alert-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #FEE2E2; color: #DC2626; }
.vision-live-alert-icon .icon { width: 22px; height: 22px; }
.vision-live figcaption { margin-top: 12px; font-size: .8125rem; color: rgba(255, 255, 255, .66); }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.vision-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.vision-how h2 { margin-bottom: 24px; }
.vision-steps li { margin-inline: 0; background: #fff; border-color: var(--line); }
.vision-figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.vision-figure figcaption { margin-top: 12px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.vision-figure--photo { justify-self: center; width: 100%; max-width: 317px; }
.vision-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vision-compare-col { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.vision-compare-col h3 { margin-bottom: 18px; font-size: 1.1875rem; }
.vision-compare-col ul { display: grid; gap: 14px; }
.vision-compare-col li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; color: var(--muted); }
.vision-compare-col .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--faint); }
.vision-compare-col--camera { border-color: #C5D3E8; box-shadow: var(--shadow-md); }
.vision-compare-col--camera li { color: var(--ink); }
.vision-compare-col--camera .icon { color: var(--primary); }
.vision-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 88px); align-items: start; }
.vision-faq .section-head { margin-bottom: 0; }
.vision-faq .lead a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.vision-faq .lead a:hover { text-decoration: underline; }
.batch-timeline { --label-w: 170px; --gap: 28px; margin-bottom: 20px; padding: 26px 32px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.bt-row { display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); gap: var(--gap); align-items: center; padding-top: 34px; }
.bt-row + .bt-row { margin-top: 12px; }
.bt-label { font-weight: 700; line-height: 1.25; color: var(--ink); }
.bt-track { position: relative; height: 14px; border-radius: 7px; background: #E2E8F0; }
.bt-bad { position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from)); min-width: 6px; border-radius: 7px; background: repeating-linear-gradient(135deg, #EF4444 0 6px, #F87171 6px 12px); transform-origin: left center; }
.bt-flag { position: absolute; bottom: calc(100% + 10px); font-size: .875rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.bt-flag::after { content: ""; position: absolute; top: calc(100% + 2px); width: 2px; height: 22px; border-radius: 1px; background: currentColor; }
.bt-flag--late { right: calc(100% - var(--at)); color: #B91C1C; }
.bt-flag--late::after { right: 0; }
.bt-flag--now { left: var(--at); color: var(--primary); }
.bt-flag--now::after { left: 0; }
.bt-axis { position: relative; display: flex; justify-content: space-between; margin: 12px 0 0 calc(var(--label-w) + var(--gap)); font-size: .8125rem; color: var(--faint); }
.bt-origin { position: absolute; left: var(--at); transform: translateX(-50%); font-weight: 700; color: #B91C1C; }
.batch-timeline figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.reveal-ready .batch-timeline .bt-bad { transform: scaleX(0); transition: transform 1s var(--ease) .35s; }
.reveal-ready .batch-timeline.is-visible .bt-bad { transform: none; }
.reveal-ready .batch-timeline .bt-flag, .reveal-ready .batch-timeline .bt-origin { opacity: 0; transition: opacity .5s ease 1.1s; }
.reveal-ready .batch-timeline.is-visible .bt-flag, .reveal-ready .batch-timeline.is-visible .bt-origin { opacity: 1; }
.vision-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 20px; padding: 22px 28px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.vision-cta p { color: var(--muted); }
.vision-cta strong { color: var(--ink); }
.contact-steps { display: grid; gap: 12px; margin-top: 26px; }
.contact-steps li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .86); }
.contact-steps span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(140, 184, 242, .5); border-radius: 50%; font-size: .8125rem; font-weight: 700; color: #fff; }

/* ---------- FAQ-pagina ---------- */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.08; }
.page-hero .lead { max-width: 60ch; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.breadcrumb a { color: var(--accent-text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 700; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.faq-cats a:hover { border-color: var(--primary); color: var(--primary); }
.faq-page { padding-top: clamp(40px, 5vw, 64px); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { margin-bottom: 18px; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.faq-list details p a { color: var(--accent-text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.faq-list details p a:hover { text-decoration: underline; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-card { padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-900) 0%, #0D1E4F 70%, var(--primary) 140%); color: rgba(255, 255, 255, .82); }
.faq-card h2 { margin-bottom: 10px; font-size: 1.5rem; color: #fff; }
.faq-card-list { display: grid; gap: 12px; margin: 22px 0 26px; }
.faq-card-list li { display: flex; align-items: center; gap: 12px; }
.faq-card-list .icon { width: 20px; height: 20px; color: var(--accent-on-dark); }
.faq-card-list a { color: #fff; font-weight: 700; text-decoration: none; }
.faq-card-list a:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(135deg, var(--navy-900) 0%, #0D1E4F 58%, var(--primary) 135%); color: rgba(255, 255, 255, .82); }
.contact h2 { margin-bottom: 16px; color: #fff; }
.contact .lead { color: rgba(255, 255, 255, .82); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 34px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.0625rem; color: #fff; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-on-dark); }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span a { font-size: .9375rem; color: var(--accent-on-dark); }
.contact-faq { margin-top: 26px; font-size: .9375rem; color: rgba(255, 255, 255, .82); }
.contact-faq a { font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.contact-faq a:hover { text-decoration-color: #fff; }
.contact-map { margin-top: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: #0D1D36; }
.contact-map.is-failed { display: none; }
.contact-map-canvas { height: 250px; background: #0D1D36; }
.contact-map .leaflet-container { background: #0D1D36; font-family: var(--font); }
.contact-map .leaflet-tile-pane { filter: grayscale(1) invert(1) sepia(1) hue-rotate(180deg) saturate(1.8) brightness(.72) contrast(1.05); }
.contact-map .leaflet-container .leaflet-control-attribution { background: rgba(10, 22, 40, .78); color: rgba(255, 255, 255, .78); }
.contact-map .leaflet-control-attribution a { color: #fff; }
.contact-map .leaflet-bar { border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; }
.contact-map .leaflet-bar a { background: rgba(10, 22, 40, .9); color: #fff; border-bottom-color: rgba(255, 255, 255, .15); }
.contact-map .leaflet-bar a:hover { background: var(--primary); color: #fff; }
.map-pin { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(66, 143, 231, .3), 0 6px 14px rgba(0, 0, 0, .45); }
.map-pin::after { content: ""; position: absolute; inset: -10px; border: 2px solid var(--accent); border-radius: 50%; animation: map-pulse 2.4s ease-out infinite; }
.map-chip { position: absolute; left: 20px; top: -21px; display: grid; gap: 1px; padding: 7px 11px; border-radius: 9px; background: #fff; color: var(--muted); font-size: 12px; line-height: 1.3; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.map-chip strong { font-size: 13px; color: var(--ink); }
@keyframes map-pulse { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

.form-card { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.contact-form { display: grid; gap: 18px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .cf-turnstile { min-height: 65px; }
.form-error { padding: 12px 14px; border: 1px solid #FECACA; border-radius: 10px; background: #FEF2F2; font-size: .9375rem; color: #991B1B; }
.form-error a { font-weight: 700; color: inherit; }
.anchor-alias { position: relative; top: 0; display: block; height: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--faint); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 12px 14px;
    border: 1px solid var(--field); border-radius: 10px; background: #fff;
    font: inherit; font-size: 1rem; color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
    appearance: none; padding-right: 42px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field ::placeholder { color: var(--faint); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 25, 147, .2); }
.field.has-error input { border-color: #B91C1C; box-shadow: 0 0 0 3px rgba(185, 28, 28, .12); }
.field-error { font-size: .875rem; color: #B91C1C; }
.form-note { font-size: .875rem; text-align: center; color: var(--faint); }
.form-success { padding: 36px 8px; text-align: center; }
.form-success:focus { outline: none; }
.form-success-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: #DCFCE7; color: #15803D; }
.form-success-icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.form-success h3 { margin-bottom: 8px; font-size: 1.5rem; }
.form-success p { color: var(--muted); }
.form-success .form-note { margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { padding-top: 64px; background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .96875rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-tagline { margin-bottom: 6px; font-weight: 700; color: #fff; }
.footer-col h2 { margin-bottom: 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col address { font-style: normal; line-height: 1.85; }
.footer-col address + p { margin-top: 12px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-block: 20px;
    /* scheidingslijn alleen over de inhoudsbreedte, niet over de zijmarge */
    background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
    font-size: .875rem; color: rgba(255, 255, 255, .62);
}
.footer-bottom ul { display: flex; gap: 24px; }

/* ---------- mobiele actiebalk ---------- */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: none; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 16px; }

/* ---------- onthullen bij scrollen (alleen als het script draait) ---------- */
.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- responsief ---------- */
@media (max-width: 1100px) {
    .process-phases { display: none; }
    .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .process-step:not(:last-child) .process-media::after { display: none; }
    .header-actions .header-link { display: none; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .vision-how, .vision-faq, .vision-hero-grid { grid-template-columns: 1fr; }
    .vision-live { max-width: 560px; }
    .vision-live-alert { left: auto; right: 16px; bottom: 48px; }
    .flex-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "demo" "steps"; grid-template-rows: none; }
    .flex-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
    .case-feature { grid-template-columns: 1fr; }
    .case-feature-media img { aspect-ratio: 16 / 10; height: auto; }
    .about, .contact-grid { grid-template-columns: 1fr; }
    .about-media img { aspect-ratio: 16 / 11; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-aside { position: static; }
    .section-head--split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-text { grid-column: 1; padding: 48px var(--gutter) 40px; }
    .hero-media { grid-column: 1; min-height: 0; aspect-ratio: 16 / 10; }
    .hero-media::after { background: linear-gradient(0deg, rgba(10, 22, 40, .8) 0%, rgba(10, 22, 40, 0) 40%); }
    .hero-caption { left: var(--gutter); right: var(--gutter); bottom: 16px; }
}

@media (max-width: 760px) {
    .vision-compare { grid-template-columns: 1fr; }
    .batch-timeline { --label-w: 0px; --gap: 0px; padding: 22px 18px 18px; }
    .bt-row { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
    .bt-row + .bt-row { margin-top: 22px; }
    .bt-track { margin-top: 36px; }
    .bt-more { display: none; }
    .vision-cta { padding: 20px; }
    .vision-cta .btn { width: 100%; }
    .vision-live-bar { font-size: .75rem; }
    .process { grid-template-columns: 1fr; gap: 14px; }
    .process-step { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); align-items: start; }
    .process-media { padding: 14px 0 14px 14px; }
    .process-media img { border-radius: 10px; }
    .process-body { padding: 12px 14px 16px; }
    .mobile-cta { display: flex; }
    .clients-inner { flex-direction: column; gap: 16px; padding-block: 24px; }
    .clients-label { max-width: none; }
    .client-band { width: 100%; }
    .client-track { animation-duration: 30s; }
    .client-list { gap: 40px; padding-right: 40px; }
    .client-list .logo { width: calc(var(--w) * .72); }
    .brands { flex-direction: column; gap: 14px; }
    .brand-list { gap: 16px 28px; }
    .brand-list .logo { width: calc(var(--w) * .8); }
    .cards, .case-grid { grid-template-columns: 1fr; }
    .flex-steps { grid-template-columns: 1fr; }
    .flex-steps li { margin-inline: 0; }
    .form-row { grid-template-columns: 1fr; }
    .case-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .case-figures div { padding: 10px; }
    .case-figures dd { font-size: 1.125rem; }
    .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; }
    .sector { grid-column: span 1; aspect-ratio: 1 / 1.05; }
    .sector--xl, .sector--lg { grid-column: span 2; aspect-ratio: 16 / 10; }
    .sector:not(.sector--xl):not(.sector--lg) p { display: none; }
    .sector:not(.sector--xl):not(.sector--lg) h3 { font-size: 1.0625rem; }
    .sector-body { padding: 14px 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .demo-stage { aspect-ratio: 4 / 3.2; }
    .demo-foot { flex-wrap: wrap; padding-inline: 14px; }
    .demo-caption, .demo-hud--tr { display: none; }
    .demo-foot-stats { display: inline; white-space: nowrap; }
    .demo-buttons { margin-left: auto; }

    .compare-head { display: none; }
    .compare-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; border-top: 1px solid var(--line); }
    .compare-row:nth-child(2) { border-top: 0; }
    .compare-row > * { padding: 0; border-top: 0; }
    .compare-row > :nth-child(1) { margin-bottom: 4px; }
    .compare-row > :nth-child(2), .compare-row > :nth-child(3) { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; font-size: .96875rem; }
    .compare-row > :nth-child(2) { background: var(--tint); }
    .compare-row > :nth-child(2)::before,
    .compare-row:not(.compare-head) > :nth-child(3)::before {
        content: attr(data-label); position: static; width: auto; height: auto; border-radius: 0; background: none;
        font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
    }
    .compare-row:not(.compare-head) > :nth-child(3)::before { color: var(--primary); }
}

@media (max-width: 560px) {
    :root { --header-h: 64px; }
    .brand img { height: 40px; }
    .header-cta { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .about-drivers { grid-template-columns: 1fr; gap: 16px; }
    .about-partner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .demo-hud--tr .demo-stat { padding: 4px 9px 5px; }
    .demo-stat-num { font-size: 1rem; }
    .demo-status { font-size: .8125rem; padding: 7px 11px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-ready .reveal, .reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; transition: none; }
    .demo-live-dot, .map-pin::after, .vision-live-badge::before { animation: none; }
    .reveal-ready .batch-timeline .bt-bad { transform: none; transition: none; }
    .reveal-ready .batch-timeline .bt-flag, .reveal-ready .batch-timeline .bt-origin { opacity: 1; transition: none; }
    .btn .icon, .card, .case-card, .main-nav a::after { transition: none; }
    .card:hover, .case-card:hover { transform: none; }
    /* geen bewegende band: één lijst die over meerdere regels loopt */
    .client-band { -webkit-mask: none; mask: none; }
    .client-track { width: auto; animation: none; }
    .client-list { flex: 1; flex-wrap: wrap; justify-content: center; gap: 18px 36px; padding-right: 0; }
    .client-list[aria-hidden] { display: none; }
}

/* ---------- privacyverklaring ---------- */
.juridisch-inner { max-width: 760px; }
.juridisch-datum { margin-bottom: 28px; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.juridisch h2 { margin: 44px 0 14px; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.juridisch h2:first-of-type { margin-top: 0; }
.juridisch h3 { margin: 26px 0 8px; font-size: 1.125rem; }
.juridisch p { margin-bottom: 12px; color: var(--text); }
.juridisch a { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(29, 95, 184, .35); text-underline-offset: 3px; }
.juridisch a:hover { text-decoration-color: currentColor; }
.juridisch-adres { margin: 14px 0 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); font-style: normal; line-height: 1.75; }
.juridisch-tabel { width: 100%; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .9375rem; }
.juridisch-tabel th, .juridisch-tabel td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.juridisch-tabel th { border-top: 0; background: var(--tint); font-weight: 700; color: var(--ink); }
.juridisch-tabel td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 700px) {
    .juridisch-tabel { display: block; overflow-x: auto; }
    .juridisch-tabel td:first-child { white-space: normal; }
}
.footer-kvk { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .2); }
