/* Slimmer Werken: ontwerpsysteem v2 (company/huisstijl.md). Alle waarden komen uit de tokens hieronder. */

/* Lettertype: Inter, zelf gehost (licentie: fonts/LICENSE-inter.txt). */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Kleur */
  --kleur-blauw: #14284b;
  --kleur-wit: #ffffff;
  --kleur-crème: #f7f4ec;
  --kleur-turquoise: #2a9d8f;
  --kleur-link: #1b6f65;
  --kleur-inkt: #2b2f36;
  --kleur-inkt-zacht: #4a505a;
  --kleur-lijn: #d9d5ca;
  --kleur-veldrand: #6b6f76;
  --kleur-vlak-licht: #eef1f7;
  --kleur-oranje: #f28c28;
  --kleur-oranje-hover: #e07b14;
  --kleur-oranje-actief: #c96a0a;
  --kleur-uit: #e9d9c3;
  --kleur-uit-tekst: #6b6f76;
  --kleur-fout: #b3261e;
  --kleur-goed: #1b6f65;

  /* Afstand (4-punts schaal) */
  --ruimte-1: 4px;
  --ruimte-2: 8px;
  --ruimte-3: 12px;
  --ruimte-4: 16px;
  --ruimte-5: 24px;
  --ruimte-6: 32px;
  --ruimte-7: 48px;
  --ruimte-8: 64px;
  --ruimte-9: 96px;

  /* Tekst (mobiel; groter vanaf 640 px) */
  --tekst-xs: 14px;
  --tekst-s: 16px;
  --tekst-m: 18px;
  --tekst-l: 20px;
  --tekst-xl: 26px;
  --tekst-xxl: 32px;
  --tekst-prijs: 32px;

  /* Vorm */
  --radius-s: 8px;
  --radius-m: 10px;
  --radius-l: 12px;
  --radius-rond: 999px;
  --rand-dun: 1px;
  --rand-dik: 2px;
  --focus-dikte: 3px;
  --focus-afstand: 2px;
  --veld-hoogte: 48px;
  --knop-hoogte: 52px;
  --aanraak: 44px;

  /* Raster */
  --container: 1120px;
  --marge: var(--ruimte-4);
  --sectie: var(--ruimte-8);
  --kop-hoogte: 64px;
  --logo-hoogte: 32px;
  --tekstbreedte: 65ch;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (min-width: 640px) {
  :root {
    --tekst-l: 22px;
    --tekst-xl: 32px;
    --tekst-xxl: 48px;
    --tekst-prijs: 40px;
    --marge: var(--ruimte-5);
  }
}
@media (min-width: 1024px) {
  :root {
    --sectie: var(--ruimte-9);
    --kop-hoogte: 72px;
    --logo-hoogte: 40px;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--kleur-wit);
  color: var(--kleur-inkt);
  font: 400 var(--tekst-m)/1.6 var(--font);
}

a { color: var(--kleur-link); text-underline-offset: 3px; }
a:hover { color: var(--kleur-blauw); }
:focus-visible { outline: var(--focus-dikte) solid var(--kleur-blauw); outline-offset: var(--focus-afstand); border-radius: var(--ruimte-1); }

.sla-over { position: absolute; left: -9999px; top: 0; background: var(--kleur-blauw); color: var(--kleur-wit); padding: var(--ruimte-3) var(--ruimte-4); z-index: 20; }
.sla-over:focus { left: var(--ruimte-2); top: var(--ruimte-2); }

/* Container */
.binnen { width: 100%; max-width: calc(var(--container) + 2 * var(--marge)); margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }

/* Typografie */
h1, h2, h3 { font-family: var(--font); color: var(--kleur-blauw); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 var(--ruimte-3); }
h1 { font-size: var(--tekst-xxl); line-height: 1.1; }
h2 { font-size: var(--tekst-xl); line-height: 1.2; }
h3 { font-size: var(--tekst-l); line-height: 1.4; letter-spacing: -0.01em; }
p, ul { margin: 0 0 var(--ruimte-4); max-width: var(--tekstbreedte); }
li { margin-bottom: var(--ruimte-2); }
.intro { font-size: var(--tekst-l); line-height: 1.4; color: var(--kleur-inkt-zacht); }
.klein { font-size: var(--tekst-xs); line-height: 1.5; color: var(--kleur-inkt-zacht); margin-top: var(--ruimte-3); }
.midden { text-align: center; }
.midden p, .midden ul { margin-left: auto; margin-right: auto; }

.label { display: inline-block; margin-bottom: var(--ruimte-4); padding: var(--ruimte-1) var(--ruimte-3); border-radius: var(--radius-rond); background: var(--kleur-vlak-licht); color: var(--kleur-blauw); font-size: var(--tekst-xs); line-height: 1.5; font-weight: 600; }

/* Kop en navigatie */
.kop { background: var(--kleur-wit); border-bottom: var(--rand-dun) solid var(--kleur-lijn); position: relative; z-index: 10; }
.kop .binnen { min-height: var(--kop-hoogte); display: flex; align-items: center; justify-content: space-between; gap: var(--ruimte-4); }
.merk { display: inline-flex; align-items: center; gap: var(--ruimte-2); color: var(--kleur-blauw); text-decoration: none; font-weight: 700; font-size: var(--tekst-m); letter-spacing: -0.02em; min-height: var(--aanraak); }
.merk:hover { color: var(--kleur-blauw); }
.merk svg { display: block; height: var(--logo-hoogte); width: var(--logo-hoogte); flex: none; }
.menu-knop { display: none; min-width: var(--aanraak); min-height: var(--aanraak); padding: 0 var(--ruimte-3); border: var(--rand-dik) solid var(--kleur-blauw); border-radius: var(--radius-m); background: transparent; color: var(--kleur-blauw); font: 600 var(--tekst-s)/1 var(--font); cursor: pointer; }
.menu-knop:hover { background: var(--kleur-blauw); color: var(--kleur-wit); }
.kop nav { display: flex; gap: var(--ruimte-5); align-items: center; }
.kop nav a { color: var(--kleur-blauw); font-weight: 600; font-size: var(--tekst-s); text-decoration: none; padding: var(--ruimte-2) 0; border-bottom: var(--rand-dik) solid transparent; }
.kop nav a:hover { border-bottom-color: var(--kleur-turquoise); }
.kop nav a[aria-current="page"] { border-bottom-color: var(--kleur-blauw); }
@media (max-width: 639px) {
  .js .menu-knop { display: inline-flex; align-items: center; justify-content: center; }
  .js .kop nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--kleur-wit); border-bottom: var(--rand-dun) solid var(--kleur-lijn); padding: var(--ruimte-2) var(--marge) var(--ruimte-4); }
  .js .kop nav.open { display: flex; }
  .js .kop nav a { padding: var(--ruimte-3) 0; min-height: var(--aanraak); border-bottom: var(--rand-dun) solid var(--kleur-lijn); }
  .kop nav { gap: var(--ruimte-4); }
  .merk span { font-size: var(--tekst-s); }
}

main { flex: 1; width: 100%; }

/* Secties */
.sectie { padding: var(--sectie) 0; background: var(--kleur-wit); }
.sectie.crème { background: var(--kleur-crème); }
.sectie.blauw { background: var(--kleur-blauw); color: var(--kleur-wit); }
.sectie.blauw h2 { color: var(--kleur-wit); }
.sectie.blauw .intro { color: var(--kleur-wit); }
.golf { display: block; height: 24px; width: 100%; background: url("/motief-golf.svg") repeat-x center / auto 24px; }
.smal { max-width: 720px; margin: 0 auto; padding: var(--ruimte-7) var(--marge) var(--sectie); width: 100%; }

/* Raster: 12 kolommen, 4 op mobiel */
.raster { display: grid; gap: var(--ruimte-6) var(--ruimte-5); align-items: center; }
@media (min-width: 1024px) {
  .raster { grid-template-columns: repeat(12, 1fr); }
  .raster.zes > :first-child { grid-column: 1 / span 6; }
  .raster.zes > :last-child { grid-column: 7 / span 6; }
  .raster.kop-inhoud { align-items: start; }
  .raster.kop-inhoud > :first-child { grid-column: 1 / span 4; }
  .raster.kop-inhoud > :last-child { grid-column: 5 / span 8; }
}
.raster.kop-inhoud { align-items: start; }

.beeld { display: block; width: 100%; height: auto; border-radius: var(--radius-l); border: 3px solid var(--kleur-blauw); background: var(--kleur-wit); }
.hero { padding: var(--ruimte-7) 0 var(--sectie); background: var(--kleur-crème); }
.hero p.klein { margin-top: var(--ruimte-3); }
.hero-knop { margin-top: var(--ruimte-2); }
.onderstreep { background: url("/motief-golf.svg") repeat-x left bottom / auto 12px; padding-bottom: var(--ruimte-2); }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: var(--ruimte-2); min-height: var(--knop-hoogte); padding: 0 28px; border: var(--rand-dik) solid transparent; border-radius: var(--radius-m); cursor: pointer; background: var(--kleur-oranje); color: var(--kleur-blauw); font: 600 var(--tekst-m)/1.2 var(--font); text-decoration: none; text-align: center; }
.knop:hover { background: var(--kleur-oranje-hover); color: var(--kleur-blauw); }
.knop:active { background: var(--kleur-oranje-actief); }
.knop:focus-visible { outline: var(--focus-dikte) solid var(--kleur-blauw); outline-offset: var(--focus-afstand); }
.knop[disabled], .knop[aria-disabled="true"] { background: var(--kleur-uit); color: var(--kleur-uit-tekst); cursor: default; }
.knop.stil { background: transparent; border-color: var(--kleur-blauw); color: var(--kleur-blauw); }
.knop.stil:hover { background: var(--kleur-blauw); color: var(--kleur-wit); }
.knop.stil:active { background: var(--kleur-blauw); color: var(--kleur-wit); }
.sectie.blauw .knop:focus-visible { outline-color: var(--kleur-wit); }

/* Lijst met kernpunten */
.punten { list-style: none; padding: 0; margin: 0 0 var(--ruimte-4); }
.punten li { padding: var(--ruimte-4) 0; margin: 0; border-top: var(--rand-dun) solid var(--kleur-lijn); }
.punten li:last-child { border-bottom: var(--rand-dun) solid var(--kleur-lijn); }

/* Kaarten */
.kaarten { text-align: left; display: grid; gap: var(--ruimte-5); grid-template-columns: 1fr; margin-top: var(--ruimte-6); }
@media (min-width: 1024px) { .kaarten { grid-template-columns: repeat(3, 1fr); } }
.kaart { position: relative; display: flex; flex-direction: column; background: var(--kleur-wit); border: var(--rand-dun) solid var(--kleur-lijn); border-radius: var(--radius-l); padding: var(--ruimte-5); }
.kaart h3 { margin-bottom: var(--ruimte-2); }
.midden .kaart p, .midden .kaart ul { margin-left: 0; margin-right: 0; max-width: none; }
.scan-blok .punten { margin-top: var(--ruimte-6); margin-bottom: var(--ruimte-6); }
.kaart p { font-size: var(--tekst-s); line-height: 1.6; margin-bottom: var(--ruimte-3); }
.kaart .prijs { font-size: var(--tekst-prijs); line-height: 1.1; font-weight: 700; color: var(--kleur-blauw); margin: 0 0 var(--ruimte-3); letter-spacing: -0.02em; }
.kaart .prijs small { font-size: var(--tekst-xs); font-weight: 400; color: var(--kleur-inkt-zacht); letter-spacing: 0; margin-left: var(--ruimte-1); }
.kaart ul { font-size: var(--tekst-s); line-height: 1.6; padding-left: var(--ruimte-5); margin: 0 0 var(--ruimte-5); }
.kaart .knop { margin-top: auto; width: 100%; }
.kaart.uitgelicht { border: var(--rand-dik) solid var(--kleur-blauw); }
.kaart .tag { align-self: flex-start; margin-bottom: var(--ruimte-3); padding: var(--ruimte-1) var(--ruimte-3); border-radius: var(--radius-rond); background: var(--kleur-blauw); color: var(--kleur-wit); font-size: var(--tekst-xs); line-height: 1.5; font-weight: 600; }

/* FAQ */
.faq { border-top: var(--rand-dun) solid var(--kleur-lijn); }
.faq details { border-bottom: var(--rand-dun) solid var(--kleur-lijn); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--ruimte-4); min-height: var(--aanraak); padding: var(--ruimte-4) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--tekst-m); color: var(--kleur-blauw); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover span:first-child { text-decoration: underline; }
.faq .pm { flex: none; width: var(--aanraak); height: var(--aanraak); display: inline-flex; align-items: center; justify-content: center; font-size: var(--tekst-xl); font-weight: 400; line-height: 1; }
.faq .pm::before { content: "+"; }
.faq details[open] .pm::before { content: "\2212"; }
.faq details p { padding-bottom: var(--ruimte-4); margin: 0; }

/* Kansenscan */
.scan { max-width: 720px; margin: 0 auto; padding: var(--ruimte-7) var(--marge) var(--sectie); width: 100%; }
.scan-blok { text-align: center; }
.scan-blok p, .scan-blok ul { margin-left: auto; margin-right: auto; }
.scan-blok .punten { max-width: 420px; text-align: left; }
.voortgang { height: var(--ruimte-2); background: var(--kleur-lijn); border-radius: var(--radius-rond); overflow: hidden; margin: var(--ruimte-2) 0 var(--ruimte-5); }
.voortgang span { display: block; height: 100%; background: var(--kleur-blauw); transition: width 0.2s; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--ruimte-5); min-width: 0; }
legend { font: 700 var(--tekst-xl)/1.2 var(--font); letter-spacing: -0.02em; color: var(--kleur-blauw); padding: 0; margin-bottom: var(--ruimte-2); }
.opties { display: grid; gap: var(--ruimte-3); margin-top: var(--ruimte-4); }
.optie { display: flex; gap: var(--ruimte-3); align-items: center; min-height: 56px; background: var(--kleur-wit); border: var(--rand-dun) solid var(--kleur-lijn); border-radius: var(--radius-l); padding: var(--ruimte-3) var(--ruimte-4); cursor: pointer; }
.optie:hover { border-color: var(--kleur-blauw); }
.optie:has(input:checked) { border: var(--rand-dik) solid var(--kleur-blauw); background: var(--kleur-vlak-licht); padding: calc(var(--ruimte-3) - 1px) calc(var(--ruimte-4) - 1px); }
.optie:has(input:focus-visible) { outline: var(--focus-dikte) solid var(--kleur-blauw); outline-offset: var(--focus-afstand); }
.optie input { width: 20px; height: 20px; accent-color: var(--kleur-blauw); flex: none; margin: 0; }
.acties { display: flex; gap: var(--ruimte-3); flex-wrap: wrap; margin-top: var(--ruimte-2); }
.fout { color: var(--kleur-fout); font-size: var(--tekst-xs); line-height: 1.5; font-weight: 600; margin: var(--ruimte-3) 0 0; min-height: 1.5em; }
.rapport-kans { background: var(--kleur-wit); border: var(--rand-dun) solid var(--kleur-lijn); border-radius: var(--radius-l); padding: var(--ruimte-5); margin-bottom: var(--ruimte-4); }
.rapport-kans h3 { margin-bottom: var(--ruimte-2); }
.rapport-kans .nr { display: inline-block; background: var(--kleur-blauw); color: var(--kleur-wit); font-weight: 600; border-radius: var(--radius-s); padding: 0 var(--ruimte-2); margin-right: var(--ruimte-2); }
.rapport-kans p { font-size: var(--tekst-s); margin-bottom: var(--ruimte-2); }
.advies { background: var(--kleur-vlak-licht); border-radius: var(--radius-l); padding: var(--ruimte-5); margin: var(--ruimte-5) 0; }
.advies p:last-child { margin-bottom: 0; }

/* Formulier */
.veld { display: block; margin-bottom: var(--ruimte-4); font-weight: 600; font-size: var(--tekst-s); color: var(--kleur-blauw); }
.veld input, .veld textarea { display: block; width: 100%; max-width: 480px; margin-top: var(--ruimte-2); padding: var(--ruimte-3); min-height: var(--veld-hoogte); font: 400 var(--tekst-m)/1.4 var(--font); color: var(--kleur-inkt); border: var(--rand-dun) solid var(--kleur-veldrand); border-radius: var(--radius-s); background: var(--kleur-wit); }
.veld input::placeholder, .veld textarea::placeholder { color: var(--kleur-veldrand); }
.veld input:focus, .veld textarea:focus { border-color: var(--kleur-blauw); box-shadow: 0 0 0 var(--rand-dun) var(--kleur-blauw); outline: var(--focus-dikte) solid var(--kleur-turquoise); outline-offset: 0; }
.sloten { display: flex; flex-wrap: wrap; gap: var(--ruimte-2); margin: var(--ruimte-3) 0 var(--ruimte-5); }
.slot { min-height: var(--aanraak); padding: var(--ruimte-2) var(--ruimte-4); border: var(--rand-dik) solid var(--kleur-blauw); border-radius: var(--radius-s); background: var(--kleur-wit); color: var(--kleur-blauw); font: 600 var(--tekst-s)/1.2 var(--font); cursor: pointer; }
.slot:hover { background: var(--kleur-vlak-licht); }
.slot[aria-pressed="true"] { background: var(--kleur-blauw); color: var(--kleur-wit); }

/* Footer */
.voet { background: var(--kleur-blauw); color: var(--kleur-wit); padding: var(--ruimte-7) 0; font-size: var(--tekst-s); line-height: 1.6; }
.voet .binnen { display: grid; gap: var(--ruimte-5) var(--ruimte-5); }
@media (min-width: 640px) { .voet .binnen { grid-template-columns: 1fr 1fr; } }
.voet p { margin: 0 0 var(--ruimte-1); max-width: none; }
.voet a { color: var(--kleur-wit); }
.voet a:hover { color: var(--kleur-wit); text-decoration-thickness: 2px; }
.voet :focus-visible { outline-color: var(--kleur-wit); }

noscript .melding { background: var(--kleur-vlak-licht); border: var(--rand-dik) solid var(--kleur-blauw); padding: var(--ruimte-4); border-radius: var(--radius-s); }
