/* OfficeFlow – gedeelde stijl voor alle pagina's.
   Huisstijl zoals in de app: inktblauw en signaaloranje, Bricolage Grotesque en IBM Plex Mono.
   De startpagina heeft daarnaast home.css.
   Versie 17: licht en rustig. Witte kopbalk, inktblauwe tekst en knoppen, oranje alleen als vinkje of streep. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Terugval met dezelfde maten, zodat de tekst niet verspringt als het lettertype laadt */
@font-face {
  font-family: "Bricolage Terugval";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 101%;
  ascent-override: 92%;
  descent-override: 27%;
  line-gap-override: 0%;
}

:root {
  /* donker: de nacht voor de ochtend */
  --nacht: #060b1d;
  --nacht-2: #0b1330;
  --inkt: #0e1b3d;
  --inkt-2: #414c68;
  --inkt-3: #636d87;
  /* licht */
  --papier: #ffffff;
  --linnen: #f5f5f7;
  --wit: #ffffff;
  --ivoor: #f5f5f7;
  --ivoor-2: rgba(245, 245, 247, .74);
  --ivoor-3: rgba(245, 245, 247, .56);
  /* het oranje uit het logo: alleen als streep, vinkje of klein accent */
  --signaal: #ff5b14;
  --signaal-inkt: #c2410c;
  --lijn: rgba(14, 27, 61, .11);
  --lijn-2: rgba(14, 27, 61, .2);
  --lijn-d: rgba(245, 245, 247, .13);
  --lijn-d2: rgba(245, 245, 247, .24);
  /* standen, zoals in de app */
  --ok: #17703f; --ok-bg: #e2f3e8;
  --test: #8a5300; --test-bg: #fff0d2;
  --bad: #b42318; --bad-bg: #fde4e1;

  --font: "Bricolage Grotesque", "Bricolage Terugval", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
  --pad: clamp(20px, 4.4vw, 56px);
  --sectie: clamp(88px, 11vw, 176px);
  --kop-h: 76px;

  --uit: cubic-bezier(.16, 1, .3, 1);
  --in-uit: cubic-bezier(.65, 0, .35, 1);
  --veer: cubic-bezier(.34, 1.5, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kop-h) + 20px); background: var(--papier); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font: 400 1.0625rem/1.6 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--signaal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signaal); color: #fff; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; translate: 0 -200%; padding: 12px 18px; border-radius: 999px; background: var(--inkt); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { translate: none; }

/* ---------- Letter ---------- */
.display, h1, h2 { font-weight: 600; font-variation-settings: "opsz" 96; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 1.05rem + 6.7vw, 7rem); line-height: .94; letter-spacing: -.042em; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 3.1rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.018em; font-weight: 600; }
.lead { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem); line-height: 1.5; letter-spacing: -.008em; text-wrap: pretty; }
p { text-wrap: pretty; }
.klein { font-size: .9375rem; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: 0; }

.tekst-link, .artikel a:not(.knop), .voetnoot a, .faq a, .legal a:not(.btn), .pagina-slot a:not(.knop), .lead a, .klein a, .prijs-noten a, .held-noot a, .pagina-kop p a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
  transition: text-decoration-color .2s, color .2s;
}
.tekst-link:hover, .artikel a:not(.knop):hover, .voetnoot a:hover, .faq a:hover, .legal a:not(.btn):hover, .pagina-slot a:not(.knop):hover, .lead a:hover, .klein a:hover, .prijs-noten a:hover, .held-noot a:hover, .pagina-kop p a:hover { text-decoration-color: var(--signaal); }

/* ---------- Knoppen ---------- */
.knop {
  --k-bg: var(--inkt); --k-fg: var(--ivoor);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--k-bg); color: var(--k-fg);
  font-size: 1rem; font-weight: 560; letter-spacing: -.006em; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--uit), color .3s var(--uit), box-shadow .3s var(--uit), scale .2s var(--uit);
}
.knop:active { scale: .98; }
.knop-licht { --k-bg: var(--ivoor); --k-fg: var(--nacht); }
.knop-licht:hover { --k-bg: #fff; }
.knop-donker:hover { --k-bg: var(--nacht); }
.knop-rand { --k-bg: transparent; --k-fg: currentColor; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 32%, transparent); }
.knop-rand:hover { box-shadow: inset 0 0 0 1px currentColor; }
.knop-klein { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
/* Het gebaar uit het logo: bij aanwijzen tekent het oranje vinkje zich */
.knop .vink { width: 0; height: 18px; margin-right: -10px; flex: none; overflow: visible; fill: none; stroke: var(--signaal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: width .35s var(--uit), margin .35s var(--uit), stroke-dashoffset .4s var(--uit) .06s; }
.knop:hover .vink, .knop:focus-visible .vink { width: 18px; margin-right: 0; stroke-dashoffset: 0; }
.knop .speel-icoon { width: 13px; height: 13px; fill: currentColor; flex: none; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopbalk ---------- */
.kop { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--inkt); view-transition-name: kop; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 -1px 0 rgba(14, 27, 61, 0); transition: box-shadow .35s var(--uit); }
.kop.is-vast, .kop.menu-is-open, .kop.altijd { box-shadow: inset 0 -1px 0 var(--lijn); }
.kop.menu-is-open { background: var(--papier); }
.kop-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--kop-h); }
.merk { display: inline-flex; padding: 8px 0; flex: none; }
.merk img { width: 148px; height: 29px; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.menu a:not(.knop) { position: relative; padding: 8px 0; font-size: .9375rem; font-weight: 500; color: var(--inkt-2); text-decoration: none; transition: color .2s; }
.menu a:not(.knop)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1.5px; background: var(--signaal); scale: 0 1; transform-origin: 0 50%; transition: scale .4s var(--uit); }
.menu a:not(.knop):hover { color: var(--inkt); }
.menu a:not(.knop):hover::after, .menu a[aria-current="page"]::after { scale: 1 1; }
.menu a[aria-current="page"] { color: var(--inkt); }
.menu-open { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 12px; border: 0; background: none; color: var(--inkt); font-size: .9375rem; font-weight: 500; }
.menu-streep { position: relative; display: block; width: 22px; height: 12px; }
.menu-streep::before, .menu-streep::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: translate .35s var(--uit), rotate .35s var(--uit); }
.menu-streep::before { top: 0; } .menu-streep::after { bottom: 0; }
.menu-open[aria-expanded="true"] .menu-streep::before { translate: 0 5.25px; rotate: 45deg; }
.menu-open[aria-expanded="true"] .menu-streep::after { translate: 0 -5.25px; rotate: -45deg; }

/* Taal: NL en EN naast elkaar, de huidige donker */
.menu .taal { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--lijn-2); }
.menu .taal a { display: grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: var(--inkt-3); text-decoration: none; transition: color .2s, background-color .2s; }
.menu .taal a::after { display: none; }
.menu .taal a:hover { color: var(--inkt); }
.menu .taal a[aria-current="true"] { background: var(--inkt); color: #fff; }

@media (max-width: 1120px) {
  :root { --kop-h: 64px; }
  .merk img { width: 132px; height: auto; }
  .menu-open { display: inline-flex; }
  .menu {
    position: fixed; inset: var(--kop-h) 0 0 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 20px var(--pad) 32px; background: var(--papier); overflow-y: auto;
    opacity: 0; visibility: hidden; translate: 0 -12px;
    transition: opacity .3s var(--uit), translate .4s var(--uit), visibility 0s linear .3s;
    height: calc(100dvh - var(--kop-h));
  }
  .menu.is-open { opacity: 1; visibility: visible; translate: none; transition-delay: 0s; }
  .menu a:not(.knop) { padding: 18px 0; border-bottom: 1px solid var(--lijn); font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; color: var(--inkt); font-variation-settings: "opsz" 96; }
  .menu a:not(.knop)::after { display: none; }
  .menu .menu-knop { margin-top: 28px; min-height: 56px; font-size: 1.0625rem; }
  .menu .taal { align-self: flex-start; order: 10; margin-top: 24px; }
  .menu .taal a { min-width: 48px; height: 40px; padding: 0 14px; border: 0; font-size: .9375rem; font-variation-settings: normal; letter-spacing: .01em; }
}

/* ---------- Secties ---------- */
.sectie { padding-block: var(--sectie); }
.sectie-linnen { background: var(--linnen); }
.sectie-kop { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sectie-kop p { color: var(--inkt-2); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; max-width: 30em; padding-bottom: .35em; }
.donker { background: var(--nacht); color: var(--ivoor); }
.donker .sectie-kop p { color: var(--ivoor-2); }
@media (max-width: 860px) { .sectie-kop { grid-template-columns: 1fr; align-items: start; } .sectie-kop p { padding-bottom: 0; } }

.label-ok, .label-test { display: inline-block; padding: 3px 10px 4px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
.label-ok { background: var(--ok-bg); color: var(--ok); }
.label-test { background: var(--test-bg); color: var(--test); }

/* ---------- Verschijnen bij scrollen (alleen met JavaScript en zonder 'minder beweging') ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-rv] { opacity: 0; translate: 0 22px; transition: opacity .9s var(--uit), translate .9s var(--uit); transition-delay: calc(var(--rv-i, 0) * 80ms); }
  html.js [data-rv].is-in { opacity: 1; translate: none; }
  html.js [data-rv="lijn"] { opacity: 1; translate: none; }
}

/* ---------- Voet ---------- */
.voet { background: var(--nacht); color: var(--ivoor-2); font-size: .9375rem; line-height: 1.6; }
.voet-in { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.2fr)); gap: 48px clamp(28px, 4vw, 64px); padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); border-top: 1px solid var(--lijn-d); }
.voet-merk img { width: 148px; height: 29px; margin-bottom: 22px; }
.voet-merk p { max-width: 26em; }
.voet-mail { display: inline-block; margin-top: 18px; color: var(--ivoor); text-underline-offset: .22em; text-decoration-color: var(--lijn-d2); transition: text-decoration-color .2s; }
.voet-mail:hover { text-decoration-color: var(--signaal); }
.voet-kol h2 { margin-bottom: 14px; font-size: .9375rem; font-weight: 600; letter-spacing: 0; line-height: 1.6; color: var(--ivoor); font-variation-settings: normal; }
.voet-kol p + p { margin-top: 12px; }
.voet-kol a { display: block; width: fit-content; padding: 3px 0; text-decoration: none; transition: color .2s; }
.voet-kol a:hover { color: var(--ivoor); }
.voet-onder { padding-block: 22px 28px; border-top: 1px solid var(--lijn-d); color: var(--ivoor-3); font-size: .875rem; }
@media (max-width: 860px) { .voet-in { grid-template-columns: 1fr 1fr; } .voet-merk { grid-column: 1 / -1; } }
@media (max-width: 480px) { .voet-in { grid-template-columns: 1fr; } }

/* ---------- Vervolgpagina's: kop ---------- */
.pagina-kop { position: relative; background: var(--linnen); color: var(--inkt); padding: calc(var(--kop-h) + clamp(48px, 7vw, 104px)) 0 clamp(48px, 6vw, 88px); overflow: clip; }
.pagina-kop h1 { max-width: 15em; }
.pagina-kop p { max-width: 36em; margin-top: clamp(20px, 2.4vw, 32px); color: var(--inkt-2); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.5; }
.pagina-kop .telling { color: var(--inkt); font-size: 1.0625rem; }
.pagina-kop .telling b { font-weight: 600; }
.pagina-kop .label-test { vertical-align: 2px; margin-right: 4px; }
/* de dageraad: één rustige lichtrand onderaan het donker */
.dageraad { display: none; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 91, 20, .55) 30%, rgba(255, 150, 90, .7) 50%, rgba(255, 91, 20, .55) 70%, transparent); }
.dageraad::before { content: ""; position: absolute; inset: auto 10% 0 10%; height: 220px; background: radial-gradient(60% 100% at 50% 100%, rgba(255, 91, 20, .16), transparent 70%); pointer-events: none; }

/* ---------- Vervolgpagina's: artikel ---------- */
.lijst-sectie { padding-block: clamp(64px, 8vw, 120px) var(--sectie); }
.artikel .wrap > h2 { max-width: 18em; margin: clamp(56px, 6vw, 88px) 0 18px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.06; letter-spacing: -.03em; }
.artikel .wrap > h2:first-child { margin-top: 0; }
.artikel .wrap > p { max-width: 38em; font-size: 1.125rem; line-height: 1.62; color: var(--inkt-2); }
.artikel .wrap > p + p { margin-top: 14px; }
.artikel .onderdelen { max-width: 48rem; margin-top: 14px; }
.artikel .wrap > .onderdelen + p { margin-top: 20px; }

/* Voorbeeldbeelden op de uitlegpagina's (20 november 2026): echte schermen uit de app in de demomodus, met
   voorbeeldgegevens. Twee telefoons staan naast elkaar; op een smal scherm onder elkaar. */
.art-beeld { max-width: 48rem; margin: 30px 0 0; }
.art-beeld .kader { border-radius: 16px; overflow: hidden; background: #eef1f5; box-shadow: 0 0 0 1px var(--lijn), 0 40px 80px -44px rgba(14, 27, 61, .45); }
.art-beeld img { display: block; width: 100%; height: auto; }
.art-beeld figcaption { margin-top: 14px; max-width: 40em; color: var(--inkt-3); font-size: .875rem; line-height: 1.5; }
.art-telefoons { display: grid; grid-template-columns: repeat(2, minmax(0, 290px)); gap: clamp(16px, 3vw, 28px); }
.art-telefoons .kader { border-radius: 24px; }
.artikel .art-beeld + .onderdelen { margin-top: 30px; }
.artikel .onderdelen + .art-beeld { margin-top: 36px; }
@media (max-width: 520px) { .art-telefoons { grid-template-columns: minmax(0, 290px); } }

.op-pagina { display: none; }
@media (min-width: 1000px) {
  .artikel > .wrap:not(.pagina-slot) { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 112px); }
  .artikel > .wrap:not(.pagina-slot) > * { grid-column: 2; }
  .artikel > .wrap > .op-pagina { display: block; grid-column: 1; grid-row: 1 / span 60; align-self: start; position: sticky; top: calc(var(--kop-h) + 32px); }
  .op-pagina a { display: block; padding: 8px 0 8px 16px; border-left: 1px solid var(--lijn-2); font-size: .9375rem; line-height: 1.35; color: var(--inkt-3); text-decoration: none; transition: color .25s, border-color .25s; }
  .op-pagina a:hover { color: var(--inkt); }
  .op-pagina a[aria-current="true"] { color: var(--inkt); border-left-color: var(--signaal); }
}

.onderdelen { border-top: 1px solid var(--lijn-2); }
.onderdelen li { position: relative; padding: 18px 0 19px 42px; border-bottom: 1px solid var(--lijn); }
.onderdelen b { display: block; margin-bottom: 3px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.008em; }
.onderdelen span:not(.label-test) { display: block; color: var(--inkt-2); font-size: .96875rem; line-height: 1.55; max-width: 40em; }
.onderdelen li::before { content: ""; position: absolute; left: 0; top: 21px; width: 20px; height: 20px; border-radius: 6px; }
.onderdelen li.ok::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.4l2.3 2.3 4.5-5.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.onderdelen li.test::before { border: 1.6px solid #8c95a8; background: var(--wit); }
.artikel .onderdelen li.ok::before { top: 20px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.6l3.8 3.9L15 4.5' fill='none' stroke='%23c2410c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.onderdelen li.test b::after { content: "in goedkeuring"; display: inline-block; margin-left: 10px; padding: 2px 9px 3px; border-radius: 999px; background: var(--test-bg); color: var(--test); font-size: .78125rem; font-weight: 600; line-height: 1.3; vertical-align: 2px; letter-spacing: 0; }
.onderdelen li.zonder-label b::after { content: none; } /* open vakje zonder label (AFAS-pagina, zie LEESMIJ) */

.pagina-slot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 104px); padding-top: 36px; border-top: 1px solid var(--lijn-2); color: var(--inkt-2); }
.pagina-slot p { max-width: 36em; font-size: 1.0625rem; }
.pagina-slot a:not(.knop) { color: var(--inkt); }

/* Vragen (startpagina en landingspagina's) */
.faq { border-top: 1px solid var(--lijn-2); }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.125rem, 1.02rem + .5vw, 1.375rem); font-weight: 600; letter-spacing: -.018em; line-height: 1.25; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--lijn-2); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: rotate .45s var(--uit), background-color .3s, color .3s, box-shadow .3s; }
.faq summary:hover::after { box-shadow: inset 0 0 0 1px var(--inkt); }
.faq details[open] summary::after { rotate: 45deg; background-color: var(--inkt); color: var(--ivoor); box-shadow: none; }
.faq p { max-width: 44em; padding: 0 56px 28px 0; color: var(--inkt-2); overflow: hidden; }
.artikel .faq { max-width: 48rem; margin-top: 14px; }
@media (max-width: 860px) { .faq p { padding-right: 0; } }

/* ---------- Pagina Onderdelen ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.filter button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--lijn-2); color: var(--inkt-2); font-size: .9375rem; font-weight: 500; transition: background-color .25s var(--uit), color .25s var(--uit), box-shadow .25s var(--uit); }
.filter button:hover { color: var(--inkt); box-shadow: inset 0 0 0 1px var(--inkt-3); }
.filter button[aria-pressed="true"] { background: var(--inkt); color: #fff; box-shadow: none; }
.filter button b { font-family: var(--mono); font-size: .8125rem; font-weight: 400; opacity: .7; }
.groepen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 88px) clamp(40px, 7vw, 112px); align-items: start; }
.groep h2 { padding-bottom: 18px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.028em; line-height: 1.1; }
.groep[hidden], .onderdelen li[hidden] { display: none; }
.groep .onderdelen li { transition: opacity .3s var(--uit); }
@media (max-width: 900px) { .groepen { grid-template-columns: 1fr; } }

/* ---------- Juridische pagina's (inhoud ongewijzigd, alleen de vorm) ---------- */
.legal { padding: calc(var(--kop-h) + clamp(48px, 7vw, 104px)) 0 var(--sectie); }
.legal > .wrap { max-width: 1120px; }
.legal h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); letter-spacing: -.04em; hyphens: manual; }
.legal .updated { margin-top: 18px; font-family: var(--mono); font-size: .8125rem; color: var(--inkt-3); }
.legal:not(.legal-doc) > .wrap { max-width: 760px; }
.legal:not(.legal-doc) h2 { margin: 48px 0 12px; font-size: 1.5rem; letter-spacing: -.024em; line-height: 1.15; }
.legal:not(.legal-doc) p { margin-top: 12px; color: var(--inkt-2); font-size: 1.0625rem; line-height: 1.65; }
.legal:not(.legal-doc) p.updated { color: var(--inkt-3); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.doc-head { max-width: 46rem; }
.doc-lead { margin-top: 22px; color: var(--inkt-2); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--lijn-2); color: var(--inkt); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: box-shadow .25s var(--uit); }
.btn:hover { box-shadow: inset 0 0 0 1px var(--inkt); }
.print-btn { margin-top: 24px; }
.toc { border-block: 1px solid var(--lijn-2); }
.toc > summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--uit), translate .3s var(--uit); }
.toc[open] > summary::after { rotate: -135deg; translate: 0 2px; }
.toc ol { padding-bottom: 14px; }
.legal .toc a { display: flex; gap: 12px; padding: 7px 0; font-size: .9375rem; line-height: 1.4; color: var(--inkt-2); text-decoration: none; transition: color .2s; }
.legal .toc a:hover { color: var(--inkt); }
.toc .nr, .art h2 .nr { flex: none; font-family: var(--mono); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--inkt-3); }
.toc .nr { width: 2.2em; padding-top: 1px; }
.toc-sep { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--lijn); }
.doc-body { max-width: 46rem; min-width: 0; }
.summary { padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--linnen); }
.summary h2 { margin-bottom: 18px; font-size: 1.5rem; letter-spacing: -.024em; }
.sum-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 9px 0; line-height: 1.5; }
.sum-list svg { width: 22px; height: 22px; margin-top: 2px; }
.sum-note { margin-top: 16px; font-size: .9375rem; color: var(--inkt-3); }
.art { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--kop-h) + 8px); }
.art h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.024em; line-height: 1.15; }
.art h3 { margin: 26px 0 8px; font-size: 1.125rem; letter-spacing: -.01em; }
.art p, .art li { color: var(--inkt-2); line-height: 1.65; }
.art p + p { margin-top: 10px; }
.clauses > li, .cl { position: relative; padding: 5px 0; }
.clauses > li { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); gap: 0 8px; }
.clauses > li > .cl { font-family: var(--mono); font-size: .8125rem; color: var(--inkt-3); padding-top: .32em; }
.clauses .sub, .art ul.plain, .art ul:not(.clauses):not(.sum-list) { margin-top: 6px; padding-left: 1.15em; list-style: disc; }
.clauses .sub li, .art ul.plain li { padding: 2px 0; }
.annex { border-top: 1px solid var(--lijn-2); margin-top: clamp(40px, 5vw, 64px); }
.tbl { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.tbl th, .tbl td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--lijn); text-align: left; vertical-align: top; color: var(--inkt-2); }
.tbl th { font-weight: 600; color: var(--inkt); border-bottom-color: var(--lijn-2); }
.tbl-sub { display: block; font-size: .875rem; color: var(--inkt-3); }
.tbl td .sub { display: block; margin-top: 2px; font-size: .875rem; font-weight: 400; color: var(--inkt-3); } /* bedrijfsnaam onder de partij (bijlage 3 van de verwerkersovereenkomst) */
.doc-end { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--lijn-2); color: var(--inkt-2); }
@media (min-width: 1080px) {
  .doc-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 40px 72px; }
  .doc-head { grid-column: 2; }
  .toc { grid-column: 1; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--kop-h) + 24px); max-height: calc(100vh - var(--kop-h) - 48px); overflow: auto; border: 0; }
  .toc > summary { pointer-events: none; padding-top: 0; font-family: var(--mono); font-size: .8125rem; font-weight: 400; color: var(--inkt-3); }
  .toc > summary::after { display: none; }
  .doc-body { grid-column: 2; }
}
@media (max-width: 640px) { .tbl, .tbl thead, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; } .tbl thead { display: none; } .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--lijn); } .tbl td { padding: 2px 0; border: 0; } .tbl td:first-child { font-weight: 600; color: var(--inkt); } }

/* ---------- Niet gevonden ---------- */
.niet-gevonden { min-height: 100svh; display: grid; align-content: center; background: var(--linnen); color: var(--inkt); padding: calc(var(--kop-h) + 48px) 0 96px; }
.niet-gevonden p { max-width: 30em; margin: 24px 0 36px; color: var(--inkt-2); font-size: 1.25rem; line-height: 1.5; }

/* ---------- Overgang tussen pagina's ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: of-weg .22s var(--in-uit) both; }
  ::view-transition-new(root) { animation: of-kom .5s var(--uit) both; }
  ::view-transition-group(kop) { animation-duration: 0s; }
}
@keyframes of-weg { to { opacity: 0; } }
@keyframes of-kom { from { opacity: 0; translate: 0 14px; } }

@media print {
  .kop, .voet, .print-btn, .skip, .toc { display: none !important; }
  body { background: #fff; }
  .legal { padding-top: 0; padding-bottom: 0; }
  .legal h2, .legal h3 { break-after: avoid; page-break-after: avoid; }
  .clauses > li, .sum-list li, .tbl tr, .summary { break-inside: avoid; page-break-inside: avoid; }
}

/* ---------- Formulieren: de demo-aanvraag (startpagina) en de aanmelding als partner (partners.html) ----------
   Verhuisd uit home.css (21 november 2026), zodat beide pagina's dezelfde regels gebruiken. */
.aanvraag { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: #fff; color: var(--inkt); scroll-margin-top: calc(var(--kop-h) + 24px); }
@media (min-width: 620px) { .aanvraag { grid-template-columns: 1fr 1fr; } .veld-breed { grid-column: 1 / -1; } }
.veld { display: grid; gap: 7px; align-content: start; }
.veld label { font-size: .875rem; font-weight: 560; }
.veld-vrij { color: var(--inkt-3); font-weight: 400; }
.veld input, .veld select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--lijn-2); border-radius: 10px; background: #fff; color: var(--inkt); font: inherit; font-size: 1rem; }
.veld select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e1b3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.veld input:hover, .veld select:hover { border-color: var(--inkt-3); }
.veld input:focus-visible, .veld select:focus-visible { outline: 2px solid var(--signaal); outline-offset: 1px; border-color: transparent; border-radius: 10px; }
.veld input[aria-invalid="true"], .veld select[aria-invalid="true"] { border-color: var(--bad); }
.veld-fout { color: var(--bad); font-size: .875rem; line-height: 1.4; }
.veld-val { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aanvraag-voet { display: grid; gap: 14px; margin-top: 6px; }
.aanvraag-voet .knop { justify-content: center; min-height: 52px; }
.aanvraag-voet .knop[disabled] { opacity: .6; cursor: progress; }
.aanvraag-drempel { color: var(--inkt); font-size: .9375rem; font-weight: 560; text-align: center; }
.aanvraag-noot { color: var(--inkt-3); font-size: .875rem; line-height: 1.45; text-align: center; }
.aanvraag-noot a, .aanvraag-status a { color: var(--inkt); text-underline-offset: .22em; }
.aanvraag-status { padding: 12px 14px; border-radius: 10px; background: var(--bad-bg); color: var(--bad); font-size: .9375rem; line-height: 1.45; }
.aanvraag-status[hidden] { display: none; }
.aanvraag-klaar { display: grid; justify-items: start; gap: 10px; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: #fff; color: var(--inkt); }
.aanvraag-klaar[hidden], .aanvraag[hidden] { display: none; }
.aanvraag-klaar .vink { width: 40px; height: 40px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aanvraag-klaar h3 { font-size: 1.375rem; letter-spacing: -.02em; }
.aanvraag-klaar p { color: var(--inkt-2); }
.aanvraag-klaar:focus { outline: none; }
.pagina-form { max-width: 46rem; margin-top: 22px; }
.pagina-form .aanvraag, .pagina-form .aanvraag-klaar { box-shadow: inset 0 0 0 1px var(--lijn-2); }

/* Genummerde stappen op een artikelpagina (partners.html, 21 november 2026); .stappen is van de startpagina */
.p-stappen { max-width: 48rem; margin-top: 14px; padding: 0; list-style: none; counter-reset: stap; border-top: 1px solid var(--lijn-2); }
.p-stappen li { position: relative; padding: 18px 0 19px 46px; border-bottom: 1px solid var(--lijn); counter-increment: stap; }
.p-stappen li::before { content: counter(stap); position: absolute; left: 0; top: 17px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--inkt); color: #fff; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-stappen b { display: block; margin-bottom: 3px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.008em; }
.p-stappen span { display: block; color: var(--inkt-2); font-size: .96875rem; line-height: 1.55; max-width: 40em; }
.artikel .tbl { max-width: 48rem; }
@media (max-width: 640px) { .tbl-geld td:not(:first-child)::before { content: attr(data-label) ": "; color: var(--inkt-3); } } /* telefoon: zeggen wat elk bedrag is */
