/* Roosterke, openbare homepagina. Vlak en rustig: geen verlopen, gloed of schaduwen
   als decoratie; ruimte, typografie en dunne lijnen doen het werk. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F6F4F0;
  --bg-alt: #EFECE6;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #16181D;
  --ink-2: #4B505A;
  --ink-3: #656A74;
  --line: #E6E2DA;
  --line-strong: #CFCAC0;
  --accent: #C8372D;
  --accent-text: #B0302A;
  --accent-soft: #F7E4E1;
  --on-accent: #FFFFFF;
  --band: #16181D;
  --band-ink: #F6F4F0;
  --band-ink-2: #B9BBC2;
  --bezel: #121418;
  --device-base: #D6D2CA;
  --device-notch: #BEB9B0;
  --before-bar: #B9B4AA;
  --radius: 20px;
  --wrap: 1152px;
  --gutter: 16px;
  color-scheme: light dark;
}

/* Donker: volgt het systeem, tenzij de bezoeker met de knop bovenin bewust licht of donker
   kiest (data-theme op <html>, dezelfde sleutel rk-admin-theme als het beheer). */
:root[data-theme="licht"] { color-scheme: light; }
:root[data-theme="donker"] {
  --bg: #0E0F12;
  --bg-alt: #131519;
  --surface: #16181D;
  --surface-2: #1B1E24;
  --ink: #F1EFEA;
  --ink-2: #BBBDC4;
  --ink-3: #8E919A;
  --line: #272A31;
  --line-strong: #363A42;
  --accent: #C8372D;
  --accent-text: #F07C72;
  --accent-soft: #2A1714;
  --band: #1D2026;
  --band-ink: #F1EFEA;
  --band-ink-2: #A9ACB4;
  --bezel: #050608;
  --device-base: #2B2E35;
  --device-notch: #1C1E23;
  --before-bar: #4A4E57;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="licht"]) {
    --bg: #0E0F12;
    --bg-alt: #131519;
    --surface: #16181D;
    --surface-2: #1B1E24;
    --ink: #F1EFEA;
    --ink-2: #BBBDC4;
    --ink-3: #8E919A;
    --line: #272A31;
    --line-strong: #363A42;
    --accent: #C8372D;
    --accent-text: #F07C72;
    --accent-soft: #2A1714;
    --band: #1D2026;
    --band-ink: #F1EFEA;
    --band-ink-2: #A9ACB4;
    --bezel: #050608;
    --device-base: #2B2E35;
    --device-notch: #1C1E23;
    --before-bar: #4A4E57;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 84px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.i { flex: none; vertical-align: -0.15em; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.fine { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.note { color: var(--ink); font-weight: 700; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 2px rgba(200, 55, 45, .25); }
.btn--primary:hover { background: #B12F26; box-shadow: 0 6px 18px rgba(200, 55, 45, .28); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(200, 55, 45, .25); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface-2); }
.btn--on-dark { border-color: rgba(255, 255, 255, .28); color: var(--band-ink); }
.btn--on-dark:hover { border-color: var(--band-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; margin-top: 36px; }
.link-plain { text-decoration: none; font-weight: 600; color: var(--ink); }
.link-plain:hover { color: var(--accent-text); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--accent-text); text-decoration: none; }

/* Kop */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__bar { display: flex; align-items: center; gap: 20px; min-height: 66px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #16181D; }
.brand__tile img { width: 24px; height: auto; }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.top__nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.top__links { display: flex; gap: 2px; }
.top__links a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: background-color .15s, color .15s; }
.top__links a:hover { background: var(--bg-alt); color: var(--ink); }
.top__actions { display: flex; align-items: center; gap: 10px; }
.top__toggle { display: none; }

@media (max-width: 960px) {
  .top__links { gap: 18px; }
  .top__nav { gap: 18px; }
}
@media (max-width: 880px) {
  .top__bar { flex-wrap: wrap; gap: 12px; }
  .js .top__toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .top__nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0 0 12px; }
  .js .top__nav { display: none; }
  .js .top.is-open .top__nav { display: flex; }
  .top__links { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .top__links a { display: block; padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .top__actions { gap: 10px; padding-top: 14px; }
  .top__actions .btn { flex: 1; }
  .no-js .top__nav { margin-top: 0; }
  .no-js .top__links { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border: 0; }
  .no-js .top__links a { border: 0; padding: 4px 0; font-size: 15px; }
}

/* Zoeken, licht/donker en de menuknop rechts in de kop. */
.top__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); cursor: pointer; text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.icon-btn:hover { border-color: var(--ink); }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="donker"] .theme-toggle .ic-sun { display: inline; }
:root[data-theme="donker"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .ic-sun, :root[data-theme="automatisch"] .theme-toggle .ic-sun { display: inline; }
  :root:not([data-theme]) .theme-toggle .ic-moon, :root[data-theme="automatisch"] .theme-toggle .ic-moon { display: none; }
}
.no-js .theme-toggle { display: none; }
@media (max-width: 880px) {
  .top__tools { margin-left: auto; }
  .js .top__toggle { margin-left: 0; }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; }
.hero h1 { font-size: clamp(38px, 6.2vw, 76px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 750; max-width: 13ch; }
.hero__aside { display: grid; gap: 22px; padding-bottom: 8px; }
.hero__aside .lead { font-size: 18px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
}

.stage {
  position: relative; margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(28px, 5vw, 64px) clamp(16px, 6vw, 88px) 0;
  background: var(--bg-alt); border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0; overflow: hidden;
}
.laptop { width: 88%; max-width: 920px; }
.laptop__screen { border: clamp(5px, 0.9vw, 11px) solid var(--bezel); border-bottom-width: clamp(8px, 1.3vw, 16px); border-radius: clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px) 0 0; background: var(--bezel); overflow: hidden; }
.laptop__screen img { width: 100%; }
.laptop__base { position: relative; height: clamp(9px, 1.3vw, 16px); margin-inline: -5.5%; background: var(--device-base); border-radius: 0 0 14px 14px; }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 45%; transform: translateX(-50%); background: var(--device-notch); border-radius: 0 0 8px 8px; }

.phone { background: var(--bezel); border: 1px solid var(--bezel); padding: clamp(4px, 0.55vw, 7px); border-radius: clamp(22px, 3vw, 36px); }
.phone img { width: 100%; border-radius: clamp(17px, 2.4vw, 29px); }
.phone--hero {
  position: absolute; right: clamp(16px, 5vw, 72px); bottom: -14%; width: clamp(132px, 23%, 262px);
  box-shadow: 0 0 0 clamp(5px, 0.8vw, 10px) var(--bg-alt);
}

@media (max-width: 640px) {
  .stage { padding: 20px 16px 0; border-radius: 20px 20px 0 0; }
  .laptop { width: 100%; margin-bottom: 110px; }
  .phone--hero { width: 40%; right: 16px; bottom: -34%; }
}

/* Vertrouwen */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__list li { display: flex; align-items: center; gap: 12px; padding: 22px 20px; font-weight: 600; font-size: 15px; line-height: 1.35; }
.trust__list li + li { border-left: 1px solid var(--line); }
.trust__list .i { color: var(--accent-text); }
@media (max-width: 960px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list li:nth-child(3) { border-left: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__list li { border-left: 0 !important; padding: 16px 4px; }
  .trust__list li + li { border-top: 1px solid var(--line); }
}

/* Secties */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px 40px; margin-bottom: clamp(40px, 6vw, 64px); }
.head h2 { font-size: clamp(30px, 4.2vw, 50px); letter-spacing: -0.03em; max-width: 20ch; margin-bottom: 20px; }
.head__num { font-size: 15px; font-weight: 700; color: var(--ink-3); padding-top: 2px; border-top: 2px solid var(--ink); width: 48px; padding-top: 10px; font-variant-numeric: tabular-nums; }
.head--stack { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .head { grid-template-columns: 1fr; gap: 20px; }
}
.sub { font-size: 22px; margin: clamp(56px, 7vw, 88px) 0 24px; }
.h-md { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.028em; margin-bottom: 18px; }

/* Fundament: uitgelichte functies */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature__text { padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--ink-2); max-width: 46ch; }
.feature__shot { margin-top: 28px; padding: 0 24px; height: clamp(280px, 30vw, 360px); overflow: hidden; display: flex; justify-content: center; background: var(--surface-2); border-top: 1px solid var(--line); padding-top: 28px; margin-top: auto; }
.feature__text + .feature__shot { margin-top: 28px; }
.feature__shot .phone { width: 244px; flex: none; align-self: flex-start; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.feature--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--wide .feature__text { padding-bottom: clamp(24px, 3vw, 36px); align-self: center; }
.feature__shot--screen { height: auto; margin: 0; padding: clamp(24px, 3vw, 40px) 0 0 clamp(24px, 3vw, 40px); border-top: 0; border-left: 1px solid var(--line); display: block; }
.feature__shot--screen img { border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .feature--wide { grid-template-columns: 1fr; }
  .feature__shot--screen { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0 24px; }
}

.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks .i { color: var(--accent-text); margin-top: 5px; }
.checks strong { display: block; font-weight: 650; }
.checks span { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }

/* Modules */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(56px, 7vw, 88px); }
.gallery__item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__item--screen { grid-column: span 2; }
.gallery__shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__item--screen .gallery__shot { padding: 24px 0 0 24px; }
.gallery__item--screen .gallery__shot img { border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.gallery__item--phone .gallery__shot { height: 330px; padding: 24px 20px 0; display: flex; justify-content: center; background: var(--surface-2); }
.gallery__item--phone .phone { width: 200px; flex: none; align-self: flex-start; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.gallery figcaption { font-size: 15px; font-weight: 650; }
.gallery figcaption a { text-decoration: none; }
.gallery figcaption a:hover { color: var(--accent-text); }
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery__item--phone .gallery__shot { height: 250px; padding: 16px 12px 0; }
  .gallery__item--phone .phone { width: 100%; max-width: 170px; }
  .gallery__item--screen .gallery__shot { padding: 16px 0 0 16px; }
}

.mgroup { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px 40px; padding: 36px 0; border-top: 1px solid var(--line-strong); }
.mgroup:first-of-type { border-top: 0; padding-top: 0; }
.mgroup__head h3 { font-size: 22px; margin-bottom: 8px; }
.mgroup__head p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.mcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 8px; }
.mcard__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mcard__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.mcard h4 { font-size: 18px; letter-spacing: -0.015em; }
.mcard__tag { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.mcard__for { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.mcard__more { margin-top: 12px; border-top: 1px solid var(--line); }
.mcard__more summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 650; list-style: none; color: var(--ink); }
.mcard__more summary::-webkit-details-marker { display: none; }
.mcard__more summary .i { transition: transform .15s; color: var(--ink-3); }
.mcard__more[open] summary .i { transform: rotate(180deg); }
.mcard__body { padding-bottom: 14px; font-size: 15px; color: var(--ink-2); display: grid; gap: 10px; }
.mcard__label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.mcard__body ul { display: grid; gap: 6px; }
.mcard__body li { display: flex; gap: 8px; line-height: 1.45; }
.mcard__body li .i { color: var(--accent-text); margin-top: 4px; }
.mcard__example { padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.mcard__example strong { color: var(--ink); }
@media (max-width: 1040px) {
  .mgroup { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mcards { grid-template-columns: 1fr; }
}

/* Voor en na */
.compare { border-top: 1px solid var(--line-strong); }
.compare__head, .compare__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 20px; }
.compare__head { padding: 14px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.compare__head span:last-child { color: var(--accent-text); }
.compare__row { padding: 24px 0; border-bottom: 1px solid var(--line); align-items: stretch; }
.compare__task h3 { font-size: 19px; margin-bottom: 10px; }
.tag { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--ink-2); line-height: 1.5; }
.tag--base { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.compare__cell { border-radius: 14px; padding: 18px 20px; }
.compare__cell p { font-size: 16px; line-height: 1.55; }
.compare__cell--before { color: var(--ink-3); border: 1px dashed var(--line-strong); }
.compare__cell--after { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.compare__label { display: none; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }
.compare__cell--after .compare__label { color: var(--accent-text); }
.compare__cell--before .i { color: var(--ink-3); }
@media (max-width: 820px) {
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .compare__label { display: flex; }
}

/* Rekenvoorbeeld */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.calc__form { display: grid; gap: 20px; }
fieldset { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); min-width: 0; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-weight: 700; font-size: 17px; }
legend + * { clear: both; }
legend span { font-weight: 500; color: var(--ink-3); font-size: 14px; margin-left: 6px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; padding-bottom: 0; }
.field label { font-weight: 550; font-size: 15px; }
.field output { font-weight: 750; font-size: 18px; font-variant-numeric: tabular-nums; }
.field input[type=range] { grid-column: 1 / -1; width: 100%; margin: 10px 0 0; accent-color: var(--accent); height: 28px; }
.assume__intro { font-size: 14px; color: var(--ink-2); margin: 8px 0 6px; }
.assume__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.assume__row:last-child { border-bottom: 0; padding-bottom: 0; }
.assume__row label { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.unit { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.unit input { width: 76px; min-height: 42px; padding: 6px 10px; font: inherit; font-size: 16px; font-weight: 650; color: var(--ink); text-align: right; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; font-variant-numeric: tabular-nums; }
.unit input:focus-visible { border-color: var(--accent); }

.calc__result { position: sticky; top: 92px; display: grid; gap: 22px; padding: clamp(24px, 3vw, 32px); background: var(--band); color: var(--band-ink); border-radius: var(--radius); border: 1px solid var(--band); }
.badge { justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; border: 1px solid rgba(255, 255, 255, .25); color: var(--band-ink); }
.totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; overflow: hidden; }
.totals div { background: var(--band); padding: 16px 18px; }
.totals dt { font-size: 13px; color: var(--band-ink-2); margin-bottom: 4px; }
.totals dd { margin: 0; font-size: clamp(24px, 2.8vw, 32px); font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.totals div:first-child dd { color: #FF8D84; }
.bars { display: grid; gap: 12px; }
.bars__row { display: grid; grid-template-columns: 124px minmax(0, 1fr) 72px; align-items: center; gap: 12px; font-size: 14px; }
.bars__label { color: var(--band-ink-2); }
.bars__track { height: 14px; background: rgba(255, 255, 255, .08); border-radius: 4px; overflow: hidden; }
.bars__fill { display: block; height: 100%; border-radius: 4px; transition: width .25s; }
.bars__fill--before { background: #6E717A; }
.bars__fill--after { background: var(--accent); }
.bars__value { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.breakdown caption { text-align: left; font-size: 13px; color: var(--band-ink-2); padding-bottom: 8px; }
.breakdown th, .breakdown td { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); text-align: right; font-weight: 500; }
.breakdown th[scope=row], .breakdown thead th:first-child { text-align: left; }
.breakdown thead th { color: var(--band-ink-2); font-weight: 600; font-size: 13px; border-top: 0; }
.calc__result .fine { color: var(--band-ink-2); font-size: 13px; }
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}
@media (max-width: 480px) {
  fieldset { padding: 18px 16px; }
  .bars__row { grid-template-columns: 1fr 64px; }
  .bars__label { grid-column: 1 / -1; }
  .assume__row { grid-template-columns: 1fr; gap: 8px; }
  .totals div { padding: 14px; }
}

/* Voor wie */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sector__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 20px; }
.sector h3 { font-size: 22px; margin-bottom: 10px; }
.sector p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }

.brandsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: clamp(56px, 8vw, 96px); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.brandsplit__text > p:not(.eyebrow) { color: var(--ink-2); max-width: 48ch; }
.plain-checks { display: grid; gap: 10px; margin-top: 22px; }
.plain-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.plain-checks .i { color: var(--accent-text); }
.brandsplit__shots { display: flex; justify-content: center; gap: 20px; margin-bottom: calc(-1 * clamp(28px, 4vw, 56px)); height: 440px; overflow: hidden; }
.phone--pair { width: 214px; flex: none; align-self: flex-start; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone--pair + .phone--pair { margin-top: 40px; }
@media (max-width: 900px) {
  .brandsplit { grid-template-columns: 1fr; }
  .brandsplit__shots { height: auto; margin-bottom: 0; padding-bottom: 8px; }
  .phone--pair { width: 44%; max-width: 220px; border-radius: 26px; }
}

/* Vragen */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.faq-wrap .head { margin-bottom: 0; align-content: start; }
.faq-wrap .head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--ink-3); transition: transform .15s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq__body { padding: 0 0 24px; display: grid; gap: 12px; color: var(--ink-2); max-width: 62ch; }
.faq__body a:not(.link-arrow) { color: var(--accent-text); text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Afsluiter */
.cta { background: var(--band); color: var(--band-ink); padding: clamp(64px, 9vw, 112px) 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.032em; max-width: 14ch; }

/* Voet */
.foot { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
.foot__maker { margin: 22px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.foot__maker a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot__maker a:hover { color: var(--ink); }
.foot__nav h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot__nav ul { display: grid; gap: 10px; }
.foot__nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot__nav a:hover { color: var(--ink); }
.foot__legal { padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
@media (max-width: 700px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
}

/* ==========================================================================
   Beweging. Alles hieronder is versiering: zonder JavaScript, of met
   "minder beweging" aan, staat alles meteen stil en zichtbaar. Alleen opacity
   en transform, zodat er niets verspringt.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* De kop: onderstreping onder "In één app." (zonder beweging staat hij er gewoon). */
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; z-index: -1;
  height: 0.16em; border-radius: 0.08em;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #F2A33A));
  opacity: .85; transform-origin: left center;
}
.hero h1 { position: relative; z-index: 0; }

/* Hover: kaarten komen iets omhoog, knoppen ook. */
.feature, .sector, .mcard, .gallery__shot, .brandsplit, .compare__cell--after {
  transition: border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.btn { transition: background-color .15s, border-color .15s, color .15s, transform .2s var(--ease-out); }
.btn .i { transition: transform .2s var(--ease-out); }
@media (hover: hover) {
  .motion .feature:hover, .motion .sector:hover, .motion .mcard:hover, .motion .gallery__item:hover .gallery__shot {
    transform: translateY(-4px); border-color: var(--line-strong);
    box-shadow: 0 14px 30px -18px rgba(22, 24, 29, .35);
  }
  .motion .btn:hover { transform: translateY(-2px); }
  .motion .btn:hover .i { transform: translateX(3px); }
  .motion .btn:active { transform: translateY(0); }
}

/* "Met Roosterke" krijgt een accentlijn die volloopt als de rij in beeld komt. */
.compare__cell--after { position: relative; overflow: hidden; }
.compare__cell--after::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); transform-origin: left center;
}

/* Rekenvoorbeeld: balken beginnen leeg en vullen zich als ze in beeld komen. */
.motion .bars__fill { transition: width .25s; }
.motion .bars--pending .bars__fill { width: 0 !important; }
.motion .bars:not(.bars--pending) .bars__fill { transition: width 1.1s var(--ease-out); }
.motion .bars:not(.bars--pending) .bars__fill--after { transition-delay: .15s; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero: eerst de tekst, dan de laptop, dan schuift de telefoon erin en zweeft zacht. */
  .motion .hero__text { animation: rk-rise .8s var(--ease-out) both; }
  .motion .hero__aside { animation: rk-rise .8s var(--ease-out) .12s both; }
  .motion .laptop { animation: rk-rise-far 1s var(--ease-out) .28s both; }
  .motion .phone--hero {
    animation: rk-slide-in .9s var(--ease-out) .6s both;
  }
  .motion .hl::after { animation: rk-underline .9s var(--ease-out) .7s both; }

  /* Scroll-reveal (landing.js zet data-reveal en de vertraging per broertje). */
  .motion [data-reveal] { opacity: 0; }
  .motion [data-reveal].is-visible { animation: rk-reveal .7s var(--ease-out) var(--reveal-delay, 0ms) both; }
  .motion [data-reveal].is-done { animation: none; opacity: 1; }

  .motion .compare__row .compare__cell--after::after { transform: scaleX(0); transition: transform .9s var(--ease-out) .25s; }
  .motion .compare__row.is-visible .compare__cell--after::after { transform: scaleX(1); }
}

@keyframes rk-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rk-rise-far { from { opacity: 0; transform: translateY(36px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes rk-slide-in { from { opacity: 0; transform: translate(40px, 24px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes rk-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rk-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Uitleg bij een vakterm: aanwijzen of focus toont hem, Escape sluit hem (landing.js). */
.term { position: relative; display: inline; }
.term__btn {
  display: inline; padding: 0; border: 0; border-bottom: 1px dashed currentColor;
  background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: help;
}
.term__tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 30;
  width: max-content; max-width: min(280px, 80vw); padding: 10px 12px; border-radius: 10px;
  background: var(--ink); color: var(--bg); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45);
  font-size: 14px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal;
  transform: translateX(-50%); display: none; pointer-events: none;
}
/* Verborgen met display: none, zodat een tooltip aan de rand geen horizontale scroll geeft. */
.term:hover .term__tip, .term__btn:focus + .term__tip { display: block; }
.term.is-dismissed .term__tip { display: none; }

/* Module: link naar de eigen pagina */
.mcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 15px; font-weight: 650; color: var(--accent-text); text-decoration: none; }
.mcard__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Prijs */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pricing__card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pricing__card h3 { font-size: 22px; }
.pricing__card p { color: var(--ink-2); }
.pricing__card .btn { align-self: flex-start; margin-top: auto; }
.pricing__guarantee { display: flex; gap: 10px; align-items: flex-start; color: var(--ink) !important; font-weight: 600; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

/* Ervaringen (alleen als wwwroot/data/bewijs.json gevuld is) */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 8px; }
.proof + .proof { margin-top: 20px; }
.proof__item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; }
.proof blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.proof figure { margin: 0; display: grid; gap: 12px; }
.proof figcaption { color: var(--ink-3); font-size: 15px; }

/* Contact in de voet */
.foot__contact { display: grid; gap: 8px; margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.foot__contact a { color: var(--ink-2); text-decoration: none; }
.foot__contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot__contact li { display: flex; align-items: center; gap: 8px; }
.foot__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.foot__social a { color: var(--ink-2); font-weight: 600; }
.fine a { color: var(--accent-text); text-underline-offset: 3px; }

/* Vaste knop onderin op de telefoon, terug naar boven en de contactknop. */
.mcta { display: none; }
.fab, .to-top {
  position: fixed; right: 16px; z-index: 25;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(22, 24, 29, .45);
}
.fab {
  bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; font-size: 15px; font-weight: 650; text-decoration: none;
}
.fab .i { color: var(--accent-text); }
.fab:hover { border-color: var(--ink); }
.to-top {
  bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.no-js .to-top { display: none; }
@media (max-width: 720px) {
  .fab { display: none; }
  .js .mcta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease-out, ease), visibility .25s;
  }
  .js .mcta.is-visible { transform: none; visibility: visible; }
  .mcta .btn { width: 100%; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: 96px; }
}

@media print {
  .top, .mcta, .fab, .to-top, .calc__form, .cta, .top__tools { display: none !important; }
  .section, .hero { padding: 24px 0 !important; }
  .faq details { display: block; }
  .faq__body { display: grid !important; }
}
.pricing .plain-checks { margin-top: 0; }
.pricing .plain-checks li { align-items: flex-start; font-weight: 550; line-height: 1.5; }
.pricing .plain-checks .i { margin-top: 4px; }
