/* Huisstijl van klantpunt.io: ontwerp v5 "product voorop" (16-11-2026, docs/BRAND.md). build.mjs zet dit in public/site.css.
   Vloeiend raster tot 1560 px; het product (plattegrond, schermen) is het beeld. De Bouwtekening blijft als detail:
   maatlijnen, mono-labels en gekleurde pinnen. Paars alleen als accent. Lettertypen meegeleverd (geen CDN). */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #f3f3f0;
  --sheet: #ffffff;
  --ink: #15171a;
  --ink-2: #555b61;
  --line: #d9dcd7;
  --grid: #e8eae6;
  --brand: #8a2bd1;
  --brand-solid: #8a2bd1;
  --brand-soft: #f1e6fb;
  --on-brand: #ffffff;
  --melding: #c4500d;
  --ok: #1d7a50;
  --asset: #1f68b3;
  --warn: #9a6514;
  --night: #121417;
  --night-2: #1b1e22;
  --night-fg: #eceef0;
  --night-mute: #9aa1a8;
  --night-line: #2b3036;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Sans", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1560px;
  --gut: max(20px, 4vw);
  --head: 68px;
  --r: 14px;
  --r-s: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1214; --sheet: #161a1d; --ink: #e8ebed; --ink-2: #9ca4ab; --line: #2c343b; --grid: #1c2328;
    --brand: #d2a1fb; --brand-solid: #9b3fe0; --brand-soft: #2a1d36; --on-brand: #ffffff;
    --melding: #f08d4f; --ok: #50c48c; --asset: #64aaf0; --warn: #e3b04b;
    --night: #0a0c0e; --night-2: #13171a; --night-line: #252b31;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1214; --sheet: #161a1d; --ink: #e8ebed; --ink-2: #9ca4ab; --line: #2c343b; --grid: #1c2328;
  --brand: #d2a1fb; --brand-solid: #9b3fe0; --brand-soft: #2a1d36; --on-brand: #ffffff;
  --melding: #f08d4f; --ok: #50c48c; --asset: #64aaf0; --warn: #e3b04b;
  --night: #0a0c0e; --night-2: #13171a; --night-line: #252b31;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand-solid); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.sec { padding-block: clamp(72px, 9vw, 140px); }
.sec.tight { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.lead { font-size: clamp(1.0625rem, 1.35vw, 1.3rem); color: var(--ink-2); max-width: 34rem; }
.punt { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--brand-solid); margin-left: .04em; }
.label, .kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.label::before, .kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-solid); flex: none; }
.kicker b { font-weight: 500; }
.sec-head { display: grid; gap: 18px; justify-items: start; max-width: 48rem; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.02; }
.sec-head p { color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 40rem; }
.h-s { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.08; margin-bottom: 18px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); text-decoration: none; margin-top: 24px; font-family: var(--mono); font-size: .8125rem; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.more:hover { text-decoration: underline; }
.more:hover svg { transform: translateX(3px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Knoppen: één primaire per blok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; font: 600 .9375rem var(--sans); text-decoration: none; padding: 11px 20px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); border-radius: var(--r-s); cursor: pointer; white-space: nowrap; transition: border-color .15s, transform .15s, filter .15s; }
.btn:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.primary { background: var(--brand-solid); border-color: var(--brand-solid); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { text-decoration: underline; }
.btn.on-dark { background: transparent; color: var(--night-fg); border-color: var(--night-line); }
.btn.on-dark:hover { border-color: var(--night-fg); }
.langsw { font-family: var(--mono); font-size: .8125rem; padding-inline: 10px; min-height: 40px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-s); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.linkbtn { font: inherit; background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Kop */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); height: var(--head); }
.brand { flex: none; display: block; }
.logo { height: 22px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--brand-solid); }
.top .actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.top .login { font-size: .9375rem; text-decoration: none; color: var(--ink-2); padding: 8px; white-space: nowrap; }
.top .login:hover { color: var(--ink); }
.top .actions .btn.primary { min-height: 42px; padding: 9px 16px; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-p { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; display: grid; padding: 8px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--ink) 40%, transparent); }
.mnav-p a { padding: 12px 14px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-size: 1rem; }
.mnav-p a:hover, .mnav-p a:focus-visible { background: var(--paper); }
.mnav-p .mnav-login { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-s) var(--r-s); margin-top: 4px; color: var(--ink-2); }
@media (max-width: 1279px) { .nav { display: none; } .mnav { display: block; } }
.mnav-lang { display: none; }
@media (max-width: 420px) { .top #theme { display: none; } }
@media (max-width: 560px) { .top .login, .top .langsw { display: none; } .mnav-lang { display: block; } .top .wrap { gap: 10px; } .top .actions { gap: 4px; } .top .actions .btn.primary { padding: 9px 12px; font-size: .875rem; } .logo { height: 19px; } }
@media (max-width: 370px) { #theme { display: none; } }

/* ===== Homepage ===== */
.hero { padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 110px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 6.4rem); letter-spacing: -0.035em; line-height: .98; margin-block: 22px 26px; }
.hero .cta, .ph-text .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .9375rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Klikbare plattegrond: echte HTML en SVG, dus scherp op elk scherm */
.app { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 30px 80px -30px color-mix(in srgb, var(--ink) 35%, transparent); overflow: hidden; min-width: 0; }
@media (min-width: 1700px) { .hero .app { margin-right: calc(-1 * (100vw - var(--max)) / 2 + 24px); border-radius: 18px 0 0 18px; } }
.app-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .875rem; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 500; white-space: nowrap; }
.chip b { font-family: var(--mono); font-weight: 500; color: var(--brand); font-size: .75rem; }
.app-bar .sp { flex: 1; }
.app-bar .mini { font-family: var(--mono); font-size: .75rem; color: var(--ink-2); white-space: nowrap; }
.app-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.plan { position: relative; padding: 18px; border-right: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 23px, var(--grid) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, var(--grid) 23px 24px); }
.plan svg { width: 100%; height: auto; display: block; overflow: visible; }
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.plan .iwall { fill: none; stroke: var(--ink); stroke-width: 1.1; opacity: .7; }
.plan .room { font: 500 10px var(--mono); fill: var(--ink-2); letter-spacing: .04em; }
.plan .dim { stroke: var(--ink-2); stroke-width: .8; fill: none; }
.plan .dimt { font: 400 9px var(--mono); fill: var(--ink-2); }
.pin { cursor: pointer; outline: none; }
.pin circle.c { stroke: var(--sheet); stroke-width: 2.5; transition: r .2s; }
.pin:hover circle.c, .pin.on circle.c, .pin:focus-visible circle.c { r: 11; }
.pin:focus-visible circle.c { stroke: var(--ink); }
.pin text { font: 600 9px var(--mono); fill: var(--sheet); pointer-events: none; }
.pin .halo { fill: none; stroke-width: 1.5; opacity: 0; }
.pin .hit { fill: transparent; }
.pin.on .halo { animation: halo 1.8s ease-out infinite; }
@keyframes halo { from { r: 10; opacity: .8; } to { r: 26; opacity: 0; } }
.k-m { --k: var(--melding); } .k-a { --k: var(--asset); } .k-w { --k: var(--warn); } .k-o { --k: var(--ok); }
.pin circle.c { fill: var(--k); } .pin .halo { stroke: var(--k); }
.side { padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.side-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.side-h strong { font: 600 1rem var(--display); }
.side-h .mono { color: var(--ink-2); }
.pt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; background: var(--sheet); text-align: left; font: inherit; color: inherit; transition: border-color .15s, background .15s; }
.pt:hover { border-color: var(--ink-2); }
.pt.on { border-color: var(--brand-solid); background: var(--brand-soft); }
.pt .k { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--k); }
.pt .t { font-weight: 600; font-size: .875rem; line-height: 1.35; }
.pt .m { font-size: .75rem; color: var(--ink-2); font-family: var(--mono); line-height: 1.4; }
.detail { border-top: 1px dashed var(--line); padding-top: 12px; display: grid; gap: 6px; font-size: .8125rem; color: var(--ink-2); }
.detail b { color: var(--ink); font-weight: 600; }
.stat { display: inline-flex; padding: 2px 8px; border-radius: 6px; font: 500 .75rem var(--mono); color: color-mix(in srgb, var(--k) 72%, var(--ink)); background: color-mix(in srgb, var(--k) 15%, transparent); }
@media (max-width: 640px) { .app-body { grid-template-columns: minmax(0, 1fr); } .plan { border-right: 0; border-bottom: 1px solid var(--line); } .app-bar .mini { display: none; } }

/* Cijferband */
.band { border-block: 1px solid var(--line); background: var(--sheet); }
.band .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fig { padding: 28px clamp(12px, 2vw, 32px); border-left: 1px solid var(--line); display: grid; gap: 4px; }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig b { font: 600 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fig span { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fig:nth-child(3) { border-left: 0; padding-left: 0; } .fig:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Stappen met wisselend scherm */
.steps { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.step-list { display: grid; align-content: start; }
.step { display: grid; gap: 10px; padding: 28px 0 28px 26px; border: 0; border-left: 2px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s; }
.step.on { border-left-color: var(--brand-solid); }
.step .n { color: var(--ink-2); }
.step .h { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; }
.step:not(.on) .h { color: var(--ink-2); }
.step .p { color: var(--ink-2); max-width: 32rem; }
.stage { position: sticky; top: calc(var(--head) + 32px); align-self: start; padding-bottom: 36px; }
.screen { margin: 0; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--ink) 40%, transparent); }
.screen .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.screen .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.stage .phone { position: absolute; right: -12px; bottom: 0; width: clamp(130px, 18%, 220px); border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--sheet); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--ink) 60%, transparent); }
.stage .phone img { width: 100%; aspect-ratio: 560 / 1140; object-fit: cover; object-position: top; }
.caption { margin-top: 18px; color: var(--ink-2); padding-right: 24%; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .stage { position: relative; top: 0; order: -1; margin-bottom: 12px; } .stage .phone { right: 8px; width: 26%; } .caption { padding-right: 30%; } }

/* Voor wie als raster */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.who a { background: var(--sheet); padding: clamp(22px, 2.4vw, 34px); text-decoration: none; display: grid; gap: 10px; align-content: start; transition: background .15s; }
.who a:hover { background: var(--paper); }
.who h3 { font-size: 1.35rem; }
.who p { color: var(--ink-2); font-size: .975rem; }
.who .go, .tile .go { color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.who .go svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .who { grid-template-columns: minmax(0, 1fr); } }

/* Modules: donker vlak met raster */
.dark { background: var(--night); color: var(--night-fg); }
.dark .sec-head p, .dark .label { color: var(--night-mute); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: clamp(20px, 2vw, 28px); display: grid; gap: 10px; align-content: start; min-width: 0; text-decoration: none; color: inherit; transition: border-color .15s; }
a.tile:hover { border-color: #5b6470; }
.tile .code { color: var(--night-mute); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tile h3 { color: var(--night-fg); font-size: 1.3rem; }
.tile p { color: var(--night-mute); font-size: .95rem; }
.t-mjop { grid-column: span 7; }
.t-tv { grid-column: span 5; }
.t-s { grid-column: span 4; }
.t-all { grid-column: span 12; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; border-color: #4b2a66; }
.t-all .price { font: 600 clamp(2rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--night-fg); }
.t-all .price small { font: 400 .95rem var(--sans); color: var(--night-mute); letter-spacing: 0; }
.t-all .row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1100px) { .t-mjop, .t-tv { grid-column: span 12; } .t-s { grid-column: span 6; } }
@media (max-width: 600px) { .t-s { grid-column: span 12; } }
#mjopsvg { width: 100%; height: auto; display: block; margin-top: 8px; }
#mjopsvg .bar { fill: #64aaf0; }
#mjopsvg .bar.peak { fill: #f08d4f; }
#mjopsvg .ax { stroke: var(--night-line); stroke-width: 1; }
#mjopsvg .base { stroke: var(--night-mute); stroke-width: 1; }
#mjopsvg .tk { fill: var(--night-mute); font: 400 11px var(--mono); }
#mjopsvg .res { stroke: #d2a1fb; stroke-width: 1.5; stroke-dasharray: 5 4; }
#mjopsvg .res-t { fill: #d2a1fb; font: 500 11px var(--mono); }
#mjopsvg .val { fill: var(--night-fg); font: 500 11px var(--mono); }
.js #chart .bar { transform: scaleY(0); }
#chart .bar { transform-box: fill-box; transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
#chart.play .bar { transform: none; }
.tvs { background: #050607; border: 1px solid var(--night-line); border-radius: var(--r-s); padding: 16px; display: grid; gap: 6px; margin-top: 8px; color: #e9ecee; }
.tvs .tv-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tvs .clock { font: 600 2.6rem/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.tvs .date { color: #8d969d; }
.tvs .list { display: grid; min-width: 0; }
.tvs .list .h { color: #8d969d; padding-block: 8px; border-bottom: 1px solid var(--night-line); display: flex; justify-content: space-between; }
.tvs .live { display: inline-flex; align-items: center; gap: 8px; }
.tvs .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #50c48c; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.tvs .item { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--night-line); font-size: .875rem; }
.tvs .item:last-child { border-bottom: 0; }
.tvs .item.new { animation: slidein .6s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }
.tvs .item i { width: 9px; height: 9px; border-radius: 50%; }
.tvs .c-ok { background: #50c48c; } .tvs .c-melding { background: #f08d4f; } .tvs .c-asset { background: #64aaf0; } .tvs .c-bev { background: #c98ff7; }
.tvs .item .t { color: #8d969d; font-family: var(--mono); font-size: .75rem; font-variant-numeric: tabular-nums; }
.tvs .item small { display: block; color: #8d969d; font-size: .75rem; }

/* Prijzen (homepage en prijzenpagina) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-c { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto auto 1fr auto; }
.plan-c.main { border: 2px solid var(--brand-solid); }
.plan-c .nm { color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.plan-c .tag { color: var(--brand); }
.plan-c .pr { font: 600 clamp(2.2rem, 3.4vw, 3rem)/1 var(--display); letter-spacing: -.03em; }
.plan-c .un { color: var(--ink-2); font-size: .9375rem; }
.plan-c ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9375rem; align-content: start; }
.plan-c li { display: flex; gap: 10px; }
.plan-c li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); margin-top: .62em; flex: none; }
.plan-c .plan-note { color: var(--ink-2); font-size: .875rem; }
.plan-c .btn { margin-top: 8px; justify-self: start; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Legenda: kop links, lijst rechts */
.leg-sec .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); }
.leg-sec h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .98; }
.leg-sec .side { position: sticky; top: calc(var(--head) + 36px); align-self: start; display: grid; gap: 18px; justify-items: start; }
.leg-sec .side p { color: var(--ink-2); }
.leg-sec .side .big { font: 500 clamp(3rem, 7vw, 5.5rem)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.leg-sec .big small { display: block; font: 400 .8125rem var(--mono); color: var(--ink-2); letter-spacing: .02em; margin-top: 6px; }
.legenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.leg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.leg:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.leg:nth-child(even) { padding-left: 24px; }
.leg svg { width: 30px; height: 30px; grid-row: span 2; color: var(--ink); }
.leg b { font-weight: 600; }
.leg span { color: var(--ink-2); font-size: .9375rem; grid-column: 2; }
.leg svg .acc { transition: fill .2s; fill: var(--ink); }
.leg:hover svg .acc { fill: var(--brand-solid); }
@media (max-width: 960px) { .leg-sec .wrap { grid-template-columns: minmax(0, 1fr); } .leg-sec .side { position: static; } }
@media (max-width: 640px) { .legenda { grid-template-columns: minmax(0, 1fr); } .leg:nth-child(odd), .leg:nth-child(even) { padding: 14px 0; border-right: 0; } }

/* Modules als bladen; kop in het eerste vak */
.bladen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bladen.n3, .bladen.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blad { background: var(--sheet); padding: 20px; display: grid; gap: 8px; align-content: start; min-height: 180px; text-decoration: none; transition: background .2s; }
a.blad:hover { background: var(--paper); }
a.blad:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.blad .code { color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.blad p { color: var(--ink-2); font-size: .9375rem; }
.blad .soon { color: var(--melding); }
.blad .go { color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; }
.blad .go svg { width: 14px; height: 14px; }
.blad.head { grid-column: span 2; grid-row: span 2; background: var(--night); color: var(--night-fg); align-content: space-between; }
.blad.head .code { color: var(--night-mute); }
.blad.head h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1; }
.blad.head p { color: var(--night-mute); max-width: 30em; margin-top: 12px; font-size: 1rem; }
@media (max-width: 960px) { .bladen.with-head, .bladen.n4, .bladen.n6, .bladen.n8, .bladen.n12 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blad.head { grid-row: auto; } }
@media (max-width: 720px) { .bladen.n3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .bladen { grid-template-columns: minmax(0, 1fr) !important; } .blad.head { grid-column: auto; } .blad { min-height: 0; } }

/* Lijstjes met pijl */
.arrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.arrows li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.arrows li::before { content: "→"; font-family: var(--mono); color: var(--brand); }
.arrows.big { gap: 12px; font-size: 1.0625rem; }
.arrows.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px 40px; }
.hows { list-style: none; margin: 0; padding: 0; counter-reset: h; display: grid; border-top: 1px solid var(--ink); }
.hows li { counter-increment: h; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.hows li::before { content: counter(h, decimal-leading-zero); font-family: var(--mono); font-size: .8125rem; color: var(--brand); padding-top: 3px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }
.base-note { margin-top: 40px; border: 1px dashed var(--ink-2); padding: 20px 24px; display: flex; gap: 12px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.base-note > div { display: grid; gap: 4px; max-width: 46em; }
.base-note p { color: var(--ink-2); }


/* Overstappen op een maatlijn */
.ov { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.ov h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .98; }
.ov .side { display: grid; gap: 16px; justify-items: start; }
.ov .side p { color: var(--ink-2); }
.maat { position: relative; list-style: none; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 44px 0 0; }
.maat::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: var(--ink); }
.maat::after { content: ""; position: absolute; right: 0; top: 5px; width: 1px; height: 18px; background: var(--ink); }
.maat .fill { position: absolute; left: 0; top: 13px; height: 3px; background: var(--brand-solid); width: var(--p, 100%); }
.maat li { position: relative; padding-right: 20px; }
.maat li::before { content: ""; position: absolute; left: 0; top: -39px; width: 1px; height: 18px; background: var(--ink); }
.maat .when { color: var(--brand); }
.maat h3 { font-size: 1.1875rem; margin-top: 6px; }
.maat p { color: var(--ink-2); margin-top: 6px; font-size: .9375rem; }
.files { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.files li { border: 1px solid var(--line); padding: 6px 10px; background: var(--sheet); }
@media (max-width: 860px) { .ov { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .maat { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 28px; gap: 28px; }
  .maat::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .maat::after { display: none; }
  .maat .fill { left: 5px; top: 0; width: 3px; height: var(--p, 100%); }
  .maat li::before { left: -22px; top: 10px; width: 14px; height: 1px; }
}


/* Nieuws en veiligheid */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.duo > div { display: grid; align-content: start; justify-items: start; gap: 4px; }
.news { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--ink); width: 100%; }
.news li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.news time { color: var(--brand); font-variant-numeric: tabular-nums; padding-top: 2px; }
.news h3 { font-size: 1rem; }
.news p { color: var(--ink-2); font-size: .9375rem; }
.safe { margin: 0; border-top: 1px solid var(--ink); width: 100%; }
.safe div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.safe dt { font-weight: 600; }
.safe dd { margin: 0; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .safe div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Demo, brochure en formulieren */
.demo-sec { border-top: 1px solid var(--line); }
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.demo h1, .demo h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .98; }
.demo-left { display: grid; gap: 18px; }
.demo-left > p { color: var(--ink-2); max-width: 30em; }
.demo .mail { color: var(--ink-2); }
.demo .mail a { color: var(--ink); }
.brochure { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; border-top: 1px solid var(--ink); padding-top: 20px; margin-top: 8px; }
.brochure .cover { width: 80px; aspect-ratio: 210 / 297; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); padding: 8px; display: flex; align-items: flex-end; font-size: .625rem; line-height: 1.25; color: var(--ink); position: relative; }
.brochure .cover::before { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-solid); }
.brochure h3 { font-size: 1rem; }
.brochure p { color: var(--ink-2); font-size: .9375rem; }
.lead-form.inline { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lead-form.inline input { flex: 1 1 180px; min-width: 0; font: inherit; font-size: .9375rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.lead-form.inline input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.form-msg { font-size: .875rem; margin-top: 8px; color: var(--ink-2); }
.form-card { border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 70px -50px color-mix(in srgb, var(--ink) 40%, transparent); background: var(--sheet); padding: clamp(20px, 3vw, 32px); position: relative; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: .875rem; font-weight: 500; }
.field label small { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .ktable input:not([type="checkbox"]):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.field .checks label { display: inline-flex; white-space: nowrap; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; background: var(--paper); }
.checks input { accent-color: var(--brand-solid); margin: 0; }
.field .checks label:has(input:checked) { border-color: var(--brand-solid); color: var(--brand); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.consent input { accent-color: var(--brand-solid); margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--melding); font-size: .875rem; font-weight: 500; margin-top: 14px; }
.form-card .row { display: flex; gap: 12px; margin-top: 18px; }
.done { display: grid; gap: 14px; justify-items: start; }
.done:focus { outline: none; }
.done h3 { font: 600 1.75rem var(--display); }
.done p { color: var(--ink-2); }
.check-anim { width: 44px; height: 44px; }
.check-anim circle { fill: none; stroke: var(--ok); stroke-width: 2; stroke-dasharray: 126; stroke-dashoffset: 126; animation: tick .5s forwards; }
.check-anim path { fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .35s .4s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) { .demo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Vragen */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap > h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .98; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; padding-block: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.25rem/1 var(--mono); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; max-width: 62ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* Vervolgpagina's */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-2); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs-only { padding-top: clamp(28px, 5vw, 56px); }
.crumbs-only .crumbs { margin-bottom: 0; }
.crumbs-only + .demo-sec { border-top: 0; padding-top: clamp(28px, 4vw, 48px); }
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ph-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.ph-text h1 { font-size: clamp(2.1rem, 5.6vw + .6rem, 4.6rem); line-height: .95; letter-spacing: -0.03em; }
.ph-text .lead { margin-top: 22px; }
.ph-text .kicker { margin-bottom: 18px; }
.ph-shot { margin: 0; display: grid; gap: 10px; }
.ph-shot img { width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); max-height: 460px; object-fit: cover; object-position: top left; }
.ph-shot.tall { justify-items: center; }
.ph-shot.tall img { width: auto; max-width: 280px; max-height: 520px; border-radius: 22px; }
.ph-shot figcaption { color: var(--ink-2); }
.ph-text.done { justify-items: start; gap: 0; }
.ph-text.done .check-anim { width: 56px; height: 56px; margin-bottom: 18px; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } }

/* Juridisch */
.legal-meta { margin-top: 14px; color: var(--ink-2); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.legal { max-width: 62em; overflow-wrap: break-word; }
.legal > p, .legal > ul, .legal > ol { max-width: 46em; }
.legal h2 { font-family: var(--sans); font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; margin: 2em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul, .legal ol { margin: 0 0 1em; }
.legal li { margin: .25em 0; }
.legal-table { overflow-x: auto; margin: 0 0 1.25em; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--sheet); }
.legal-table table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); min-width: 7em; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { font-weight: 600; background: var(--paper); }
.legal-side { font-size: .9375rem; color: var(--ink-2); border-top: 1px solid var(--ink); padding-top: 18px; position: sticky; top: calc(var(--head) + 24px); }
.legal-side ul { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 6px; }
.legal-side a { color: var(--ink); }
.legal-side-h { color: var(--ink-2); font-weight: 500; margin: 0; font-family: var(--mono); }
@media (max-width: 860px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); } .legal-side { position: static; } }
@media (max-width: 640px) {
  .legal-table { border: 0; background: none; overflow: visible; }
  .legal-table thead { display: none; }
  .legal-table table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { background: var(--sheet); border: 1px solid var(--line); padding: 6px 12px; margin-bottom: 10px; }
  .legal-table td { border: 0; padding: 6px 0; min-width: 0; }
  .legal-table td::before { content: attr(data-label); display: block; font: 500 .75rem var(--mono); color: var(--ink-2); }
}

/* Prijzen: drie abonnementen als bladen, bundels als tabel */
.plans .plan { min-height: 0; gap: 12px; }
.plans .plan.main { background: var(--sheet); box-shadow: inset 0 3px 0 var(--brand); }
.plan .price { display: grid; gap: 2px; color: var(--ink-2); font-size: .875rem; }
.plan .price b { font-family: var(--display); font-weight: 600; font-size: 2.5rem; line-height: 1.05; color: var(--ink); }
.plan .arrows { margin: 4px 0 0; }
.plan .plan-note { font-size: .875rem; }
.plan .btn { justify-self: start; margin-top: auto; }
.plan-foot { color: var(--ink-2); margin-top: 16px; }
.price-table { width: 100%; margin-top: 16px; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
@media (max-width: 960px) { .bladen.plans { grid-template-columns: minmax(0, 1fr); } }

/* Voet */
.foot { padding-block: 64px 36px; border-top: 1px solid var(--line); font-size: .9375rem; }
.fgrid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.f-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.f-brand p { color: var(--ink-2); max-width: 24rem; }
.f-brand .news-cell { margin-top: 12px; width: 100%; max-width: 420px; }
.foot-h { display: block; margin: 0 0 12px; font: 500 .75rem var(--mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
.legal-row .parent { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legal-row .parent img { height: 16px; width: auto; }
@media (max-width: 860px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* Beweging uit: systeeminstelling of de knop onderaan */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js #chart .bar { transform: none; }
  .check-anim circle, .check-anim path { stroke-dashoffset: 0; }
}
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* Citaat van een klant (homepage) */
.quote { margin: 0; max-width: 62rem; }
.quote blockquote { margin: 18px 0 0; }
.quote blockquote p { font: 500 clamp(1.2rem, 2.3vw, 2rem)/1.4 var(--display); letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
.quote blockquote p::before { content: "“"; color: var(--brand); }
.quote blockquote p::after { content: "”"; color: var(--brand); }
.quote figcaption { margin-top: 20px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; color: var(--ink-2); font-size: .9375rem; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.quote figcaption span { font: 400 .8125rem var(--mono); }

/* Rekenhulpen (/rekenhulpen, /en/tools): invoer links, uitkomst rechts; op telefoon onder elkaar */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tool.wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.tool-in { display: grid; gap: 16px; min-width: 0; }
.tool-in .field > span { font-size: .875rem; font-weight: 500; }
.tool-in .field small { color: var(--ink-2); font-size: .8125rem; }
.tool-out { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 12px; position: sticky; top: calc(var(--head) + 20px); min-width: 0; }
.tool-out:empty { display: none; }
.tool-out .r { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); }
.tool-out .r b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tool-out .r.strong { color: var(--ink); }
.tool-out .r.strong b { font: 600 clamp(1.4rem, 2.4vw, 1.9rem)/1 var(--display); color: var(--brand); }
.tool-text { color: var(--ink-2); font-size: .9375rem; margin: 0; }
.tool-note { color: var(--ink-2); font-size: .8125rem; margin-top: 18px; }
.ktable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ktable th, .ktable td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ktable thead th { font: 500 .75rem var(--mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.ktable tbody th { font-weight: 500; }
.ktable tbody th small { display: block; color: var(--ink-2); font-size: .75rem; font-weight: 400; }
.ktable tr.on th { color: var(--ink); }
.ktable input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brand-solid); }
.ktable input[type="month"], .ktable input.n { font: inherit; font-size: .9375rem; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); max-width: 100%; }
.ktable input.n { width: 4.5em; }
.ktable .kcap { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tool-out .meter { position: relative; height: 10px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; margin: 4px 0 6px; }
.tool-out .meter i { position: absolute; inset: 0 auto 0 0; background: var(--brand-solid); }
.tool-out .meter b { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--sheet); }
.klist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.klist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: var(--r-s); }
.klist li b { font-weight: 600; white-space: nowrap; }
.klist li em { grid-column: 1 / -1; font-style: normal; font-size: .75rem; color: var(--ink-2); }
@media (max-width: 560px) { .klist li { grid-template-columns: minmax(0, 1fr); } }
.klist li.over { border-left-color: var(--melding); } .klist li.soon { border-left-color: var(--warn); } .klist li.ok { border-left-color: var(--ok); }
.seg { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.seg legend { font-size: .875rem; font-weight: 500; margin-bottom: 8px; padding: 0; }
.seg label { display: block; cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--sheet); }
.seg label > span small { color: var(--ink-2); font-size: .8125rem; }
.seg input:checked + span { border-color: var(--brand-solid); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.seg input:focus-visible + span { outline: 2px solid var(--brand-solid); outline-offset: 2px; }
.tool input[type="range"] { width: 100%; accent-color: var(--brand-solid); }
.tool-out.score { text-align: left; }
.tool-out .big { font: 600 clamp(4rem, 9vw, 6.5rem)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.tool-out .big.s1, .tool-out .big.s2 { color: var(--ok); } .tool-out .big.s3, .tool-out .big.s4 { color: var(--warn); } .tool-out .big.s5, .tool-out .big.s6 { color: var(--melding); }
.tool-out .small { font-size: .75rem; color: var(--ink-2); margin: 0; }
.tool-out .lead-form { display: grid; gap: 12px; }
@media (max-width: 900px) { .tool, .tool.wide { grid-template-columns: minmax(0, 1fr); } .tool-out { position: static; } }
@media (max-width: 560px) { .ktable thead { display: none; } .ktable tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); } .ktable th, .ktable td { border: 0; padding: 0; } .ktable td:nth-child(3), .ktable td:nth-child(4) { grid-column: 2; display: flex; align-items: center; gap: 8px; } .ktable .kcap { display: inline; font-size: .8125rem; color: var(--ink-2); min-width: 7.5em; } }

/* ---------- Kennis (17-11-2026): begrippenlijst en gidsen ---------- */
.gloss-index { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gloss-index a.chip { color: var(--ink); text-decoration: none; background: var(--sheet); white-space: normal; }
.gloss-index a:hover, .gloss-index a:focus-visible { border-color: var(--brand-solid); color: var(--brand); }
.gloss div { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 32px; }
.gloss div:target { background: var(--brand-soft); padding-inline: 12px; border-radius: var(--r-s); }
.gloss { margin-top: 28px; }
@media (max-width: 520px) { .gloss div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.legal.guide .safe { margin-bottom: 2em; }
.legal.guide .safe, .guide-kp { max-width: 46em; }
.legal .tool-note { margin-top: 18px; }
.guide-kp > :last-child { margin-bottom: 0; }
a.blad:focus-visible { outline-offset: -3px; }
.guide-kp { margin-top: 2em; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-left: 3px solid var(--brand-solid); border-radius: var(--r-s); background: var(--sheet); }
.guide-kp h2 { margin-top: 0; }
.guide-side p { margin: 8px 0 18px; }

