/* ============================================================
   Talententest.com — BASIS design system (basisonderwijs)
   ------------------------------------------------------------
   Doelgroep: leerkrachten groep 5-8 (bezoeker/koper) en
   kinderen 9-12 (invullers van de test).

   Uitgangspunten (zie STRATEGIE-basisonderwijs.md §8):
   - Warm en vriendelijk (cream, ronde vormen) maar professioneel
     genoeg voor een leerkracht: knoppen zijn afgeronde
     rechthoeken, geen bolle pillen.
   - Primaire actiekleur = teal (leerkracht); oranje/koraal is
     accent (de "talentvonk" uit het logo).
   - Zes talentkleuren = zes clusters, overal consistent.
   - Tablet-first: tap-targets >= 48px.
   - Fonts: "Baloo 2" (display/koppen) + "Nunito" (lopende tekst).

   TOKENS
   ============================================================ */
:root {
  /* Basis */
  --bg:        #FFF8EF;   /* cream ondergrond */
  --bg-soft:   #FDF1E0;   /* secties die afwisselen */
  --card:      #FFFFFF;
  --ink:       #2F2C55;   /* diep indigo — tekst */
  --ink-soft:  #6B6890;   /* secundaire tekst */
  --line:      #F0E4D2;   /* subtiele randen */

  /* Acties & accenten */
  --actie:        #0E7C7B;  /* primaire CTA (teal) */
  --actie-dark:   #0A6362;
  --actie-soft:   #E3F2F1;
  --accent:       #FF8A3C;  /* talentvonk-oranje, spaarzaam */
  --accent-warm:  #F2606B;  /* koraal, onderkant van de vonk */

  /* Zes talentgebieden (clusters DEN/DOE/SAM/LEI/CRE/STA) */
  --t-den: #4E8FE8;   /* Ontdekken & uitzoeken — De Uitvinder  */
  --t-doe: #FF8A3C;   /* Aanpakken & doorzetten — De Doorzetter */
  --t-sam: #34B57C;   /* Samen & vrienden — De Verbinder        */
  --t-lei: #F2606B;   /* Voorop & vertellen — De Aanvoerder     */
  --t-cre: #9A6CE8;   /* Maken & fantasie — De Maker            */
  --t-sta: #FFC53D;   /* Voelen & stevig staan — De Rots        */

  /* Vorm & schaduw */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(47, 44, 85, .06);
  --shadow-md: 0 8px 28px rgba(47, 44, 85, .10);
  --shadow-lg: 0 16px 44px rgba(47, 44, 85, .14);

  /* Typografie */
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

/* ============================================================
   BASIS
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--actie); }

img, svg { max-width: 100%; height: auto; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

.section-kop { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-kop p { color: var(--ink-soft); font-size: 1.08rem; }

/* ============================================================
   KNOPPEN — afgeronde rechthoek, tap-target >= 50px
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }

.btn--actie {
  background: var(--actie);
  color: #fff;
  box-shadow: 0 5px 16px rgba(14, 124, 123, .28);
}
.btn--actie:hover { background: var(--actie-dark); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink-soft); }

.btn--wit {
  background: #fff;
  color: var(--actie);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.btn--wit:hover { transform: translateY(-2px); }

.btn--klein { min-height: 44px; padding: 8px 20px; font-size: .96rem; }

/* ============================================================
   NAVIGATIE
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.58rem;
  line-height: 1;
}
.nav-logo img, .nav-logo svg { width: 62px; height: 62px; flex: 0 0 62px; }
.nav-logo .tld { color: var(--ink-soft); font-weight: 600; }

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid color-mix(in srgb, var(--actie) 22%, var(--line));
  border-radius: 15px;
  background: color-mix(in srgb, var(--actie) 8%, white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.nav-toggle .streep {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: var(--actie);
}
.nav-toggle .streep:nth-child(2) { width: 16px; }
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--actie);
  background: var(--actie-soft);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav-inner { position: relative; gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    right: 20px;
    left: auto;
    width: min(300px, calc(100vw - 40px));
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
  }
  .nav-links a:hover { background: var(--bg-soft); }
  .nav-links a.btn {
    display: inline-flex;
    width: 100%;
    margin-top: 4px;
  }
}
@media (max-width: 480px) {
  /* alleen de vonk in de header, zodat de CTA past */
  /* .nav .nav-logo > span { display: none; } */
}

/* ============================================================
   HERO — leerkracht-gericht, klasrapport-mock rechts
   ============================================================ */
.hero { padding: 64px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--actie); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-noot { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }

/* ============================================================
   MOCK-KAARTEN (kind-uitslag & klasrapport)
   ============================================================ */
.uitslag-mock {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  max-width: 400px;
  margin: 0 auto;
  transform: rotate(1.5deg);
  position: relative;
}
.uitslag-mock .um-kop { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.uitslag-mock .um-avatar {
  width: 62px; height: 62px; border-radius: 20px;
  background: #FFEFE2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
}
.um-label { font-size: .82rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.uitslag-mock .um-titel { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--t-doe); line-height: 1.1; }
.uitslag-mock .um-tekst { color: var(--ink-soft); font-size: .95rem; }

.talent-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: .87rem;
  margin: 4px 4px 0 0;
}
.talent-chip .dot { width: 10px; height: 10px; border-radius: 50%; }

.rapport-mock {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.rapport-mock .rm-kop { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.rapport-mock .rm-sub { color: var(--ink-soft); font-size: .85rem; margin-bottom: 18px; }

.rm-rij { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rm-rij .rm-label { width: 112px; font-size: .82rem; font-weight: 800; flex-shrink: 0; }
.rm-rij .rm-baan { flex: 1; height: 16px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.rm-rij .rm-balk { height: 100%; border-radius: 999px; }
.rm-rij .rm-n { width: 26px; font-size: .8rem; font-weight: 800; color: var(--ink-soft); text-align: right; }

.hero .rapport-mock { transform: rotate(-1.5deg); max-width: 440px; margin: 0 auto; }

/* ============================================================
   ZO WERKT HET — geanimeerde demo
   ============================================================ */
.demo-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } }

.demo-stappen { list-style: none; padding: 0; margin: 28px 0 0; }
.demo-stappen li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  transition: background .3s ease, border-color .3s ease, opacity .3s ease;
  opacity: .55;
  cursor: default;
}
.demo-stappen li.actief {
  background: var(--card);
  border-color: var(--actie);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}
.demo-stappen .nr {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--ink-soft);
  transition: background .3s ease;
}
.demo-stappen li.actief .nr { background: var(--actie); }
.demo-stappen h3 { font-size: 1.08rem; margin-bottom: 2px; }
.demo-stappen p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* Het demo-scherm: lichte app-kaart met gestapelde vellen erachter */
.demo-stapel {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.demo-stapel::before,
.demo-stapel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
}
.demo-stapel::before {
  background: color-mix(in srgb, var(--t-sta) 42%, white);
  transform: rotate(2.4deg) translate(10px, 6px);
}
.demo-stapel::after {
  background: var(--actie-soft);
  transform: rotate(-2deg) translate(-8px, 8px);
}
.demo-kaart {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.demo-kop-rij {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}
.demo-kop-rij img { width: 22px; height: 22px; }
.demo-kop-rij .dk-dots { margin-left: auto; display: flex; gap: 5px; }
.demo-kop-rij .dk-dots span { width: 9px; height: 9px; border-radius: 50%; }
.demo-scherm-binnen {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  height: 380px;
  overflow: hidden;
}
.demo-scene {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
}
.demo-scene.actief {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scène: vraag met smiley-schaal */
.ds-kop {
  font-size: .82rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.ds-voortgang {
  height: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.ds-voortgang > div {
  height: 100%;
  background: var(--actie);
  border-radius: 999px;
  transition: width .6s ease;
}
.ds-stelling {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  min-height: 3.5em;
  margin-bottom: 22px;
}
.frequentie-rij {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.optie {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 4px 10px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.optie .freq-dots { display: flex; justify-content: center; gap: 3px; margin-bottom: 8px; }
.optie .freq-dots i { width: 7px; height: 7px; border: 1.5px solid var(--actie); border-radius: 50%; }
.optie .freq-dots i.aan { background: var(--actie); }
.optie .lbl { font-size: .72rem; font-weight: 800; color: var(--ink-soft); line-height: 1.15; display: block; }
.optie.gekozen {
  border-color: var(--actie);
  background: var(--actie-soft);
  transform: scale(1.08);
}
.optie.gekozen .lbl { color: var(--actie); }

/* Scène: kind-uitslag */
.ds-uitslag { text-align: center; padding-top: 16px; }
.ds-uitslag .du-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 26px;
  background: #FFEFE2;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
}
.ds-uitslag .du-titel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--t-doe);
  margin-bottom: 6px;
}
.ds-uitslag p { color: var(--ink-soft); font-size: .97rem; max-width: 320px; margin: 0 auto 14px; }

/* Scène: klasrapport in de demo */
.ds-rapport .rm-balk { width: 0; transition: width 1s cubic-bezier(.2,.7,.3,1); }

@media (max-width: 480px) {
  .demo-scene { padding: 20px; }
  .ds-uitslag { padding-top: 4px; }
  .ds-uitslag .du-avatar { width: 64px; height: 64px; font-size: 2rem; margin-bottom: 10px; }
  .ds-uitslag .du-titel { font-size: 1.4rem; }
  .ds-uitslag p { font-size: .9rem; margin-bottom: 10px; }
  .ds-stelling { font-size: 1.15rem; }
  .rm-rij .rm-label { width: 92px; font-size: .76rem; }
}

/* ============================================================
   ZES TALENTGEBIEDEN — held-profielen
   ============================================================ */
.helden {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 940px) { .helden { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .helden { grid-template-columns: 1fr; } }

/* Stickervel-look: getinte kaarten, wisselende hoeken en lichte rotatie */
.held {
  background: color-mix(in srgb, var(--held-kleur, var(--line)) 10%, white);
  border-radius: 30px 16px 30px 16px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transform: rotate(-1deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.helden .held:nth-child(even) {
  transform: rotate(1.1deg);
  border-radius: 16px 30px 16px 30px;
}
.held:hover,
.helden .held:nth-child(even):hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Talentgebied als rustig regeltje onderin de kaart */
.held-gebied {
  margin-top: 14px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--held-kleur);
}

/* Handgetekende kras onder de heldnaam */
.held .kras {
  display: block;
  width: 96px;
  height: 12px;
  color: var(--held-kleur);
  margin: -2px 0 10px;
}

.held--den { --held-kleur: var(--t-den); }
.held--doe { --held-kleur: var(--t-doe); }
.held--sam { --held-kleur: var(--t-sam); }
.held--lei { --held-kleur: var(--t-lei); }
.held--cre { --held-kleur: var(--t-cre); }
.held--sta { --held-kleur: var(--t-sta); }

.held .held-icoon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--held-kleur);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.held h3 { margin-bottom: 2px; font-size: 1.35rem; }
.held p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ============================================================
   JAARLIJN — "Een schooljaar vol inzicht"
   Wordt gerenderd uit assets/js/checks.js (registry).
   ============================================================ */
.jaarlijn {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  padding-top: 6px;
}
/* de stippellijn door het jaar */
.jaarlijn::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 5%;
  right: 5%;
  border-top: 3px dashed #E9D9BE;
}

.station { position: relative; display: flex; flex-direction: column; }

.st-maand {
  align-self: center;
  z-index: 1;
  background: var(--st-kleur);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  padding: 5px 16px;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  white-space: nowrap;
}
.station:nth-child(even) .st-maand { transform: rotate(2deg); }

.st-kaart {
  flex: 1;
  background: color-mix(in srgb, var(--st-kleur) 9%, white);
  border-radius: 26px 14px 26px 14px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.station:nth-child(even) .st-kaart { border-radius: 14px 26px 14px 26px; }

.st-icoon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--st-kleur);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.st-badge {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--st-kleur);
  margin-bottom: 4px;
}
.st-kaart h3 { font-size: 1.12rem; margin-bottom: 4px; }
.st-kaart p { color: var(--ink-soft); font-size: .9rem; flex: 1; margin-bottom: 14px; }
.st-kaart .btn { align-self: flex-start; }
.st-link {
  font-weight: 800;
  font-size: .9rem;
  color: var(--st-kleur);
  text-decoration: none;
}
.st-link:hover { text-decoration: underline; }

/* Aangekondigd en toekomstig: luchtiger, gestippelde rand */
.station--binnenkort .st-kaart {
  background: #fff;
  border: 2px dashed color-mix(in srgb, var(--st-kleur) 45%, white);
  box-shadow: none;
}
.station--in-ontwikkeling .st-kaart {
  background: #fff;
  border: 2px dashed var(--line);
  box-shadow: none;
}
.station--in-ontwikkeling .st-maand {
  background: color-mix(in srgb, var(--st-kleur) 55%, white);
}

.jaarlijn-noot {
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 26px 0 0;
}

@media (max-width: 940px) {
  .jaarlijn { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .jaarlijn::before { display: none; }
}
@media (max-width: 560px) {
  .jaarlijn { grid-template-columns: 1fr; }
}

/* ============================================================
   KLASRAPPORT-SECTIE (teal blok)
   ============================================================ */
.klas-sectie {
  background: var(--actie);
  border-radius: var(--r-lg);
  color: #fff;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .klas-sectie { grid-template-columns: 1fr; padding: 36px 26px; } }

.klas-sectie h2 { color: #fff; }
.klas-sectie .klas-intro { color: rgba(255,255,255,.85); font-size: 1.05rem; }

.klas-punten { list-style: none; padding: 0; margin: 22px 0 30px; }
.klas-punten li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,.94);
  font-size: 1rem;
}
.klas-punten li i { color: var(--t-sta); font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }

.klas-gratis-noot { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 12px; }

/* ============================================================
   VEILIG & EERLIJK strip
   ============================================================ */
.belofte-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .belofte-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .belofte-strip { grid-template-columns: 1fr; } }

.belofte {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.belofte i { font-size: 1.5rem; color: var(--actie); flex-shrink: 0; margin-top: 2px; }
.belofte h3 { font-size: 1rem; margin-bottom: 2px; }
.belofte p { color: var(--ink-soft); font-size: .88rem; margin: 0; }

/* ============================================================
   CONTENTPAGINA'S
   ============================================================ */
.page-main { padding: 56px 0 72px; }

.page-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--actie);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-hero p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.page-updated {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 800;
  margin-top: 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.content-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) {
  .content-grid,
  .content-grid--3 { grid-template-columns: 1fr; }
}

.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.content-card h2 { font-size: 1.45rem; }
.content-card h3 { margin-bottom: 4px; }
.content-card p,
.content-card li { color: var(--ink-soft); }
.content-card p:last-child { margin-bottom: 0; }

.content-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--actie-soft);
  color: var(--actie);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 16px;
}

.content-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 34px;
}
.content-panel section + section { margin-top: 28px; }
.content-panel h2 { font-size: 1.35rem; }
.content-panel p { color: var(--ink-soft); }
@media (max-width: 560px) {
  .content-panel,
  .content-card { padding: 22px; }
}

.notice-panel {
  background: var(--actie);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.notice-panel h2,
.notice-panel p { color: #fff; }
.notice-panel p { opacity: .86; }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
}

.form-grid { display: grid; gap: 16px; }
.form-field label {
  display: block;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font: 700 1rem var(--font-body);
  padding: 13px 15px;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--actie);
  box-shadow: 0 0 0 4px var(--actie-soft);
}
.form-note { color: var(--ink-soft); font-size: .86rem; margin: 8px 0 0; }

.not-found {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.not-found .content-icon { margin-left: auto; margin-right: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  padding: 4px 22px;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--actie); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #2F2C55;
  color: rgba(255,255,255,.75);
  padding: 52px 0 32px;
  margin-top: 72px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 36px;
}
.footer .f-merk { max-width: 320px; }
.footer .f-merk .nav-logo { color: #fff; margin-bottom: 12px; }
.footer .f-merk p { font-size: .92rem; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer .f-onderregel {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 22px;
  font-size: .84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ============================================================
   TOEGANKELIJKHEID
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-scene, .demo-stappen li, .optie, .ds-rapport .rm-balk { transition: none; }
}
