/* Business & Wellbeing quickscan (scan-nieuw), mobiel eerst. Huisstijl: navy #222C3F, goud #CDA46F, creme #F5F0E8, Montserrat. */
:root {
  --navy: #222C3F; --navy-soft: #2d3a52;
  --goud: #CDA46F; --goud-soft: #ebd9b9; --goud-lite: #faf3e3;
  --bruin: #8E5F36; --creme: #F5F0E8;
  --ink: #1a1a1a; --ink-soft: #4a4a4a; --ink-faded: #6b6b6b;
  --fout: #b8553a; --fout-bg: #fde8e3;
  --kaart: #ffffff; --rand: rgba(34,44,63,.12);
  --schaduw: 0 4px 16px rgba(34,44,63,.06), 0 1px 3px rgba(34,44,63,.04);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--creme); color: var(--ink);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--bruin); }

/* kop met logo en voortgang */
.kop { position: sticky; top: 0; z-index: 10; background: rgba(245,240,232,.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--rand); }
.kop-in { max-width: 760px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.merk img { height: 38px; width: auto; max-width: 62vw; display: block; }
.kop-link { white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.kop-link:hover { background: var(--goud-lite); }
.voortgang { height: 4px; background: rgba(34,44,63,.08); }
.voortgang span { display: block; height: 100%; width: 0; background: var(--goud); transition: width .35s ease; }

/* scherm */
.app { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 22px 18px 28px; }
.scherm { animation: in .28s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scherm { animation: none; } .voortgang span { transition: none; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; color: var(--bruin); margin: 0 0 12px; }
.eyebrow .deel { color: var(--ink-faded); letter-spacing: .08em; }
.intro { background: var(--goud-lite); border: 1px solid var(--goud-soft); border-radius: 12px; padding: 12px 14px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; }
.vraag { font-size: clamp(20px, 5.4vw, 27px); line-height: 1.25; font-weight: 800; color: var(--navy); letter-spacing: -.01em; margin: 0 0 8px; outline: none; }
.lead { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }
.hint { color: var(--ink-faded); font-size: 13px; margin: -4px 0 14px; }

/* welkom */
.welkom .vraag { font-size: clamp(26px, 7vw, 38px); line-height: 1.12; }
.welkom .vraag .goud { color: var(--goud); }
.feiten { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.feiten li { display: flex; align-items: center; gap: 12px; background: var(--kaart); border: 1px solid var(--rand); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.feiten .ico { width: 30px; height: 30px; min-width: 30px; border-radius: 50%; background: var(--navy); color: var(--goud); display: flex; align-items: center; justify-content: center; }
.feiten .ico svg { width: 16px; height: 16px; }

/* keuzes */
.opties { display: grid; gap: 10px; margin: 6px 0 4px; }
.optie {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  background: var(--kaart); border: 1.5px solid var(--rand); border-radius: 12px; padding: 13px 14px; min-height: 54px;
  font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.4;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}
.optie:hover { border-color: var(--goud); }
.optie:active { transform: scale(.995); }
.optie:focus-visible { outline: 3px solid rgba(205,164,111,.55); outline-offset: 2px; }
.optie .sleutel { width: 28px; height: 28px; min-width: 28px; border-radius: 8px; border: 1.5px solid var(--rand); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--creme); }
.optie.vink .sleutel { border-radius: 7px; }
.optie[aria-checked="true"] { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 1px var(--navy) inset; }
.optie[aria-checked="true"] .sleutel { background: var(--navy); border-color: var(--navy); color: var(--goud); }
.optie[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.optie .nvt { color: var(--ink-faded); }
/* rangorde: nummer 1, 2, 3 in de sleutel; de rest vergrendeld tot Wis */
.optie.rang[aria-checked="true"] .sleutel { font-size: 14px; }
.rang-balk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 2px 0; font-size: 13.5px; color: var(--ink-faded); min-height: 32px; }
.knop[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* invoer */
.veld { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--rand); background: var(--kaart); color: var(--ink); outline: none; }
.veld:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(205,164,111,.35); }
.veld[aria-invalid="true"] { border-color: var(--fout); }
.fout { color: var(--fout); background: var(--fout-bg); border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 600; margin: 12px 0 0; }
.fout:empty { display: none; }

/* slotscherm en vervolgveld bij "Anders" (versie 4) */
.velden { display: grid; gap: 4px; margin: 6px 0 0; }
.sublabel { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin: 12px 0 6px; }
.velden .sublabel:first-child { margin-top: 0; }
.vervolg { margin: 14px 0 0; }

/* knoppen */
.acties { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.acties.rechts { justify-content: flex-end; }
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .02em; padding: 14px 26px; min-height: 50px; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.knop:focus-visible { outline: 3px solid rgba(205,164,111,.6); outline-offset: 2px; }
.knop-navy { background: var(--navy); color: #fff; }
.knop-navy:hover { background: var(--navy-soft); }
.knop-goud { background: var(--goud); color: var(--navy); font-weight: 800; }
.knop-goud:hover { box-shadow: 0 8px 20px rgba(205,164,111,.35); transform: translateY(-1px); }
.knop-terug { background: transparent; color: var(--navy); padding: 12px 6px; min-height: 44px; }
.knop-terug:hover { text-decoration: underline; }
.knop[disabled] { opacity: .6; cursor: progress; }
.knop-breed { width: 100%; }
.toets { color: var(--ink-faded); font-size: 12px; display: none; }

/* afronden en bedankt */
.samenvatting { background: var(--kaart); border: 1px solid var(--rand); border-radius: 14px; padding: 16px; margin: 6px 0 4px; box-shadow: var(--schaduw); }
.samenvatting p { margin: 0 0 6px; font-size: 14.5px; color: var(--ink-soft); }
.samenvatting p:last-child { margin: 0; }
.klaar-vink { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--goud); display: flex; align-items: center; justify-content: center; margin: 4px 0 16px; }
.klaar-vink svg { width: 28px; height: 28px; }
.stappen { list-style: none; padding: 0; margin: 18px 0 24px; counter-reset: s; display: grid; gap: 10px; }
.stappen li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.stappen li::before { content: counter(s); width: 26px; height: 26px; min-width: 26px; border-radius: 50%; background: var(--goud-lite); border: 1px solid var(--goud-soft); color: var(--bruin); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.stappen strong { color: var(--navy); }

.toestemming { color: var(--ink-faded); font-size: 12.5px; line-height: 1.5; margin: 14px 0 0; }
.opnieuw { margin: 14px 0 0; text-align: center; }
.link { background: none; border: none; padding: 6px; font: inherit; font-size: 13.5px; color: var(--bruin); text-decoration: underline; cursor: pointer; }

/* spamval */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.voet { max-width: 680px; width: 100%; margin: 0 auto; padding: 14px 18px 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; font-size: 12.5px; color: var(--ink-faded); border-top: 1px solid var(--rand); }
.voet a { color: var(--ink-faded); }

@media (min-width: 720px) {
  .kop-in { padding: 12px 24px; }
  .merk img { height: 44px; }
  .app { padding: 54px 24px 40px; }
  .scherm { background: var(--kaart); border: 1px solid var(--rand); border-radius: 20px; padding: 36px 40px 30px; box-shadow: var(--schaduw); }
  .optie { background: var(--creme); }
  .optie[aria-checked="true"] { background: #fff; }
  .optie .sleutel { background: #fff; }
  .feiten { grid-template-columns: repeat(3, 1fr); }
  .feiten li { flex-direction: column; align-items: flex-start; background: var(--creme); }
  .samenvatting { background: var(--creme); box-shadow: none; }
  .toets { display: inline; }
  .knop-breed { width: auto; }
}
