/* ==========================================================================
   Land van Kroon · concept 3 "Van wortel tot bloem"
   De pagina is één plant: de bloem (navigatie) boven, de stengel door de
   inhoud, de wortels in de bodem onderaan. Rood → bordeaux, met reliëf.
   ========================================================================== */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-normal-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-normal-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --lucht: #d3e3e9;
  --lucht-2: #e3ece2;
  --veld: #e8eddc;
  --veld-2: #dce6cb;
  --stengel: #4f7d3a;
  --stengel-rand: #2f5426;
  --stengel-rug: #7aa95a;
  --blad: #6f9a4f;
  --blad-diep: #2f5a26;
  --aarde: #34251b;
  --aarde-diep: #211710;
  --wortel: #c9a77e;
  --inkt: #1f2a1c;
  --inkt-2: #4b5745;
  --bordeaux: #7a1f35;
  --bordeaux-diep: #5a1426;
  --rood: #a8323a;
  --creme: #fff3e6;
  --goud: #e3ad2b;
  --fout: #a32a1f;
  --kaart: rgba(255, 255, 255, .5);
  --lijn-zacht: rgba(47, 90, 38, .18);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, sans-serif;
  --zacht: cubic-bezier(.22, 1, .36, 1);
  --veer: cubic-bezier(.2, .9, .25, 1.05);
  --goot: 140px;            /* middenkolom waar de stengel door loopt (home) */
  --rand: clamp(18px, 5vw, 80px);
  --zijgoot: clamp(64px, 8vw, 120px);   /* linkermarge voor de stengel (subpagina's) */
  /* namen die het beheer en het schoolplein gebruiken */
  --accent: var(--bordeaux);
  --mos: var(--blad-diep);
  --mono: var(--sans);
  --film: rgba(255, 255, 255, .45);
  --film-licht: #f6f8f0;
  --film-donker: #e2e9d6;
  --raster: linear-gradient(transparent, transparent);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--stengel) var(--veld); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  position: relative; margin: 0; overflow-x: hidden;
  background: linear-gradient(180deg, var(--lucht) 0, var(--lucht-2) 900px, var(--veld) 1700px, var(--veld-2) 100%);
  color: var(--inkt); font-family: var(--sans); font-size: 1.125rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; caret-color: var(--stengel); overflow-wrap: break-word;
}
::selection { background: #f1c7c9; color: var(--bordeaux-diep); }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bordeaux); color: #fff; padding: 10px 14px; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }


.knoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.knop {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.1; text-decoration: none;
  padding: 13px 22px 14px; border-radius: 999px; border: 2px solid var(--blad-diep); color: var(--blad-diep); background: rgba(255, 255, 255, .35);
  transition: background-color .25s var(--zacht), color .25s var(--zacht), transform .35s var(--veer);
}
.knop:hover { background: var(--blad-diep); color: #fff; transform: translateY(-2px); }
.knop--vol { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.knop--vol:hover { background: var(--bordeaux-diep); border-color: var(--bordeaux-diep); }
.knop:disabled { opacity: .6; cursor: progress; transform: none; }
.pijl, .pijllink { font-weight: 700; color: var(--blad-diep); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.pijl::after, .pijllink::after { content: " \2192"; display: inline-block; transition: transform .3s var(--veer); }
.pijl:hover::after, .pijllink:hover::after { transform: translateX(5px); }

/* bladnummer in de bladkleur (Arjens nummering) */
.bladnr {
  display: inline-grid; place-items: center; flex: none; width: 1.7em; height: 1.7em; margin-right: .45em; vertical-align: .08em;
  border-radius: 50% 50% 50% 12%; background: var(--kleur); color: var(--creme);
  font-family: var(--serif); font-size: .82em; line-height: 1; box-shadow: inset -3px -4px 0 rgba(58, 10, 23, .22);
}

/* ---------- De stengel: rond, met licht van links ---------- */
.stengel { position: absolute; left: 0; top: 0; width: 100%; height: 100px; pointer-events: none; z-index: 1; overflow: visible; }
.stengel path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stengel__schaduw { stroke: rgba(40, 20, 15, .16); stroke-width: 20; transform: translate(6px, 7px); }
.stengel__rand { stroke: var(--stengel-rand); stroke-width: 20; }
.stengel__lijn { stroke: var(--stengel); stroke-width: 14; }
.stengel__rug { stroke: var(--stengel-rug); stroke-width: 5; transform: translateX(-3.5px); opacity: .95; }
main { position: relative; }
main > :not(.stengel):not(.bodem):not(.maaiveld) { position: relative; z-index: 2; }
.bodem > * { position: relative; z-index: 2; }

/* ---------- Kop ---------- */
.kop { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--rand); }
.kop__links { display: flex; align-items: center; gap: 16px; }
.woordmerk { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; color: var(--blad-diep); }
.kop__contact { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; font-weight: 700; }
.kop__contact a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--blad-diep); border-bottom: 2px solid rgba(47, 90, 38, .3); }
.kop__contact a:hover { border-color: currentColor; }
.kop__rechts { display: flex; align-items: center; gap: 22px; }
/* terug naar de bloem: op elke subpagina linksboven, in één oogopslag te vinden */
.thuisknop {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 800; color: #fff; background: var(--blad-diep);
  border: 2px solid var(--blad-diep); border-radius: 99px; padding: 3px 18px 3px 3px;
  box-shadow: 0 8px 18px -12px rgba(31, 42, 28, .8); transition: background-color .25s var(--zacht), transform .35s var(--veer);
}
.thuisknop .minibloem { background: var(--lucht); border-radius: 50%; }
.thuisknop:hover { background: var(--bordeaux); border-color: var(--bordeaux); transform: translateY(-2px); }
.bladenknop {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font: inherit; font-weight: 800; color: var(--blad-diep); background: rgba(255, 255, 255, .55);
  border: 2px solid var(--blad-diep); border-radius: 99px; padding: 7px 16px;
}
.bladenknop:hover { background: #fff; }
.minibloem { width: 44px; height: 44px; display: block; }
.minibloem__blad, .minibloem__steun, .minibloem__kelk { stroke: rgba(58, 10, 23, .35); stroke-width: 8; }
@media (prefers-reduced-motion: no-preference) { .thuisknop:hover .minibloem { animation: lvk-adem 1.2s ease-in-out infinite alternate; } }

/* ---------- Held (home) ---------- */
.held {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 24px;
  padding: 0 var(--rand) clamp(110px, 12vw, 180px); min-height: calc(100svh - 84px);
}
.held__tekst { display: flex; flex-direction: column; gap: 26px; }
.held h1 { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.4rem); line-height: 1.02; color: var(--blad-diep); }
.held h1 > span:not(.bladnr) { display: block; margin-top: .35em; font-family: var(--sans); font-style: italic; font-size: .44em; line-height: 1.2; color: var(--inkt-2); }
.held__intro { max-width: 44ch; margin: 0; font-size: 1.16rem; }

/* ---------- De bloem ---------- */
.bloem { position: relative; margin: 0; }
.bloem__svg { display: block; width: min(100%, 82svh); height: auto; margin: 0 auto; overflow: visible; position: relative; z-index: 2; }
.bloem__uitleg {
  position: absolute; left: calc(50% + 34px); top: calc(100% - 36px); width: min(20em, 46%); margin: 0;
  font-style: italic; line-height: 1.4; color: var(--inkt-2); z-index: 3;
}
.bloem__uitleg strong { font-style: normal; color: var(--bordeaux); }

.blad { cursor: pointer; outline: none; }
.blad__til, .blad__label { transition: transform .5s var(--veer); }
.blad__groei { transition: transform .5s var(--veer); }
.blad__vorm { fill: var(--vul); stroke: rgba(58, 10, 23, .35); stroke-width: 1.4; transition: filter .3s; }
.blad__vouw { fill: #3a0a17; opacity: .17; pointer-events: none; }
.blad__licht { fill: #fff; opacity: .06; pointer-events: none; }
.blad__nerf { fill: none; stroke: rgba(255, 226, 214, .32); stroke-width: 1.4; }
.blad__label {
  font-family: var(--serif); font-size: 24px; fill: var(--creme); pointer-events: none;
  stroke: rgba(58, 10, 23, .45); stroke-width: 3px; paint-order: stroke; stroke-linejoin: round;
}
.blad:hover .blad__til, .blad:focus-visible .blad__til, .blad.is-hover .blad__til,
.blad:hover .blad__label, .blad:focus-visible .blad__label, .blad.is-hover .blad__label { transform: translate(var(--ldx, var(--dx)), var(--ldy, var(--dy))); }
.blad:hover .blad__groei, .blad:focus-visible .blad__groei, .blad.is-hover .blad__groei { transform: scale(1.05); }
.blad:hover .blad__vorm, .blad:focus-visible .blad__vorm, .blad.is-hover .blad__vorm { filter: brightness(1.13) saturate(1.05); }
.blad:focus-visible .blad__vorm { stroke: var(--creme); stroke-width: 3.5; }
.blad[aria-current] .blad__vorm { stroke: var(--goud); stroke-width: 5; }
.steunblad { pointer-events: none; }
.steunblad__vorm { fill: var(--vul); stroke: rgba(58, 10, 23, .25); stroke-width: 1.3; }
.steunblad--kelk .steunblad__vorm { stroke: rgba(30, 60, 20, .45); }
.steunblad .blad__vouw { opacity: .14; }
.steunblad__nerf { fill: none; stroke: rgba(255, 226, 214, .3); stroke-width: 1.1; }
.bloemhart { cursor: pointer; outline: none; }
.bloemhart__meeldraden path { fill: #c2641e; stroke: #7a3a12; stroke-width: .9; }
.bloemhart__plek { transition: fill .3s; }
.bloemhart__tekst { font-family: var(--sans); font-weight: 800; font-size: 14.5px; letter-spacing: .08em; text-transform: uppercase; fill: #ffe2a0; pointer-events: none; }
.bloemhart:hover .bloemhart__plek, .bloemhart:focus-visible .bloemhart__plek, .bloemhart.is-hover .bloemhart__plek { fill: var(--bordeaux); }
.bloemhart:focus-visible .bloemhart__plek { stroke: var(--creme); stroke-width: 3; }

@media (prefers-reduced-motion: no-preference) {
  .held .blad__groei, .bloeilaag[open] .blad__groei { animation: lvk-bloei 1.3s var(--veer) backwards; animation-delay: calc(.2s + var(--i) * 100ms); transform-origin: 0 0; }
  .held .steunblad > *, .bloeilaag[open] .steunblad > * { animation: lvk-bloei 1.2s var(--veer) backwards; animation-delay: calc(.5s + var(--i) * 80ms); transform-origin: 0 0; }
  .held .bloemhart { animation: lvk-hart .9s var(--veer) backwards; transform-origin: 0 0; }
  .held .bloem__svg { animation: lvk-adem 7s ease-in-out 2.4s infinite alternate; }
}
@keyframes lvk-bloei { from { transform: scale(.08) rotate(-24deg); } }
@keyframes lvk-hart { from { transform: scale(.3); opacity: 0; } }
@keyframes lvk-adem { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }

/* ---------- Berichten (zon/wolk) onder de bloem ---------- */
.berichten {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--goot) minmax(0, 1fr); gap: 22px 0;
  max-width: 1500px; margin: 0 auto; padding: 0 var(--rand) clamp(20px, 4vw, 48px);
}
.berichten[hidden] { display: none; }
.berichten > .bericht { grid-column: 1; }
.bericht {
  --bericht-kleur: #f4dfa8;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 4px 20px;
  padding: 22px 30px 24px 18px; border-radius: 40px 40px 40px 12px; background: var(--bericht-kleur);
  box-shadow: 0 22px 40px -28px rgba(31, 42, 28, .55);
}
.bericht--wolk { --bericht-kleur: #d5e4ec; }
.bericht__bed { display: none; }
.bericht__beeld { grid-row: span 3; width: 104px; height: 104px; overflow: visible; }
.bericht__soort { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--inkt-2); }
.bericht__titel { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1rem + .8vw, 1.7rem); line-height: 1.12; margin: 0; color: var(--blad-diep); }
.bericht__tekst { margin: 6px 0 0; font-size: 1rem; color: var(--inkt); max-width: 52ch; }
.bericht__link { grid-column: 2; justify-self: start; margin-top: 10px; }
.zon__kern { fill: var(--goud); stroke: #8a5a10; stroke-width: 1.6; }
.zon__arcering { stroke: #8a5a10; stroke-width: 1; opacity: .35; }
.zon__stralen { fill: none; stroke: #c98a12; stroke-width: 2.4; stroke-linecap: round; transform-box: fill-box; transform-origin: center; }
.wolk__vlak { fill: #fff; stroke: #5d7f95; stroke-width: 1.8; stroke-linejoin: round; }
.wolk__arcering { stroke: #5d7f95; stroke-width: 1; opacity: .25; }
.wolk__druppels { fill: none; stroke: #4e7ea3; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 13; }
.wolk__wadi { fill: #9fc2d6; fill-opacity: .8; stroke: #5d7f95; stroke-width: 1.4; }
.wolk__gras { fill: none; stroke: var(--stengel); stroke-width: 1.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .bericht__beeld { animation: lvk-zweef 6s ease-in-out infinite; }
  .bericht:nth-child(2) .bericht__beeld { animation-delay: -2.5s; }
  .zon__stralen { animation: lvk-draai 48s linear infinite; }
  .wolk__druppels { animation: lvk-regen 1.1s linear infinite; }
}
@keyframes lvk-zweef { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lvk-draai { to { transform: rotate(360deg); } }
@keyframes lvk-regen { to { stroke-dashoffset: -18; } }

/* ---------- Ranken: inhoud links en rechts van de stengel (home) ---------- */
.rank {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--goot) minmax(0, 1fr); align-items: center;
  padding: clamp(56px, 8vw, 120px) var(--rand); max-width: 1500px; margin: 0 auto;
}
.rank__tekst h2, .ranken__kop h2, .bodem__kop h2, .contactblok h2 { font-size: clamp(2rem, 1.1rem + 2.4vw, 3.4rem); line-height: 1.05; color: var(--blad-diep); margin-bottom: .5em; }
.rank__tekst > p { max-width: 50ch; }
.rank__beeld { margin: 0; }
.rank > :first-child { padding-right: clamp(0px, 2vw, 30px); }
.rank > :nth-child(3) { padding-left: clamp(0px, 2vw, 30px); }
.rank__beeld img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 28px 28px 6px; box-shadow: 0 24px 40px -26px rgba(31, 42, 28, .55); }
.rank__beeld--rond img { border-radius: 50% 50% 46% 54% / 56% 46% 54% 44%; aspect-ratio: 5 / 4; }
.rank__beeld--hoog img { aspect-ratio: 3 / 4; border-radius: 200px 200px 24px 24px; max-height: 76vh; width: auto; margin: 0 auto; }
.rank__bijschrift { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); line-height: 1.3; color: var(--blad-diep); max-width: 30ch; margin: 0; }
.rank__bijschrift span { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--bordeaux); }
.rank--om .rank__bijschrift { justify-self: end; text-align: right; }

.knoop { position: relative; height: 100%; min-height: 80px; display: grid; place-items: center; }
.knoop svg { position: absolute; top: 50%; width: 92px; height: 56px; transform-origin: 0 50%; transition: transform 1.1s var(--veer); overflow: visible; }
.knoop[data-kant="rechts"] svg { left: 50%; transform: translateY(-50%) scale(var(--open, 0)) rotate(-8deg); }
.knoop[data-kant="links"] svg { left: 50%; transform: translateY(-50%) scale(var(--open, 0)) scaleX(-1) rotate(-8deg); }   /* spiegelen om de voet: de voet blijft aan de stengel */
.knoop.is-open { --open: 1; }
.knoop__blad { fill: var(--blad); stroke: var(--stengel-rand); stroke-width: 1.4; }
.knoop__vouw { fill: #10240a; opacity: .2; }
.knoop__nerf { fill: none; stroke: #c6dca4; stroke-width: 1.6; opacity: .7; }
.knoop--nummer span {
  position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #f6cf62, var(--goud) 55%, #b8841a); color: var(--bordeaux-diep); font-family: var(--serif); font-size: 1.8rem;
  box-shadow: 0 0 0 6px var(--veld), 0 10px 20px -10px rgba(31, 42, 28, .6);
  transform: scale(var(--open, 0)); transition: transform .8s var(--veer);
}

.ranken { padding: clamp(56px, 8vw, 110px) 0 0; }
.ranken__kop { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 var(--rand); position: relative; }
.ranken__kop p { color: var(--inkt-2); }
.ranken__kop::before { content: ""; position: absolute; inset: -34px 2% -24px; background: radial-gradient(closest-side, var(--veld) 78%, rgba(232, 237, 220, 0)); z-index: -1; }
.ranken__lijst { list-style: none; margin: 0; padding: 0; }
.ranken__lijst .rank { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.ranken__meer { text-align: center; margin: 12px 0 0; padding-bottom: clamp(40px, 6vw, 80px); }
.ranken__meer .pijl { position: relative; background: var(--veld); box-shadow: 0 0 0 12px var(--veld); border-radius: 2px; }   /* de stengel loopt achter de link langs */
.rank--stap .rank__tekst h3 { font-size: clamp(1.5rem, 1rem + 1vw, 2rem); color: var(--blad-diep); margin-bottom: 8px; }
.rank--stap .rank__tekst p { color: var(--inkt-2); max-width: 40ch; }
.rank--stap > .rank__tekst:first-child { text-align: right; justify-self: end; }
.rank--stap > .rank__tekst:first-child p { margin-left: auto; }

.feit { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: rgba(255, 255, 255, .5); border-radius: 18px; max-width: 46ch; color: var(--inkt-2); }
.feit__getal { flex: none; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--bordeaux); }

.takken { list-style: none; margin: 0; padding: 0; }
.takken li + li { border-top: 1.5px solid var(--lijn-zacht); }
.takken a { display: block; padding: 12px 0; text-decoration: none; color: var(--inkt-2); transition: padding .4s var(--veer); }
.takken strong { display: flex; align-items: center; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--blad-diep); margin-bottom: 2px; }
.takken a:hover { padding-left: 14px; }
.takken a:hover strong { color: var(--bordeaux); }

.citaat { margin: 24px 0 0; }
.citaat p { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); line-height: 1.2; color: var(--bordeaux); max-width: 26ch; margin-bottom: .3em; }
.citaat footer { font-weight: 700; color: var(--inkt-2); }

/* ---------- Reviews: letterlijk wat klanten schreven ---------- */
.review {
  position: relative; margin: 0; max-width: 62ch; padding: clamp(26px, 3vw, 38px) clamp(22px, 3vw, 36px) clamp(22px, 2.6vw, 30px) clamp(26px, 3.4vw, 44px);
  background: rgba(255, 255, 255, .62); border-radius: 36px 36px 36px 10px; box-shadow: 0 26px 46px -34px rgba(31, 42, 28, .55);
}
.review::before {
  content: "\201C"; position: absolute; left: clamp(10px, 1.4vw, 18px); top: -.18em;
  font-family: var(--serif); font-size: 5.2rem; line-height: 1; color: var(--bordeaux); opacity: .85;
}
.review blockquote { margin: 0; }
.review p { margin: 0 0 .8em; font-size: 1.04rem; line-height: 1.6; color: var(--inkt); }
.review p:last-child { margin-bottom: 0; }
.review figcaption { margin-top: 14px; font-family: var(--serif); font-size: 1.15rem; color: var(--bordeaux); }
.review figcaption::before { content: "\2014\00a0"; }
.rank--review { align-items: start; }
.rank--review > .review:first-child { justify-self: end; }
.rank--review > .knoop { min-height: 120px; }
.review-sectie .review { margin-top: 6px; }

/* ---------- Contactblok (elke pagina) ---------- */
.contactblok {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--goot) minmax(0, 1fr); align-items: center;
  padding: clamp(56px, 8vw, 110px) var(--rand); max-width: 1500px; margin: 0 auto;
}
.contactblok > .knoop { grid-column: 2; grid-row: 1; }
.contactblok__tekst { grid-column: 1; grid-row: 1; padding-right: clamp(0px, 2vw, 30px); }
.contactblok__tekst p { max-width: 44ch; }
.kanalen { grid-column: 3; grid-row: 1; list-style: none; padding: 0 0 0 clamp(0px, 2vw, 30px); margin: 0; }
.kanalen li + li { margin-top: 6px; }
.kanalen a { display: flex; gap: 16px; align-items: baseline; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); text-decoration: none; color: var(--blad-diep); overflow-wrap: anywhere; }
.kanalen a span { flex: none; width: 3rem; font-family: var(--sans); font-size: .9rem; font-weight: 800; color: var(--inkt-2); text-transform: uppercase; letter-spacing: .06em; }
.kanalen a:hover { color: var(--bordeaux); }
.kanalen__gebied { margin-top: 18px !important; color: var(--inkt-2); font-size: 1rem; max-width: 40ch; }

/* ---------- Maaiveld en bodem ---------- */
.maaiveld { position: relative; height: 60px; margin-top: 40px; }
.maaiveld svg { display: block; width: 100%; height: 100%; }
.maaiveld path { fill: var(--aarde); }
.bodem {
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .035) 0 1px, transparent 2px) 0 0 / 23px 23px,
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, .18) 0 1.5px, transparent 2.5px) 0 0 / 31px 31px,
    linear-gradient(180deg, var(--aarde), var(--aarde-diep));
  color: #efe4d2; padding: clamp(32px, 5vw, 64px) var(--rand) clamp(56px, 7vw, 100px);
}
.bodem__kop { display: grid; grid-template-columns: minmax(0, 1fr) var(--goot) minmax(0, 1fr); align-items: end; max-width: 1200px; margin: 0 auto 28px; }
.bodem__kop h2 { grid-column: 1; text-align: right; margin: 0; color: #f6ead6; }
.bodem__kop p { grid-column: 3; margin: 0; max-width: 40ch; color: #d9c8ad; }
.wortels { position: relative; max-width: 1200px; margin: 0 auto; container-type: inline-size; padding-bottom: 150px; }
.wortels__svg { display: block; width: 100%; height: auto; overflow: visible; }
.wortel { fill: none; stroke: var(--wortel); stroke-linecap: round; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--zacht); }
.wortel--dun { opacity: .5; transition-delay: .6s; }
.wortel__punt { fill: var(--goud); opacity: 0; transition: opacity .6s 1.6s; }
.wortels.is-groei .wortel { stroke-dashoffset: 0; }
.wortels.is-groei .wortel__punt { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wortel { stroke-dashoffset: 0; transition: none; } .wortel__punt { opacity: 1; } }
.wortels__pijlers { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
/* elke pijler precies onder zijn worteltop: de punten in bloem_echinacea.wortels() liggen op x/1200 en y/560 van het wortelvlak */
.wortels__pijlers li {
  position: absolute; z-index: 1; left: var(--x); top: calc(var(--y) * 46.667cqw + 18px); width: 19cqw; transform: translateX(-50%);
  font-size: 1rem; line-height: 1.45; color: #e3d4bb; text-align: center; pointer-events: auto;
  text-shadow: 0 0 6px var(--aarde-diep), 0 0 14px var(--aarde-diep);
}
/* donkere waas achter de tekst: de dunne worteltjes lopen eromheen, niet door de letters */
.wortels__pijlers li::before { content: ""; position: absolute; z-index: -1; inset: -12px -26px -28px; background: radial-gradient(closest-side, rgba(33, 23, 16, .95) 64%, rgba(33, 23, 16, 0)); }
.wortels__pijlers li:nth-child(1) { --x: 10%; --y: .589; }
.wortels__pijlers li:nth-child(2) { --x: 30%; --y: .75; }
.wortels__pijlers li:nth-child(3) { --x: 50%; --y: .839; }
.wortels__pijlers li:nth-child(4) { --x: 70%; --y: .75; }
.wortels__pijlers li:nth-child(5) { --x: 90%; --y: .589; }
.wortels__pijlers strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: #f6ead6; margin-bottom: 6px; line-height: 1.15; text-wrap: balance; }

/* ---------- Voet (in de aarde) ---------- */
.voet { position: relative; z-index: 2; background: var(--aarde-diep); color: #cdbb9f; padding: 0 var(--rand) 44px; }
.is-blad .voet { padding-top: 40px; }
.voet__binnen { max-width: 1100px; margin: 0 auto; text-align: center; border-top: 1px solid rgba(201, 167, 126, .25); padding-top: 36px; }
.voet__merk { font-family: var(--serif); font-size: 2.2rem; color: #f6ead6; margin-bottom: 14px; }
.voet__links { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-weight: 700; }
.voet__links a { text-decoration: none; }
.voet__links a:hover, .voet__links a[aria-current] { color: #f6ead6; text-decoration: underline; }
.voet__klein { font-size: .95rem; margin: 0 0 .4em; }
.voet__klein a { color: #f6ead6; }

/* ---------- Belbalk (mobiel) en bloeilaag ---------- */
.belbalk { display: none; }
.bloeilaag {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(70% 50% at 50% 45%, #f2f6ee, var(--lucht) 70%); color: var(--inkt);
}
.bloeilaag::backdrop { background: rgba(31, 42, 28, .5); }
.bloeilaag__sluit { position: absolute; top: 16px; right: 16px; z-index: 3; font: inherit; font-weight: 700; color: var(--blad-diep); background: #fff; border: 2px solid var(--blad-diep); border-radius: 99px; padding: 8px 18px; cursor: pointer; }
.bloem--laag { position: absolute; inset: 64px 10px 110px; display: grid; place-items: center; }
.bloem--laag .bloem__svg { width: min(100%, 72dvh); }
.bloem--laag .bloem__uitleg { position: static; width: auto; max-width: 40ch; text-align: center; margin-top: 4px; min-height: 2.8em; }
.bloeilaag__contact { position: absolute; left: 16px; right: 16px; bottom: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; max-width: 560px; margin: 0 auto; }
.bloeilaag__contact a { text-align: center; text-decoration: none; font-weight: 800; padding: 14px; border-radius: 99px; background: var(--blad-diep); color: #fff; }

/* ==========================================================================
   Subpagina's: de stengel loopt langs de linkermarge
   ========================================================================== */
.held--blad {
  min-height: 0; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(12px, 2vw, 32px) var(--rand) clamp(72px, 8vw, 110px) calc(var(--rand) + var(--zijgoot));
}
.held--blad h1 { font-size: clamp(2.3rem, 1.2rem + 2.8vw, 4rem); line-height: 1.04; }
.held--blad h1 .bladnr { font-size: .5em; vertical-align: .3em; }
.kruimel { font-weight: 700; color: var(--inkt-2); font-size: 1rem; }
.kruimel a { color: var(--blad-diep); }
.blad-foto { margin: 0; }
.blad-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 50% 50% 46% 54% / 56% 46% 54% 44%; box-shadow: 0 24px 40px -26px rgba(31, 42, 28, .55); }
.blad-foto img.is-staand { object-position: 50% 35%; }
.blad-foto figcaption { text-align: center; margin-top: 12px; font-style: italic; color: var(--inkt-2); }
.kiem { position: absolute; left: calc(var(--rand) + var(--zijgoot) / 2); bottom: 6px; width: 54px; height: 54px; transform: translateX(-50%); z-index: 3; }

.pagina { position: relative; padding: 0 var(--rand) 0 calc(var(--rand) + var(--zijgoot)); max-width: 1500px; }
.sectie { position: relative; padding: clamp(40px, 5vw, 72px) 0; max-width: 1180px; }
.sectie > .knoop--rand { position: absolute; left: calc(var(--zijgoot) / -2); top: clamp(40px, 5vw, 72px); width: 0; height: 40px; min-height: 0; }
.sectie h2 { font-size: clamp(1.9rem, 1.1rem + 2vw, 3rem); line-height: 1.06; color: var(--blad-diep); margin-bottom: .45em; }
.sectie h3 { font-size: 1.4rem; color: var(--blad-diep); }
.sectie__kop { max-width: 62ch; margin-bottom: 26px; }
.sectie__kop p, .sectie__lead { color: var(--inkt-2); max-width: 62ch; }
.tekstvak { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(24px, 4vw, 56px); }
.tekstvak__body > p, .tekstvak__body li { max-width: 64ch; }
.tekstvak__body h3 { margin: 1.3em 0 .35em; }
.tekstvak__body h3:first-child { margin-top: 0; }
.tekstvak__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.tekstvak__body li { margin-bottom: .35em; }
.tekstvak__body li::marker { color: var(--bordeaux); }

.pijlers { list-style: none; counter-reset: pijler; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.pijlers li { counter-increment: pijler; position: relative; padding: 58px 22px 22px; background: var(--kaart); border-radius: 26px 26px 26px 8px; color: var(--inkt-2); }
.pijlers li::before {
  content: counter(pijler); position: absolute; left: 20px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, #f6cf62, var(--goud) 55%, #b8841a); color: var(--bordeaux-diep); font-family: var(--serif); font-size: 1.1rem;
}
.pijlers strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--blad-diep); margin-bottom: 4px; line-height: 1.2; }

.bladen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bladen-raster--twee { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.planblad { margin: 0; }
.planblad img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px 26px 26px 6px; box-shadow: 0 20px 34px -26px rgba(31, 42, 28, .6); }
.planblad img.is-staand { object-position: 50% 35%; }
.planblad figcaption { margin-top: 10px; color: var(--inkt-2); font-size: 1rem; }
.planblad__nr { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--bordeaux); margin-bottom: 2px; }

/* ---------- Partners: logo's zoals Arjen ze aanleverde, elk op een eigen wit kaartje ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.partners li { display: grid; place-items: center; min-height: 132px; padding: 18px 22px; background: #fff; border-radius: 26px 26px 26px 8px; box-shadow: 0 20px 34px -28px rgba(31, 42, 28, .55); }
.partners img { width: auto; max-height: 92px; }
@media (max-width: 760px) {
  /* mobiel: brede logo's een hele rij, de vierkantere twee naast elkaar */
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partners li { min-height: 100px; padding: 14px; }
  .partners img { max-height: 72px; }
  .partners .partners__breed { grid-column: span 2; }
}
.schetsen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.schetsen .planblad img { aspect-ratio: 3 / 4; object-fit: contain; background: #f4efe6; border-radius: 14px; }

.toelichting details { border-top: 1.5px solid var(--lijn-zacht); }
.toelichting details:last-child { border-bottom: 1.5px solid var(--lijn-zacht); }
.toelichting summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--serif); font-size: 1.25rem; color: var(--blad-diep); line-height: 1.25; }
.toelichting summary::-webkit-details-marker { display: none; }
.toelichting summary::after { content: ""; flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--goud) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%235a1426' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .4s var(--veer); }
.toelichting details[open] summary::after { transform: rotate(135deg); }
.toelichting details p { color: var(--inkt-2); padding-bottom: 18px; margin: 0; max-width: 64ch; }

.overwegingen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 44px; }
.overweging { display: grid; grid-template-columns: 92px 1fr; gap: 6px 22px; align-items: start; }
.overweging img { grid-row: span 2; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px rgba(255, 255, 255, .7); background: #fff; }
.overweging h3 { font-size: 1.3rem; line-height: 1.15; margin: 4px 0 0; }
.overweging p { margin: 0; color: var(--inkt-2); font-size: 1rem; }

.kader { background: var(--kaart); border-radius: 32px 32px 32px 10px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.kader h2, .kader h3 { margin: 0 0 .35em; }
.kader p { margin: 0; color: var(--inkt-2); max-width: 60ch; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.filter button { font: inherit; font-weight: 700; font-size: .98rem; border: 2px solid var(--blad-diep); background: rgba(255, 255, 255, .4); color: var(--blad-diep); padding: 6px 15px; border-radius: 99px; cursor: pointer; transition: background-color .2s, color .2s; }
.filter button:hover { background: #fff; }
.filter button[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.galerij { columns: 3 280px; column-gap: 22px; }
.galerij .planblad { break-inside: avoid; margin: 0 0 22px; }
.galerij .planblad img { aspect-ratio: auto; height: auto; }
.galerij .planblad[hidden] { display: none; }

/* bladnavigatie: vorig/volgend blad */
.bladnav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; padding: clamp(36px, 5vw, 56px) 0; max-width: 1180px; }
.bladnav__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--kaart); border-radius: 22px; padding: 14px 20px 16px; transition: background-color .25s var(--zacht), transform .35s var(--veer); }
.bladnav__link:hover { background: #fff; transform: translateY(-2px); }
.bladnav__link--volgend { text-align: right; align-items: flex-end; }
.bladnav__richting { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--inkt-2); }
.bladnav__blad { display: inline-flex; align-items: center; font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; color: var(--blad-diep); }
.bladnav__alle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--blad-diep); background: transparent; color: var(--blad-diep); cursor: pointer; padding: 10px 18px; border-radius: 22px; font: inherit; font-weight: 800; font-size: .9rem; }
.bladnav__alle:hover { background: rgba(255, 255, 255, .5); }
.bladnav__alle .ico { width: 1.7em; height: 1.7em; }

/* contactblok op subpagina's: in de inhoudskolom, knoop aan de stengel */
.is-blad .contactblok { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 96px); margin: 0; max-width: 1180px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); }
.is-blad .contactblok > .knoop { position: absolute; grid-column: auto; grid-row: auto; left: calc(var(--zijgoot) / -2); top: clamp(40px, 5vw, 72px); width: 0; height: 40px; min-height: 0; }
.is-blad .contactblok__tekst { grid-column: 1; padding: 0; }
@media (min-width: 761px) {
  .is-blad .contactblok > .knoop svg { transform: translateY(-50%) scale(var(--open, 0)) scaleX(-1) rotate(-8deg); }
}
.is-blad .kanalen { grid-column: 2; padding: 0; }

/* contact.html */
.opdracht { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contactlijst { list-style: none; padding: 0; margin: 20px 0 30px; }
.contactlijst li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1.5px solid var(--lijn-zacht); }
.contactlijst span { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--inkt-2); padding-top: .25em; }
.contactlijst a { font-weight: 700; color: var(--blad-diep); overflow-wrap: anywhere; }
.werkgebied { margin: 0; background: var(--kaart); border-radius: 36px 36px 36px 10px; padding: 20px 22px 18px; }
.werkgebied svg { width: 100%; max-width: 520px; height: auto; overflow: visible; display: block; margin: 0 auto; }
.werkgebied figcaption { font-size: 1rem; color: var(--inkt-2); max-width: 52ch; margin-top: 8px; }
.kaart-rivier { fill: none; stroke: #7fa1c4; stroke-width: 7; opacity: .6; stroke-linecap: round; }
.kaart-rivier-naam { font-family: var(--sans); font-style: italic; font-size: 13px; fill: #4e6f93; }
.kaart-straal { fill: rgba(79, 125, 58, .1); stroke: var(--stengel); stroke-width: 1.4; stroke-dasharray: 5 6; }
.kaart-plaats circle { fill: var(--inkt); }
.kaart-plaats text { font-family: var(--sans); font-size: 14px; font-weight: 700; fill: var(--inkt); }
.kaart-plaats--thuis circle:first-child { fill: none; stroke: var(--bordeaux); stroke-width: 2.2; }
.kaart-plaats--thuis circle:last-child { fill: var(--bordeaux); }
.kaart-plaats--thuis text { fill: var(--bordeaux); font-weight: 800; }
.kaart-schaal { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: var(--inkt-2); }
.kaart-schaal-lijn { stroke: var(--inkt); stroke-width: 1.5; fill: none; }

.formulier { background: rgba(255, 255, 255, .62); border-radius: 30px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 30px 60px -40px rgba(31, 42, 28, .5); }
.formulier__titel { grid-column: 1 / -1; font-size: 1.5rem; color: var(--blad-diep); margin: 0; }
.veld { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.veld--half { grid-column: span 1; }
.veld label { font-weight: 700; font-size: 1rem; }
.veld label span { font-weight: 400; color: var(--inkt-2); }
.veld input, .veld select, .veld textarea {
  font: inherit; font-size: 1.05rem; color: var(--inkt); background: #fff; border: 2px solid rgba(47, 90, 38, .22); border-radius: 14px; padding: 11px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.veld select { appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232f5a26' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px; }
.veld textarea { resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: none; border-color: var(--stengel); box-shadow: 0 0 0 4px rgba(79, 125, 58, .18); }
.veld [aria-invalid="true"] { border-color: var(--fout); }
.veld-fout { margin: 0; color: var(--fout); font-size: .92rem; font-weight: 700; }
.veld--verstopt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.veld--keuze { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.veld--keuze label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.formulier .knop { grid-column: 1 / -1; justify-self: start; }
.formulier__privacy { grid-column: 1 / -1; margin: 0; font-size: .95rem; color: var(--inkt-2); }
.formulier__status { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 14px; background: #fff; font-weight: 700; }
.formulier[data-staat="verzonden"] .formulier__status { background: #e1ecd2; color: var(--blad-diep); }
.formulier[data-staat="fout"] .formulier__status { background: #f7dcd7; color: var(--fout); }

/* tekstpagina's (privacy, 404) */
.leestekst { max-width: 72ch; }
.leestekst h2 { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); margin: 1.6em 0 .5em; }
.leestekst h2:first-child { margin-top: 0; }
.leestekst ul { padding-left: 1.2em; }

/* ---------- Groen schoolplein (blad 5): isometrische maquette ---------- */
.schoolplein__tekening { margin: 0; }
.schoolplein__tekening figcaption { font-size: .95rem; font-style: italic; color: var(--inkt-2); padding-top: 10px; text-align: right; }
.sp3 { background: rgba(255, 255, 255, .55); border-radius: 36px 36px 36px 10px; padding: clamp(12px, 2vw, 26px); box-shadow: 0 30px 60px -44px rgba(31, 42, 28, .55); }
.sp3-iso__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sp3-iso__bord { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; fill: var(--inkt-2); }
.sp3-iso__naam { font-family: var(--sans); font-size: 12px; font-weight: 800; fill: var(--inkt); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.sp3-zone { fill: var(--kleur); fill-opacity: .1; stroke: var(--kleur); stroke-width: 2.2; stroke-dasharray: 7 5; stroke-opacity: 0; transition: fill-opacity .3s, stroke-opacity .3s; }
.sp3[data-actief] .sp3-zone.is-hover { fill-opacity: .34; stroke-opacity: 1; }
.sp3-iso__svg g[data-sp-zone] { transition: opacity .3s; }
.sp3[data-actief] .sp3-iso__svg g[data-sp-zone]:not(.is-hover):not(.sp3-pin) { opacity: .4; }
.sp3-wolk__lijf circle { fill: #fff; stroke: #5d7f95; stroke-width: 1.2; }
.sp3-wolk__regen { fill: none; stroke: #5b86a6; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 9; }
.sp3-pin { cursor: pointer; outline: none; }
.sp3-pin__stok { stroke: var(--inkt); stroke-width: 1.2; stroke-dasharray: 3 3; }
.sp3-pin__voet { fill: var(--inkt); }
.sp3-pin__label { fill: #fff; stroke: var(--inkt); stroke-width: 1.3; transition: fill .25s; }
.sp3-pin__nr { fill: var(--kleur); stroke: var(--inkt); stroke-width: 1.3; }
.sp3-pin__cijfer { font-family: var(--sans); font-size: 14px; font-weight: 800; fill: #fff; }
.sp3-pin__naam { font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; fill: var(--inkt); }
.sp3-pin.is-hover .sp3-pin__label, .sp3-pin:focus-visible .sp3-pin__label { fill: color-mix(in srgb, var(--kleur) 30%, #fff); }
.sp3-rollen { margin: 18px 0 0; padding-top: 16px; border-top: 1.5px solid var(--lijn-zacht); }
.sp3-rollen__vraag { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; color: var(--inkt-2); }
.sp3-rollen ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sp3-rollen button {
  width: 100%; height: 100%; text-align: left; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px; border: 2px solid var(--blad-diep); border-radius: 18px; background: rgba(255, 255, 255, .5); color: var(--inkt); transition: background-color .2s, color .2s;
}
.sp3-rollen button strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--blad-diep); }
.sp3-rollen button span { font-size: .9rem; color: var(--inkt-2); line-height: 1.35; }
.sp3-rollen button:hover { background: #fff; }
.sp3-rollen button[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); }
.sp3-rollen button[aria-pressed="true"] strong, .sp3-rollen button[aria-pressed="true"] span { color: #fbeef0; }
.sp3-leg { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.sp3-leg__item { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: background-color .2s; }
.sp3-leg__item strong { display: block; font-size: 1rem; line-height: 1.2; margin-bottom: 3px; }
.sp3-leg__item div span { display: block; font-size: .92rem; color: var(--inkt-2); line-height: 1.4; }
.sp3-leg__nr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--kleur); color: #fff; font-size: .85rem; font-weight: 800; }
.sp3-leg__item.is-hover { background: color-mix(in srgb, var(--kleur) 18%, #fff); }
@media (prefers-reduced-motion: no-preference) { .sp3-wolk__regen { animation: sp3-regen 1s linear infinite; } }
@keyframes sp3-regen { to { stroke-dashoffset: -15; } }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --goot: 90px; }
  .held { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; }
  .held:not(.held--blad) .bloem { padding-bottom: 60px; }
  .bloem__svg { width: min(100%, 640px); }
  .held--blad { grid-template-columns: 1fr; }
  .bladen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wortels { padding-bottom: 170px; }
  .wortels__pijlers li { width: 19.6cqw; font-size: .9rem; line-height: 1.38; }
  .wortels__pijlers strong { font-size: 1.08rem; }
  .tekstvak { grid-template-columns: minmax(0, 1fr); }
  .overwegingen { grid-template-columns: 1fr; }
  .opdracht { grid-template-columns: 1fr; }
  .sp3-rollen ul, .sp3-leg { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobiel: de stengel langs de linkerrand ---------- */
@media (max-width: 760px) {
  :root { --goot: 34px; --rand: 16px; --zijgoot: 34px; }
  body { font-size: 1.08rem; padding-bottom: 64px; }
  h1, h2, h3 { hyphens: auto; }
  .leestekst a, .tekstvak__body a { overflow-wrap: anywhere; }
  .contactlijst li { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .kop { padding: 14px 16px; }
  .kop__contact { display: none; }
  .bladenknop { display: none; }
  .kop__links { gap: 12px; }
  .woordmerk { font-size: 1.25rem; }
  .thuisknop { padding-right: 14px; }
  .thuisknop .minibloem { width: 38px; height: 38px; }
  .stengel__schaduw { stroke-width: 13; transform: translate(4px, 5px); }
  .stengel__rand { stroke-width: 13; }
  .stengel__lijn { stroke-width: 9; }
  .stengel__rug { stroke-width: 3; transform: translateX(-2px); }

  /* home: titel, dan de bloem, dan de intro */
  .held { padding: 4px 16px 40px; gap: 18px; display: flex; flex-direction: column; align-items: stretch; }
  .held:not(.held--blad) .held__tekst { display: contents; }
  .held:not(.held--blad) h1 { order: 1; }
  .held:not(.held--blad) .bloem { order: 2; padding-bottom: 76px; }
  .held:not(.held--blad) .held__intro { order: 3; }
  .held:not(.held--blad) .knoppen { order: 4; }
  .held:not(.held--blad) .held__intro, .held:not(.held--blad) .knoppen { margin-left: calc(var(--goot) - 4px); }
  .held h1 { font-size: clamp(2.1rem, 9.6vw, 2.7rem); }
  .bloem__svg { width: 100%; }
  .blad__label { font-size: 32px; }
  .bloemhart__tekst { font-size: 17px; }
  .bloem__uitleg { left: calc(50% + 22px); width: calc(50% - 26px); font-size: .95rem; top: calc(100% - 70px); }

  .berichten { grid-template-columns: var(--goot) minmax(0, 1fr); padding: 0 16px 24px 8px; }
  .berichten > .bericht { grid-column: 2; }
  .bericht { grid-template-columns: 64px minmax(0, 1fr); padding: 16px 18px 18px 12px; gap: 4px 12px; border-radius: 28px 28px 28px 10px; }
  .bericht__beeld { width: 64px; height: 64px; grid-row: span 2; }
  .bericht__tekst, .bericht__link { grid-column: 1 / -1; }

  .rank, .ranken__lijst .rank, .contactblok { grid-template-columns: var(--goot) minmax(0, 1fr); align-items: start; gap: 14px 12px; padding-left: 8px; padding-right: 16px; }
  .rank > :not(.knoop), .contactblok > :not(.knoop) { grid-column: 2; grid-row: auto; }
  .rank > .knoop, .contactblok > .knoop { grid-column: 1; grid-row: 1 / span 3; height: 54px; min-height: 0; }
  .is-blad .contactblok > .knoop { grid-column: auto; grid-row: auto; height: 40px; }
  .rank > div:empty { display: none; }
  .knoop svg { width: 50px; height: 30px; }
  .knoop[data-kant] svg { left: 50%; right: auto; transform-origin: 0 50%; transform: translateY(-50%) scale(var(--open, 0)) rotate(-72deg); }
  .knoop--nummer span { width: 44px; height: 44px; font-size: 1.3rem; box-shadow: 0 0 0 4px var(--veld); }
  .rank--om .rank__bijschrift, .rank--stap > .rank__tekst:first-child { justify-self: start; text-align: left; }
  .rank--om .rank__bijschrift { grid-row: 2; }
  .rank--stap > .rank__tekst:first-child p { margin-left: 0; }
  .rank > :first-child, .rank > :nth-child(3), .contactblok__tekst, .kanalen { padding: 0; }
  .rank__beeld--hoog img { max-height: 60vh; }
  .ranken__kop { text-align: left; padding-left: 58px; }
  .ranken__meer { text-align: left; padding-left: 58px; }

  .bodem { overflow: hidden; padding-left: 8px; }
  .bodem__kop, .wortels__pijlers { padding-left: 46px; }
  .wortels__svg { width: 170vw; max-width: none; margin-left: calc(-85vw + 25px); }
  .bodem__kop { grid-template-columns: 1fr; gap: 12px; }
  .bodem__kop h2, .bodem__kop p { grid-column: 1; text-align: left; }
  .wortels { container-type: normal; padding-bottom: 0; }
  .wortels__pijlers { position: static; display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 12px; }
  .wortels__pijlers li { position: static; transform: none; width: auto; text-align: left; text-shadow: none; }
  .wortels__pijlers li::before { display: none; }

  /* subpagina's */
  .held--blad { padding: 4px 16px 56px calc(16px + var(--zijgoot)); }
  .kiem { left: calc(16px + var(--zijgoot) / 2); width: 44px; height: 44px; }
  .pagina { padding: 0 16px 0 calc(16px + var(--zijgoot)); }
  .is-blad .contactblok { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .is-blad .contactblok__tekst, .is-blad .kanalen { grid-column: 1; }
  .bladen-raster, .schetsen { grid-template-columns: 1fr; }
  /* onder elkaar: zo passen ook lange bladnamen zonder ze midden in een woord af te breken */
  .bladnav { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bladnav__link { padding: 12px 16px 14px; min-width: 0; }
  .bladnav__blad { font-size: 1.1rem; }
  .bladnav__link--volgend .bladnav__blad { justify-content: flex-end; text-align: right; }
  .bladnav__alle { grid-column: 1; grid-row: 3; flex-direction: row; padding: 12px 18px; }
  .formulier { grid-template-columns: 1fr; border-radius: 22px; }
  .veld--half { grid-column: 1 / -1; }
  .kader { grid-template-columns: 1fr; }
  .sp3 { padding: 8px; border-radius: 22px; }
  .sp3-pin { transform: scale(1.9); transform-box: fill-box; transform-origin: 50% 50%; }
  .sp3-pin__naam, .sp3-pin__label { display: none; }
  .sp3-leg { grid-template-columns: 1fr; }
  .sp3-rollen button span { display: none; }

  .belbalk {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--blad-diep); box-shadow: 0 -10px 24px -14px rgba(31, 42, 28, .7);
  }
  .belbalk a, .belbalk button {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px;
    font: inherit; font-weight: 800; font-size: .86rem; color: #f2f6ea; text-decoration: none;
    background: none; border: 0; border-right: 1px solid rgba(255, 255, 255, .14); cursor: pointer;
  }
  .belbalk > :last-child { border-right: 0; }
  .belbalk .ico { width: 1.45em; height: 1.45em; }
}
