/* KantoorDAAN - nieuwe website. Inkt, papier en een rode pen. */
:root {
  --ink: #142A43;
  --night: #0E1F33;
  --night-2: #13283F;
  --paper: #F5F7FA;
  --sheet: #FFFFFF;
  --slate: #5B6B80;
  --rule: #D8DFE8;
  --pen: #E8734A;
  --pen-deep: #C9582F;
  --pen-btn: #B5502A;
  --pen-btn-deep: #A84A27;
  --ok: #15803D;
  --ok-soft: #3DDC84;
  --sky: #6FA8FF;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--pen-btn); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- 3D-achtergrond ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .colofon { position: relative; z-index: 2; }
html.no-webgl .window { background: radial-gradient(120% 90% at 70% 20%, #1B3552, var(--night)); }

/* ---------- Knoppen ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .72em 1.25em; border-radius: 10px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s, color .25s, box-shadow .3s var(--ease);
  will-change: transform;
}
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-pen { --bg: var(--pen-btn); --fg: #fff; box-shadow: 0 10px 30px -12px rgba(232, 115, 74, .8); }
.btn-pen:hover { --bg: var(--pen-btn-deep); box-shadow: 0 16px 36px -14px rgba(232, 115, 74, .95); }
.btn-line { --bd: rgba(255, 255, 255, .35); --fg: #fff; }
.btn-line:hover { --bd: #fff; --bg: rgba(255, 255, 255, .08); }
.btn-ghost { --fg: currentColor; }
.btn-ghost:hover { --bg: rgba(127, 140, 160, .14); }
.btn-ghost-light { --fg: rgba(255, 255, 255, .8); }
.btn-ghost-light:hover { --fg: #fff; --bg: rgba(255, 255, 255, .08); }
.btn:active { transform: scale(.97); }
.btn small { font-weight: 500; opacity: .6; font-size: .78em; }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  color: #fff;
  transition: background-color .35s var(--ease), color .35s, box-shadow .35s, padding .35s;
}
.nav.is-light { background: rgba(245, 247, 250, .86); color: var(--ink); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--rule); }
.nav.is-dark-solid { background: rgba(14, 31, 51, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.wordmark { font-family: "Montserrat", var(--body); font-size: 1.28rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.wordmark span { font-weight: 500; }
.wordmark b { font-weight: 700; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; padding: .5em .8em; border-radius: 8px; opacity: .82; transition: opacity .2s, background-color .2s; }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; background: rgba(127, 140, 160, .16); }
.nav-cta { display: flex; gap: 8px; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.nav-progress i { display: block; height: 100%; width: 100%; background: var(--pen); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 960px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 520px) { .nav-cta .btn-ghost { display: none; } .nav-cta .btn { padding: .6em 1em; font-size: .88rem; } }

/* ---------- Routebalk ---------- */
.routebar {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
  color: #fff; transition: color .4s;
}
.routebar::before { content: ""; position: absolute; right: 4px; top: 4px; bottom: 4px; width: 1px; background: currentColor; opacity: .25; }
.routebar li { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; opacity: .55; transition: background-color .3s, opacity .3s, transform .3s var(--ease); }
.routebar li.is-past { background: currentColor; opacity: .55; }
.routebar li.is-on { background: var(--pen); border-color: var(--pen); opacity: 1; transform: scale(1.35); }
.routebar li span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: .75rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.routebar li.is-on span { opacity: .9; }
.routebar.on-light { color: var(--ink); }
@media (max-width: 1100px) { .routebar { display: none; } }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--display); font-stretch: 78%; font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.02em;
  margin: 0; text-wrap: balance; color: var(--ink);
}
.display-sm { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.display-xl { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.display-light { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--slate); max-width: 38em; margin: 22px 0 0; text-wrap: pretty; }
.lead-light { color: rgba(226, 234, 244, .78); }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 860px; }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .lead { margin-inline: auto; }

/* ---------- Vensters en vellen ---------- */
.window { position: relative; color: #fff; }
.sheet, .sheet-flow {
  position: relative; background: var(--paper);
  border-radius: clamp(20px, 3vw, 36px);
  margin-inline: clamp(0px, 1vw, 14px);
  box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, .6), 0 30px 80px -40px rgba(0, 0, 0, .6);
  padding-block: clamp(80px, 12vw, 160px);
}
.sheet + .sheet, .sheet + .sheet-flow, .sheet-flow + .sheet { margin-top: 14px; }
.pinned { position: relative; }
.pinned > .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 90px; }
.hero-inner { width: min(var(--maxw), 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.deadline { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: rgba(236, 242, 248, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.deadline b { color: #fff; }
.deadline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pen); box-shadow: 0 0 0 0 rgba(232, 115, 74, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 115, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 115, 74, 0); } }

.hero-title { font-family: var(--display); font-stretch: 76%; font-weight: 800; font-size: clamp(2.7rem, 5.8vw, 5.3rem); line-height: .95; letter-spacing: -.025em; margin: 0; color: #fff; }
.hero-title > span { display: inline; }
.ht-line { display: block !important; }
.ht-strike { position: relative; display: inline-block !important; color: rgba(255, 255, 255, .42); margin-right: .22em; white-space: nowrap; }
.ht-strike .pen { position: absolute; left: -4%; top: 20%; width: 108%; max-width: none; height: .5em; overflow: visible; }
.pen path { fill: none; stroke: var(--pen); stroke-width: 5; stroke-linecap: round; }
.ht-fix { color: #fff; }
.ht-fix .w, .ht-line .w { display: inline-block; }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: rgba(226, 234, 244, .78); max-width: 34em; margin: 30px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .6); text-decoration: none; font-size: .75rem; letter-spacing: .08em; }
.scroll-cue i { width: 1.5px; height: 42px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Bonnetje (gedeeld) ---------- */
.receipt {
  --tooth: 9px;
  position: relative; margin: 0; background: #FDFDFB; color: #1d2733;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.55; letter-spacing: .01em;
  padding: 22px 22px 30px;
  -webkit-mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%, linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat;
  -webkit-mask-composite: source-over;
  mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100% repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}
.receipt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(20, 42, 67, .025) 0 1px, transparent 1px 3px); }
.r-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; }
.r-head strong { font-size: 15px; letter-spacing: .18em; margin-bottom: 4px; }
.r-head span { color: #5a6573; font-size: 11.5px; }
.r-rule { border-top: 1.5px dashed #9aa5b1; margin: 12px 0; }
.r-row { display: flex; justify-content: space-between; gap: 12px; }
.r-row span { color: #36414e; }
.r-row b { font-weight: 700; white-space: nowrap; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; font-size: 14px; }
.r-total-big b { font-size: 26px; letter-spacing: -.02em; }
.r-small { color: #5a6573; font-size: 11px; margin-top: 8px; text-align: center; }
.r-thanks { margin-top: 4px; }
.r-barcode { height: 38px; margin: 14px auto 0; width: 82%; background: repeating-linear-gradient(90deg, #1d2733 0 2px, transparent 2px 4px, #1d2733 4px 5px, transparent 5px 8px, #1d2733 8px 11px, transparent 11px 12px, #1d2733 12px 13px, transparent 13px 16px); }

.hero-receipt-wrap { position: relative; justify-self: center; width: min(340px, 100%); perspective: 1200px; }
.printer-slot { height: 14px; border-radius: 8px; background: linear-gradient(#050d17, #1a2e46); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .12); margin: 0 -14px; position: relative; z-index: 2; }
.hero-receipt { margin-top: -7px; transform-origin: 50% 0; }
.anim .hero-receipt { clip-path: inset(0 0 100% 0); }
.anim .hero-receipt .r-row, .anim .hero-receipt .r-total { opacity: 0; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-receipt-wrap { width: min(320px, 88%); margin-top: 10px; }
  .scroll-cue { display: none; }
}

/* ---------- Route ---------- */
.road { position: relative; }
.road-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.road-bed { fill: none; stroke: var(--rule); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.road-line { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.road-marker { position: absolute; left: 0; top: 0; width: 34px; height: 42px; margin: -21px 0 0 -17px; z-index: 3; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(20, 42, 67, .35)); }
.road-marker svg { width: 100%; height: 100%; }
.road-marker path { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.road-marker .m-lines { fill: none; stroke: var(--pen); stroke-linecap: round; }
html:not(.anim) .road-marker { display: none; }

.stops { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.stop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 9vw, 160px); align-items: center; min-height: 62vh; padding-block: 40px; }
.stop:nth-child(even) .stop-text { order: 2; }
.stop-text { max-width: 30em; }
.stop-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 1rem; margin-bottom: 18px; box-shadow: 0 0 0 8px var(--paper); position: relative; }
.stop h3 { font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.015em; line-height: 1.05; margin: 0 0 14px; }
.stop p { margin: 0; color: #3b4a5c; font-size: 1.05rem; }
.stop-visual { position: relative; min-height: 280px; display: grid; place-items: center; }
.anim .stop-text > * { opacity: 0; transform: translateY(24px); }

/* stop 1: chat */
.v-chat { gap: 14px; align-content: center; justify-items: stretch; width: min(400px, 100%); justify-self: center; }
.bubble { padding: 14px 18px; border-radius: 18px; font-size: .95rem; line-height: 1.45; max-width: 90%; box-shadow: 0 14px 30px -18px rgba(20, 42, 67, .5); }
.bubble-in { background: var(--sheet); border: 1px solid var(--rule); border-bottom-left-radius: 4px; justify-self: start; }
.bubble-out { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; justify-self: end; min-height: 50px; min-width: 76px; }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.bubble-text { display: none; }
.bubble-out.is-done .typing { display: none; }
.bubble-out.is-done .bubble-text { display: inline; }
html:not(.anim) .typing { display: none; } html:not(.anim) .bubble-text { display: inline; }

/* stop 2: offerte */
.doc { width: min(360px, 100%); background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 26px 26px 20px; box-shadow: 0 30px 60px -30px rgba(20, 42, 67, .45); transform: rotate(-2deg); }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 10px; }
.doc-head b { font-family: var(--display); font-stretch: 80%; font-size: 1.5rem; }
.doc-head span { font-family: "Montserrat"; font-size: .78rem; font-weight: 700; color: var(--slate); }
.doc-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #edf0f4; font-size: .9rem; }
.doc-row .mono { font-size: .82rem; }
.doc-sign { display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; font-size: .8rem; color: var(--slate); }
.doc-sign svg { width: 150px; height: 40px; border-bottom: 1px solid var(--rule); }
.doc-sign path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* stop 3: checklist */
.checklist { list-style: none; margin: 0; padding: 22px 26px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; width: min(380px, 100%); box-shadow: 0 30px 60px -34px rgba(20, 42, 67, .45); }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--rule); font-size: .98rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist i { position: relative; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--rule); transition: background-color .3s, border-color .3s; }
.checklist i::after { content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.checklist li.is-done i { background: var(--ok); border-color: var(--ok); }
.checklist li.is-done i::after { transform: rotate(45deg) scale(1); }
html:not(.anim) .checklist i { background: var(--ok); border-color: var(--ok); } html:not(.anim) .checklist i::after { transform: rotate(45deg) scale(1); }

/* stop 4: bakje */
.v-tray { width: min(380px, 100%); justify-self: center; height: 320px; place-items: end center; }
.drop { position: absolute; left: 50%; width: 170px; padding: 12px 14px; background: #FDFDFB; border: 1px solid var(--rule); font-family: var(--mono); font-size: .72rem; display: flex; justify-content: space-between; gap: 8px; box-shadow: 0 16px 30px -18px rgba(20, 42, 67, .6); }
.d1 { top: 10px; transform: translateX(-80%) rotate(-8deg); }
.d2 { top: 50px; transform: translateX(-30%) rotate(6deg); }
.d3 { top: 96px; transform: translateX(-65%) rotate(-3deg); }
.tray { position: relative; width: 100%; height: 120px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 22px; box-shadow: 0 30px 50px -30px rgba(20, 42, 67, .8), inset 0 14px 0 rgba(255, 255, 255, .06); z-index: 2; }
.tray-label { font-size: .85rem; opacity: .7; }
.tray-count { font-size: 2.4rem; line-height: 1.1; font-weight: 700; }

/* stop 5: grootboek */
.ledger { position: relative; width: min(420px, 100%); background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 0; box-shadow: 0 30px 60px -34px rgba(20, 42, 67, .45); background-image: linear-gradient(90deg, transparent 72px, rgba(232, 115, 74, .35) 72px 73.5px, transparent 73.5px); }
.lg-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 10px 18px; border-bottom: 1px solid #edf0f4; font-size: .9rem; }
.lg-row span:last-child { text-align: right; }
.lg-head { font-size: .75rem; color: var(--slate); font-weight: 600; }
.anim .ledger .lg-row:not(.lg-head) { opacity: 0; transform: translateX(-16px); }

.stamp { position: absolute; font-family: var(--display); font-stretch: 85%; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--pen); border: 3px solid var(--pen); border-radius: 8px; padding: 4px 14px; font-size: 1.35rem; transform: rotate(-12deg); mix-blend-mode: multiply; opacity: .92; }
.stamp::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--pen); border-radius: 5px; opacity: .6; }
.stamp-geboekt { right: -8px; bottom: -14px; }
.anim .stamp { opacity: 0; }

/* stop 6: kwartalen */
.quarters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(440px, 100%); }
.q { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 12px 42px; text-align: center; box-shadow: 0 20px 40px -30px rgba(20, 42, 67, .5); }
.q span { display: block; font-family: var(--mono); font-weight: 700; color: var(--slate); font-size: .85rem; }
.q b { display: block; font-family: var(--display); font-stretch: 80%; font-size: 1.15rem; margin-top: 4px; }
.q i { position: absolute; left: 50%; bottom: 12px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 2px solid var(--rule); }
.q.is-done i { background: var(--ok); border-color: var(--ok); }
.q.is-done i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.q.is-now { border-color: var(--pen); box-shadow: 0 0 0 4px rgba(232, 115, 74, .15), 0 20px 40px -30px rgba(20, 42, 67, .5); }
.q.is-now i { border-color: var(--pen); animation: pulse 2s infinite; }

/* stop 7: blauwe envelop */
.v-envelope { width: min(400px, 100%); justify-self: center; }
.envelope { position: relative; width: 100%; aspect-ratio: 2.1; background: #2E5FA8; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(20, 42, 67, .7); overflow: hidden; }
.env-flap { position: absolute; inset: 0 0 45% 0; background: #3A6DB8; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; }
.env-window { position: absolute; left: 8%; bottom: 14%; width: 52%; padding: 10px 12px; background: rgba(255, 255, 255, .92); border-radius: 4px; display: flex; flex-direction: column; font-size: .72rem; color: #1d2733; font-family: var(--mono); }
.stamp-ingediend { right: 0; bottom: -18px; background: rgba(255, 255, 255, .85); }

.road-end { text-align: center; padding-top: 60px; position: relative; z-index: 2; }
.road-end-title { font-family: var(--display); font-stretch: 76%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; margin: 0 0 8px; letter-spacing: -.02em; }
.road-end p:last-child { color: var(--slate); font-size: 1.15rem; margin: 0; }

@media (max-width: 860px) {
  .stop { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding: 40px 0 40px 56px; }
  .stop:nth-child(even) .stop-text { order: 0; }
  .stop-visual { justify-self: start; width: 100%; min-height: 0; }
  .stop-num { position: absolute; left: -56px; top: 0; margin: 0; width: 38px; height: 38px; font-size: .9rem; }
  .stop-text { position: relative; }
  .v-tray { height: 280px; }
  .quarters { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Wie doet wat ---------- */
.flow { height: 190vh; padding: 0; }
.flow .sticky { display: flex; align-items: center; }
.flow .wrap { width: min(1100px, 100% - 2 * var(--gutter)); }
.flow .sec-head { margin-bottom: 70px; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-line { position: absolute; left: 12.5%; right: 12.5%; top: 42px; height: 3px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.flow-line i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.node-ico { width: 86px; height: 86px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--rule); display: grid; place-items: center; margin-bottom: 14px; transition: border-color .4s, background-color .4s, transform .4s var(--ease), box-shadow .4s; }
.node-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.node b { font-size: 1.05rem; }
.node span { color: var(--slate); font-size: .92rem; }
.node.is-on .node-ico { background: var(--ink); border-color: var(--ink); transform: scale(1.08); box-shadow: 0 18px 36px -16px rgba(20, 42, 67, .7); }
.node.is-on .node-ico svg { stroke: #fff; }
.flow-token { position: absolute; left: 12.5%; top: -34px; z-index: 3; width: 0; pointer-events: none; }
.mini-receipt { position: absolute; left: -32px; top: 0; width: 64px; padding: 8px 8px 12px; background: #FDFDFB; box-shadow: 0 14px 24px -10px rgba(20, 42, 67, .55); display: flex; flex-direction: column; gap: 4px; transform: rotate(-6deg); }
.mini-receipt span { height: 3px; background: #c9d1db; border-radius: 2px; }
.mini-receipt span:nth-child(2) { width: 70%; }
.mini-receipt b { font-size: 9px; margin-top: 2px; }
.flow-caption { text-align: center; margin: 56px auto 0; font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); min-height: 2.6em; max-width: 30em; }
html:not(.anim) .flow { height: auto; }
html:not(.anim) .flow .sticky { position: static; height: auto; }
html:not(.anim) .flow-token { display: none; }
@media (max-width: 760px) {
  .flow-track { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .flow-line, .flow-token { display: none; }
  .node-ico { width: 70px; height: 70px; }
}

/* ---------- Portaal ---------- */
.portal { height: 230vh; }
.portal .sticky { display: flex; align-items: center; padding: 80px var(--gutter) 40px; }
.portal-grid { width: min(var(--maxw), 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.portal-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 6px; }
.portal-steps li { padding: 12px 0 12px 20px; border-left: 2px solid rgba(255, 255, 255, .14); transition: border-color .4s, opacity .4s; opacity: .45; }
.portal-steps li b { display: block; color: #fff; font-size: 1.05rem; }
.portal-steps li span { display: block; color: rgba(226, 234, 244, .75); font-size: .95rem; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.portal-steps li.is-on { border-color: var(--pen); opacity: 1; }
.portal-steps li.is-on span { max-height: 6em; }
html:not(.anim) .portal { height: auto; }
html:not(.anim) .portal .sticky { position: static; height: auto; padding-block: 120px; }
html:not(.anim) .portal-steps li { opacity: 1; } html:not(.anim) .portal-steps li span { max-height: none; }

.device-stage { position: relative; perspective: 1600px; }
.device {
  position: relative; z-index: 2; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #0B1626, #0A1320);
  border: 1px solid rgba(120, 170, 255, .18);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  transform-style: preserve-3d; color: #E6EEF8; font-size: 13px;
}
.device-glow { position: absolute; inset: 10% 5% -10%; z-index: 1; background: radial-gradient(closest-side, rgba(111, 168, 255, .35), transparent); filter: blur(30px); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 11.5px; color: rgba(230, 238, 248, .6); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.device-bar span { margin-left: 10px; }
.device-bar em { margin-left: auto; font-style: normal; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 10.5px; }
.dash { display: grid; grid-template-columns: 52px 1fr; min-height: 380px; }
.dash-nav { border-right: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.dn-logo { font-family: "Montserrat"; font-weight: 500; font-size: 13px; margin-bottom: 8px; }
.dn-item { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.dn-item.is-on { background: var(--sky); box-shadow: 0 0 16px rgba(111, 168, 255, .6); }
.dash-main { padding: 14px 16px 16px; display: grid; gap: 10px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top small { display: block; color: rgba(230, 238, 248, .55); font-size: 11px; }
.dash-top b { font-size: 17px; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: rgba(61, 220, 132, .14); color: var(--ok-soft); }
.pill-wait { background: rgba(232, 115, 74, .16); color: #FFA27F; }
/* Kleuren van het financieel dashboard zelf (portal.css, Daan 2026-10-11): omzet blauw, kosten oranje, winst groen-blauw. */
.dash { --d-omzet: #5A95EC; --d-kosten: #DC6C3C; --d-winst: #27A986; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-height: 84px; transition: border-color .4s, box-shadow .4s, background-color .4s; }
.tile small { color: rgba(230, 238, 248, .55); font-size: 10px; line-height: 1.3; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.tile small i { width: 8px; height: 8px; border-radius: 2px; flex: none; margin: 0; }
.tile b { font-size: 17px; line-height: 1.2; }
.t-meta { font-size: 10.5px; color: rgba(230, 238, 248, .55); margin-top: auto; }
.tile-hl b { color: #fff; }
.spark, .sbars { width: 100%; height: 18px; }
.spark path { fill: none; stroke: var(--d-winst); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-panel].is-lit { border-color: rgba(111, 168, 255, .55); box-shadow: 0 0 0 1px rgba(111, 168, 255, .35), 0 0 30px -6px rgba(111, 168, 255, .5); background: rgba(111, 168, 255, .07); }
.d-let { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(90, 149, 236, .35); background: rgba(90, 149, 236, .12); border-radius: 10px; padding: 5px 12px; font-size: 11px; transition: border-color .4s, box-shadow .4s, background-color .4s; }
.d-let i { width: 7px; height: 7px; border-radius: 50%; background: var(--d-omzet); flex: none; }
.d-let span { color: rgba(230, 238, 248, .6); }
.dash-lower { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.dash-lower-2 { grid-template-columns: 1fr 1fr; }
.chart-card, .inv-card, .geld-card, .kost-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 12px; transition: border-color .4s, box-shadow .4s, background-color .4s; min-width: 0; }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11.5px; }
.cc-head span { color: rgba(230, 238, 248, .55); font-size: 10.5px; display: flex; align-items: center; gap: 5px; }
.cc-head i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.k-omzet { background: var(--d-omzet); } .k-kosten { background: var(--d-kosten); margin-left: 6px; } .k-winst { background: var(--d-winst); }
.chart { width: 100%; height: 92px; }
.grid-lines path { stroke: rgba(255, 255, 255, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.d-as { stroke: rgba(255, 255, 255, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.d-omzet { fill: var(--d-omzet); } .d-kosten { fill: var(--d-kosten); }
.d-maanden { display: grid; grid-template-columns: repeat(9, 1fr); margin-top: 4px; font-size: 9.5px; color: rgba(230, 238, 248, .45); text-align: center; }
/* Staven groeien op zodra het venster in beeld komt (main.js zet .is-live); zonder animatie staan ze er meteen. */
.dbar { transform-box: fill-box; transform-origin: 50% 100%; }
html.anim .dbar { transform: scaleY(0); transition: transform .9s var(--ease) calc(var(--i, 0) * 60ms); }
html.anim .is-live .dbar { transform: none; }
.inv-card > b, .geld-card > b, .kost-card > b { display: block; font-size: 11.5px; margin-bottom: 6px; }
.inv { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 11px; }
.inv .mono { color: rgba(230, 238, 248, .55); font-size: 10.5px; }
.g-r { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: baseline; padding: 2px 0; font-size: 10px; }
.g-r .mono { font-size: 10px; }
.g-r i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--d-omzet) var(--w), rgba(255, 255, 255, .06) var(--w)); }
.g-r i.g-af { background: linear-gradient(90deg, rgba(255, 255, 255, .06) var(--l), var(--d-kosten) var(--l), var(--d-kosten) calc(var(--l) + var(--w)), rgba(255, 255, 255, .06) calc(var(--l) + var(--w))); }
.g-r i.g-vrij { background: linear-gradient(90deg, var(--d-winst) var(--w), rgba(255, 255, 255, .06) var(--w)); }
.g-r i.g-kost { background: linear-gradient(90deg, var(--d-kosten) var(--w), rgba(255, 255, 255, .06) var(--w)); }
.g-tot { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2px; padding-top: 6px; font-weight: 600; }
@media (min-width: 1001px) and (max-height: 800px) { .device { zoom: .88; } }
@media (max-width: 1000px) {
  .portal { height: auto; }
  .portal .sticky { position: static; height: auto; padding-block: 110px; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-steps li { opacity: 1; } .portal-steps li span { max-height: none; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .dash-lower, .dash-lower-2 { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; } .dash-nav { display: none; }
}

/* ---------- Diensten (overzichtelijk raster) ---------- */
.services .sticky { position: static; height: auto; overflow: visible; }
.services-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 60px; margin-bottom: clamp(40px, 5vw, 64px); }
.services-head .lead { margin: 0; max-width: 26em; }
.h-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.folder { position: relative; min-width: 0; }
.folder-tab { display: inline-block; background: #E4E9F0; color: var(--ink); font-size: .8rem; font-weight: 600; padding: 7px 16px 9px; border-radius: 12px 12px 0 0; margin-left: 16px; position: relative; top: 2px; }
.folder-body { height: calc(100% - 34px); background: var(--sheet); border: 1px solid var(--rule); border-top: 4px solid #E4E9F0; border-radius: 4px 16px 16px 16px; padding: 26px 24px 22px; display: flex; flex-direction: column; box-shadow: 0 24px 50px -40px rgba(20, 42, 67, .5); transition: transform .4s var(--ease), box-shadow .4s; }
.folder:hover .folder-body { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(20, 42, 67, .65); }
.f-ico { width: 38px; height: 38px; fill: none; stroke: var(--pen); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.folder h3 { font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 10px; }
.folder p { margin: 0; color: #3b4a5c; font-size: .96rem; }
.f-price { margin-top: auto; padding-top: 18px; margin-bottom: 0; border-top: 1px dashed var(--rule); font-family: var(--mono); font-size: .8rem; color: var(--ink); font-weight: 500; }
.folder p + .f-price { margin-top: auto; }
.folder-body > p { margin-bottom: 18px; }
.folder-dark .folder-tab { background: var(--ink); color: #fff; }
.folder-dark .folder-body { background: var(--night); border-color: var(--night); border-top-color: var(--ink); color: #fff; }
.folder-dark p { color: rgba(226, 234, 244, .78); }
.folder-dark .f-price { color: #fff; border-color: rgba(255, 255, 255, .2); }
.anim .folder { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.anim .folder.is-in { opacity: 1; transform: none; }
@media (max-width: 1050px) { .h-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .h-track { grid-template-columns: 1fr; } }

/* ---------- Tarieven ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.calc-controls { display: grid; gap: 38px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .slider-field > label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; padding: 0; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #E4E9F0; border-radius: 14px; padding: 5px; }
.seg legend { grid-column: 1 / -1; }
.seg label { position: relative; z-index: 2; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label span { display: block; text-align: center; padding: 13px 10px; font-weight: 600; border-radius: 10px; transition: color .3s; }
.seg input:checked + span { color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--pen); outline-offset: 2px; }
.seg-thumb { position: absolute; z-index: 1; left: 5px; bottom: 5px; height: calc(100% - 5px - 5px - var(--legend-h, 0px)); width: calc(50% - 5px); border-radius: 10px; background: var(--ink); box-shadow: 0 10px 20px -10px rgba(20, 42, 67, .8); transition: transform .45s cubic-bezier(.5, 1.6, .4, 1); }
.seg.is-bv .seg-thumb { transform: translateX(100%); }
.slider-row { display: flex; align-items: center; gap: 18px; }
.slider-row output { min-width: 3.2ch; font-size: 1.6rem; font-weight: 700; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--ink) var(--fill, 10%), #D8DFE8 var(--fill, 10%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 6px 14px -4px rgba(20, 42, 67, .6); transition: transform .2s var(--ease); }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.slider-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--slate); margin-top: 10px; padding-right: calc(3.2ch + 18px); }
.toggles { display: grid; gap: 10px; }
.tog { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.tog:hover { border-color: #b9c4d2; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog-ui { position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: #D8DFE8; transition: background-color .3s; }
.tog-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20, 42, 67, .35); transition: transform .4s cubic-bezier(.5, 1.6, .4, 1); }
.tog input:checked + .tog-ui { background: var(--ink); }
.tog input:checked + .tog-ui::after { transform: translateX(18px); }
.tog input:disabled + .tog-ui { opacity: .55; }
.tog input:focus-visible + .tog-ui { outline: 3px solid var(--pen); outline-offset: 2px; }
.tog-text { display: flex; flex-direction: column; line-height: 1.3; }
.tog-text small { color: var(--slate); font-size: .85rem; }
.tog[hidden] { display: none; }

.calc-receipt-wrap { position: sticky; top: 100px; display: grid; gap: 18px; }
.calc-receipt { font-size: 13px; padding: 26px 26px 34px; filter: drop-shadow(0 30px 40px rgba(20, 42, 67, .28)); }
#calc-lines .r-row { padding: 2px 0; }
#calc-lines .r-row span { max-width: 70%; }
.line-in { animation: linein .45s var(--ease); }
@keyframes linein { from { opacity: 0; transform: translateY(-6px); background: rgba(232, 115, 74, .18); } }
.odo { display: inline-flex; overflow: hidden; height: 1.15em; line-height: 1.15em; }
.odo .dg { display: inline-flex; flex-direction: column; transition: transform .7s cubic-bezier(.3, 1.3, .4, 1); }
.odo .dg span { height: 1.15em; }
.odo .st { white-space: pre; }

.request { margin-top: 60px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(20, 42, 67, .55); position: relative; }
.request h3 { font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: 1.9rem; margin: 0 0 6px; letter-spacing: -.01em; }
.request p { color: var(--slate); margin: 0 0 22px; }
.rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.rf-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.rf-wide { grid-column: 1 / -1; }
.rf-grid input, .rf-grid textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); transition: border-color .2s, background-color .2s; }
.rf-grid input:focus, .rf-grid textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.rf-error { color: #B91C1C; font-weight: 600; min-height: 1.4em; margin: 0 0 10px !important; }
.request-done { text-align: center; padding: 40px 0 20px; }
.request-done .stamp { position: relative; display: inline-block; margin-bottom: 26px; opacity: 1; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-receipt-wrap { position: static; } .rf-grid { grid-template-columns: 1fr; } }

.price-notes { margin-top: 56px; display: grid; gap: 18px; }
.rates { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rates summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.rates summary::-webkit-details-marker { display: none; }
.rates summary::after, .faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); margin: -6px 6px 0 20px; flex: none; }
.rates[open] summary::after, .faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.rates-body { overflow: hidden; }
.rates table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rates th, .rates td { text-align: left; padding: 12px 14px 12px 0; border-top: 1px solid #e7ecf2; vertical-align: top; }
.rates thead th { font-size: .82rem; color: var(--slate); border-top: 0; }
.rates tbody th { font-weight: 600; }
.rates td { font-family: var(--mono); font-size: .85rem; }
.rates-body > p { color: var(--slate); font-size: .92rem; }
.fine { color: var(--slate); font-size: .92rem; margin: 0; max-width: 60em; }
@media (max-width: 640px) { .rates table, .rates tbody, .rates tr, .rates th, .rates td { display: block; } .rates thead { display: none; } .rates tbody th { padding-bottom: 2px; } .rates td { border: 0; padding: 2px 0; } .rates td:nth-of-type(1)::before { content: "Zzp: "; color: var(--slate); } .rates td:nth-of-type(2)::before { content: "Bv: "; color: var(--slate); } .rates td:last-child { padding-bottom: 12px; } }

/* ---------- Waarom ---------- */
.reveal-words { font-family: var(--display); font-stretch: 84%; font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.015em; margin: 0; max-width: 22em; text-wrap: pretty; }
.reveal-words .w { opacity: .14; transition: opacity .25s linear; }
.reveal-words .w.is-on { opacity: 1; }
html:not(.anim) .reveal-words .w { opacity: 1; }
.compare { margin-top: clamp(90px, 12vw, 160px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.corrections { list-style: none; margin: 0; padding: 0; }
.corrections li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.corrections li:first-child { border-top: 1px solid var(--rule); }
.corrections s { position: relative; text-decoration: none; color: var(--slate); font-size: 1.05rem; justify-self: start; }
.corrections s::after { content: ""; position: absolute; left: -3px; right: -3px; top: 55%; height: 3px; border-radius: 3px; background: var(--pen); transform: rotate(-1.5deg) scaleX(var(--strike, 1)); transform-origin: 0 50%; }
.corrections span { font-family: var(--display); font-stretch: 84%; font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; }
.anim .corrections s::after { --strike: 0; transition: transform .6s var(--ease); }
.anim .corrections li.is-on s::after { --strike: 1; }
.anim .corrections span { opacity: 0; transform: translateX(-12px); transition: opacity .5s .35s, transform .5s .35s var(--ease); }
.anim .corrections li.is-on span { opacity: 1; transform: none; }
.daan { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--ink); color: #fff; }
.daan-card { display: flex; align-items: center; gap: 16px; }
.daan-mono { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--pen); font-family: "Montserrat"; font-weight: 700; font-size: 2rem; color: #fff; flex: none; }
.daan-card b { display: block; font-size: 1.2rem; }
.daan-card span { color: rgba(226, 234, 244, .7); font-size: .92rem; }
.daan blockquote { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; color: rgba(236, 242, 248, .92); border-left: 3px solid var(--pen); padding-left: 24px; }
@media (max-width: 860px) { .compare, .daan { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pen-deep); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 40px 24px 0; color: #3b4a5c; }
.faq-a a { color: var(--pen-deep); text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.cta { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px var(--gutter); }
.cta-inner { width: min(1000px, 100%); margin-inline: auto; text-align: center; }
.cta .lead { margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 42px; }

/* ---------- Colofon ---------- */
.colofon { background: #0A1726; color: rgba(226, 234, 244, .75); padding: 56px 0 40px; font-size: .92rem; }
.col-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.wordmark-light { color: #fff; }
.col-links { display: flex; gap: 22px; }
.col-links a { text-decoration: none; } .col-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.col-kop { font-size: .95rem; color: #fff; margin: 32px 0 14px; }
.col-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 40px; margin: 0; }
.col-grid dt { color: #fff; font-weight: 600; }
.col-grid dd { margin: 2px 0 0; }
.col-copy { margin: 40px 0 0; font-size: .82rem; opacity: .7; }
@media (max-width: 760px) { .col-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.w { display: inline-block; }
.anim .cta .display { opacity: 1; }
.window .lead, .portal-steps, .hero-sub { text-shadow: 0 2px 18px rgba(8, 18, 32, .95), 0 0 2px rgba(8, 18, 32, .6); }

/* ---------- Optioneel jaarwerk ---------- */
.stop-tag { display: inline-block; margin: 0 0 12px 12px; vertical-align: 12px; padding: 4px 12px; border-radius: 999px; border: 1.5px dashed var(--pen); color: var(--pen-deep); font-size: .82rem; font-weight: 700; }
.stop-optional .stop-num { background: var(--paper); color: var(--ink); border: 2px dashed var(--ink); }
.v-options { width: min(400px, 100%); justify-self: center; }
.options { width: 100%; background: var(--sheet); border: 1px dashed #b9c4d2; border-radius: 16px; padding: 22px 24px 12px; box-shadow: 0 30px 60px -36px rgba(20, 42, 67, .45); }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.opt-head b { font-family: var(--display); font-stretch: 82%; font-size: 1.35rem; }
.opt-head span { color: var(--slate); font-size: .85rem; }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf0f4; font-size: .98rem; }
.opt:last-child { border-bottom: 0; }
.opt .mono { font-size: .8rem; color: var(--slate); }
.opt-box { position: relative; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--rule); transition: background-color .3s, border-color .3s; }
.opt-box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.opt.is-on .opt-box { background: var(--ink); border-color: var(--ink); }
.opt.is-on .opt-box::after { transform: rotate(45deg) scale(1); }
html:not(.anim) .opt:nth-child(-n+3) .opt-box { background: var(--ink); border-color: var(--ink); }
html:not(.anim) .opt:nth-child(-n+3) .opt-box::after { transform: rotate(45deg) scale(1); }
.opt-label { font-style: normal; font-weight: 600; font-size: .72rem; color: var(--pen-deep); border: 1px dashed var(--pen); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.road-end-cta { margin-top: 28px; }

/* ---------- Aanvraagblok (altijd zichtbaar) ---------- */
.request { display: block; }
.request-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.rf-intro h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.rf-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rf-points li { position: relative; padding-left: 30px; font-weight: 600; }
.rf-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.rf-points li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rf-grid input::placeholder, .rf-grid textarea::placeholder { color: #93a0b0; }
@media (max-width: 900px) { .request-form { grid-template-columns: 1fr; } }

/* Rustige donkere zone achter de herotekst, zodat wit papier nooit door witte letters loopt */
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; inset: -12% -18% -14% -30%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(14, 31, 51, .88), rgba(14, 31, 51, .6) 55%, transparent); }
.hero-title { text-shadow: 0 4px 30px rgba(8, 18, 32, .7); }

/* ---------- Rechtsvorm: label boven het kader ---------- */
.seg-field legend { margin-bottom: 14px; }
.seg-thumb { top: 5px; bottom: 5px; height: auto; }

/* ---------- Terug naar boven ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--pen); color: #fff; box-shadow: 0 12px 28px -10px rgba(232, 115, 74, .9); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--pen-deep); }
.to-top:hover svg { transform: translateY(-2px); transition: transform .25s var(--ease); }

/* ---------- Cookiemelding ---------- */
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 46; max-width: 420px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--sheet); color: var(--ink); box-shadow: 0 20px 50px -20px rgba(8, 18, 32, .6); border: 1px solid var(--rule); font-size: .88rem; line-height: 1.45; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
.cookie-note a { color: var(--pen-deep); }
.btn-ink { --bg: var(--ink); --fg: #fff; padding: .6em 1em; font-size: .88rem; }
.btn-ink:hover { --bg: #0c1c2e; }
@media (max-width: 520px) { .cookie-note { right: 16px; max-width: none; flex-direction: column; align-items: flex-start; } .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

/* ---------- Formulier: privacy en spamfilter ---------- */
.rf-privacy { font-size: .85rem; color: var(--slate); margin: 0 0 8px !important; }
.rf-privacy a { color: var(--pen-deep); }
.rf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
