/*
 * Alle mogelijkheden — de rustige leespagina achter de landingspagina.
 *
 * Zelfde wereld als het KASCH-deel van het verhaal (inkt, merkgroen, Newsreader met
 * Inter), maar zonder film: dit is de pagina om rustig na te lezen. Eén verwijzing naar
 * de horizon bovenin, verder alleen typografie en witruimte.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }

:root {
  color-scheme: dark;
  --inkt: #0b0f14;
  --vlak: #111820;
  --lijn: #202a36;
  --tekst: #e7eef7;
  --zacht: #a3b2c6;
  --stil: #7d8ea3;
  --groen: #17d17d;
  --groen-licht: #bfead3;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rand: max(20px, 4.2vw);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--inkt);
  color: var(--tekst);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, p, dl, dt, dd, ol { margin: 0; padding: 0; }
ol { list-style: none; }
::selection { background: var(--groen); color: #04110a; }
:focus-visible { outline: 2px solid var(--groen); outline-offset: 3px; border-radius: 4px; }

.overslaan {
  position: fixed; left: 50%; top: 10px; z-index: 50;
  transform: translate(-50%, -160%);
  padding: 10px 16px; border-radius: 999px;
  background: var(--groen); color: #04110a;
  font: 600 14px/1 var(--sans); text-decoration: none;
  transition: transform .3s var(--ease);
}
.overslaan:focus-visible { transform: translate(-50%, 0); }

.punt { color: var(--groen); }
.boventitel {
  font: 600 12px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--groen);
}

/* Knoppen, zoals op de landingspagina */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.3em;
  border-radius: 999px;
  font: 600 14px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.knop:hover { transform: translateY(-1px); }
.knop--groen { background: var(--groen); color: #04110a; }
.knop--groen:hover { box-shadow: 0 10px 36px -8px rgba(23, 209, 125, .55); }
.knop--rand { border: 1px solid rgba(231, 238, 247, .28); color: var(--tekst); }
.knop--rand:hover { border-color: rgba(231, 238, 247, .6); }
.knop--groot { font-size: 16px; padding: 1em 1.6em; }

/* Balk bovenin */
.balk {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px;
  padding: 0 var(--rand);
  background: rgba(11, 15, 20, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 238, 247, .06);
}
.balk__merk { font: 800 18px/1 var(--sans); letter-spacing: .08em; text-decoration: none; }
.balk__rechts { display: flex; align-items: center; gap: 22px; }
.balk__link { font-size: 14px; color: var(--zacht); text-decoration: none; }
.balk__link:hover { color: var(--tekst); }

/* De kop, met de horizon als enige verwijzing naar het verhaal */
.kop {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 14vh, 150px) var(--rand) clamp(64px, 10vh, 110px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.kop h1 {
  font: 300 clamp(2.5rem, 6vw, 5.4rem)/1 var(--serif);
  letter-spacing: -.02em;
  max-width: 14ch;
  text-wrap: balance;
}
.kop h1 em { font-style: italic; color: var(--groen-licht); }
.kop__intro {
  font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.55 var(--serif);
  color: var(--zacht);
  max-width: 44ch;
  text-wrap: balance;
}
.kop__horizon {
  position: absolute; left: 50%; bottom: calc(36px - 260vw);
  width: 260vw; height: 260vw;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(23, 209, 125, .55);
  box-shadow: 0 -1px 24px rgba(23, 209, 125, .35), 0 -40px 160px -40px rgba(23, 209, 125, .22);
  background: radial-gradient(closest-side, #0b0f14 96%, rgba(11, 15, 20, 0));
  pointer-events: none;
  z-index: -1;
}

.feiten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 980px);
  margin-top: 30px;
  text-align: left;
}
.feit { border-top: 1px solid var(--lijn); padding-top: 16px; }
.feit dt {
  font: 300 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--tekst);
}
.feit dd { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--zacht); }

/* Inhoud: inhoudsopgave links, onderdelen rechts */
.inhoud {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) var(--rand) 0;
}
.index { position: sticky; top: 104px; align-self: start; }
.index__kop { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stil); margin-bottom: 18px; }
.index ol { display: flex; flex-direction: column; gap: 4px; }
.index a {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--zacht);
  text-decoration: none;
  transition: color .25s;
}
.index a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lijn);
  transition: background .25s, box-shadow .25s;
}
.index a:hover { color: var(--tekst); }
.index a[aria-current="true"] { color: var(--tekst); }
.index a[aria-current="true"]::before { background: var(--groen); box-shadow: 0 0 10px rgba(23, 209, 125, .8); }

.groepen { display: flex; flex-direction: column; gap: clamp(72px, 12vh, 128px); padding-bottom: clamp(72px, 12vh, 128px); }
.groep h2 {
  font: 300 clamp(2rem, 3.4vw, 3rem)/1.05 var(--serif);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.groep__lead { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--zacht); max-width: 58ch; }

.lijst {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin-top: 30px;
}
.item { padding: 20px 0 22px; border-top: 1px solid var(--lijn); }
.item dt { font: 600 16.5px/1.35 var(--sans); letter-spacing: -.005em; color: var(--tekst); }
.item dd { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--zacht); max-width: 46ch; }

/* Zo begin je: een echte volgorde, dus genummerd */
.begin {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 110px) var(--rand);
  border-top: 1px solid var(--lijn);
}
.begin h2 { font: 300 clamp(2rem, 3.4vw, 3rem)/1.05 var(--serif); letter-spacing: -.015em; }
.stappen {
  counter-reset: stap;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.stappen li { counter-increment: stap; display: flex; flex-direction: column; gap: 10px; }
.stappen li::before {
  content: counter(stap);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(23, 209, 125, .55);
  color: var(--groen);
  font: 600 15px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.stappen h3 { font: 600 17px/1.3 var(--sans); }
.stappen p { font-size: 15px; line-height: 1.6; color: var(--zacht); }

/* Slot */
.slot {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
  padding: clamp(80px, 16vh, 170px) var(--rand) clamp(100px, 20vh, 210px);
  background: radial-gradient(90% 60% at 50% 120%, rgba(23, 209, 125, .2), transparent 70%);
}
.slot h2 {
  font: 300 clamp(2.3rem, 5vw, 4.6rem)/1.02 var(--serif);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.slot h2 em { font-style: italic; color: var(--groen-licht); }
.slot__tekst { font: 400 clamp(1.05rem, 1.4vw, 1.3rem)/1.5 var(--serif); color: var(--zacht); max-width: 40ch; }
.slot__acties { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.slot__mail { font-size: 13.5px; color: var(--stil); }
.slot__mail span { color: var(--tekst); user-select: all; }

.voet {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px var(--rand) calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--lijn);
  font-size: 13px;
  color: var(--stil);
}
.voet__merk { font-weight: 800; letter-spacing: .08em; color: var(--tekst); }

/* Smal */
@media (max-width: 900px) {
  .inhoud { grid-template-columns: 1fr; }
  .index { position: static; }
  .index ol { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .index a {
    padding: 8px 12px;
    border: 1px solid var(--lijn);
    border-radius: 999px;
    font-size: 13.5px;
  }
  .index a::before { display: none; }
  .lijst { grid-template-columns: 1fr; }
  .feiten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stappen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .balk__link { display: none; }
  .balk .knop { font-size: 13px; padding: .75em 1.1em; }
  .stappen { grid-template-columns: 1fr; }
}
