/* ============================================================
   Regel-voor-regel lijst (jh-teksten).
   Laadt NA teksten.css en hergebruikt daarvan de tokens en de
   vormtaal: Poppins, inkt #00334E, accent #0072AE, en overal
   een ronde radius behalve een hoek.
   ============================================================ */

.balk__knop {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: #fff;
  background: var(--accent); border-radius: 0 10px 10px 10px; padding: 9px 16px;
}
.balk__knop:hover { background: var(--accent-donker); }
.balk__teller {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: rgba(255,255,255,.22); border-radius: 999px; font-size: 13px;
}

/* ---------- uitleg ---------- */
.uitleg { padding-block: var(--sectie); }
.uitleg h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; max-width: 22ch; }
.uitleg__in { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.uitleg__tekst p { max-width: 64ch; }
.cijfers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uitleg__hoe {
  margin-top: clamp(28px, 3vw, 40px); padding-left: 16px;
  border-left: 3px solid var(--accent); color: #37525f; max-width: 90ch;
}

/* ---------- inhoudsopgave ---------- */
.inhoud { background: var(--vlak); padding-block: clamp(24px, 3vw, 36px); }
.inhoud__kop { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7c88; margin-bottom: 14px; }
.inhoud ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inhoud a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--inkt);
  background: #fff; border: 1px solid var(--rand); border-radius: 0 10px 10px 10px; padding: 8px 14px;
}
.inhoud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.inhoud a em { font-style: normal; font-size: 12px; color: #8b9aa4; }
.inhoud a:hover em { color: #cfe6f3; }

/* ---------- groep ---------- */
.groep { padding-top: clamp(40px, 5vw, 72px); }
.groep__hoofd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.groep__hoofd h2 { font-size: clamp(22px, 3vw, 32px); }
.groep__telling { font-size: 13px; color: #8b9aa4; white-space: nowrap; }
.groep__toelichting { margin-top: 12px; margin-bottom: clamp(20px, 2.5vw, 30px); max-width: 82ch; color: #45606f; }

/* ---------- een regel ---------- */
.regel {
  background: var(--wit); border: 1px solid var(--rand); border-radius: var(--r-vlak);
  padding: clamp(16px, 2.2vw, 26px); margin-bottom: clamp(14px, 1.8vw, 22px);
  transition: border-color .15s, box-shadow .15s;
}
.regel--akkoord { border-color: #9ed0ea; box-shadow: 0 2px 14px rgba(0,114,174,.09); }
.regel--blijft { background: #fafbfc; }
.regel__hoofd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.regel__nr { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.regel__pad {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px;
  background: var(--vlak); color: #55686f; border-radius: 0 7px 7px 7px; padding: 4px 10px;
}
.vlag--blijft { background: #e2e7ea; color: #5b6d77; margin-left: auto; }

.vink { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.vink input { position: absolute; opacity: 0; pointer-events: none; }
.vink__vak {
  width: 22px; height: 22px; border: 2px solid #c3ced5; border-radius: 0 6px 6px 6px;
  background: #fff; position: relative; transition: background .15s, border-color .15s;
}
.vink__vak::after {
  content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform .15s;
}
.vink input:checked + .vink__vak { background: var(--accent); border-color: var(--accent); }
.vink input:checked + .vink__vak::after { transform: rotate(45deg) scale(1); }
.vink input:focus-visible + .vink__vak { outline: 2px solid var(--markeer); outline-offset: 2px; }
.vink__tekst { font-size: 14px; font-weight: 600; color: #55686f; }
.vink input:checked ~ .vink__tekst { color: var(--accent-donker); }

.regel .kolom { padding: 14px 16px; }
.regel .vlag { display: inline-block; margin-bottom: 10px; }
.kolom__tekst { margin: 0; }
.kolom--huidig .kolom__tekst { color: #6b7c88; }
.kolom--nieuw .kolom__tekst { font-weight: 500; }

.regel__waarom {
  margin: 16px 0 0; padding-left: 14px; border-left: 3px solid var(--accent);
  font-size: 15px; color: #37525f; max-width: 92ch;
}
.regel__check {
  margin: 14px 0 0; background: #FFF8E3; border-left: 4px solid var(--let-op);
  border-radius: var(--r-klein); padding: 12px 16px; font-size: 15px;
}

/* ---------- zelf invullen ---------- */
.eigen { margin-top: 16px; }
.eigen__label {
  display: block; font-size: 13px; font-weight: 600; color: #6b7c88;
  letter-spacing: .02em; margin-bottom: 7px;
}
.eigen__veld {
  font: inherit; font-size: 15px; line-height: 1.55; color: var(--inkt);
  display: block; width: 100%; min-height: 54px; resize: vertical;
  background: #fff; border: 1px dashed #c3ced5; border-radius: 0 10px 10px 10px;
  padding: 12px 14px; transition: border-color .15s, background .15s;
}
.eigen__veld::placeholder { color: #9aa8b1; }
.eigen__veld:focus {
  outline: none; border-style: solid; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,114,174,.14);
}
.regel--eigen { border-color: var(--let-op); box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.regel--eigen .eigen__veld { border-style: solid; border-color: var(--let-op); background: #FFFCF3; }
.regel--eigen .eigen__label::after { content: ' (staat onderaan in het lijstje)'; font-weight: 500; color: #a07c14; }
.regel--eigen .kolom--nieuw { opacity: .55; }

/* ---------- het lijstje ---------- */
.lijstje { margin-top: clamp(48px, 6vw, 84px); background: var(--vlak); padding-block: var(--sectie); }
.lijstje h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 12px; }
.lijstje__uitleg { max-width: 74ch; color: #45606f; margin-bottom: 22px; }
.lijstje__balk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.knop {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  border-radius: 0 10px 10px 10px; padding: 10px 18px;
}
.knop:hover { background: var(--accent-donker); border-color: var(--accent-donker); }
.knop--stil { background: #fff; color: var(--inkt); border-color: var(--rand); }
.knop--stil:hover { background: #fff; border-color: var(--accent); color: var(--accent-donker); }
.lijstje__stand { margin-left: auto; font-size: 14px; color: #55686f; }
.lijstje__stand strong { color: var(--accent-donker); }
.lijstje__uit {
  background: #fff; border: 1px solid var(--rand); border-radius: var(--r-vlak);
  padding: clamp(16px, 2vw, 24px); margin: 0; max-height: 60vh; overflow: auto;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.65;
  white-space: pre-wrap; overflow-wrap: anywhere; color: var(--inkt);
}

/* ---------- daarna ---------- */
.daarna { padding-block: var(--sectie); }
.daarna h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 10px; }
.daarna__uitleg { color: #45606f; margin-bottom: clamp(24px, 3vw, 36px); }
.daarna__rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(16px, 2vw, 24px); }
/* teksten.css zet .urg op nowrap; met een label als "blokkeert livegang" loopt
   die op een telefoon het scherm uit. Hier mag hij dus omklappen. */
.daarna .keuze__hoofd { flex-wrap: wrap; }
.daarna .urg { white-space: normal; }
.urg--blokkeert-livegang { background: var(--accent); color: #fff; }
/* 11-09-2026: het domein is geen blokkade meer, dat punt is beslist. */
.urg--geregeld { background: #DCF0DF; color: #24632f; }
.urg--snel-te-doen { background: #D9EAF4; color: var(--accent-donker); }
.urg--vraag-aan-justin { background: #FFF0C2; color: #7a5b00; }

/* ---------- akkoord ---------- */
.akkoord { background: var(--inkt); color: #fff; padding-block: var(--sectie); }
.akkoord h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: clamp(20px, 3vw, 32px); }
.akkoord .stappen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 26px); counter-reset: stap; list-style: none; margin: 0; padding: 0;
}
.akkoord .stappen li {
  background: rgba(255,255,255,.07); border-radius: var(--r-vlak);
  padding: 24px 22px; font-size: 15px; color: #cfe0ea;
}
.akkoord .stappen li::before {
  counter-increment: stap; content: counter(stap);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 0 9px 9px 9px;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 14px;
}

@media (max-width: 980px) {
  .uitleg__in { grid-template-columns: 1fr; }
}
/* Smaller dan 980 zet teksten.css de huidige kolom onderaan (order: 2). Voor een
   regel-voor-regel lijst leest het juist beter van oud naar nieuw, dus hier niet. */
@media (max-width: 980px) {
  .regel .kolom--huidig { order: 0; }
}
@media (max-width: 620px) {
  .cijfers { grid-template-columns: 1fr 1fr; }
  .balk__knop { white-space: nowrap; font-size: 13px; padding: 8px 12px; gap: 7px; }
  .merk strong { font-size: 15px; }
  .regel__hoofd { gap: 8px; }
  .vink, .vlag--blijft { margin-left: 0; }
  .lijstje__stand { margin-left: 0; width: 100%; }
}
@media print {
  .balk__knop, .lijstje__balk, .inhoud { display: none; }
  .regel { break-inside: avoid; }
}
