/* Geloofsleer.com — gedeeld ontwerp voor alle pagina's.
   Huisstijl: crème · inkt · coral, Montserrat. Rustig, ruim en precies; beweging alleen waar ze iets uitlegt. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbf8f2;
  --bg-2: #f4eee3;
  --voet: #f5efe3;   /* het crème van de thumbnails, iets dieper dan --bg */
  --kaart: rgba(255, 255, 255, 0.6);
  --ink: #16302c;
  --ink-2: #0f2622;
  --coral: #fb693b;
  --coral-ink: #c2461f;
  --groen: #1f8a4c;
  --muted: rgba(22, 48, 44, 0.72);
  --faint: rgba(22, 48, 44, 0.66);
  --line: rgba(22, 48, 44, 0.14);
  --hair: rgba(22, 48, 44, 0.08);
  --schaduw: 0 1px 2px rgba(22, 48, 44, 0.05), 0 28px 64px -34px rgba(22, 48, 44, 0.42);
  --schaduw-klein: 0 1px 2px rgba(22, 48, 44, 0.06), 0 12px 26px -18px rgba(22, 48, 44, 0.45);

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.2vw, 64px);
  --rand-l: max(var(--gutter), env(safe-area-inset-left));
  --rand-r: max(var(--gutter), env(safe-area-inset-right));
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --balk-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  /* onder de voet (korte pagina's, terugveren op de telefoon) loopt de voetkleur door */
  background: var(--voet);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: rgba(251, 105, 59, 0.2); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { -webkit-tap-highlight-color: transparent; font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 4px; border-radius: 6px; }
/* op de donkere vlakken blijft de ring coral (daar is coral-ink te donker) */
.nacht :focus-visible, .einde :focus-visible, dialog :focus-visible { outline-color: var(--coral); }

/* zachte gloed, zodat het crème niet vlak oogt */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52vw 46vh at 86% 4%, rgba(251, 105, 59, 0.09), transparent 70%),
    radial-gradient(60vw 52vh at 4% 100%, rgba(31, 138, 76, 0.06), transparent 70%);
}
main, footer { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: var(--rand-l);
  padding-right: var(--rand-r);
}
.smal { max-width: calc(860px + 2 * var(--gutter)); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.naar-inhoud {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700;
  transition: top .2s;
}
.naar-inhoud:focus { top: 12px; }

/* ---------- typografie ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--coral); }
.label {
  display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint);
}
h1, h2, h3 { text-wrap: balance; }
h2 {
  margin-top: 14px;
  font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em;
}
h1 em, h2 em, h3 em { font-style: normal; color: var(--coral); }
p { text-wrap: pretty; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7; }

/* ---------- balk ---------- */
.balk { position: sticky; top: 0; z-index: 50; }
/* de vervaging zit op een laag achter de balk: backdrop-filter op de balk zelf zou hem het kader
   maken van het vaste menu erin, waardoor dat menu maar een paar pixels hoog werd */
.balk::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* hetzelfde crème als de voet (--voet), licht doorzichtig: boven en onder dezelfde omlijsting */
  background: rgba(245, 239, 227, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  opacity: 0; transition: opacity .4s ease;
}
.balk.vast::before, body.menu-open .balk::before { opacity: 1; }
.bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--balk-h); padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.08rem; letter-spacing: -0.015em; white-space: nowrap;
}
.logo .com { color: var(--coral); }
/* BETA in dezelfde vorm als de "MODULE 1"-kaders op de thumbnails */
.beta {
  display: inline-block; padding: 3px 6px 3px 8px;
  border: 1.5px solid var(--coral); border-radius: 2px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; line-height: 1.2; color: var(--ink);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 0.86rem; font-weight: 600; }
.nav .link { position: relative; padding-block: 10px; color: var(--muted); transition: color .3s; }
.nav .link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 1px;
  background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav .link:hover, .nav .link[aria-current] { color: var(--ink); }
.nav .link:hover::after, .nav .link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.yt-pil {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 700;
  transition: background-color .3s, transform .4s var(--ease);
}
.yt-pil:hover { background: var(--ink-2); transform: translateY(-1px); }
.yt-pil svg { width: 20px; height: 20px; flex-shrink: 0; }
.voortgang {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: var(--coral); transform-origin: left; transform: scaleX(0);
}

/* menuknop + menu voor kleinere schermen */
.menu-knop {
  display: none; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px 8px 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 0.84rem; font-weight: 700;
  transition: border-color .3s;
}
.menu-knop:hover { border-color: var(--ink); }
.menu-knop .streepjes { position: relative; width: 16px; height: 10px; }
.menu-knop .streepjes::before, .menu-knop .streepjes::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-knop .streepjes::before { top: 1px; }
.menu-knop .streepjes::after { top: 7px; }
.menu-knop[aria-expanded="true"] .streepjes::before { top: 4px; transform: rotate(45deg); }
.menu-knop[aria-expanded="true"] .streepjes::after { top: 4px; transform: rotate(-45deg); }

.menu {
  position: fixed; left: 0; right: 0; top: calc(var(--balk-h) + env(safe-area-inset-top)); bottom: 0; z-index: 49;
  overflow-y: auto; overscroll-behavior: contain;
  background: rgba(251, 248, 242, 0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 8px var(--rand-r) max(28px, env(safe-area-inset-bottom)) var(--rand-l);
}
.menu-lijst { list-style: none; max-width: 640px; margin: 0 auto; }
.menu-lijst a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
}
.menu-lijst .nr { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--coral-ink); font-variant-numeric: tabular-nums; }
.menu-lijst strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.menu-lijst small { display: block; margin-top: 2px; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.menu-lijst svg { width: 16px; height: 16px; color: var(--faint); }
.menu-lijst a[aria-current="page"] strong { color: var(--coral-ink); }
.menu-voet { max-width: 640px; margin: 22px auto 0; }
.menu-voet .yt-pil { width: 100%; justify-content: center; min-height: 52px; }

/* ---------- knoppen ---------- */
.acties { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(26px, 4vh, 38px); }

/* de knop: magnetisch, met een coral vulling die vanaf de cursor binnenstroomt */
.cta {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 12px 12px 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 800; font-size: clamp(1rem, 1.25vw, 1.1rem); letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 18px 44px -20px rgba(22, 48, 44, 0.6);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.cta::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--mx); top: var(--my); width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .6s var(--ease);
}
.cta:hover::before, .cta:focus-visible::before { transform: translate(-50%, -50%) scale(70); }
.cta:hover, .cta:focus-visible { box-shadow: 0 22px 50px -18px rgba(251, 105, 59, 0.6); }
.cta .pijl {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); color: var(--ink);
  transition: transform .5s var(--ease);
}
.cta:hover .pijl { transform: rotate(-45deg); }
.cta svg { width: 18px; height: 18px; }

.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--line); background: none; color: var(--ink);
  font-size: 0.95rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s;
}
.knop:hover { border-color: var(--ink); }
.knop svg { width: 16px; height: 16px; flex-shrink: 0; }
.knop.klein { min-height: 40px; padding: 8px 16px; font-size: 0.86rem; }

.pijl-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; width: fit-content; }
.pijl-link span { background: linear-gradient(var(--coral), var(--coral)) 0 100% / 100% 1.5px no-repeat; padding-bottom: 1px; }
.pijl-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.pijl-link:hover svg { transform: translateX(4px); }

/* ---------- kaarten ---------- */
.kaart {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28));
}
.kaart > div { padding: clamp(22px, 3vw, 36px); min-width: 0; }
.kaart > div + div { border-left: 1px dashed var(--line); }
.groot {
  display: block; margin-top: 10px;
  font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.groot em { font-style: normal; color: var(--coral); }
.klein { margin-top: 8px; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }

.blad {
  border: 1px solid var(--line); border-radius: 22px;
  background: var(--kaart);
}

/* status-labels: online, binnenkort, nieuw */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--groen); }
.status.binnenkort { color: var(--faint); }
.status.binnenkort::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.status.coral::before { background: var(--coral); }

/* ---------- sectiekoppen ---------- */
.sectie-kop {
  display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.sectie-kop p { max-width: 44ch; color: var(--muted); }

/* ---------- paginakop (subpagina's) ---------- */
.paginakop { padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(32px, 6vh, 64px); }
.paginakop h1 {
  margin-top: clamp(16px, 2.4vh, 24px);
  font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.04em;
  margin-left: -0.04em;
}
.paginakop .lead { margin-top: clamp(16px, 2.6vh, 24px); max-width: 52ch; }
.paginakop-rij { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.kruimel { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600; color: var(--faint); }
.kruimel a { color: var(--muted); transition: color .3s; }
.kruimel a:hover { color: var(--ink); }
.kruimel svg { width: 12px; height: 12px; }

/* ---------- donkere kaart ---------- */
.nacht {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; text-align: center;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 84px); border-radius: 28px;
  background: var(--ink-2); color: var(--bg);
}
.nacht::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 92% 0%, rgba(251, 105, 59, 0.24), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(31, 138, 76, 0.2), transparent 70%);
}
.nacht .kicker { color: var(--bg); }
/* nooit groter dan de H1 van de homepagina */
.nacht h2 { font-size: clamp(2.2rem, 3.8vw, 3.5rem); }
.nacht p { margin-top: 16px; max-width: 40ch; color: rgba(251, 248, 242, 0.74); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.nacht .acties { justify-content: center; }
.nacht .cta { background: var(--bg); color: var(--ink); box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.6); }
.nacht .cta .pijl { background: var(--ink); color: var(--bg); }
.slot { padding-bottom: clamp(72px, 13vh, 150px); }

/* ---------- wegwijzer-tegels (homepage, wegwijzer, 404) ---------- */
.tegels {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  list-style: none;
}
.tegel {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 220px;
  padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, background-color .4s;
}
.tegel:hover { transform: translateY(-4px); box-shadow: var(--schaduw); border-color: rgba(22, 48, 44, 0.22); background-color: #fff; }
.tegel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tegel-nr { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--coral-ink); font-variant-numeric: tabular-nums; }
.tegel h3 { margin-top: auto; padding-top: 28px; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.tegel p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; text-wrap: balance; }
.tegel-pijl {
  position: absolute; right: clamp(20px, 2.4vw, 30px); bottom: clamp(20px, 2.4vw, 30px);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink);
  transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease);
}
.tegel-pijl svg { width: 16px; height: 16px; }
.tegel:hover .tegel-pijl { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: rotate(-45deg); }
.tegel .tekst { padding-right: 52px; }
@media (max-width: 560px) {
  .tegels {
    gap: 0; overflow: hidden;
    border: 1px solid var(--line); border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36));
  }
  .tegels li + li { border-top: 1px solid var(--hair); }
  .tegel {
    display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 12px;
    min-height: 0; padding: 17px 18px; border: 0; border-radius: 0; background: none;
  }
  .tegel:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, 0.7); }
  .tegel:focus-visible { outline-offset: -3px; border-radius: 16px; }
  .tegel .status { display: none; }
  .tegel .tekst { margin-top: 0; padding-right: 0; }
  .tegel h3 { padding-top: 0; font-size: 1.12rem; }
  .tegel p { margin-top: 2px; font-size: 0.88rem; line-height: 1.45; }
  .tegel-pijl { position: static; width: 16px; height: 16px; border: 0; color: var(--faint); }
  .tegel:hover .tegel-pijl { background: none; color: var(--ink); transform: translateX(3px); }
}

/* ---------- voet ---------- */
/* de voet krijgt het crème van de thumbnails, iets dieper dan de pagina;
   de overgang verloopt zacht, zonder harde rand */
.voet-groot {
  margin-top: 0;
  background: linear-gradient(180deg, rgba(245, 239, 227, 0) 0, var(--voet) clamp(96px, 15vh, 170px));
}
.voet-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px;
  padding-top: clamp(40px, 7vh, 72px); padding-bottom: clamp(32px, 5vh, 56px);
}
.voet-merk p { margin-top: 14px; max-width: 32ch; color: var(--muted); font-size: 0.92rem; }
.voet-merk .yt-pil { margin-top: 20px; }
.voet-kol h2 { margin: 0 0 14px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; line-height: 1.4; }
.voet-kol ul { list-style: none; display: grid; gap: 4px; }
.voet-kol a { display: inline-block; padding-block: 5px; font-weight: 600; font-size: 0.94rem; color: var(--muted); transition: color .3s; }
.voet-kol a:hover { color: var(--ink); }
.voet {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
}
.voet a:hover { color: var(--ink); }

/* ---------- bekeken-schakelaar (homepage, video's) ---------- */
.vink-knop {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: transparent;
  cursor: pointer; position: relative;
  transition: border-color .25s, background-color .25s, color .25s;
}
.vink-knop::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.vink-knop svg { width: 12px; height: 12px; }
.vink-knop:hover { border-color: var(--groen); color: rgba(31, 138, 76, 0.5); }
.vink-knop:focus-visible { outline-offset: 3px; border-radius: 50%; }
.vink-knop[aria-pressed="true"] { background: var(--groen); border-color: var(--groen); color: #fff; }
.vink-knop.vers[aria-pressed="true"] { animation: vink-in .45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.vink-knop[aria-pressed="true"]:hover { background: #17703c; border-color: #17703c; color: #fff; }
@keyframes vink-in { 0% { transform: scale(0.4); } 100% { transform: none; } }
/* op aanraakschermen (geen muis om eroverheen te gaan) staat er een vaag vinkje in: zo lijkt het geen keuzerondje */
@media (hover: none) { .vink-knop:not([aria-pressed="true"]) { color: rgba(22, 48, 44, 0.26); } }

@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(251, 105, 59, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(251, 105, 59, 0); } }

/* ---------- schermbreedtes ---------- */
@media (max-width: 1024px) {
  .tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voet-merk { grid-column: 1 / -1; }
  .paginakop-rij { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 900px) {
  .nav .link { display: none; }
  .menu-knop { display: inline-flex; }
}
@media (max-width: 760px) {
  .kaart { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .kaart > div + div { border-left: 0; border-top: 1px dashed var(--line); }
}
@media (max-width: 560px) {
  :root { --balk-h: 60px; }
  html { scroll-padding-top: 76px; }
  .logo { font-size: 1rem; gap: 10px; }
  .beta { font-size: 0.55rem; padding: 2px 5px 2px 7px; }
  .nav { gap: 8px; }
  .nav .yt-pil { min-height: 36px; padding: 6px 10px; font-size: 0; gap: 0; }
  .nav .yt-pil svg { width: 20px; height: 20px; }
  .menu-knop { min-height: 36px; padding: 6px 12px 6px 14px; }
  .acties { gap: 10px; }
  .cta { flex: 1 1 100%; justify-content: space-between; }
  .knop { flex: 1 1 100%; }
  .sectie-kop { display: block; }
  .sectie-kop p { margin-top: 12px; }
  .tegels { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tegel { min-height: 0; }
  .tegel h3 { padding-top: 18px; }
  .nacht { border-radius: 22px; }
  .voet-grid { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 28px 12px; }
  .voet { font-size: 0.76rem; }
}

/* heel smalle telefoons (bv. 360px): menubalk compacter, het woord "Menu" valt weg */
@media (max-width: 380px) {
  .nav { gap: 6px; }
  .logo { gap: 8px; }
  .menu-knop { padding: 6px 10px; gap: 0; font-size: 0; }
  .menu-knop .streepjes { width: 18px; }
}

/* ---------- beweging ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .in { opacity: 0; transform: translateY(14px); animation: in 1s var(--ease) forwards; }
  .js .d1 { animation-delay: .05s; } .js .d2 { animation-delay: .18s; } .js .d3 { animation-delay: .3s; }
  .js .d4 { animation-delay: .42s; } .js .d5 { animation-delay: .6s; }
  .js .regel > span { display: block; transform: translateY(105%); animation: omhoog 1.1s var(--ease) forwards; }
  .js .regel { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .js .regel.r1 > span { animation-delay: .1s; }
  .js .regel.r2 > span { animation-delay: .22s; }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--vertraging, 0s); }
  .js .reveal.zicht { opacity: 1; transform: none; }
  .js .menu:not([hidden]) .menu-lijst li { opacity: 0; transform: translateY(10px); animation: in .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
  @keyframes in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes omhoog { to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vink-knop.vers[aria-pressed="true"] { animation: none; }
}

/* ---------- afdrukken (werkbundels, boekenlijst) ---------- */
@media print {
  body::before, .balk, .voet-groot, .menu, .acties, .naar-inhoud, .geen-print { display: none !important; }
  body { background: #fff; }
  .js .reveal, .js .in { opacity: 1 !important; transform: none !important; }
}
