/* StageplanR — stijl in de geest van een risograaf-affiche: crème papier, cobalt, tangerine,
   zwarte haarlijnen, pilknoppen, plat, geen schaduwen. */

:root {
  --cobalt: #1673ff;
  --koffie: #3d2800;
  --oranje: #ff7b02;
  --creme: #fbf5e7;
  --inkt: #000000;
  --as: #c4c4c4;
  --rand: 48px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--inkt); font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--koffie); }
p { margin: 0; }
.disp { font-family: "Space Grotesk", "Sora", "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.04em; }
.eyebrow { font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--koffie); }
.eyebrow.licht { color: var(--creme); }
.sub { font-size: 21px; font-weight: 500; line-height: 1.2; }
.lead { font-size: 21px; line-height: 1.45; max-width: 640px; }
.noot { font-size: 13px; color: var(--koffie); margin-top: 10px; }
.cobalt-t { color: var(--cobalt); } .oranje-t { color: var(--oranje); } .koffie-t { color: var(--koffie); }

/* Korrel over alles: papiergevoel */
.korrel { position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Knoppen */
.pil { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px; padding: 15px 26px; font-size: 15px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease; }
.pil:hover { transform: translateY(-2px); }
.pil.klein { padding: 6px 12px; font-size: 12px; }
.pil-zwart { background: var(--inkt); color: var(--creme); } .pil-zwart:hover { background: var(--cobalt); color: var(--creme); }
.pil-creme { background: var(--creme); color: var(--inkt); } .pil-creme:hover { background: var(--oranje); color: var(--inkt); }
.pil-cobalt { background: var(--cobalt); color: var(--creme); } .pil-cobalt:hover { background: var(--oranje); color: var(--inkt); }
.pil-oranje { background: var(--oranje); color: var(--inkt); border-color: var(--oranje); }
.pil-lijn { border-color: var(--inkt); color: var(--inkt); } .pil-lijn:hover { background: var(--inkt); color: var(--creme); }
.pil-lijn-licht { border-color: var(--creme); color: var(--creme); } .pil-lijn-licht:hover { background: var(--creme); color: var(--inkt); }
.knoppen { display: flex; gap: 12px; flex-wrap: wrap; }

/* Kop */
.kop { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--rand); background: var(--creme); border-bottom: 1px solid var(--inkt); }
.merk { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.04em; color: var(--inkt); }
.navlinks { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.navlinks a { color: var(--inkt); position: relative; }
.navlinks a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--oranje); transition: right 0.25s ease; }
.navlinks a:hover::after { right: 0; }

/* Held */
.held { position: relative; overflow: hidden; background: var(--cobalt); color: var(--creme); padding: 80px var(--rand) 72px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.held-tekst { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 26px; }
.held h1 { margin: 0; font-size: clamp(56px, 10vw, 148px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; }
.held .lead { color: var(--creme); }
.held-clip { position: relative; z-index: 2; }
.clipkader { aspect-ratio: 16 / 9; border: 1px solid var(--inkt); background: var(--creme); overflow: hidden; transform: rotate(-1.5deg); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.clipkader:hover { transform: rotate(0deg) scale(1.02); }
.clipkader video { display: block; width: 100%; height: 100%; object-fit: cover; }
.zon { transform-origin: 50% 50%; }
.zon-held { position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; opacity: 0.18; z-index: 1; animation: draai 60s linear infinite; }
.zon-programma { position: absolute; right: -60px; top: -140px; width: 520px; height: 520px; opacity: 0.08; z-index: 0; pointer-events: none; }
.zon-mod { position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; opacity: 0.35; animation: draai 48s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }

/* Riso-misregistratie op grote koppen: twee kleurlagen schuiven achter de tekst op hun plek */
.riso span { position: relative; display: inline-block; isolation: isolate; }
.riso span::before, .riso span::after { content: attr(data-t); position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: 0; }
.riso.klaar span::before { color: var(--oranje); animation: schuif-a 1.2s cubic-bezier(.2,.8,.2,1) forwards; }
.riso.klaar span::after { color: var(--inkt); animation: schuif-b 1.2s cubic-bezier(.2,.8,.2,1) forwards; }
.mod-held.oranje .riso.klaar span::before { color: var(--creme); }
@keyframes schuif-a { from { transform: translate(18px, 8px); opacity: 0; } 30% { opacity: 0.9; } to { transform: translate(5px, 3px); opacity: 0.9; } }
@keyframes schuif-b { from { transform: translate(-14px, -6px); opacity: 0; } 30% { opacity: 0.5; } to { transform: translate(-3px, -2px); opacity: 0.5; } }

/* Lopende band */
.band { border-top: 1px solid var(--inkt); border-bottom: 1px solid var(--inkt); overflow: hidden; background: var(--creme); }
.band-loop { display: flex; gap: 48px; white-space: nowrap; padding: 14px 0; font-size: 18px; font-weight: 500; width: max-content; animation: loop 32s linear infinite; }
.band:hover .band-loop { animation-play-state: paused; }
@keyframes loop { to { transform: translateX(-50%); } }

/* Blokken */
.blok { position: relative; padding: 88px var(--rand) 0; }
.twee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.blok.twee { padding-top: 88px; }
.twee h2 { margin: 0 0 20px; font-size: clamp(30px, 4vw, 56px); line-height: 1; font-weight: 500; }
.twee.licht { color: var(--creme); margin-bottom: 28px; }
.twee.licht .eyebrow { color: var(--creme); }
.twee p { font-size: 18px; color: var(--koffie); max-width: 760px; }
.twee.licht p { color: var(--creme); }

/* Beloften */
.beloften { margin: 56px var(--rand) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--inkt); border-left: 1px solid var(--inkt); }
.belofte { padding: 28px 24px 32px; border-right: 1px solid var(--inkt); border-bottom: 1px solid var(--inkt); display: flex; flex-direction: column; gap: 12px; transition: background 0.2s ease; }
.belofte:hover { background: #ffffff; }
.getal { font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.06em; font-weight: 700; }
.belofte p { font-size: 15px; color: var(--koffie); }

/* Stappen */
.stappen { position: relative; margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--inkt); border-left: 1px solid var(--inkt); }
.stappen .lijn { position: absolute; left: 0; right: 0; top: -1px; height: 3px; overflow: hidden; }
.stappen .lijn span { display: block; height: 100%; background: var(--oranje); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.stappen.in .lijn span { transform: scaleX(1); }
.stap { padding: 24px 22px 28px; border-right: 1px solid var(--inkt); border-bottom: 1px solid var(--inkt); display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.stap .nr { font-size: 40px; font-weight: 700; color: var(--cobalt); line-height: 1; }
.stap p { font-size: 15px; color: var(--koffie); }
.stap.oranje { background: var(--oranje); } .stap.oranje .nr, .stap.oranje p { color: var(--inkt); }

/* Werkblad */
.werkblad { margin-top: 88px; background: var(--cobalt); padding: 64px var(--rand); }
.app { background: var(--creme); border: 1px solid var(--inkt); display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 520px; }
.app-zij { border-right: 1px solid var(--inkt); padding: 16px 0; display: flex; flex-direction: column; font-size: 13px; }
.app-zij div { padding: 8px 16px; color: var(--koffie); }
.app-zij .aan { background: var(--inkt); color: var(--creme); font-weight: 500; }
.app-hoofd { display: flex; flex-direction: column; }
.app-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--inkt); font-size: 16px; font-weight: 500; }
.chips { display: flex; gap: 8px; } .chips .pil { padding: 5px 12px; font-size: 12px; }
.weekwrap { flex: 1; overflow-x: auto; }
.week { display: grid; grid-template-columns: 56px repeat(5, minmax(0, 1fr)); height: 100%; min-width: 640px; }
.uren { border-right: 1px solid var(--inkt); font-size: 11px; color: var(--koffie); display: flex; flex-direction: column; justify-content: space-between; padding: 10px 8px; }
.dag { border-right: 1px solid var(--as); padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.dag:last-child { border-right: 0; }
.dagnaam { font-size: 11px; color: var(--koffie); }
.boeking { padding: 8px; font-size: 12px; line-height: 1.3; transform-origin: top; opacity: 0; }
.in .boeking { animation: blok 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.in .b1 { animation-delay: 0.2s; } .in .b2 { animation-delay: 0.35s; } .in .b3 { animation-delay: 0.5s; } .in .b4 { animation-delay: 0.65s; } .in .b5 { animation-delay: 0.8s; }
@keyframes blok { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.boeking.oranje { background: var(--oranje); } .boeking.wit { background: #fff; border: 1px solid var(--inkt); }
.boeking.zwart { background: var(--inkt); color: var(--creme); } .boeking.vrij { border: 1px dashed var(--cobalt); color: var(--cobalt); }
.kaarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.kaart { background: var(--creme); border: 1px solid var(--inkt); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.kaart p { font-size: 13px; color: var(--koffie); }
.qr-kaart { flex-direction: row; align-items: center; gap: 20px; }
.qr { position: relative; width: 128px; height: 128px; flex: 0 0 128px; background: var(--inkt); border-radius: 4px; overflow: hidden; animation: puls 2.4s ease-out infinite; }
.scanlijn { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--oranje); animation: scan 2.4s ease-in-out infinite; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(22,115,255,0.5); } 70% { box-shadow: 0 0 0 18px rgba(22,115,255,0); } }
@keyframes scan { 0% { top: 8px; } 50% { top: 118px; } 100% { top: 8px; } }

/* Programma / rooster */
.programma-kop { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; overflow: visible; }
.programma-kop h2 { margin: 0; font-size: clamp(44px, 7vw, 96px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; position: relative; z-index: 1; }
.programma-kop p { max-width: 400px; font-size: 16px; color: var(--koffie); position: relative; z-index: 1; }
.rooster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--inkt); border-left: 1px solid var(--inkt); }
.cel { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 24px; min-height: 190px; border-right: 1px solid var(--inkt); border-bottom: 1px solid var(--inkt); color: var(--inkt); background: var(--creme); overflow: hidden; transition: background 0.2s ease, color 0.2s ease; }
.cel .eyebrow { color: var(--cobalt); font-size: 12px; }
.cel-naam { font-size: 22px; font-weight: 500; line-height: 1.1; }
.cel-kort { font-size: 14px; color: var(--koffie); line-height: 1.45; }
.cel-meer { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.cel:hover { background: var(--inkt); color: var(--creme); }
.cel:hover .eyebrow, .cel:hover .cel-kort { color: var(--creme); }
.cel:hover .cel-meer { opacity: 1; transform: translateY(0); }
.cel::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--oranje); transform: scale(0); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.cel:hover::after { transform: scale(1); }
.cel.oranje { background: var(--oranje); } .cel.oranje .eyebrow, .cel.oranje .cel-kort { color: var(--inkt); }
.cel.cobalt { background: var(--cobalt); color: var(--creme); } .cel.cobalt .eyebrow, .cel.cobalt .cel-kort { color: var(--creme); }
.cel.cobalt::after, .cel.oranje::after { background: var(--creme); }
.cel.cobalt:hover, .cel.oranje:hover { background: var(--inkt); }

/* Overige blokken */
.vier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--inkt); border-left: 1px solid var(--inkt); }
.cel-stil { padding: 22px 20px 26px; border-right: 1px solid var(--inkt); border-bottom: 1px solid var(--inkt); }
.cel-stil p { font-size: 15px; color: var(--koffie); margin-top: 8px; }
.rollen { display: flex; flex-wrap: wrap; gap: 10px; }
.rollen .pil { padding: 10px 18px; cursor: default; }

/* Voet */
.voet { margin-top: 88px; background: var(--inkt); color: var(--creme); padding: 80px var(--rand); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.voet h2 { margin: 0 0 20px; font-size: clamp(40px, 6vw, 88px); line-height: 0.92; letter-spacing: -0.06em; font-weight: 700; }
.voet p { font-size: 18px; color: var(--as); max-width: 620px; margin-bottom: 24px; }
.voet-meta { text-align: right; font-size: 13px; color: var(--as); display: flex; flex-direction: column; gap: 6px; }
.voet-meta .disp { font-size: 20px; color: var(--creme); font-weight: 700; }

/* Modulepagina */
.mod-held { position: relative; overflow: hidden; background: var(--creme); padding: 72px var(--rand) 64px; border-bottom: 1px solid var(--inkt); }
.mod-held.oranje { background: var(--oranje); } .mod-held.cobalt { background: var(--cobalt); color: var(--creme); }
.mod-held.cobalt .eyebrow, .mod-held.cobalt .lead { color: var(--creme); }
.mod-held-tekst { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.mod-held h1 { margin: 0; font-size: clamp(40px, 6.5vw, 96px); line-height: 0.92; letter-spacing: -0.06em; font-weight: 700; }
.mod-held .lead { color: var(--koffie); }
.mod-held.oranje .lead { color: var(--inkt); }
.niveaus { display: flex; gap: 12px; flex-wrap: wrap; }
.niveau { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border: 1px solid currentColor; border-radius: 12px; min-width: 120px; font-size: 13px; }
.niveau .getal { font-size: 36px; } .niveau small { font-size: 16px; font-weight: 400; margin-left: 2px; }
.waarschuwing { margin: 32px var(--rand) 0; padding: 16px 20px; border: 1px solid var(--inkt); border-left: 6px solid var(--oranje); font-size: 15px; }
.schetsen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.schets { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.schets-kader { border: 1px solid var(--inkt); background: var(--creme); overflow: hidden; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.schets:hover .schets-kader { transform: translateY(-4px); }
.schets-kader svg { display: block; width: 100%; height: auto; }
.schets figcaption { font-size: 14px; color: var(--koffie); }
.lijst { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--inkt); }
.lijst li { padding: 14px 0 14px 36px; border-bottom: 1px solid var(--inkt); position: relative; font-size: 16px; }
.lijst li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); }
.lijst.rand li::before { background: var(--oranje); }
.rechten { width: 100%; border-collapse: collapse; border-top: 1px solid var(--inkt); }
.rechten td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--inkt); vertical-align: top; font-size: 16px; }
.rechten td:first-child { width: 140px; font-weight: 500; }
.velden { font-size: 16px; color: var(--koffie); line-height: 1.7; }
.mod-nav { margin: 72px var(--rand) 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Onthullen bij scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 30ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .zon-held, .zon-mod, .band-loop, .qr, .scanlijn { animation: none; }
  .riso.klaar span::before, .riso.klaar span::after { animation: none; opacity: 0; }
}

/* Kleine schermen */
@media (max-width: 900px) {
  :root { --rand: 20px; }
  .navlinks { display: none; }
  .held { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .zon-held { width: 300px; height: 300px; right: -120px; bottom: -120px; }
  .twee, .beloften, .stappen, .app, .kaarten, .rooster, .vier, .voet, .schetsen { grid-template-columns: 1fr; }
  .beloften, .stappen, .vier { margin-left: var(--rand); margin-right: var(--rand); }
  .blok.twee .label { margin-bottom: 4px; }
  .app-zij { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--inkt); padding: 8px; }
  .app-kop { flex-direction: column; align-items: flex-start; }
  .programma-kop { flex-direction: column; align-items: flex-start; }
  .zon-programma { width: 300px; height: 300px; }
  .voet-meta { text-align: left; }
  .lead, .sub { font-size: 18px; }
}
