/* Homepage voor uitgenodigde spelers (docs/plans/2026-10-26-homepage-design.md).
   Kapel-stijl op brand-schaal: elk hoofdstuk is een scène op een eigen sfeerplaat, tekst links
   over een donker verloop. Goud is de ziel, rood alleen de Duivel. Mobile-first. */

:root {
  --nacht: #1a1a2e;
  --diep: #0f0d1a;
  --dieper: #0a0912;
  --goud: #f2b25a;
  --goud-zacht: #f6dcae;
  --licht: #fff3d0;
  --creme: #f5ecd7;
  --rood: #e94560;
  --tekst: #e8e1d1;
  --tekst-gedempt: #bdb6c9;
  --haarlijn: rgba(242, 178, 90, 0.2);
  --serif: 'Cormorant Garamond', Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --cijfer: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --marge: clamp(16px, 4.2vw, 80px);
  --breed: 1280px;
}

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

html {
  background: var(--diep);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--diep);
  color: var(--tekst);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, figure, blockquote, ol, ul, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--goud);
  text-wrap: balance;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--licht);
  outline-offset: 3px;
  border-radius: 4px;
}

strong { color: var(--licht); font-weight: 600; }

.naar-inhoud {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--goud);
  color: var(--dieper);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.naar-inhoud:focus { top: 16px; }

/* ---------- gedeelde typografie ---------- */

.label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goud);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(2.35rem, 8.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-shadow: 0 0 28px rgba(255, 220, 150, 0.22), 0 2px 18px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.6rem;
  max-width: 14ch;
}

.scene-tekst p,
.praktisch p { max-width: 34rem; }
.scene-tekst p + p { margin-top: 1rem; }

.nadruk {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.2;
  color: var(--goud-zacht);
}
.scene-tekst p.nadruk { margin-top: 1.6rem; }

.klein { font-size: 1rem; color: var(--tekst-gedempt); }

.duivel {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.3em;
  color: var(--rood);
  white-space: nowrap;
}

/* ---------- knoppen ---------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.knop-goud {
  background: var(--goud);
  color: #1a1220;
  box-shadow: 0 0 28px rgba(242, 178, 90, 0.25);
}
.knop-goud:hover { background: #f7c57a; }
.knop-rand {
  background: rgba(10, 9, 18, 0.55);
  border-color: rgba(242, 178, 90, 0.6);
  color: var(--goud-zacht);
}
.knop-rand:hover { border-color: var(--goud); color: var(--licht); }

/* ==========================================================================
   1. Aankomst
   ========================================================================== */

.aankomst {
  position: relative;
  isolation: isolate;
  overflow: clip;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  display: flex;
}
.aankomst-plaat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: -2;
  animation: plaat-in 2600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.aankomst::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 9, 18, 0.97) 0%, rgba(10, 9, 18, 0.86) 34%, rgba(10, 9, 18, 0.25) 66%, rgba(10, 9, 18, 0.45) 100%),
    linear-gradient(90deg, rgba(10, 9, 18, 0.55) 0%, transparent 70%);
}
.aankomst::after {
  /* naad naar het eerste hoofdstuk: de plaat zakt weg in de nacht */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3rem;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--diep));
}

.aankomst-inhoud {
  width: 100%;
  max-width: var(--breed);
  margin: 0 auto;
  padding: 1.25rem var(--marge) max(1.75rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.aankomst-ziel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* De zielvlam zoals op de telefoon (#zb-vlam-scene), maar groot: alles schaalt met --h, de
   hoogte van de vlam. De klauw grijpt van onderaf en vervaagt naar beneden. */
.ziel {
  --h: clamp(118px, 22svh, 210px);
  position: relative;
  width: calc(var(--h) * 94 / 180);
  height: calc(var(--h) * 250 / 180);
  animation: ziel-in 1500ms cubic-bezier(0.22, 1, 0.36, 1) 450ms both;
}
.ziel-vlam {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--h);
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 0 calc(var(--h) * 0.12) rgba(255, 220, 150, 0.5));
  animation: vlam-flikker 3.4s ease-in-out 2s infinite;
}
.ziel-klauw {
  position: absolute;
  left: 50%;
  top: calc(var(--h) * 155 / 180);
  width: calc(var(--h) * 140 / 180);
  height: calc(var(--h) * 95 / 180);
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 1;
}
.ziel-klauw img {
  width: 100%;
  /* het masker beslaat alleen het venster (de plaat is ruim 3x zo hoog), zodat de klauw
     binnen het venster naar beneden wegvaagt, zoals #zb-klauw op de telefoon */
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 63%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 0, #000 63%, transparent 95%);
  -webkit-mask-size: 100% calc(var(--h) * 95 / 180);
  mask-size: 100% calc(var(--h) * 95 / 180);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.aankomst-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--goud);
  margin-bottom: 0.6rem;
  animation: op-in 700ms ease 100ms both;
}

h1 {
  font-size: clamp(3.3rem, min(16vw, 15svh), 10rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--goud);
  text-shadow: 0 0 34px rgba(255, 220, 150, 0.35), 0 2px 24px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.9rem;
}
.titel-regel {
  display: block;
  transform-origin: 0 60%;
  animation: titel-in 950ms cubic-bezier(0.22, 1, 0.36, 1) 150ms both;
}
.titel-regel + .titel-regel { animation-delay: 340ms; }

.aankomst-vraag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 5.6vw, 2.4rem);
  line-height: 1.15;
  color: var(--creme);
  margin-bottom: 0.7rem;
  animation: op-in 800ms ease 800ms both;
}
.aankomst-aanwezig {
  font-size: 1.125rem;
  color: var(--tekst);
  max-width: 30rem;
  margin-bottom: 1.5rem;
  animation: op-in 800ms ease 1000ms both;
}
.aankomst-knoppen {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: op-in 800ms ease 1200ms both;
}

@media (min-width: 640px) {
  .aankomst-knoppen { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 960px) {
  .aankomst-inhoud {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 4rem;
    padding-bottom: clamp(3rem, 9vh, 6rem);
  }
  .aankomst-tekst { grid-column: 1; grid-row: 1; }
  .aankomst-ziel {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding-right: clamp(0rem, 4vw, 5rem);
  }
  .ziel { --h: clamp(220px, 40vh, 400px); }
  .aankomst::before {
    background:
      linear-gradient(to top, rgba(10, 9, 18, 0.92) 0%, rgba(10, 9, 18, 0.5) 38%, rgba(10, 9, 18, 0.12) 70%, rgba(10, 9, 18, 0.4) 100%),
      linear-gradient(90deg, rgba(10, 9, 18, 0.82) 0%, rgba(10, 9, 18, 0.35) 48%, transparent 75%);
  }
}

/* lage telefoons (bijvoorbeeld 320x640): kleinere vlam, zodat de klauw niet onder de tekst loopt */
@media (max-width: 959px) and (max-height: 700px) {
  .ziel { --h: clamp(90px, 16svh, 150px); }
}

/* korte schermen (telefoon gekanteld): de hero groeit mee in plaats van te overlappen */
@media (max-height: 540px) {
  .aankomst { height: auto; min-height: 100vh; }
  .aankomst-ziel { display: none; }
  h1 { font-size: clamp(2.8rem, 9vw, 5rem); }
}

/* ==========================================================================
   Scènes (hoofdstukken 2 tot en met 8)
   ========================================================================== */

.scene {
  --plaat-h: min(66vh, 560px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: calc(var(--plaat-h) * 0.55) 0 clamp(4.5rem, 12vh, 8rem);
}
.scene-plaat {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--plaat-h);
  object-fit: cover;
  z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 58%, transparent 100%);
}
.scene::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--plaat-h);
  z-index: -1;
  background: linear-gradient(to bottom, rgba(15, 13, 26, 0.1) 0%, rgba(15, 13, 26, 0.35) 45%, rgba(15, 13, 26, 0.8) 85%);
}

.scene-raster {
  max-width: var(--breed);
  margin: 0 auto;
  padding: 0 var(--marge);
}

.scene-beeld { margin-top: 3rem; }
.scene-beeld figcaption {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--tekst-gedempt);
  max-width: 34rem;
}

/* Telefoonkader: afgeronde rand, geen nep-notch. */
.telefoon {
  width: min(290px, 78vw);
  margin: 0 auto;
  padding: 9px;
  border-radius: 42px;
  background: #050409;
  border: 1px solid rgba(242, 178, 90, 0.3);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.9), 0 0 80px -14px rgba(242, 178, 90, 0.2);
}
.telefoon img { width: 100%; border-radius: 33px; }
.telefoon-vervaagt {
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
/* op de telefoon loopt het altaarbeeld van rand tot rand, dan is het zo groot als het kan */
@media (max-width: 959px) {
  .scene-beeld-altaar .scherm {
    margin-inline: calc(var(--marge) * -1);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 4px 0;
  }
  .scene-beeld-altaar .scherm img { border-radius: 0; }
}
.scene-beeld .telefoon + figcaption { text-align: center; margin-left: auto; margin-right: auto; max-width: 26rem; }

/* Schermkader voor het altaar */
.scherm {
  padding: 5px;
  border-radius: 10px;
  background: #050409;
  border: 1px solid rgba(242, 178, 90, 0.24);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
}
.scherm img { width: 100%; border-radius: 6px; }

/* ---------- 2. Je ziel ---------- */

.ziel-getal { margin: 0.4rem 0 1.8rem; }
.cijfer {
  display: block;
  font-family: var(--cijfer);
  font-weight: 400;
  font-size: clamp(5.2rem, 26vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: #f5e8c8;
  text-shadow: 0 0 40px rgba(255, 220, 150, 0.45);
}
.cijfer-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--goud);
}

/* ---------- 3. De fluistering ---------- */

.keuze {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 8vw, 3.3rem);
  line-height: 1.05;
  color: var(--creme);
}
.scene-tekst p.keuze { margin: 1.8rem 0 1.4rem; }
.keuze-of {
  font-style: italic;
  font-weight: 500;
  color: var(--tekst-gedempt);
}
.duivel-citaat {
  margin: 2rem 0 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 6.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--rood);
  text-shadow: 0 0 26px rgba(233, 69, 96, 0.35);
}
.duivel-citaat p::before { content: '\201C'; }
.duivel-citaat p::after { content: '\201D'; }

/* ---------- 5. De audiëntie ---------- */

.scene-stil { --plaat-h: min(86vh, 720px); padding-top: calc(var(--plaat-h) * 0.62); }
.kop-groot {
  font-size: clamp(3.4rem, 15vw, 8.5rem);
  line-height: 0.92;
  max-width: none;
}

/* ---------- 6. Het Rijk der Geesten ---------- */

.scene-geesten { --plaat-h: min(58vh, 500px); padding-top: calc(var(--plaat-h) * 0.6); }
.scene-geesten h3 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.05;
  color: var(--creme);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.2rem;
}

/* ---------- 7. Pacten en geheimen ---------- */

.scene-pacten .scene-plaat { opacity: 0.75; }
.scene-pacten h2 { max-width: 17ch; }
.artikelen {
  list-style: none;
  padding: 0;
  margin-top: 1.6rem;
  border-bottom: 1px solid var(--haarlijn);
}
.artikelen li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  column-gap: 0.4rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--haarlijn);
}
.artikel-nr {
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #c79a5c;
}
.artikel-naam {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--goud-zacht);
}
.artikel-uitleg {
  margin-top: 0.25rem;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--tekst);
}
.wat-mag { margin-top: 3.5rem; }
.wat-mag h3 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}
.wat-mag-groot {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 6.4vw, 2.7rem);
  line-height: 1.12;
  color: var(--creme);
  margin-bottom: 1rem;
  max-width: 20ch;
}
.wat-mag p:last-child { max-width: 30rem; }

/* ---------- 8. Het Oordeel ---------- */

.scene-oordeel h2 { max-width: 16ch; }
.duivel-naam { color: var(--rood); }

.winnen { margin-top: 4rem; }
.winnen-kop {
  font-size: clamp(1.7rem, 5.6vw, 2.4rem);
  color: var(--creme);
  margin-bottom: 1.4rem;
}
.winnen-panelen {
  display: grid;
  gap: 1rem;
}
.paneel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  min-height: 21rem;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--paneel-rand);
}
.paneel-plaat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: -2;
}
.paneel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 9, 18, 0.05) 0%, rgba(10, 9, 18, 0.55) 45%, rgba(10, 9, 18, 0.95) 78%);
}
.paneel h4 {
  font-size: clamp(1.9rem, 6.6vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
  color: var(--paneel-kleur);
  text-shadow: 0 0 24px var(--paneel-gloed), 0 2px 12px rgba(0, 0, 0, 0.8);
}
.paneel p { color: var(--creme); max-width: 30rem; }
.paneel-goud {
  --paneel-rand: rgba(242, 178, 90, 0.5);
  --paneel-kleur: var(--goud);
  --paneel-gloed: rgba(255, 220, 150, 0.35);
}
.paneel-rood {
  --paneel-rand: rgba(233, 69, 96, 0.55);
  --paneel-kleur: var(--rood);
  --paneel-gloed: rgba(233, 69, 96, 0.4);
}

.oordeel-beeld { margin-top: 4.5rem; }

.slotzin {
  margin-top: 5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 7.4vw, 3.8rem);
  line-height: 1.08;
  color: var(--creme);
  max-width: 20ch;
  text-wrap: balance;
}
.slotzin span { color: var(--goud); }

/* ---------- desktop: scène-indeling ---------- */

@media (min-width: 960px) {
  .scene {
    --plaat-h: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(6rem, 16vh, 10rem) 0;
  }
  .scene-plaat {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
  }
  .scene::before {
    background: linear-gradient(90deg, rgba(15, 13, 26, 0.94) 0%, rgba(15, 13, 26, 0.8) 34%, rgba(15, 13, 26, 0.3) 64%, rgba(15, 13, 26, 0.15) 100%);
  }
  .scene-raster { width: 100%; }
  body { font-size: 1.2rem; }

  /* tekst links, telefoon rechts */
  .scene-ziel .scene-raster,
  .scene-gespiegeld .scene-raster {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
  }
  .scene-beeld { margin-top: 0; }
  .telefoon { width: min(330px, 100%); }

  /* gespiegeld: telefoon links, tekst rechts (de tekst zelf blijft links uitgelijnd) */
  .scene-gespiegeld .scene-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .scene-gespiegeld .scene-tekst { grid-column: 2; grid-row: 1; }
  .scene-gespiegeld .scene-beeld { grid-column: 1; grid-row: 1; }
  .scene-gespiegeld::before {
    background: linear-gradient(270deg, rgba(15, 13, 26, 0.94) 0%, rgba(15, 13, 26, 0.8) 38%, rgba(15, 13, 26, 0.35) 68%, rgba(15, 13, 26, 0.3) 100%);
  }

  /* breed: tekst linksboven, altaarbeeld schuift er rechtsonder onderdoor naar de rand */
  .scene-breed .scene-raster {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
  }
  .scene-breed .scene-tekst { grid-column: 1 / span 6; grid-row: 1; }
  .scene-breed .scene-beeld { grid-column: 5 / -1; grid-row: 2; margin-top: 3.5rem; }
  .scene-breed .scene-beeld figcaption { max-width: 30rem; }

  .scene-stil { align-items: flex-end; min-height: 115vh; }
  .scene-stil::before {
    background:
      linear-gradient(to top, rgba(15, 13, 26, 0.92) 0%, rgba(15, 13, 26, 0.4) 40%, transparent 70%),
      linear-gradient(90deg, rgba(15, 13, 26, 0.7) 0%, transparent 55%);
  }

  .scene-geesten { min-height: 80vh; }
  .scene-geesten .scene-raster {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .scene-geesten .scene-tekst { grid-column: 7 / -1; }
  .scene-geesten::before {
    background: linear-gradient(270deg, rgba(15, 13, 26, 0.9) 0%, rgba(15, 13, 26, 0.6) 45%, rgba(15, 13, 26, 0.1) 80%);
  }

  /* lange hoofdstukken: de plaat staat bovenaan en zakt weg, de tekst loopt door op de nacht */
  .scene-pacten,
  .scene-oordeel { --plaat-h: 120vh; display: block; }
  .scene-pacten::before,
  .scene-oordeel::before {
    background: linear-gradient(90deg, rgba(15, 13, 26, 0.9) 0%, rgba(15, 13, 26, 0.7) 40%, rgba(15, 13, 26, 0.35) 100%);
  }

  .scene-pacten .scene-raster {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }
  .scene-pacten .scene-raster { grid-template-rows: auto 1fr; }
  .scene-pacten .scene-tekst { grid-column: 1; grid-row: 1; }
  .scene-pacten .artikelen { grid-column: 2; grid-row: 1 / span 2; margin-top: 0.4rem; }
  .scene-pacten .wat-mag { grid-column: 1; grid-row: 2; align-self: start; }
  .artikelen li {
    grid-template-columns: 4rem minmax(0, 15rem) minmax(0, 1fr);
    column-gap: 1.2rem;
    align-items: baseline;
    padding: 1.4rem 0;
  }
  .artikel-nr { grid-row: auto; }
  .artikel-uitleg { margin-top: 0; }

  .scene-oordeel .scene-raster {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
  }
  .scene-oordeel .scene-tekst { grid-column: 1 / span 7; }
  .winnen { grid-column: 1 / -1; margin-top: 6rem; }
  .winnen-panelen { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .paneel { min-height: 26rem; padding: 2.2rem 2.2rem; }
  .oordeel-beeld { grid-column: 3 / -1; margin-top: 6rem; }
  .slotzin { grid-column: 1 / span 9; margin-top: 7rem; }
}

/* ==========================================================================
   9. Praktisch
   ========================================================================== */

.praktisch {
  background:
    radial-gradient(ellipse 55% 45% at 12% 45%, rgba(242, 178, 90, 0.06), transparent 100%),
    var(--diep);
  padding: clamp(4.5rem, 12vh, 8rem) 0;
}
.praktisch-raster {
  max-width: var(--breed);
  margin: 0 auto;
  padding: 0 var(--marge);
}
.praktisch h2 { max-width: none; }
.feiten {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: 0.5rem 0 2.5rem;
}
.feiten dt {
  font-family: var(--cijfer);
  font-size: clamp(2.6rem, 10vw, 3.6rem);
  line-height: 1;
  color: #f5e8c8;
  text-shadow: 0 0 26px rgba(255, 220, 150, 0.3);
}
.feiten dd {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goud);
}
.praktisch-lijst {
  list-style: none;
  padding: 0;
  border-bottom: 1px solid var(--haarlijn);
}
.praktisch-lijst li {
  padding: 1.3rem 0;
  border-top: 1px solid var(--haarlijn);
  max-width: 38rem;
}
.praktisch-lijst strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--goud-zacht);
  margin-bottom: 0.3rem;
}

@media (min-width: 960px) {
  .praktisch-raster {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }
  .feiten { margin-bottom: 0; }
}

/* ==========================================================================
   10. Spelcode
   ========================================================================== */

.spelcode {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(3.5rem, 10vh, 9rem) 0 clamp(4rem, 12vh, 8rem);
}
.spelcode .scene-plaat {
  height: 100%;
  object-position: 0% 62%;
  /* gespiegeld: de kaarsen staan dan rechts, weg van de tekst */
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
}
.spelcode::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 13, 26, 0.85) 0%, rgba(15, 13, 26, 0.6) 50%, rgba(15, 13, 26, 0.2) 100%);
}
.spelcode-inhoud {
  max-width: var(--breed);
  margin: 0 auto;
  padding: 0 var(--marge);
}
.spelcode h2 { max-width: 12ch; }
.code-form { max-width: 34rem; }
.code-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goud);
  margin-bottom: 0.6rem;
}
.code-rij {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.code-rij input {
  width: 100%;
  min-height: 60px;
  padding: 0 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(242, 178, 90, 0.5);
  background: #14121f;
  color: var(--licht);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.code-rij input::placeholder { color: #6e6485; letter-spacing: 0.28em; }
.code-rij input:focus-visible { outline: 2px solid var(--licht); outline-offset: 2px; border-color: var(--goud); }
.code-rij input[aria-invalid='true'] { border-color: var(--goud); box-shadow: 0 0 0 1px var(--goud); }
.code-melding {
  min-height: 1.6em;
  margin-top: 0.7rem;
  font-size: 1.05rem;
  color: var(--goud-zacht);
}
.code-uitleg { margin-top: 0.2rem; color: var(--tekst-gedempt); }

@media (min-width: 640px) {
  .code-rij { flex-direction: row; }
  .code-rij input { flex: 1 1 12rem; }
  .code-rij .knop { flex: 0 0 auto; }
}

/* ==========================================================================
   11. Voet
   ========================================================================== */

.voet {
  max-width: var(--breed);
  margin: 0 auto;
  padding: 1.5rem var(--marge) max(1.5rem, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  border-top: 1px solid rgba(242, 178, 90, 0.12);
}
.voet-naam {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--goud);
}
.voet nav { display: flex; gap: 0.5rem 1.5rem; }
.voet a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  color: var(--tekst-gedempt);
  text-underline-offset: 4px;
}
.voet a:hover { color: var(--licht); }

/* ==========================================================================
   Beweging
   ========================================================================== */

@keyframes plaat-in {
  from { transform: scale(1.08); filter: brightness(0.3); }
  to { transform: scale(1); filter: brightness(1); }
}
/* zelfde binnenkomst als de regisseur op het altaar (public/altaar/altaar.css, regisseur-titel-in) */
@keyframes titel-in {
  from { opacity: 0; transform: translateX(45vw) scale(1.12); letter-spacing: 0.16em; }
  to { opacity: 1; transform: translateX(0) scale(1); letter-spacing: -0.01em; }
}
@keyframes op-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes ziel-in {
  from { opacity: 0; transform: translateY(28px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes vlam-flikker {
  0%, 100% { filter: drop-shadow(0 0 calc(var(--h) * 0.12) rgba(255, 220, 150, 0.5)) brightness(1); }
  50% { filter: drop-shadow(0 0 calc(var(--h) * 0.15) rgba(255, 220, 150, 0.6)) brightness(1.07); }
}

/* Reveals: alleen als home.js draait, en altijd vanuit een zichtbare begintoestand. */
.reveal-aan [data-reveal] {
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-aan [data-reveal]:not(.in) {
  opacity: 0.4;
  transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-aan [data-reveal]:not(.in) { opacity: 1; transform: none; }
}
