/* checklist.css: /it-checklist/. Alleen tokens uit site.css. */

.checklist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .checklist { grid-template-columns: 1fr; } }

/* Groepen met genummerde kop */
.checklist__groep + .checklist__groep { margin-top: clamp(40px, 5vw, 64px); }
.checklist__groepkop { display: flex; align-items: baseline; gap: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--ink); margin-bottom: .2rem; }
.checklist__groepkop span { font: 500 .8rem/1 var(--mono); color: var(--oranje-tekst); letter-spacing: .08em; }

/* Eén vraag */
.vraag { border: 0; border-bottom: 1px solid var(--rule-2); margin: 0; padding: 1.5rem 0 1.4rem; min-width: 0; }
.vraag legend { float: left; width: 100%; padding: 0; display: flex; gap: .9rem; font: 650 clamp(1.08rem, 1rem + .35vw, 1.28rem)/1.3 var(--sans); letter-spacing: -.015em; margin-bottom: .9rem; }
.vraag legend + * { clear: both; }
.vraag__nr { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--rule-2); border-radius: 50%; font: 500 .8rem/1 var(--mono); color: var(--muted); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.vraag__keuzes { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .9rem 2.9rem; }
.vraag__uitleg { margin: 0 0 0 2.9rem; color: var(--muted); font-size: 1rem; max-width: 62ch; }
.vraag__bijons { margin: .6rem 0 0 2.9rem; font-size: .92rem; color: var(--ink-2); max-width: 62ch; padding-left: .8rem; border-left: 2px solid var(--goud); }
@media (max-width: 520px) {
  .vraag__keuzes, .vraag__uitleg, .vraag__bijons { margin-left: 0; }
}

/* Keuzeknoppen: echte radio's, zichtbaar als rondjes met label */
.keus { position: relative; display: inline-flex; }
.keus input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.keus span {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--kaart);
  font-weight: 600; font-size: .95rem; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.keus span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; transition: border-width .2s var(--ease), border-color .2s var(--ease); }
.keus:hover span { border-color: var(--ink); }
.keus input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.keus input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.keus input:checked + span::before { border: 4px solid var(--oranje); background: var(--paper); }

/* Status per vraag na een antwoord */
.vraag[data-antwoord="ja"] .vraag__nr { background: var(--ink); border-color: var(--ink); color: var(--goud); }
.vraag[data-antwoord="nee"] .vraag__nr,
.vraag[data-antwoord="weet"] .vraag__nr { border-color: var(--oranje); color: var(--oranje-tekst); }

.checklist__noot { margin-top: var(--sp-lg); font: 400 .82rem/1.5 var(--mono); color: var(--muted); }

/* Uitslagkaart: donkere werkbon die meeloopt */
.uitslag { position: sticky; top: 96px; background: var(--nacht); color: var(--op-nacht); border-radius: var(--r); padding: clamp(20px, 2.5vw, 30px); }
@media (min-width: 961px) { .uitslag { max-height: calc(100vh - 112px); overflow-y: auto; } }
@media (max-width: 960px) { .uitslag { position: relative; top: 0; } }
/* Met JavaScript geeft de live telling het oordeel; de vaste schaal alleen zonder JS en op papier */
.js .uitslag__schaal { display: none; }
.uitslag__label { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--goud); margin: 0 0 .8rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--rule-nacht); }
.uitslag__kop { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); color: var(--op-nacht); margin-bottom: 1rem; }
.uitslag__telling { font-size: 1.05rem; color: var(--op-nacht-2); margin: 0 0 .7rem; }
.uitslag__telling .prijs { font-size: clamp(2.4rem, 2rem + 1.4vw, 3.2rem); line-height: 1; color: var(--goud); margin-right: .3rem; }
.uitslag__balk { height: 4px; background: var(--rule-nacht); border-radius: 2px; overflow: hidden; margin-bottom: 1rem; }
.uitslag__balk span { display: block; height: 100%; width: 0; background: var(--oranje); transition: width .5s var(--ease-out); }
.uitslag__oordeel { color: var(--op-nacht); font-weight: 550; margin: 0 0 1rem; }
.uitslag__sub { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--op-nacht-2); margin: 0 0 .5rem; }
.uitslag__open { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; font-size: .92rem; color: var(--op-nacht-2); }
.uitslag__open li { display: flex; gap: .6rem; margin: 0; }
.uitslag__nr { flex: none; font: 500 .78rem/1.6 var(--mono); color: var(--oranje); min-width: 1.4rem; }
.uitslag__schaal { border-top-color: var(--rule-nacht); margin-bottom: 1.4rem; font-size: .9rem; }
.uitslag__schaal li { border-bottom-color: var(--rule-nacht); flex-direction: column; gap: .15rem; padding: .7rem 0; }
.uitslag__schaal li > :first-child { font: 500 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--goud); }
.uitslag__schaal li > :last-child { color: var(--op-nacht-2); }
.uitslag .btn--block { white-space: normal; text-align: left; justify-content: space-between; }
.uitslag__bel, .uitslag__privacy { font-size: .88rem; color: var(--op-nacht-2); margin: .9rem 0 0; }
.uitslag .link { color: var(--goud); }
.uitslag .btn--ghost { --fg: var(--op-nacht); --bd: var(--rule-nacht); margin-top: 1rem; }

/* Print: een schone lijst om met pen in te vullen */
@media print {
  .page-hero .circuit, .page-hero .hero__actions, .page-hero .drempels, .kruimel,
  .uitslag__acties, .uitslag__balk, .section--surface { display: none !important; }
  .page-hero .hero__grid { padding: 0 0 12pt; }
  .page-hero h1 { font-size: 22pt; }
  .hero__lead { color: #000 !important; }
  .section { padding: 0; }
  .section__head { display: block; margin-bottom: 8pt; }
  .section__sub { color: #000; }
  .checklist { display: block; }
  .vraag { break-inside: avoid; padding: 8pt 0; }
  .vraag__uitleg, .vraag__bijons { color: #000; }
  .keus span { background: #fff !important; color: #000 !important; border-color: #000; min-height: 0; padding: 2pt 8pt; }
  .keus input:checked + span::before { border: 5px solid #000; }
  .js .uitslag__schaal { display: block; }
  .uitslag { position: static; max-height: none; overflow: visible; background: #fff; color: #000; border: 1px solid #000; margin-top: 12pt; break-inside: avoid; }
  .uitslag *, .uitslag__kop, .uitslag__telling .prijs, .uitslag__schaal li > * { color: #000 !important; }
  .link { color: #000; }
}

/* Smalle schermen: de kolom mag niet breder worden dan het scherm door één lang woord in de kop */
@media (max-width: 900px) { .page-hero .hero__grid { grid-template-columns: minmax(0, 1fr); } }
.page-hero h1 { overflow-wrap: break-word; hyphens: auto; }
.uitslag .tel-nr { white-space: nowrap; }
