/*
 * Kleuren van Talitha Holding.
 * Belangrijk: een merkkleur is een VULLING, geen inkt. Daarom staan de
 * tekstvarianten los, met het gemeten contrast op papier (#faf8f4) erbij.
 * Wie hier een kleur wijzigt, draait daarna: node scripts/check-contrast.js
 */
:root {
  --inkt: #1b2237;          /* 13,9:1 op papier, lopende tekst */
  --inkt-zacht: #4a5268;    /* 7,3:1 op papier, bijschriften   */
  --papier: #faf8f4;
  --papier-diep: #f1ede5;
  --nacht: #131c38;         /* vlakken en knoppen              */
  --nacht-diep: #0d1428;
  --goud: #e8b64c;          /* VULLING, nooit tekst op papier  */
  --goud-donker: #966a13;   /* 4,53:1 op papier, 4,81:1 op wit */
  --lijn: #ddd6c8;
  --wit: #ffffff;
}

/*
 * Leesinstellingen. De root-lettergrootte schaalt alles wat in rem staat,
 * zodat de opmaak blijft herstromen en de breekpunten blijven werken.
 * Vandaar dat stijl.css geen px meer gebruikt voor tekst.
 */
html[data-lezen-tekst="125"] { font-size: 125%; }
html[data-lezen-tekst="150"] { font-size: 150%; }
html[data-lezen-tekst="200"] { font-size: 200%; }

/* Bij grote tekst mag niets meer buiten zijn vak vallen */
html[data-lezen-tekst="150"] body,
html[data-lezen-tekst="200"] body {
  overflow-wrap: break-word;
  hyphens: auto;
}

html[data-lezen-tekst="200"] .kaarten,
html[data-lezen-tekst="200"] .waarden-rij,
html[data-lezen-tekst="200"] .kolommen,
html[data-lezen-tekst="200"] .veldrij,
html[data-lezen-tekst="200"] .voet-kolommen {
  grid-template-columns: 1fr !important;
}

/* Grid- en flexkinderen mogen krimpen, anders duwen ze de pagina breed */
.kaart, .waarde, .feit, .voet-groep, .kaart-body, .nieuwsbericht { min-width: 0; }

html[data-lezen-contrast="1"] {
  --inkt-zacht: #2f3648;    /* 10,7:1 op papier */
  --goud-donker: #7a5608;   /* 6,26:1 op papier */
  --lijn: #b9ae99;
}

html[data-lezen-contrast="1"] .contact-binnen p,
html[data-lezen-contrast="1"] .voet-groep a,
html[data-lezen-contrast="1"] .voet-onder a { color: #eef1f8; }

html[data-lezen-onderstreep="1"] a:not(.knop):not(.merk) { text-decoration: underline; }
html[data-lezen-onderstreep="1"] .knop { outline: 1px solid currentColor; }

html[data-lezen-beweging="1"] { scroll-behavior: auto; }
html[data-lezen-beweging="1"] *,
html[data-lezen-beweging="1"] *::before,
html[data-lezen-beweging="1"] *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
}

/* Zonder beweging mag een verschijn-element nooit onzichtbaar blijven hangen */
html[data-lezen-beweging="1"] .verschijn { opacity: 1 !important; transform: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Een klasse met display wint van het hidden-attribuut; deze regel houdt verborgen echt verborgen. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--inkt);
  background: var(--papier);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .merk-naam {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.omlijsting {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/*
 * Toetsenbordbediening. In :where() gezet zodat de specificiteit nul is en
 * gewone pagina-CSS er niet mee hoeft te vechten. De witte halo eromheen zorgt
 * dat de ring ook op donkere vlakken zichtbaar blijft.
 */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.92);
  border-radius: 4px;
}

/* Een muisklik hoort geen ring te tekenen, toetsenbordfocus wel */
:where(a, button):focus:not(:focus-visible) { outline: none; }

/* Anker-doelen mogen niet onder de plakkende kop verdwijnen */
:target, section[id] { scroll-margin-top: 84px; }

.overslaan {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--nacht);
  color: var(--wit);
  padding: 11px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}

.overslaan:focus { top: 0; }

/* Kop */
.kop {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lijn);
}

.kop-binnen {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 64px;
  flex-wrap: wrap;
}

.merk {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--inkt);
}

.merk-blok {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--nacht);
  color: var(--goud);
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

/* De merknaam is een logo en geen leestekst: hij schaalt bewust NIET mee met
   de leesinstelling en breekt nooit af, anders staat er "Ta-litha Hol-ding". */
.merk-naam {
  font-size: 19px;
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: none;
}
.merk-naam em { font-style: normal; color: var(--goud-donker); }

.hoofdnav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.hoofdnav a {
  text-decoration: none;
  color: var(--inkt-zacht);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hoofdnav a {
  position: relative;
  padding-bottom: 3px;
}

.hoofdnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--goud);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.hoofdnav a:hover { color: var(--inkt); }
.hoofdnav a:hover::after, .hoofdnav a.actief::after { transform: scaleX(1); }
.hoofdnav a.actief { color: var(--inkt); }

.kop-rechts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.taalkeuze {
  display: flex;
  border: 1px solid var(--lijn);
  border-radius: 999px;
  overflow: hidden;
}

/* Menuknop, alleen op smalle schermen */
.menuknop {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--lijn);
  border-radius: 10px;
  cursor: pointer;
}

.menustreep {
  display: block;
  height: 2px;
  background: var(--inkt);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menuknop[aria-expanded="true"] .menustreep:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menuknop[aria-expanded="true"] .menustreep:nth-child(2) { opacity: 0; }
.menuknop[aria-expanded="true"] .menustreep:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.taalknop {
  border: 0;
  background: transparent;
  padding: 6px 13px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--inkt-zacht);
  cursor: pointer;
}

.taalknop.actief {
  background: var(--nacht);
  color: var(--wit);
}

/* Held */
.held {
  background:
    radial-gradient(ellipse 900px 420px at 50% -80px, rgba(232, 182, 76, 0.18), transparent),
    var(--papier);
  text-align: center;
  padding: 96px 0 104px;
}

.held-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--goud-donker);
  border: 1px solid var(--lijn);
  border-radius: 999px;
  padding: 6px 16px;
  background: var(--wit);
  margin-bottom: 26px;
}

.held h1 {
  font-size: clamp(2.125rem, 6vw, 3.625rem);
  max-width: 15ch;
  margin: 0 auto 20px;
}

.held-tekst {
  max-width: 56ch;
  margin: 0 auto 34px;
  font-size: 1.125rem;
  color: var(--inkt-zacht);
}

.held-knoppen {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.knop {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.knop:hover { transform: translateY(-1px); }
.knop-vol:hover { box-shadow: 0 10px 24px rgba(19, 28, 56, 0.22); }
.knop-goud:hover { box-shadow: 0 10px 24px rgba(232, 182, 76, 0.34); }

.knop-vol { background: var(--nacht); color: var(--wit); }
.knop-vol:hover { background: var(--nacht-diep); }
.knop-lijn { border: 1.5px solid var(--inkt); color: var(--inkt); }
.knop-lijn:hover { background: var(--papier-diep); }
.knop-goud { background: var(--goud); color: var(--nacht-diep); }
.knop-goud:hover { filter: brightness(1.06); }

/* Stroken */
.strook { padding: 84px 0; }
.strook-licht { background: var(--papier-diep); }

.strook h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  margin-bottom: 34px;
}

.kolommen {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.kolommen p + p { margin-top: 16px; }
.kolommen p { color: var(--inkt-zacht); }

.feitenblok {
  display: grid;
  gap: 18px;
}

.feit {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.feit-getal {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.125rem;
  font-weight: 600;
  color: var(--goud-donker);
}

.feit-tekst { color: var(--inkt-zacht); font-size: 0.9375rem; }

/* Portfolio */
.kaarten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kaart:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(19, 28, 56, 0.13);
}

.kaart-kop {
  display: grid;
  place-items: center;
  height: 110px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.kaart-kop-yillo { background: linear-gradient(120deg, #f0547a, #f4a020); color: #0C0B1C; }
.kaart-kop-hr { background: linear-gradient(120deg, var(--nacht), #2a3a6e); color: var(--goud); }
.kaart-kop-leeg { background: var(--papier-diep); color: var(--inkt-zacht); font-size: 2.5rem; }

.kaart-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.kaart-body p { color: var(--inkt-zacht); font-size: 0.9375rem; }
.kaart-body h3 { font-size: 1.25rem; }

.kaart-status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
}

.status-live { background: #e3f2e6; color: #1d6b34; }
.status-bouw { background: #fdf0d7; color: var(--goud-donker); }
.status-idee { background: var(--papier-diep); color: var(--inkt-zacht); }

.kaart-link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--goud-donker);
  text-decoration: none;
}

.kaart-link:hover { text-decoration: underline; }
.kaart-link-stil { color: var(--inkt-zacht); }
.kaart-link-stil:hover { text-decoration: none; }

/* Waarden */
.waarden-rij {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.waarde {
  border-top: 3px solid var(--goud);
  background: var(--wit);
  border-radius: 0 0 14px 14px;
  border-left: 1px solid var(--lijn);
  border-right: 1px solid var(--lijn);
  border-bottom: 1px solid var(--lijn);
  padding: 22px;
}

.waarde h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.waarde p { color: var(--inkt-zacht); font-size: 0.9375rem; }

/* Nieuws */
.nieuws-lijst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.nieuwsbericht {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-left: 3px solid var(--goud);
  border-radius: 12px;
  padding: 20px 22px;
}

.nieuws-datum {
  font-size: 0.8125rem;
  color: var(--inkt-zacht);
  margin-bottom: 6px;
}

.nieuwsbericht h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.nieuwsbericht p:not(.nieuws-datum) { color: var(--inkt-zacht); font-size: 0.9375rem; }

/* Contact */
.strook-donker {
  background: linear-gradient(160deg, var(--nacht), var(--nacht-diep));
  color: var(--wit);
}

.contact-binnen { text-align: center; }
.contact-binnen h2 { color: var(--wit); }
.contact-binnen p {
  color: #c3c9dd;
  max-width: 50ch;
  margin: 0 auto 28px;
}

.contactformulier {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 16px;
}

.veldrij {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contactformulier label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #c3c9dd;
}

.contactformulier input,
.contactformulier textarea {
  font: inherit;
  font-weight: 400;
  color: var(--wit);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 11px 14px;
  resize: vertical;
}

.contactformulier input:focus,
.contactformulier textarea:focus {
  outline: 2px solid var(--goud);
  outline-offset: 1px;
  border-color: transparent;
}

.contactformulier .knop {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  justify-self: start;
}

.contactformulier .knop:disabled { opacity: 0.6; cursor: wait; }

.contactformulier .formulier-status { min-height: 1.4em; font-size: 0.9375rem; margin: 0; }
.contactformulier .formulier-status.gelukt { color: #8fd6a0; }
.contactformulier .formulier-status.fout { color: #f2a6b3; }

.contact-alternatief {
  margin-top: 26px;
  font-size: 0.9375rem;
}

.contact-alternatief a { color: var(--goud); font-weight: 600; }

@media (max-width: 560px) {
  .veldrij { grid-template-columns: 1fr; }
}

/* Tekstpagina's: privacy, voorwaarden, cookies */
.tekstpagina { padding: 64px 0 84px; }

.tekstpagina .omlijsting { max-width: 760px; }

.tekstpagina-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin-bottom: 10px;
}

.tekstpagina h1 {
  font-size: clamp(1.875rem, 5vw, 2.625rem);
  margin-bottom: 10px;
}

.tekstpagina-datum {
  color: var(--inkt-zacht);
  font-size: 0.875rem;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--lijn);
}

.tekstpagina .inleiding {
  font-size: 1.125rem;
  color: var(--inkt);
  margin-bottom: 30px;
}

.tekstpagina h2 {
  font-size: 1.375rem;
  margin: 34px 0 10px;
}

.tekstpagina h3 {
  font-size: 1.0625rem;
  margin: 22px 0 6px;
}

.tekstpagina p {
  color: var(--inkt-zacht);
  margin-bottom: 14px;
}

.tekstpagina a { color: var(--goud-donker); font-weight: 500; }

.tekstpagina .lijst {
  color: var(--inkt-zacht);
  padding-left: 22px;
  margin-bottom: 14px;
}

.tekstpagina .lijst li { margin-bottom: 7px; }

.tekstpagina code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--papier-diep);
  border: 1px solid var(--lijn);
  border-radius: 5px;
  padding: 1px 6px;
}

.knop.klein { padding: 9px 17px; font-size: 0.875rem; }

/* Voet */
.voet {
  background: var(--nacht-diep);
  color: #9aa2bd;
  font-size: 0.9375rem;
}

.voet-kolommen {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 38px;
}

.voet-merk .merk-blok { margin-bottom: 12px; }

.voet-naam {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--wit);
  margin-bottom: 8px;
}

.voet-naam em { font-style: normal; color: var(--goud); }
.voet-zin { max-width: 30ch; font-size: 0.875rem; }

.voet-groep { display: grid; gap: 9px; align-content: start; }

.voet-groep h2 {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c86a6;
  margin-bottom: 2px;
}

.voet-groep a, .voet-onder a {
  color: #c3c9dd;
  text-decoration: none;
  font-size: 0.9375rem;
}

.voet-groep a:hover, .voet-onder a:hover { color: var(--goud); text-decoration: underline; }

.voet-onder {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

/* Responsief */
@media (max-width: 900px) {
  .voet-kolommen { grid-template-columns: 1fr 1fr; gap: 30px; }
  .voet-merk { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .kolommen { grid-template-columns: 1fr; gap: 34px; }
  .kaarten, .waarden-rij { grid-template-columns: 1fr; }
  .held { padding: 64px 0 72px; }
  .strook { padding: 60px 0; }

  .menuknop { display: flex; }

  /* Het menu schuift open onder de kop in plaats van te verdwijnen */
  .hoofdnav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    gap: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--lijn);
    box-shadow: 0 14px 30px rgba(27, 34, 55, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .hoofdnav.open { max-height: 320px; }

  .hoofdnav a {
    padding: 15px 24px;
    border-top: 1px solid var(--lijn);
    font-size: 1rem;
  }

  .hoofdnav a::after { display: none; }

  .kop-binnen { position: relative; }
}

@media (max-width: 520px) {
  .voet-kolommen { grid-template-columns: 1fr; gap: 26px; }
  .merk-naam { font-size: 17px; }
}

/* Wie minder beweging wil, krijgt minder beweging */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Afdrukken: alleen de inhoud, geen navigatie of formulier */
@media print {
  .kop, .overslaan, .menuknop, .taalkeuze, .contactformulier, .voet-groep { display: none !important; }
  body { background: #fff; color: #000; }
  .strook, .held { padding: 18px 0; }
  .strook-donker, .voet { background: #fff !important; color: #000 !important; }
  .contact-binnen h2, .contact-binnen p, .voet-naam { color: #000 !important; }
  .kaart, .waarde, .feit { break-inside: avoid; border: 1px solid #999; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.6875rem; }
}

/* ==========================================================================
   Leesinstellingen: knop en paneel
   ========================================================================== */

.leesknop {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--lijn);
  border-radius: 10px;
  color: var(--inkt);
  cursor: pointer;
}

.leesknop:hover { background: var(--papier-diep); }
.leesknop svg { width: 20px; height: 20px; flex-shrink: 0; }

.leesvenster {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 20, 40, 0.55);
}

.leeskaart {
  background: var(--papier);
  border-radius: 18px;
  width: min(460px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: 0 30px 70px rgba(13, 20, 40, 0.4);
}

/* Binnen het paneel gelden de instellingen zelf niet: bij 200% zou het
   anders onbedienbaar worden. */
html[data-lezen-tekst] .leeskaart { font-size: 16px; }

.leeskaart h2 { font-size: 1.375rem; margin-bottom: 6px; }
.leeskaart .leesuitleg { color: var(--inkt-zacht); font-size: 0.9375rem; margin-bottom: 20px; }

.leesgroep { margin-bottom: 20px; }

.leesgroep h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
  margin-bottom: 9px;
}

.leesmaten { display: flex; gap: 8px; flex-wrap: wrap; }

.leesmaat, .leesschakel {
  font: inherit;
  font-weight: 600;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 10px;
  color: var(--inkt);
  cursor: pointer;
  min-height: 44px;
}

.leesmaat { flex: 1 1 60px; padding: 8px 4px; }

.leesmaat[aria-pressed="true"], .leesschakel[aria-pressed="true"] {
  background: var(--nacht);
  border-color: var(--nacht);
  color: var(--wit);
}

.leesschakel {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* De stand hangt niet alleen aan kleur: er komt ook een vinkje bij */
.leesschakel::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--lijn);
  border-radius: 6px;
  background: var(--wit);
}

.leesschakel[aria-pressed="true"]::before {
  content: "\2713";
  display: grid;
  place-items: center;
  background: var(--goud);
  border-color: var(--goud);
  color: var(--nacht-diep);
  font-weight: 700;
}

.leesvoorbeeld {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.leesvoorbeeld p { color: var(--inkt-zacht); font-size: 0.9375rem; }
.leesvoorbeeld strong { color: var(--inkt); display: block; margin-bottom: 3px; }

.leesknoppen { display: flex; gap: 10px; justify-content: space-between; }

.leeslive {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Foutpagina: vult het scherm zonder inline stijl, want die blokkeert de CSP */
.foutpagina {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  text-align: center;
}

/* Zachte verschijning bij het scrollen. De klasse wordt door site.js gezet,
   zodat er zonder JavaScript niets onzichtbaar blijft hangen. */
.verschijn {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.verschijn.binnen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .verschijn { opacity: 1 !important; transform: none !important; }
}

/* De trapsgewijze vertraging staat in CSS en niet als inline stijl,
   want inline stijl valt onder style-src van de CSP. */
.kaarten .kaart:nth-child(2), .waarden-rij .waarde:nth-child(2), .feitenblok .feit:nth-child(2) { transition-delay: 0.08s; }
.kaarten .kaart:nth-child(3), .waarden-rij .waarde:nth-child(3), .feitenblok .feit:nth-child(3) { transition-delay: 0.16s; }
