/* ============================================================
   Clarum Consillium — main.css  (v2: licht met donkere punch)
   Witte basis; hero/CTA/footer donker. Accent: cyaan → violet.
   ============================================================ */

@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-var.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* licht (basis) */
  --bg: #FFFFFF;
  --bg-2: #F4F7FB;
  --panel: #FFFFFF;
  --line: #E3E9F2;
  --text: #0E1626;
  --muted: #4B5A72;
  --accent: #0891B2;           /* cyaan, donker genoeg op wit */
  --cyan: #22D3EE;
  --violet: #8B5CF6;
  --grad: linear-gradient(100deg, #22D3EE 0%, #6D8CFA 55%, #8B5CF6 100%);
  --radius: 18px;
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --shadow: 0 18px 44px rgba(14, 22, 38, .10);
  --maxw: 1220px;
  /* donker (voor .is-dark scopes) */
  --ink: #070B14;
  --ink-2: #0C1220;
}

/* Donkere zones: hero, CTA-band, footer, mobiel menu */
.is-dark {
  --bg: var(--ink);
  --bg-2: var(--ink-2);
  --panel: #101828;
  --line: rgba(148, 163, 184, .18);
  --text: #E7ECF5;
  --muted: #A9B4C9;
  --accent: #22D3EE;
  --shadow: 0 20px 60px rgba(2, 8, 23, .55);
  background: var(--ink);
  color: var(--text);
}

/* Vloeiende overgangen tussen pagina's (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-uit .18s ease both; }
::view-transition-new(root) { animation: vt-in .26s ease both; }
@keyframes vt-uit { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Donker thema ---------- */
html[data-thema="donker"] {
  --bg: #0B1120; --bg-2: #0E1626; --panel: #121B2E; --line: rgba(148, 163, 184, .17);
  --text: #E7ECF5; --muted: #A9B4C9; --accent: #22D3EE;
  --shadow: 0 20px 56px rgba(2, 8, 23, .5);
  color-scheme: dark;
}
html[data-thema="donker"] .site-header { background: rgba(11, 17, 32, .82); }
html[data-thema="donker"] .mobile-menu, html[data-thema="donker"] .mobiel-cta { background: #0B1120; }
html[data-thema="donker"] .hero { background: linear-gradient(180deg, #0C1322 0%, #0B1120 100%); }
html[data-thema="donker"] .hero::before { background-image: radial-gradient(rgba(231, 236, 245, .1) 1px, transparent 1.4px); }
html[data-thema="donker"] .page-hero { background: linear-gradient(180deg, #0E1626 0%, #0B1120 100%); }
html[data-thema="donker"] .grad-text { background: linear-gradient(100deg, #22D3EE 0%, #6D8CFA 40%, #8B5CF6 60%, #22D3EE 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; }
html[data-thema="donker"] .circuit-basis { stroke: #E7ECF5; opacity: .07; }
html[data-thema="donker"] .ct-stap, html[data-thema="donker"] .rn-bol { background: #0E1626; }
html[data-thema="donker"] .form-field input, html[data-thema="donker"] .form-field textarea, html[data-thema="donker"] .bouwer-chip, html[data-thema="donker"] .filter-zoek input { background: #0E1626; }
html[data-thema="donker"] .bouwer-canvas { background: linear-gradient(180deg, #0E1626, #0B1120); }
html[data-thema="donker"] .compare-col--old { background: rgba(220, 38, 38, .07); border-color: rgba(220, 38, 38, .3); }
html[data-thema="donker"] .bouwer-chip.niet { background: rgba(220, 38, 38, .12); }
html[data-thema="donker"] .float-card, html[data-thema="donker"] .mini-chip, html[data-thema="donker"] .foto-badge { background: rgba(18, 27, 46, .94); border-color: rgba(148, 163, 184, .2); color: var(--text); }
html[data-thema="donker"] .foto-duo .foto-card--klein { border-color: #0B1120; }
html[data-thema="donker"] .rn-stap.actief .rn-bol { background: rgba(99, 102, 241, .16); }
html[data-thema="donker"] .rn-stap.klaar .rn-bol { background: rgba(16, 185, 129, .13); }
html[data-thema="donker"] .step::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
html[data-thema="donker"] .fc-besparing .fc-bedrag, html[data-thema="donker"] .rekentool-regel--groot strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
html[data-thema="donker"] .btn--ghost { background: rgba(255, 255, 255, .03); }
html[data-thema="donker"] .foto-card::after { border-color: rgba(148, 163, 184, .15); }

.thema-knop {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 40px; height: 40px; padding: 9px; cursor: pointer; color: var(--muted);
  display: grid; place-items: center; transition: color .18s, border-color .18s, transform .18s;
  flex: none;
}
.thema-knop:hover { color: var(--accent); border-color: var(--accent); transform: rotate(15deg); }
.thema-knop svg { width: 19px; height: 19px; }
.thema-knop .ik-maan { display: block; }
.thema-knop .ik-zon { display: none; }
html[data-thema="donker"] .thema-knop .ik-maan { display: none; }
html[data-thema="donker"] .thema-knop .ik-zon { display: block; }
@media (max-width: 980px) { .thema-knop { margin-left: auto; } .nav-toggle { margin-left: 0; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
h1, h2, h3 { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
:focus-visible { outline: 3px solid rgba(99, 102, 241, .55); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1.1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #06121A; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
::selection { background: rgba(34, 211, 238, .3); }

/* ---------- Tekst-helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 500; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.grad-text { background: linear-gradient(100deg, #0891B2 0%, #4F46E5 40%, #7C3AED 60%, #0891B2 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradshift 7s ease-in-out infinite alternate; }
.is-dark .grad-text { background: linear-gradient(100deg, #22D3EE 0%, #6D8CFA 40%, #8B5CF6 60%, #22D3EE 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradshift 7s ease-in-out infinite alternate; }
@keyframes gradshift { to { background-position: 100% 0; } }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .kicker { justify-content: center; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap; text-decoration: none !important;
}
.btn--primary { background: linear-gradient(100deg, #0EA5C9 0%, #6366F1 60%, #8B5CF6 100%); color: #fff; box-shadow: 0 10px 26px rgba(79, 70, 229, .30); position: relative; overflow: hidden; }
.btn--primary::after { content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124, 58, 237, .38); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.06rem; }

/* ---------- Header (licht, glas) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(14, 22, 38, .08); }
.nav { display: flex; align-items: center; gap: 2rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none !important; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: var(--text); }
.brand-word-2 { font-weight: 500; color: var(--muted); margin-left: .28rem; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .98rem; padding: .35rem 0; position: relative; text-decoration: none !important; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--grad); border-radius: 2px; transition: right .25s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--text); }
.brand .logo-mark { transition: transform .3s ease; }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.nav-cta { flex: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; padding: 8px; cursor: pointer; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: #fff; color: var(--text);
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 74px; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.mobile-menu-close { background: none; border: 0; color: var(--text); width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 2rem; }
.mobile-menu nav a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--text); padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none !important; }

/* ---------- Hero (LICHT met aurora + dot-grid, volledige eerste vouw) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F6F9FD 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line);
  min-height: min(820px, calc(100svh - 74px));
  display: flex; align-items: center;
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
}
.hero > .container { width: 100%; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 22, 38, .07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(720px 480px at 30% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(720px 480px at 30% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: aurora 16s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(1) { width: 540px; height: 420px; left: -8%; top: -18%; background: rgba(34, 211, 238, .32); }
.hero-aurora span:nth-child(2) { width: 620px; height: 480px; right: -12%; top: 4%; background: rgba(139, 92, 246, .26); animation-delay: -6s; }
.hero-aurora span:nth-child(3) { width: 420px; height: 360px; left: 34%; bottom: -34%; background: rgba(109, 140, 250, .24); animation-delay: -11s; }
@keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(46px, 28px) scale(1.12); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.5rem; align-items: center; }
.hero .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.3rem; font-size: .92rem; color: var(--muted); }
.hero-note strong { color: var(--text); font-weight: 600; }

/* ---------- Hero-compositie: foto + levende besparingskaarten ---------- */
.hero-compo { position: relative; max-width: 460px; margin-left: auto; }
.hero-foto { border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(14, 22, 38, .22); position: relative; }
.hero-foto::after { content: ''; position: absolute; inset: 0; border-radius: 26px; border: 1px solid rgba(14, 22, 38, .08); pointer-events: none; }
.hero-foto img { display: block; width: 100%; height: auto; }
.float-card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 22, 38, .07); border-radius: 16px; padding: .9rem 1.1rem;
  box-shadow: 0 16px 40px rgba(14, 22, 38, .18);
  animation: nfloat 6s ease-in-out infinite alternate;
}
.fc-besparing { top: 7%; right: -9%; min-width: 205px; }
.fc-besparing .fc-label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.fc-besparing .fc-bedrag { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; line-height: 1.2; background: linear-gradient(100deg, #0891B2, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-besparing .fc-sub { font-size: .78rem; color: #059669; font-weight: 600; }
.spark { display: block; margin-top: .3rem; }
.spark-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: sparkdraw 1.8s ease-out .6s forwards; }
@keyframes sparkdraw { to { stroke-dashoffset: 0; } }
.fc-feed { bottom: 9%; left: -11%; width: 250px; animation-delay: -2.6s; display: flex; gap: .7rem; align-items: flex-start; }
.fc-feed .dot { flex: none; width: 10px; height: 10px; margin-top: .4rem; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); animation: pulsdot 2s ease-out infinite; }
.fc-feed .fc-label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); display: block; }
.fc-feed .feed-item { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--text); display: block; min-height: 2.5em; }
.fc-taken { top: 47%; right: -6%; animation-delay: -4s; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--text); display: flex; align-items: center; gap: .5rem; padding: .6rem .95rem; }
.fc-taken .bliksem { color: #F59E0B; }
.fc-taken strong { color: #0891B2; }
.compo-note { margin-top: 2.4rem; font-size: .78rem; color: var(--muted); text-align: right; }
@media (max-width: 980px) {
  .hero-compo { margin: 0 auto; }
  .fc-besparing { right: 4%; }
  .fc-feed { left: 4%; }
  .fc-taken { right: 4%; }
  .compo-note { text-align: center; }
}

/* Geanimeerd flow-diagram */
.flow-visual { position: relative; transition: transform .25s ease-out; will-change: transform; }
.flow-svg { width: 100%; filter: drop-shadow(0 26px 44px rgba(14, 22, 38, .16)); }
.flow-ring { animation: spin 30s linear infinite; transform-origin: center; transform-box: fill-box; }
.flow-ring--terug { animation: spin 44s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* lichtstrepen die door de lijnen stromen (pathLength=100 genormaliseerd) */
.streak { stroke-dasharray: 16 84; animation: streamdash 3.4s linear infinite; }
.streak.s2 { animation-delay: .7s; } .streak.s3 { animation-delay: 1.4s; } .streak.s4 { animation-delay: 2.1s; }
.streak.s5 { animation-delay: .35s; } .streak.s6 { animation-delay: 1.05s; } .streak.s7 { animation-delay: 1.75s; } .streak.s8 { animation-delay: 2.45s; }
@keyframes streamdash { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* zwevende nodes + ademende hub */
.n-float { animation: nfloat 5.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.n-float.f2 { animation-delay: -1.4s; } .n-float.f3 { animation-delay: -2.8s; } .n-float.f4 { animation-delay: -4.2s; }
.n-float.f5 { animation-delay: -0.7s; } .n-float.f6 { animation-delay: -2.1s; } .n-float.f7 { animation-delay: -3.5s; } .n-float.f8 { animation-delay: -4.9s; }
@keyframes nfloat { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.hub-adem { animation: hubadem 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hubadem { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.flow-path { stroke-dasharray: 7 9; animation: flowdash 1.6s linear infinite; }
.flow-path--slow { animation-duration: 2.6s; }
@keyframes flowdash { to { stroke-dashoffset: -32; } }
.flow-node-pulse { animation: nodepulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.flow-node-pulse.d2 { animation-delay: .8s; }
.flow-node-pulse.d3 { animation-delay: 1.6s; }
@keyframes nodepulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.14); opacity: .82; } }

/* ---------- Secties (licht) ---------- */
.section { padding: clamp(2.4rem, 4.5vw, 3.8rem) 0; position: relative; background: var(--bg); }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero: circuit-onderlaag (data stroomt door de pagina) ---------- */
.hero-circuit { position: absolute; inset: 0; pointer-events: none; }
.hero-circuit svg { width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.3) 26%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.3) 26%, #000 52%, #000 100%);
}
.circuit-basis { stroke: #0E1626; opacity: .055; }
.circuit-node { fill: #94A3B8; opacity: .35; }
.circuit-streak { stroke-dasharray: 5 95; animation: streamdash 7s linear infinite; opacity: .5; }
.circuit-streak.c2 { animation-duration: 9s; animation-delay: -3s; }
.circuit-streak.c3 { animation-duration: 8s; animation-delay: -5.5s; }
.circuit-streak.c4 { animation-duration: 10s; animation-delay: -1.5s; }

/* ---------- Hero: rollende kopregel ---------- */
.rol-regel { display: block; min-height: 1.15em; }
.rol-woord { display: inline-block; position: relative; }
.rol-woord::after { content: ''; display: inline-block; width: 3px; height: .82em; margin-left: 7px; background: #6366F1; vertical-align: -0.06em; animation: knipper 1.1s steps(1) infinite; border-radius: 1px; }
.rol-woord.rol-uit { animation: roluit .3s ease forwards; }
.rol-woord.rol-in { animation: rolin .34s ease; }
@keyframes roluit { to { opacity: 0; transform: translateY(-16px); } }
@keyframes rolin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* mini tool-chips die om de hero-foto zweven */
.mini-chip {
  position: absolute; z-index: 3;
  font-family: var(--font-head); font-weight: 500; font-size: .78rem;
  background: rgba(255, 255, 255, .95); border: 1px solid rgba(14, 22, 38, .08);
  color: var(--muted); padding: .35rem .75rem; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(14, 22, 38, .13);
  animation: nfloat 5s ease-in-out infinite alternate;
}
.mini-chip.m1 { top: -3%; left: 6%; animation-delay: -1s; }
.mini-chip.m2 { top: 30%; left: -10%; animation-delay: -2.4s; }
.mini-chip.m3 { bottom: 26%; right: -8%; animation-delay: -3.6s; }
@media (max-width: 980px) {
  .mini-chip.m1 { left: 2%; } .mini-chip.m2 { left: 2%; } .mini-chip.m3 { right: 2%; }
}

/* ---------- Hero: anker-chips ---------- */
.anker-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.anker-chips a {
  font-family: var(--font-head); font-weight: 500; font-size: .85rem;
  padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); text-decoration: none !important;
  transition: border-color .15s, color .15s, transform .15s;
}
.anker-chips a:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }

/* ---------- Hero: trust-row ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.trust-item svg { width: 17px; height: 17px; flex: none; stroke: #0891B2; }

/* ---------- Hero: ticker + datapakketjes ---------- */
.hero-ticker { display: inline-flex; align-items: baseline; gap: .45rem; margin-top: 1.1rem; font-size: .95rem; color: var(--muted); }
.hero-ticker .tick-word { font-family: var(--font-head); font-weight: 700; color: var(--accent); display: inline-block; min-width: 11ch; }
.tick-word.wisselt { animation: tickfade .45s ease; }
@keyframes tickfade { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }

/* ---------- Rekentool ---------- */
.rekentool-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.rekentool-veld { margin-bottom: 1.5rem; }
.rekentool-veld label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); font-weight: 500; font-size: .95rem; margin-bottom: .55rem; }
.rekentool-veld output { color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.rekentool input[type="range"] { width: 100%; accent-color: #6366F1; height: 6px; cursor: pointer; }
.rekentool-resultaat { border-top: 1px dashed var(--line); padding-top: 1.4rem; display: grid; gap: 1rem; }
.rekentool-regel { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.rekentool-regel span { color: var(--muted); font-size: .95rem; }
.rekentool-regel strong { font-family: var(--font-head); font-size: 1.35rem; white-space: nowrap; }
.rekentool-regel--groot strong { font-size: clamp(1.7rem, 3vw, 2.3rem); background: linear-gradient(100deg, #0891B2, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rekentool-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Flow-bouwer ---------- */
.bouwer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.bouwer-groep { margin-bottom: 1.3rem; }
.bouwer-groep h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.bouwer-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.bouwer-chip {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  padding: .5rem 1.05rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #FBFCFE; color: var(--muted);
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.bouwer-chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.bouwer-chip.actief { background: linear-gradient(100deg, rgba(34, 211, 238, .14), rgba(139, 92, 246, .14)); border-color: rgba(8, 145, 178, .55); color: var(--text); }
.bouwer-chip.niet { background: #FEF2F2; border-color: rgba(220, 38, 38, .5); color: #B91C1C; }
.bouwer-chip.niet::before { content: '⊘ NIET: '; font-weight: 700; }
.bouwer-op { font-size: .84rem; padding: .4rem .85rem; }
.bouwer-canvas { margin-top: .5rem; border: 1px dashed var(--line); border-radius: 14px; background: linear-gradient(180deg, #F8FAFD, #FFFFFF); min-height: 220px; padding: .6rem; }
.bouwer-canvas svg { width: 100%; height: auto; display: block; }
.bouwer-leeg { color: var(--muted); font-size: .95rem; text-align: center; padding: 4rem 1rem; }
.bouwer-samenvatting { margin-top: 1.1rem; color: var(--muted); font-size: .98rem; }
.bouwer-samenvatting strong { color: var(--text); }
.bouwer-cta { margin-top: 1.2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ---------- Cursor-gloed op kaarten ---------- */
.card { --mx: 50%; --my: 50%; }
.card .card-gloed { content: ''; position: absolute; inset: 0; border-radius: var(--radius); opacity: 0; transition: opacity .25s; pointer-events: none; background: radial-gradient(260px 200px at var(--mx) var(--my), rgba(99, 102, 241, .09), transparent 70%); }
.card:hover .card-gloed { opacity: 1; }

/* ---------- CTA-band: draaiende gradient-rand ---------- */
@property --cc-hoek { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.cta-band { border: none; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1.6px;
  background: conic-gradient(from var(--cc-hoek), #22D3EE, #6D8CFA, #8B5CF6, #22D3EE);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hoekdraai 7s linear infinite; pointer-events: none;
}
@keyframes hoekdraai { to { --cc-hoek: 360deg; } }

/* ---------- De klantreis die zichzelf regelt ---------- */
.klantreis { margin-bottom: 1.4rem; }
.kr-track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); height: 3px; margin: 0 4% 1.1rem; background: var(--line); border-radius: 3px; }
.kr-vul { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #22D3EE, #6D8CFA, #8B5CF6); box-shadow: 0 0 12px rgba(99, 102, 241, .45); transition: width .9s cubic-bezier(.4, 0, .2, 1); }
.kr-dot { justify-self: center; align-self: center; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); z-index: 1; transition: all .35s; }
.kr-dot.aan { background: linear-gradient(135deg, #22D3EE, #8B5CF6); border-color: transparent; box-shadow: 0 0 0 4px rgba(99, 102, 241, .14), 0 0 10px rgba(99, 102, 241, .5); }
.kr-stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
.kr-kaart {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.15rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem;
  box-shadow: 0 4px 16px rgba(14, 22, 38, .05);
  opacity: .88; transform: translateY(4px) scale(.99); filter: saturate(.7);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .8, .3, 1), filter .5s, box-shadow .5s, border-color .5s;
  animation: onthul-vangnet .6s ease 2.2s forwards;
}
html.cc-js .kr-kaart { animation: none; }
.kr-kaart.aan {
  opacity: 1; transform: none; filter: none;
  border-color: color-mix(in srgb, var(--krc, #6366F1) 45%, transparent);
  box-shadow: 0 14px 34px rgba(14, 22, 38, .12), 0 0 0 3px color-mix(in srgb, var(--krc, #6366F1) 12%, transparent);
}
.kr-kaart strong { font-family: var(--font-head); font-size: .92rem; line-height: 1.3; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.kr-sub { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.kr-icoon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: .45rem;
  background: color-mix(in srgb, var(--krc, #6366F1) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--krc, #6366F1) 30%, transparent);
}
.kr-icoon svg { width: 21px; height: 21px; stroke: var(--krc, #6366F1); }
.kr-kaart.aan .kr-icoon { animation: kricoon .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes kricoon { 0% { transform: scale(.7) rotate(-6deg); } 100% { transform: none; } }
.kr-kaart.aan .kr-bel svg { animation: krbel .9s ease .3s; transform-origin: top center; }
@keyframes krbel { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(12deg); } 50% { transform: rotate(-10deg); } 72% { transform: rotate(6deg); } }
.kr-datum { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .74rem; color: #7C3AED; background: rgba(124, 58, 237, .1); border-radius: 6px; padding: .05rem .4rem; }
.kr-kaart.aan .kr-datum { animation: krflip .5s cubic-bezier(.34, 1.56, .64, 1) .25s backwards; }
@keyframes krflip { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.kr-badge { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .68rem; color: #fff; background: #10B981; border-radius: 999px; padding: .12rem .5rem; opacity: 0; transform: scale(.5); }
.kr-kaart.aan .kr-badge { animation: krpop .45s cubic-bezier(.34, 1.7, .64, 1) .35s forwards; }
@keyframes krpop { to { opacity: 1; transform: none; } }
.kr-sterren i { font-style: normal; font-size: 1.05rem; color: #E2E8F0; transition: color .25s, transform .25s; display: inline-block; }
html[data-thema="donker"] .kr-sterren i { color: #2A3650; }
.kr-kaart.aan .kr-sterren i { color: #F59E0B; transform: scale(1.12); }
.kr-kaart.aan .kr-sterren i:nth-child(1) { transition-delay: .25s; }
.kr-kaart.aan .kr-sterren i:nth-child(2) { transition-delay: .4s; }
.kr-kaart.aan .kr-sterren i:nth-child(3) { transition-delay: .55s; }
.kr-kaart.aan .kr-sterren i:nth-child(4) { transition-delay: .7s; }
.kr-kaart.aan .kr-sterren i:nth-child(5) { transition-delay: .85s; }
.kr-noot { margin: 1.1rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 1080px) {
  .kr-track { display: none; }
  .kr-stappen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .kr-stappen { grid-template-columns: 1fr; } }

/* ---------- Scroll-flowlijn (de homepage is zelf een flow) ---------- */
.flow-rail { position: fixed; left: 20px; top: 105px; bottom: 40px; width: 2px; background: var(--line); z-index: 60; border-radius: 2px; display: none; }
@media (min-width: 1240px) { .flow-rail { display: block; } }
.flow-rail .rail-vul { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, #22D3EE, #6D8CFA, #8B5CF6); border-radius: 2px; }
.flow-rail .rail-kop { position: absolute; left: 50%; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(99, 102, 241, .75), 0 0 0 1.6px #6366F1; top: 0; }
.flow-rail .rail-node { position: absolute; left: 50%; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: border-color .3s, background .3s, box-shadow .3s; }
.flow-rail .rail-node.aan { background: linear-gradient(135deg, #22D3EE, #8B5CF6); border-color: transparent; box-shadow: 0 0 8px rgba(99, 102, 241, .55); }

/* ---------- Marquee (integratiemuur home) ---------- */
.marquee { position: relative; overflow: hidden; padding: .4rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .8rem; width: max-content; animation: marquee 36s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .chip { flex: none; }

/* ---------- Foto's ---------- */
.foto-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 22px 48px rgba(14, 22, 38, .16); }
.foto-card::after { content: ''; position: absolute; inset: 0; border-radius: 22px; border: 1px solid rgba(14, 22, 38, .08); pointer-events: none; }
.foto-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.foto-card:hover img { transform: scale(1.035); }
.foto-badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 22, 38, .08); border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .85rem; color: var(--text);
  padding: .5rem 1rem; box-shadow: 0 8px 22px rgba(14, 22, 38, .14);
}
.foto-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); animation: pulsdot 2s ease-out infinite; }
@keyframes pulsdot { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); } 100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); } }
.foto-duo { position: relative; display: grid; grid-template-columns: 1fr; }
.foto-duo .foto-card--groot { width: 86%; }
.foto-duo .foto-card--klein { position: absolute; right: 0; bottom: -2.2rem; width: 46%; border: 6px solid #fff; border-radius: 24px; }

/* ---------- Chips (integratiemuur) ---------- */
.chip-wall { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 900px; margin: 0 auto; }
.chip {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  padding: .55rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  box-shadow: 0 2px 8px rgba(14, 22, 38, .05);
  transition: border-color .18s, color .18s, transform .18s;
}
.chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.chip--more { border-style: dashed; box-shadow: none; }
.chip-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 1rem; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Kaarten ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem; position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 22, 38, .05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius); padding: 1.5px;
  background: linear-gradient(120deg, rgba(34, 211, 238, .75), rgba(99, 102, 241, .75), rgba(139, 92, 246, .75));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: 1rem; }
.card p { color: var(--muted); font-size: .99rem; margin-bottom: 1rem; }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.card .card-link::after { content: ' →'; transition: margin .18s; }
.card:hover .card-link::after { margin-left: .3rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(139, 92, 246, .12));
  border: 1px solid rgba(8, 145, 178, .28);
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.card-nr {
  position: absolute; top: 1rem; right: 1.2rem;
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1;
  background: linear-gradient(140deg, rgba(8, 145, 178, .18), rgba(124, 58, 237, .18));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none;
}
.card--featured { border-color: rgba(8, 145, 178, .5); }
.card--featured::before {
  content: 'Vlaggenschip'; position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--font-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad); color: #06121A; font-weight: 700; padding: .28rem .7rem; border-radius: 999px;
}

/* ---------- Proces-tijdlijn ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 4px 16px rgba(14, 22, 38, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(8, 145, 178, .35); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 2rem;
  background: linear-gradient(100deg, #0891B2, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .6rem;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Flow-showcase (case-strip) ---------- */
.flow-strip {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34, 211, 238, .06), rgba(139, 92, 246, .05));
  padding: 2rem 1.8rem;
}
.flow-strip-title { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.flow-strip-title h3 { margin: 0; }
.flow-strip-title .tag { font-size: .78rem; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(8, 145, 178, .4); padding: .2rem .6rem; border-radius: 999px; }
.flow-chain { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .3rem; margin: 1rem 0 1.2rem; }
.flow-step-chip {
  font-family: var(--font-head); font-size: .9rem; font-weight: 500;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: .5rem .95rem; border-radius: 10px; box-shadow: 0 2px 8px rgba(14, 22, 38, .06);
}
.flow-arrow { color: var(--accent); font-weight: 700; padding: 0 .25rem; }
.flow-strip p { color: var(--muted); margin-bottom: 0; }
.flow-strip p strong { color: var(--text); }

/* ---------- Filterbalk (cases) ---------- */
.filterbalk { margin-bottom: 2rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.filter-chip {
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; cursor: pointer;
  padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); transition: all .15s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--text); }
.filter-chip.actief { background: linear-gradient(100deg, #0EA5C9, #6366F1); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, .3); }
.filter-zoek { position: relative; max-width: 440px; }
.filter-zoek svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.filter-zoek input {
  width: 100%; padding: .75rem 1rem .75rem 2.6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-family: var(--font-body); font-size: .95rem; transition: border-color .18s, box-shadow .18s;
}
.filter-zoek input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8, 145, 178, .15); }
.filter-telling { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); }
.filter-leeg { margin-top: 1.5rem; padding: 1.6rem; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.case-tegel.verborgen { display: none; }

/* ---------- Case-galerij (3 tegels naast elkaar, flow zichtbaar) ---------- */
.case-tegel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column;
  box-shadow: 0 4px 16px rgba(14, 22, 38, .05); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.case-tegel:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(8, 145, 178, .4); }
.ct-kop { margin-bottom: 1.1rem; }
.ct-badge { display: inline-block; font-family: var(--font-head); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; margin-bottom: .55rem; background: #EEF2F7; color: var(--muted); }
.ct-badge--praktijk { background: linear-gradient(100deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .18)); color: #0E7490; }
.ct-kop h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.ct-kop .tag { display: inline-block; font-size: .72rem; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(8, 145, 178, .35); padding: .18rem .55rem; border-radius: 999px; }
/* verticale timeline-rail met pulserende datastroom */
.ct-flow { position: relative; display: flex; flex-direction: column; gap: .85rem; margin: 0 0 1.1rem; padding-left: 30px; counter-reset: ctstap; }
.ct-flow::before {
  content: ''; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #22D3EE, #6D8CFA, #8B5CF6);
  opacity: .45;
}
.ct-flow::after {
  content: ''; position: absolute; left: 6.5px; top: 10px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(99, 102, 241, .8), 0 0 0 1.5px #6366F1;
  animation: railpuls 2.6s ease-in-out infinite;
}
@keyframes railpuls { 0% { top: 6%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 90%; opacity: 0; } }
.ct-stap {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: .89rem; color: var(--text);
  text-align: left; line-height: 1.45;
}
.ct-stap::before {
  counter-increment: ctstap; content: counter(ctstap);
  position: absolute; left: -30px; top: -1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .62rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0EA5C9, #6366F1);
  box-shadow: 0 3px 8px rgba(99, 102, 241, .35);
}
.ct-pijl { display: none; }
.case-tegel:hover .ct-flow::after { animation-duration: 1.2s; }
.ct-resultaat { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--muted); }
.ct-resultaat strong { color: var(--text); }
.case-tegel--cta { justify-content: center; text-align: center; background: linear-gradient(160deg, rgba(34, 211, 238, .07), rgba(139, 92, 246, .08)); border-color: rgba(8, 145, 178, .35); }
.case-tegel--cta h3 { font-size: 1.3rem; }

/* ---------- Live flow-runner (home) ---------- */
.runner-kader { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); padding: clamp(1.6rem, 3vw, 2.6rem); }
.runner { display: flex; align-items: center; gap: .4rem; }
.rn-stap { flex: 1 1 0; min-width: 0; text-align: center; position: relative; }
.rn-bol {
  width: 54px; height: 54px; margin: 0 auto .6rem; border-radius: 50%; display: grid; place-items: center;
  background: #F7FAFD; border: 2px solid var(--line); color: var(--muted);
  transition: border-color .3s, background .3s, color .3s, transform .3s;
}
.rn-bol svg { width: 24px; height: 24px; stroke: currentColor; }
.rn-vink { position: absolute; top: -4px; right: calc(50% - 34px); width: 22px; height: 22px; border-radius: 50%; background: #10B981; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.rn-vink svg { width: 12px; height: 12px; stroke: #fff; }
.rn-label { font-family: var(--font-head); font-weight: 500; font-size: .86rem; color: var(--muted); transition: color .3s; display: block; }
.rn-stap.actief .rn-bol { border-color: #6366F1; color: #4F46E5; background: #EEF2FF; transform: scale(1.08); box-shadow: 0 0 0 7px rgba(99, 102, 241, .12); animation: rnpuls 1s ease-in-out infinite; }
@keyframes rnpuls { 50% { box-shadow: 0 0 0 12px rgba(99, 102, 241, .06); } }
.rn-stap.actief .rn-label { color: var(--text); }
.rn-stap.klaar .rn-bol { border-color: rgba(16, 185, 129, .6); color: #059669; background: #ECFDF5; }
.rn-stap.klaar .rn-vink { opacity: 1; transform: scale(1); }
.rn-conn { flex: 0 1 70px; height: 3px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; margin-bottom: 2rem; }
.rn-conn i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #22D3EE, #8B5CF6); transition: width .45s ease; }
.rn-conn.klaar i { width: 100%; }
.runner-status { margin-top: 1.6rem; display: flex; align-items: center; justify-content: center; gap: .6rem; font-family: var(--font-head); font-size: .95rem; color: var(--muted); min-height: 1.6em; }
.runner-status .status-dot { width: 9px; height: 9px; border-radius: 50%; background: #6366F1; animation: pulsdot 1.6s ease-out infinite; }
.runner-status.voltooid { color: #059669; font-weight: 500; }
.runner-status.voltooid .status-dot { background: #10B981; animation: none; }
@media (max-width: 820px) {
  .runner { flex-direction: column; gap: 0; }
  .rn-stap { display: flex; align-items: center; gap: 1rem; text-align: left; width: 100%; padding: .35rem 0; }
  .rn-bol { margin: 0; flex: none; width: 46px; height: 46px; }
  .rn-vink { position: static; margin-left: auto; }
  .rn-conn { flex: none; width: 3px; height: 26px; margin: 0 0 0 21.5px; }
  .rn-conn i { width: 100%; height: 0; transition: height .45s ease; }
  .rn-conn.klaar i { height: 100%; }
}

/* ---------- Live demo-flow (probeer het zelf) ---------- */
.demo-kaart { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.demo-vorm { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.demo-vorm input[type="email"] {
  flex: 1; min-width: 220px; padding: .85rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; transition: border-color .18s, box-shadow .18s;
}
.demo-vorm input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8, 145, 178, .15); }
.demo-stappen { display: grid; gap: .55rem; margin-bottom: 1.1rem; }
.demo-stap { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-size: .93rem; color: var(--muted); opacity: .55; transition: opacity .25s, color .25s; }
.demo-stap .ds-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; transition: all .25s; }
.demo-stap .ds-dot svg { width: 11px; height: 11px; stroke: #fff; opacity: 0; }
.demo-stap.bezig { opacity: 1; color: var(--text); }
.demo-stap.bezig .ds-dot { border-color: #6366F1; animation: rnpuls 1s ease-in-out infinite; }
.demo-stap.klaar { opacity: 1; color: var(--text); }
.demo-stap.klaar .ds-dot { border-color: #10B981; background: #10B981; }
.demo-stap.klaar .ds-dot svg { opacity: 1; }
.demo-resultaat { min-height: 1.6em; font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.demo-resultaat.gelukt { color: #059669; }
html[data-thema="donker"] .demo-resultaat.gelukt { color: #34D399; }
.demo-resultaat.fout { color: #DC2626; }
.demo-noot { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Commandocentrum (demo-dashboard) ---------- */
.cc-dash { border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid rgba(148, 163, 184, .2); box-shadow: 0 30px 70px rgba(7, 11, 20, .4); }
.cc-dash-kop { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cc-dash-titel { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); }
.cc-dash-sub { color: #34D399; font-size: .82rem; }
.cc-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); animation: pulsdot 2s ease-out infinite; }
.cc-dash-klok { font-family: ui-monospace, Consolas, monospace; font-size: 1.05rem; color: #A9B4C9; letter-spacing: .08em; }
.cc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1rem; }
.cc-kpi { background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 184, .16); border-radius: 16px; padding: 1rem 1.1rem; }
.cc-kpi-label { display: block; font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8B98B4; margin-bottom: .35rem; }
.cc-kpi-waarde { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); background: linear-gradient(100deg, #22D3EE, #8B5CF6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-kpi-sub { font-size: .76rem; color: #8B98B4; }
.cc-groen { color: #34D399 !important; }
.cc-panelen { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1rem; }
.cc-paneel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 184, .16); border-radius: 16px; padding: 1rem 1.1rem; }
.cc-paneel-kop { font-family: var(--font-head); font-weight: 500; font-size: .92rem; margin-bottom: .8rem; }
.cc-paneel-sub { color: #8B98B4; font-size: .74rem; font-weight: 400; margin-left: .4rem; }
#cc-grafiek { width: 100%; height: 200px; display: block; }
.cc-systemen { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.cc-systemen li { display: flex; align-items: center; gap: .6rem; font-size: .84rem; color: #C4CEE0; font-family: var(--font-head); }
.cc-systemen .sys-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; flex: none; }
.cc-systemen .sys-ms { margin-left: auto; font-family: ui-monospace, Consolas, monospace; font-size: .76rem; color: #8B98B4; }
.cc-feed { display: grid; gap: .35rem; max-height: 240px; overflow: hidden; }
.cc-feed-rij { display: flex; align-items: baseline; gap: .7rem; font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: #C4CEE0; opacity: 0; transform: translateY(-6px); animation: logregel .35s ease forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-feed-rij .tijd { color: #5B6B85; flex: none; }
.cc-feed-rij .ok { color: #34D399; flex: none; } .cc-feed-rij .warn { color: #FBBF24; flex: none; }
.cc-feed-rij .ms { margin-left: auto; color: #8B98B4; flex: none; }
.cc-dash-noot { margin: 1.1rem 0 0; font-size: .76rem; color: #8B98B4; text-align: right; }
@media (max-width: 980px) { .cc-kpis { grid-template-columns: repeat(2, 1fr); } .cc-panelen { grid-template-columns: 1fr; } }

/* ---------- Console / "onder de motorkap" ---------- */
.console {
  background: #0B1120; border: 1px solid rgba(148, 163, 184, .2); border-radius: 18px;
  box-shadow: 0 24px 56px rgba(7, 11, 20, .35); overflow: hidden;
}
.console-kop { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgba(148, 163, 184, .16); }
.console-kop .stip { width: 11px; height: 11px; border-radius: 50%; }
.console-kop .stip:nth-child(1) { background: #F87171; } .console-kop .stip:nth-child(2) { background: #FBBF24; } .console-kop .stip:nth-child(3) { background: #34D399; }
.console-kop .console-titel { margin-left: .6rem; font-family: var(--font-head); font-size: .82rem; color: #A9B4C9; letter-spacing: .06em; }
.console-body { padding: 1.1rem 1.2rem 1.3rem; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .82rem; line-height: 1.85; min-height: 260px; }
.console-regel { display: flex; gap: .6rem; color: #C4CEE0; opacity: 0; transform: translateY(6px); animation: logregel .35s ease forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes logregel { to { opacity: 1; transform: none; } }
.console-regel .tijd { color: #5B6B85; flex: none; }
.console-regel .ok { color: #34D399; flex: none; }
.console-regel .warn { color: #FBBF24; flex: none; }
.console-regel .trig { color: #22D3EE; flex: none; }
.console-cursor { display: inline-block; width: 8px; height: 15px; background: #22D3EE; vertical-align: text-bottom; animation: knipper 1.1s steps(1) infinite; }
@keyframes knipper { 50% { opacity: 0; } }
.console-noot { font-size: .78rem; color: var(--muted); margin-top: .8rem; }

/* ---------- Vergelijk (voor/na) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.compare-col { border-radius: var(--radius); padding: 1.7rem 1.6rem; border: 1px solid var(--line); background: var(--panel); }
.compare-col--old { background: #FBF6F5; border-color: #F0DDD9; }
.compare-col--new { background: linear-gradient(180deg, rgba(34, 211, 238, .08), rgba(139, 92, 246, .07)); border-color: rgba(8, 145, 178, .35); }
.compare-col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; }
.compare-col ul { margin: .8rem 0 0; padding: 0; list-style: none; }
.compare-col li { padding: .45rem 0 .45rem 1.7rem; position: relative; color: var(--muted); font-size: .97rem; border-bottom: 1px dashed var(--line); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col--old li::before { content: '✕'; position: absolute; left: 0; color: #DC2626; }
.compare-col--new li::before { content: '✓'; position: absolute; left: 0; color: #0891B2; }

/* ---------- Checklijst ---------- */
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { padding: .5rem 0 .5rem 2rem; position: relative; color: var(--muted); }
.checklist li strong { color: var(--text); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .78rem; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.18));
  border: 1px solid rgba(8, 145, 178, .5);
}
.checklist li::after { content: '✓'; position: absolute; left: 4px; top: .62rem; font-size: .72rem; color: #0891B2; font-weight: 700; }

/* ---------- FAQ / details ---------- */
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; background: var(--panel); box-shadow: 0 2px 10px rgba(14, 22, 38, .04); }
.faq summary { cursor: pointer; padding: 1.05rem 1.3rem; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- CTA-band (DONKER — punch) ---------- */
.cta-band {
  position: relative; border-radius: 24px; overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4rem); text-align: center;
  border: 1px solid rgba(34, 211, 238, .3);
  background: var(--ink);
  color: #E7ECF5;
  box-shadow: 0 24px 60px rgba(7, 11, 20, .25);
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(560px 300px at 22% 0%, rgba(34, 211, 238, .18), transparent 70%), radial-gradient(560px 300px at 82% 100%, rgba(139, 92, 246, .2), transparent 70%); pointer-events: none; }
.cta-band h2 { margin-bottom: .5rem; color: #E7ECF5; position: relative; }
.cta-band p { color: #A9B4C9; max-width: 56ch; margin: 0 auto 1.8rem; position: relative; }
.cta-band .btn--primary { background: var(--grad); color: #06121A; position: relative; }

/* ---------- Formulier ---------- */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.form-field input, .form-field textarea, .form-field select {
  background: #FBFCFE; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  padding: .8rem .95rem; transition: border-color .18s, box-shadow .18s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8, 145, 178, .15);
}
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-note { font-size: .86rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Page-hero (subpagina's, licht met tint) ---------- */
.page-hero { padding: clamp(2.4rem, 4.5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 150%; background: radial-gradient(560px 380px at 78% 0%, rgba(139, 92, 246, .10), transparent 65%), radial-gradient(480px 320px at 12% 15%, rgba(34, 211, 238, .10), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

/* ---------- Reveal-animaties (cinematisch: lift + scherpstellen) ----------
   Vangnet: zonder (werkende) JS maakt een pure CSS-animatie alles alsnog
   zichtbaar; draait de JS wél, dan schakelt html.cc-js het vangnet uit. */
.reveal { opacity: 0; transform: translateY(18px) scale(.99); filter: blur(2px); transition: opacity .5s ease, transform .5s cubic-bezier(.22, .8, .3, 1), filter .5s ease; animation: onthul-vangnet .6s ease 1.6s forwards; }
html.cc-js .reveal { animation: none; }
.reveal.visible { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@keyframes onthul-vangnet { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Scroll-voortgangsbalk ---------- */
.scroll-voortgang { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, #22D3EE, #6D8CFA, #8B5CF6); box-shadow: 0 0 10px rgba(99, 102, 241, .5); pointer-events: none; }

/* ---------- Ambient glow achter sectiekoppen ---------- */
.section-head { position: relative; }
.section-head::before { content: ''; position: absolute; left: -8%; top: -60%; width: 380px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(99, 102, 241, .07), transparent); pointer-events: none; }
.section-head.center::before { left: 50%; transform: translateX(-50%); }

/* ---------- Diensten-iconen tekenen zichzelf bij hover ---------- */
.card-icon svg path, .card-icon svg circle, .card-icon svg rect { stroke-dasharray: 100; stroke-dashoffset: 0; }
.card:hover .card-icon svg path, .card:hover .card-icon svg circle, .card:hover .card-icon svg rect { animation: icoonteken .9s ease forwards; }
@keyframes icoonteken { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.card:hover .card-icon { box-shadow: 0 0 0 5px rgba(99, 102, 241, .08); }

/* ---------- Demo: varianten + console + mail-preview ---------- */
.demo-console { margin-bottom: 1.1rem; border-radius: 14px; }
.demo-varianten .bouwer-chip { font-size: .85rem; padding: .42rem .9rem; }
.demo-varianten .bouwer-chip:active { transform: scale(.96); }
.mail-preview {
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2);
  padding: .9rem 1rem; margin-bottom: 1.2rem;
  transition: transform .3s cubic-bezier(.22, .8, .3, 1), opacity .3s;
}
.mail-preview.wisselt { animation: mpwissel .38s ease; }
@keyframes mpwissel { 0% { opacity: 0; transform: translateX(14px) rotate(.4deg); } 100% { opacity: 1; transform: none; } }
.mail-preview.verzonden { animation: mpweg 1s cubic-bezier(.5, -0.2, .6, 1) forwards; }
@keyframes mpweg {
  0% { transform: none; opacity: 1; }
  25% { transform: translateY(4px) rotate(-1deg); }
  100% { transform: translate(120px, -90px) rotate(8deg) scale(.6); opacity: 0; }
}
.mail-preview.terug { animation: mpwissel .45s ease; }
.mp-kop { display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; }
.mp-avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, #0EA5C9, #8B5CF6); }
.mp-meta { display: flex; flex-direction: column; min-width: 0; }
.mp-meta strong { font-family: var(--font-head); font-size: .88rem; }
.mp-meta em { font-style: normal; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tijd { margin-left: auto; font-size: .74rem; color: var(--muted); flex: none; }
.mp-body { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- To-top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer;
  box-shadow: 0 6px 20px rgba(14, 22, 38, .12);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  display: grid; place-items: center; padding: 12px;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ---------- Footer (DONKER) ---------- */
.site-footer { border-top: 1px solid rgba(148, 163, 184, .18); background: var(--ink); color: #E7ECF5; padding: 2.8rem 0 1.8rem; margin-top: clamp(1.8rem, 3.5vw, 2.8rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.6rem; }
.site-footer .brand-word { color: #E7ECF5; }
.site-footer .brand-word-2 { color: #A9B4C9; }
.footer-col h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #A9B4C9; margin-bottom: 1rem; }
.footer-col a { display: block; color: #A9B4C9; padding: .28rem 0; font-size: .96rem; }
.footer-col a:hover { color: #22D3EE; text-decoration: none; }
.footer-col p { color: #A9B4C9; font-size: .96rem; margin: .28rem 0; }
.footer-col--brand p { max-width: 36ch; margin-top: 1rem; }
.footer-motto { font-family: var(--font-head); color: #E7ECF5 !important; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .18); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #A9B4C9; font-size: .88rem; }

/* ---------- Mobiele sticky CTA-balk ---------- */
.mobiel-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: none; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14, 22, 38, .08);
}
.mobiel-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--font-head); font-weight: 500; font-size: .92rem; padding: .7rem .5rem; border-radius: 12px; text-decoration: none !important; }
.mobiel-cta svg { width: 17px; height: 17px; }
.mobiel-cta-mail { border: 1px solid var(--line); color: var(--text); flex: 0 0 38%; }
.mobiel-cta-gesprek { background: linear-gradient(100deg, #0EA5C9, #6366F1, #8B5CF6); color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, .3); }
@media (max-width: 820px) {
  .mobiel-cta { display: flex; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 86px; }
}

/* ---------- 404 ---------- */
.error-page { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }

/* ---------- Responsief ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .steps, .compare, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-path, .flow-node-pulse, .flow-ring, .hero-aurora span, .marquee-track, .grad-text, .foto-badge .dot, .cta-band::after, .tick-word, .streak, .n-float, .hub-adem, .ct-pijl, .rn-stap.actief .rn-bol, .runner-status .status-dot, .circuit-streak, .rol-woord::after, .console-cursor, .ct-flow::after, .card-icon svg * { animation: none !important; }
  .reveal { filter: none !important; }
  .circuit-streak { display: none; }
  .streak { stroke-dasharray: none; opacity: .35; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .chip, .flow-visual, .foto-card img { transition: none !important; }
  .btn--primary::after, .flow-packet { display: none; }
}
@media (max-width: 980px) {
  .foto-duo .foto-card--groot { width: 100%; }
  .foto-duo .foto-card--klein { position: static; width: 100%; border: 0; margin-top: 1.2rem; }
}
