/* =====================================================================
   SprookjesZorg — website sprookjeszorg.nl
   Gebouwd op het SprookjesZorg Design System (tokens 29-09-2026).
   Eén bestand voor alle pagina's. Regels:
   - alleen palettokens; goud en gazongroen nooit als lopende tekst
   - rechte hoeken, geen schaduw, geen verloop
   - titels Regular in bosgroen (op licht) of wit (op bosgroen)
   - tekst loopt tot dezelfde rechterrand als de navigatiebalk:
     geen maat op alinea's; de paginabreedte (--breedte) regelt de regellengte
   ===================================================================== */

:root {
  /* palet */
  --bosgroen: #1b4d3e;
  --goud: #c8a050;
  --gazongroen: #78a03c;
  --houtskool: #505050;
  --houtskool-licht: #707070;
  --warmwit: #fafaf8;
  --wit: #ffffff;
  --paneel: #f5f5f2;
  --haarlijn: #d8d5ce;

  /* fonts */
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Nunito Sans", Calibri, Arial, sans-serif;

  /* maat */
  --breedte: 960px;          /* één rechterrand voor balk, tekst en kaders */
  --rand: 24px;              /* zijmarge op kleine schermen */
  --lijn: 0.67px;            /* haarlijn 0.5pt */
  --balk: 6px;               /* accentbalk */
  --logo-header: 80px;       /* volledig logo, hoogte in de kopbalk (logo-web-header 60–80px; besluit Barend 8-10-2026, variant A) */
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--warmwit);
  color: var(--houtskool);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--bosgroen); margin: 0; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--bosgroen); }
strong { font-weight: 700; color: var(--houtskool); }

.vw { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--breedte) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- overslaan naar inhoud ---------- */
.naar-inhoud { position: absolute; left: -9999px; top: 0; background: var(--bosgroen); color: var(--wit); padding: 10px 16px; z-index: 50; }
.naar-inhoud:focus { left: 16px; top: 16px; }

/* ---------- kopbalk ---------- */
.kopbalk { background: var(--warmwit); border-bottom: var(--lijn) solid var(--haarlijn); position: sticky; top: 0; z-index: 20; }
@media (max-width: 1060px) { .kopbalk { position: static; } }
.kopbalk__binnen { display: flex; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.kopbalk__logo { flex: none; }
.kopbalk__logo img { height: var(--logo-header); width: auto; }
.menu { flex: 1; min-width: 0; display: flex; justify-content: flex-end; flex-wrap: nowrap; gap: 4px 17px; margin: 0; padding: 0; list-style: none; }
.menu a { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--houtskool); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a:hover { color: var(--bosgroen); border-bottom-color: var(--haarlijn); }
.menu a[aria-current="page"] { color: var(--bosgroen); border-bottom-color: var(--goud); }
.menu a:focus-visible, .kopbalk__logo:focus-visible { outline: 2px solid var(--bosgroen); outline-offset: 3px; }

/* lettergrootte (component Lettergrootte, Design System 01-10-2026) */
.sz-letters { flex: none; display: inline-flex; align-items: center; gap: 6px; }
/* het woord "Letters" vervalt in de kopbalk: met het menu op één regel is er geen ruimte (besluit 8-10-2026) */
.sz-letters__kop { display: none; }
.sz-letters button { font-family: var(--display); line-height: 1; min-width: 28px; min-height: 26px; padding: 2px 6px; background: none; border: 1px solid var(--haarlijn); border-radius: 0; color: var(--houtskool); cursor: pointer; }
.sz-letters button:nth-of-type(1) { font-size: 13px; }
.sz-letters button:nth-of-type(2) { font-size: 16px; }
.sz-letters button:nth-of-type(3) { font-size: 19px; }
.sz-letters button[aria-pressed="true"] { background: var(--bosgroen); border-color: var(--bosgroen); color: var(--wit); }
.sz-letters button:focus-visible { outline: 2px solid var(--bosgroen); outline-offset: 2px; }

@media (max-width: 1060px) {
  .kopbalk__binnen { flex-wrap: wrap; gap: 14px 20px; padding-top: 18px; padding-bottom: 14px; }
  .kopbalk__logo { order: 1; }
  .sz-letters { order: 2; margin-left: auto; }
  .menu { order: 3; flex: 1 0 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 22px; padding-bottom: 4px; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
}
@media (max-width: 820px) { .sz-letters__kop { display: none; } .sz-letters { gap: 4px; } .sz-letters button { min-width: 26px; padding: 2px 4px; } }

/* ---------- held (paginakop op bosgroen) ---------- */
.held { background: var(--bosgroen); color: var(--wit); padding: 96px 0 104px; text-align: center; }
.held__titel { color: var(--wit); font-size: clamp(38px, 7vw, 84px); line-height: 1.05; }
.held__sub { margin: 28px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.35; color: var(--goud); }

/* ---------- secties ---------- */
.sectie { padding: 80px 0; border-bottom: var(--lijn) solid var(--haarlijn); }
.sectie:last-of-type { border-bottom: 0; }
.sectie.is-paneel { background: var(--paneel); }
.sectie.is-donker { background: var(--bosgroen); color: var(--warmwit); border-bottom: 0; }
.sectie.is-donker h2, .sectie.is-donker h3 { color: var(--wit); }
.sectie.is-donker strong { color: var(--wit); }
.sectie.is-donker a { color: var(--wit); }
.sectie.is-midden { text-align: center; }

.label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--goud); margin: 0 0 14px; }
.sectie.is-donker .label { font-size: 14px; color: var(--warmwit); }
.kop { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.15; margin: 0 0 18px; }
.kop-groot { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; margin: 0 0 22px; }
.lead { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--houtskool-licht); margin: 0 0 36px; }
.sectie.is-donker .lead { color: var(--warmwit); }
.tekst > * { margin: 0; }
.tekst > * + * { margin-top: 1em; }
.bron { font-size: 13px; line-height: 1.5; color: var(--houtskool-licht); margin-top: 24px; }
.sectie.is-donker .bron { color: var(--warmwit); }
.eerlijk { font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--houtskool-licht); margin-top: 36px; text-align: center; }

/* doorklik en knoppen */
.doorklik { display: inline-block; margin-top: 32px; font-weight: 700; font-size: 16px; color: var(--bosgroen); text-decoration: none; border-bottom: 1px solid var(--goud); padding-bottom: 2px; }
.doorklik:hover { border-bottom-width: 2px; }
.doorklik:focus-visible, .knop:focus-visible { outline: 2px solid var(--bosgroen); outline-offset: 3px; }
.knop { display: inline-block; background: var(--bosgroen); color: var(--wit); text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 26px; border: 1px solid var(--bosgroen); }
.knop:hover { background: var(--wit); color: var(--bosgroen); }
.sectie.is-donker .knop { background: var(--warmwit); color: var(--bosgroen); border-color: var(--warmwit); }
.sectie.is-donker .knop:hover { background: transparent; color: var(--warmwit); }
.knoppen { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 32px; }
.knoppen .doorklik { margin-top: 0; }

/* ---------- raster en kaarten ---------- */
.raster { display: grid; gap: 18px; }
.raster > * { min-width: 0; }
.raster-2 { grid-template-columns: repeat(2, 1fr); }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .raster-3, .raster-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .raster-2, .raster-3, .raster-4 { grid-template-columns: 1fr; } }

.kaart { background: var(--wit); border: var(--lijn) solid var(--haarlijn); padding: 28px 26px; text-align: left; }
.sectie.is-paneel .kaart { background: var(--wit); }
.sectie:not(.is-paneel):not(.is-donker) .kaart { background: var(--paneel); }
a.kaart { display: block; text-decoration: none; color: inherit; }
a.kaart:hover { border-color: var(--bosgroen); }
a.kaart:focus-visible { outline: 2px solid var(--bosgroen); outline-offset: 3px; }
.kaart__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--houtskool); margin: 0 0 12px; }
.kaart__titel { overflow-wrap: anywhere; font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
.kaart__meta { font-size: 14px; color: var(--houtskool-licht); margin: 0 0 12px; }
.kaart__tekst { font-size: 16px; line-height: 1.6; margin: 0; }
.kaart__tekst + .kaart__tekst { margin-top: 12px; }
.kaart__actie { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--bosgroen); }

/* accentbalk bovenop een kaart (decoratief: bosgroen, goud of gazongroen) */
.kaart.balk { border-top: var(--balk) solid var(--bosgroen); }
.kaart.is-actief { border: 1px solid var(--bosgroen); border-top: var(--balk) solid var(--goud); }
.vlag { display: inline-block; background: var(--bosgroen); color: var(--wit); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; margin: 0 0 14px; }

/* ---------- cijfers ---------- */
.cijfer { text-align: center; padding: 28px 18px; background: var(--paneel); border: var(--lijn) solid var(--haarlijn); }
.cijfer__getal { font-family: var(--display); font-size: clamp(48px, 6vw, 64px); line-height: 1; color: var(--bosgroen); margin: 0 0 12px; }
.cijfer__label { font-size: 15px; line-height: 1.5; margin: 0; }

/* ---------- regels met accentbalk (component Principes) ---------- */
.regels { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.regel { display: grid; grid-template-columns: var(--balk) 1fr; column-gap: 18px; }
.regel::before { content: ""; background: var(--goud); }
.regel__kop { font-weight: 700; color: var(--bosgroen); margin: 0 0 4px; }
.regel__tekst { margin: 0; }

/* ---------- kernzin (component Kernzin) ---------- */
.kernzin { position: relative; background: var(--paneel); border: var(--lijn) solid var(--haarlijn); padding: 22px 26px 22px 34px; margin: 28px 0; font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--houtskool); }
.kernzin::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--goud); }
.kernzin.is-body { font-family: var(--body); font-style: normal; font-size: 16px; line-height: 1.6; }

/* ---------- tabel (component Tabel) ---------- */
.tabel { width: 100%; border-collapse: collapse; background: var(--wit); font-size: 16px; margin: 28px 0; }
.tabel td { padding: 12px 16px; border-bottom: var(--lijn) solid var(--haarlijn); }
.tabel td:last-child { text-align: right; white-space: nowrap; }
.tabel tr:nth-child(even) td { background: var(--paneel); }
.tabel tr.is-sub td { font-weight: 700; border-top: 1px solid var(--houtskool-licht); }
.tabel tr.is-totaal td { background: var(--bosgroen); color: var(--wit); font-weight: 700; font-size: 17px; }

/* ---------- twee kolommen: wat staat / wat we bouwen ---------- */
.kolom__kop { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--houtskool); padding-bottom: 10px; border-bottom: 1px solid var(--bosgroen); margin: 0 0 14px; }
.kolom ul { list-style: none; margin: 0; padding: 0; }
.kolom li { display: grid; grid-template-columns: 22px 1fr; padding: 7px 0; border-bottom: var(--lijn) solid var(--haarlijn); font-size: 16px; }
.kolom li span { color: var(--bosgroen); font-weight: 700; }

/* ---------- momenten (Een dagje) ---------- */
.fase { padding: 72px 0; border-bottom: var(--lijn) solid var(--haarlijn); }
.fase:nth-of-type(even) { background: var(--paneel); }
.fase__kop { margin-bottom: 36px; }
.moment { padding: 28px 0; border-top: var(--lijn) solid var(--haarlijn); }
.moment:first-of-type { border-top: 0; padding-top: 0; }
.moment__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.moment__nr { color: var(--bosgroen); }
.moment__plek { color: var(--houtskool-licht); font-weight: 600; }
.moment__titel { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
/* Plekhouders voor sfeerbeelden: bewaard in de pagina, verborgen tot er beeld is.
   Terugzetten: haal 'display: none' weg. */
.plekhouder { display: none; }

/* ---------- slotblok ---------- */
.slot { text-align: center; }
.slot .kop { margin-bottom: 18px; }
.slot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; }
.slot__links a { font-weight: 700; color: var(--bosgroen); text-decoration: none; border-bottom: 1px solid var(--goud); }
.sectie.is-donker .slot__links a { color: var(--wit); }

/* ---------- voet ---------- */
.voet { background: var(--bosgroen); color: var(--warmwit); padding: 64px 0 40px; font-size: 15px; }
.voet a { color: var(--warmwit); text-decoration: none; border-bottom: 1px solid transparent; }
.voet a:hover { border-bottom-color: var(--goud); }
.voet a:focus-visible { outline: 2px solid var(--bosgroen); outline-offset: 3px; }
.voet__boven { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.voet__logo img { width: 200px; height: auto; }
.voet__kolommen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.voet__kop { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--warmwit); opacity: .85; margin: 0 0 12px; }
.voet ul { list-style: none; margin: 0; padding: 0; }
.voet li { margin: 0 0 6px; }
.voet__onder { margin-top: 28px; padding-top: 20px; border-top: var(--lijn) solid rgba(250,250,248,.35); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 820px) {
  .voet__boven { grid-template-columns: 1fr; }
  .voet__kolommen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .voet__kolommen { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .held { padding: 72px 0 80px; }
  .sectie { padding: 60px 0; }
  .fase { padding: 56px 0; }
  .kaart { padding: 24px 20px; }
}

@media print {
  .kopbalk .menu, .sz-letters, .naar-inhoud, #sz-intro { display: none !important; }
  .held, .sectie.is-donker, .voet { background: none; color: var(--houtskool); }
  .held__titel, .sectie.is-donker h2 { color: var(--bosgroen); }
}

/* focus op bosgroen ondergrond: goud (3.95:1); op licht: bosgroen (9.23:1) */
.sectie.is-donker :focus-visible, .held :focus-visible, .voet :focus-visible { outline-color: var(--goud) !important; }

/* Titel krijgt na de intro de focus (voor toetsenbord en schermlezer); daar hoort geen zichtbare rand bij. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
