/* ── Windensport · retro ski-poster ─────────────────────────────── */
@font-face {
  font-family: 'Alfa Slab One';
  src: url('alfa-slab-one.woff2') format('woff2');
  font-display: swap;
}

:root {
  --creme: #f6efdd;
  --creme-d: #ece1c6;
  --blauw: #1d3557;
  --blauw-d: #14263f;
  --oranje: #e76f51;
  --oranje-d: #d05a3d;
  --geel: #e9c46a;
  --teal: #2a9d8f;
  --rood: #c1443c;
  --display: 'Alfa Slab One', 'Arial Black', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--blauw);
  font-family: var(--body); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
/* width/height-attributen reserveren ruimte (geen layout-shift), maar de
   uiteindelijke hoogte bepaalt de CSS */
img[width][height] { height: auto; }
h2 {
  font-family: var(--display); font-weight: 400; color: var(--oranje);
  font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.1;
  margin: 0 0 .35em; letter-spacing: .01em; text-transform: uppercase;
}
.sec { padding: 3.2rem 1.1rem; max-width: 760px; margin: 0 auto; }
.sec-sub { color: var(--blauw); opacity: .75; margin: 0 0 1.6rem; font-size: .95rem; }

/* ── toegangspoort ── */
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background:
    linear-gradient(180deg, #17457a 0%, #1d3557 34%, #e76f51 72%, #e9c46a 100%);
  overflow: hidden;
}
.gate::before, .gate::after {  /* retro bergen */
  content: ''; position: absolute; bottom: -12vh; width: 90vw; height: 55vh;
  background: var(--blauw-d); opacity: .5;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.gate::before { left: -30vw; }
.gate::after { right: -35vw; height: 68vh; opacity: .35; }
.gate-inner { position: relative; z-index: 2; text-align: center; padding: 1.5rem; width: min(92vw, 420px); }
.wordmark h1 {
  font-family: var(--display); font-weight: 400; color: var(--creme);
  font-size: clamp(3.4rem, 17vw, 6rem); line-height: .88; margin: .3em 0 .1em;
  text-shadow: 4px 4px 0 var(--blauw-d), 8px 8px 0 rgba(0,0,0,.18);
  letter-spacing: .02em;
}
.wordmark-sun {
  display: block; width: 92px; height: 92px; margin: 0 auto; border-radius: 50%;
  background: repeating-linear-gradient(180deg, var(--geel) 0 12px, var(--oranje) 12px 24px);
  box-shadow: 0 0 0 6px rgba(246,239,221,.25);
}
.wordmark-sub { color: var(--creme); opacity: .85; font-size: .85rem; margin: 0 0 2rem; font-style: italic; }
#gate-form label { display: block; color: var(--creme); font-size: 1.35rem; font-weight: 700; margin-bottom: .7rem; }
#gate-name {
  width: 100%; font-size: 1.3rem; text-align: center; padding: .65rem .8rem;
  border: 4px solid var(--blauw-d); border-radius: 14px; background: var(--creme);
  color: var(--blauw); outline: none; font-family: inherit;
}
#gate-name:focus { border-color: var(--geel); }
#gate-form button {
  margin-top: .9rem; width: 100%; font-family: var(--display); font-size: 1.15rem;
  padding: .7rem; border: 0; border-radius: 14px; background: var(--blauw-d);
  color: var(--creme); cursor: pointer; letter-spacing: .04em;
}
#gate-form button:active { transform: translateY(2px); }
.gate-error { min-height: 2.4em; color: var(--creme); font-weight: 600; margin-top: .8rem; }
.gate-error.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }

/* ── topbar & sneeuw ── */
#snow { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.topbar {
  position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between;
  align-items: center; padding: .55rem 1rem; background: var(--blauw);
  border-bottom: 4px solid var(--oranje);
}
.topbar-mark { font-family: var(--display); color: var(--creme); font-size: 1.05rem; letter-spacing: .08em; }
.topbar-knoppen { display: flex; gap: .1rem; }
.snow-toggle { background: none; border: 0; font-size: 1.2rem; cursor: pointer; opacity: .9; }
.snow-toggle.off { filter: grayscale(1); opacity: .45; }

/* ── hero persoonlijk ── */
.sec-hero { padding-top: 2.2rem; }
.hero-card { position: relative; }
.hero-welkom { font-size: 1.05rem; font-weight: 700; color: var(--teal); margin: 0; }
.hero-foto {
  margin: .8rem 0 1.1rem; border: 6px solid var(--blauw); border-radius: 18px;
  overflow: hidden; box-shadow: 10px 10px 0 var(--oranje); position: relative;
}
.hero-foto img { width: 100%; max-height: 66vh; object-fit: cover; }
.persoon-award {
  display: inline-block; background: var(--geel); color: var(--blauw-d);
  font-weight: 800; padding: .2rem .7rem; border-radius: 999px; font-size: .85rem;
  margin-bottom: .5rem;
}
.bio { font-size: 1.03rem; }
.quotes { margin-top: 1.1rem; display: grid; gap: .6rem; }
.quote {
  background: #dcf3d0; border-radius: 14px 14px 14px 4px; padding: .6rem .85rem;
  max-width: 92%; box-shadow: 0 1px 2px rgba(0,0,0,.12); font-size: .98rem;
  position: relative;
}
.quote small { display: block; color: #5f7d55; margin-top: .15rem; font-size: .74rem; text-align: right; }

/* GEZOCHT-poster (Charles & Benjamin) */
.gezocht .hero-foto { box-shadow: 10px 10px 0 var(--rood); }
.gezocht .hero-foto img { filter: sepia(.55) contrast(1.05); }
.gezocht-stempel {
  position: absolute; top: 12%; left: 50%; z-index: 2;
  transform: translateX(-50%) rotate(-9deg);
  font-family: var(--display); font-size: clamp(2rem, 9vw, 3.2rem); color: var(--rood);
  border: 6px solid var(--rood); border-radius: 10px; padding: .05em .4em;
  background: rgba(246,239,221,.82); letter-spacing: .1em; text-transform: uppercase;
}
.gezocht-tekst {
  background: var(--creme-d); border: 3px dashed var(--rood); border-radius: 12px;
  padding: .8rem 1rem; font-size: .95rem; margin-top: 1rem;
}
.quote-leeg { opacity: .75; font-style: italic; }

/* ── datumprikker ── */
.sec-prikker {
  background: var(--blauw); color: var(--creme); max-width: none;
}
.sec-prikker > .inner { max-width: 760px; margin: 0 auto; }
.sec-prikker h2 { color: var(--geel); }
.prikker-status { font-size: .9rem; min-height: 1.4em; opacity: .85; }
.prikker-tabel-wrap { overflow-x: auto; margin: 1rem -1.1rem 0; padding: 0 1.1rem; }
table.prikker { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .86rem; }
.prikker th, .prikker td { padding: .42rem .3rem; text-align: center; }
.prikker thead th {
  font-family: var(--display); font-weight: 400; font-size: .72rem; color: var(--geel);
  letter-spacing: .03em;
}
.prikker tbody tr { border-top: 1px solid rgba(246,239,221,.15); }
.prikker td.week {
  text-align: left; white-space: nowrap; font-weight: 700; font-size: .88rem;
  position: sticky; left: 0; background: var(--blauw); z-index: 2;
}
.prikker td.week .hint { cursor: help; margin-left: .2rem; }
.prikker .cel { font-size: 1.05rem; opacity: .95; }
.prikker .cel.leeg { opacity: .28; }
.prikker td.score { font-weight: 800; color: var(--geel); white-space: nowrap; }
.prikker tr.winner { background: rgba(233,196,106,.14); }
.prikker tr.winner td.week { background: #2a4568; border-radius: 8px 0 0 8px; }
.mijn-keuze {
  display: inline-flex; border: 2px solid rgba(246,239,221,.4); border-radius: 999px;
  overflow: hidden; vertical-align: middle;
}
.mijn-keuze button {
  border: 0; background: transparent; font-size: 1.02rem; padding: .3rem .45rem;
  cursor: pointer; opacity: .35; transition: opacity .15s, background .15s;
}
.mijn-keuze button.actief { opacity: 1; background: rgba(246,239,221,.22); }
.prikker-legenda { font-size: .8rem; opacity: .8; margin-top: .9rem; }
.prikker-fout { color: var(--geel); font-weight: 700; }

/* ── crew ── */
.crew-kaart { margin-bottom: 3.4rem; }
.crew-kaart h3 {
  font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin: 0;
  color: var(--blauw);
}
.crew-foto {
  border: 5px solid var(--blauw); border-radius: 14px; overflow: hidden;
  box-shadow: 7px 7px 0 var(--teal); margin: .7rem 0 .9rem; position: relative;
}
.crew-kaart:nth-child(odd) .crew-foto { box-shadow: 7px 7px 0 var(--oranje); }
.crew-foto img { width: 100%; max-height: 54vh; object-fit: cover; }
.galerij { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: .8rem; }
.galerij img {
  aspect-ratio: 1; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid var(--blauw);
}

/* ── awards ── */
.sec-awards { background: var(--creme-d); max-width: none; }
.sec-awards > .inner { max-width: 760px; margin: 0 auto; }
.awards-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 560px) { .awards-grid { grid-template-columns: 1fr 1fr; } }
.award-kaart {
  background: var(--creme); border: 3px solid var(--blauw); border-radius: 14px;
  padding: .9rem 1rem; box-shadow: 5px 5px 0 var(--geel); position: relative;
}
.award-kaart .icoon { font-size: 1.9rem; }
.award-kaart h3 { margin: .2rem 0 0; font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--oranje); }
.award-kaart .def { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; opacity: .65; }
.award-kaart .winnaar { font-weight: 800; font-size: 1.05rem; margin: .35rem 0 .1rem; }
.award-kaart .winnaar span { color: var(--teal); }
.award-kaart p.toel { font-size: .88rem; margin: .25rem 0 0; }
.stats-blok { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 560px) { .stats-blok { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--blauw); color: var(--creme); border-radius: 12px; padding: .8rem .6rem;
  text-align: center;
}
.stat .n { font-family: var(--display); font-size: 1.5rem; color: var(--geel); display: block; line-height: 1.1; }
.stat .t { font-size: .74rem; opacity: .85; }
.drukste { margin-top: 1rem; background: var(--creme); border-left: 6px solid var(--oranje); padding: .8rem 1rem; border-radius: 0 12px 12px 0; font-size: .95rem; }

/* ── quiz ── */
.quiz-voortgang { font-size: .85rem; opacity: .7; margin-bottom: .6rem; }
.quiz-bubbel {
  background: #dcf3d0; border-radius: 16px 16px 16px 4px; padding: 1rem 1.2rem;
  font-size: 1.12rem; box-shadow: 0 1px 3px rgba(0,0,0,.15); margin-bottom: 1.2rem;
}
.quiz-bubbel small { display: block; text-align: right; color: #5f7d55; font-size: .72rem; margin-top: .3rem; }
.quiz-opties { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
.quiz-opties button {
  font-size: 1.05rem; font-weight: 700; font-family: inherit; padding: .7rem;
  border-radius: 12px; border: 3px solid var(--blauw); background: var(--creme);
  color: var(--blauw); cursor: pointer;
}
.quiz-opties button.goed { background: var(--teal); border-color: var(--teal); color: #fff; }
.quiz-opties button.fout { background: var(--rood); border-color: var(--rood); color: #fff; }
.quiz-opties button:disabled { cursor: default; }
.quiz-feedback { min-height: 1.6em; font-weight: 700; margin-top: .8rem; }
.quiz-volgende, .quiz-opnieuw {
  margin-top: .6rem; font-family: var(--display); font-size: 1rem; padding: .6rem 1.3rem;
  border-radius: 12px; border: 0; background: var(--oranje); color: #fff; cursor: pointer;
}
.quiz-eind { text-align: center; padding: 1.5rem 0; }
.quiz-eind .score { font-family: var(--display); font-size: 3rem; color: var(--oranje); display: block; }
.quiz-eind .titel { font-size: 1.4rem; font-weight: 800; margin: .4rem 0 1rem; }

/* ── sfeer ── */
.sfeer-masonry { columns: 2 160px; column-gap: 8px; margin-top: 1rem; }
@media (min-width: 560px) { .sfeer-masonry { columns: 3 180px; } }
.sfeer-masonry img {
  width: 100%; border-radius: 10px; margin-bottom: 8px; cursor: pointer;
  border: 2px solid var(--blauw);
}
.anekdotes { margin: 2rem 0; display: grid; gap: .9rem; }
.anekdote { background: #fff9ec; border: 3px solid var(--geel); border-radius: 14px; padding: .9rem 1.1rem; }
.anekdote h3 { margin: 0 0 .3rem; color: var(--oranje-d); font-size: 1.05rem; }
.anekdote p { margin: 0; font-size: .95rem; }
.video-strook { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 560px) { .video-strook { grid-template-columns: 1fr 1fr; } }
.video-strook figure { margin: 0; }
.video-strook video { width: 100%; border-radius: 12px; border: 3px solid var(--blauw); background: #000; }
.video-strook figcaption { font-size: .82rem; margin-top: .25rem; opacity: .8; }
.video-quote {
  margin: 1rem 0 0; padding: 0;
  font-family: var(--display); font-size: clamp(1.4rem, 5.5vw, 2rem);
  line-height: 1.15; color: var(--oranje); text-transform: uppercase;
}
.video-quote cite {
  display: block; margin-top: .4rem;
  font-family: var(--body); font-style: normal; font-size: .9rem;
  text-transform: none; color: var(--blauw); opacity: .75;
}
.gif-strook { display: flex; gap: 8px; overflow-x: auto; margin-top: 1rem; padding-bottom: .4rem; }
.gif-strook video { height: 130px; border-radius: 10px; border: 2px solid var(--blauw); }
h3.sfeer-kop { font-family: var(--display); font-weight: 400; color: var(--blauw); font-size: 1.25rem; margin: 2.2rem 0 .2rem; }

/* ── game ── */
.sec-game { padding-top: 0; }
.game-kaart {
  background: linear-gradient(160deg, var(--blauw) 0%, var(--blauw-d) 100%);
  color: var(--creme); border-radius: 18px; padding: 1.6rem 1.4rem;
  border: 4px solid var(--oranje); box-shadow: 10px 10px 0 var(--geel);
  text-align: center;
}
.game-kaart h2 { color: var(--geel); }
.game-pitch { font-size: .98rem; opacity: .92; }
.game-jij { color: var(--creme); font-size: 1.05rem; }
.game-jij strong { color: var(--geel); }
.game-knop {
  display: inline-block; font-family: var(--display); font-size: 1.15rem;
  background: var(--oranje); color: #fff; text-decoration: none;
  padding: .8rem 1.5rem; border-radius: 14px; margin: .6rem 0 .4rem;
  box-shadow: 0 4px 0 var(--oranje-d);
}
.game-knop:active { transform: translateY(3px); box-shadow: none; }
.game-credits { font-size: .78rem; opacity: .6; margin-bottom: 0; }

/* ── huisjesjacht ── */
.sec-huisjes { background: var(--creme-d); max-width: none; }
.sec-huisjes > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.huisjes-week { font-size: .95rem; }
.peildatum { display: block; font-size: .78rem; opacity: .65; }
.tier { margin-top: 1.6rem; }
.tier-kop { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .6rem; }
.tier-label {
  font-family: var(--display); font-size: 1.25rem; color: var(--blauw);
  text-transform: uppercase; letter-spacing: .03em;
}
.tier-fanclub { font-size: .88rem; font-style: italic; opacity: .8; }
.huisje {
  background: var(--creme); border: 3px solid var(--blauw); border-radius: 16px;
  padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.tier-budget .huisje { box-shadow: 6px 6px 0 var(--teal); }
.tier-midden .huisje { box-shadow: 6px 6px 0 var(--geel); }
.tier-luxe .huisje { box-shadow: 6px 6px 0 var(--oranje); }
.huisje-kop h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--oranje-d); }
.huisje-prijs { font-weight: 800; font-size: 1.15rem; margin-top: .15rem; }
.huisje-prijs small { font-weight: 500; opacity: .65; font-size: .78rem; }
.huisje-feiten { margin: .5rem 0; padding-left: 1.1rem; font-size: .88rem; }
.huisje-feiten li { margin: .1rem 0; }
.huisje-blurb { font-size: .93rem; background: #fff9ec; border-radius: 10px; padding: .55rem .75rem; }
.huisje-acties { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
.huisje-link {
  background: var(--blauw); color: var(--creme); text-decoration: none; font-weight: 700;
  padding: .5rem .9rem; border-radius: 10px; font-size: .9rem;
}
.huisje-stem {
  font-family: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  border: 2px solid var(--teal); background: transparent; color: var(--blauw);
  padding: .5rem .9rem; border-radius: 10px;
}
.huisje-stem.gestemd { background: var(--teal); color: #fff; }
.huisje-stemmers { margin-top: .5rem; font-size: .8rem; }
.stemmer {
  display: inline-block; background: var(--teal); color: #fff; border-radius: 999px;
  padding: .05rem .55rem; margin-right: .3rem; font-weight: 700;
}
.stemmers.leeg { opacity: .5; font-style: italic; }
.comments { margin-top: .7rem; border-top: 2px dashed rgba(29,53,87,.2); padding-top: .6rem; }
.pcomments { margin-top: 1rem; }
.comment {
  background: #dcf3d0; border-radius: 12px 12px 12px 4px; padding: .4rem .7rem;
  font-size: .9rem; margin-bottom: .4rem; max-width: 95%;
}
.comment strong { color: var(--teal); margin-right: .3rem; }
.comment-form { display: flex; gap: .4rem; margin-top: .5rem; }
.comment-form input {
  flex: 1; border: 2px solid var(--blauw); border-radius: 999px; padding: .45rem .9rem;
  font-family: inherit; font-size: .92rem; background: #fff; color: var(--blauw);
}
.comment-form button {
  border: 0; background: var(--teal); color: #fff; border-radius: 50%;
  width: 2.3rem; height: 2.3rem; font-size: 1rem; cursor: pointer;
}

/* ── footer & fab ── */
.footer { background: var(--blauw-d); color: var(--creme); text-align: center; padding: 2.5rem 1rem 5.5rem; }
.linkbtn { background: none; border: 0; color: var(--geel); text-decoration: underline; cursor: pointer; font-size: .95rem; }
.footer-meta { font-size: .8rem; opacity: .7; }
.audio-egg { display: inline-flex; flex-direction: column; gap: .3rem; align-items: center; font-size: .85rem; }
.fab-stapel {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 70;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-end;
}
.fab {
  background: var(--oranje); color: #fff; text-decoration: none; font-weight: 800;
  padding: .7rem 1.1rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  font-size: .95rem;
}
.fab-game { background: var(--teal); }
.fab:active { transform: scale(.96); }

/* ── chatcontext-modal (WhatsApp-look) ── */
.quote.klikbaar { cursor: pointer; transition: transform .12s; }
.quote.klikbaar:active { transform: scale(.98); }
.chat-modal {
  border: 0; padding: 0; border-radius: 16px; overflow: hidden;
  width: min(94vw, 430px); max-height: 78vh;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.chat-modal::backdrop { background: rgba(20,26,40,.65); }
.chat-kop {
  display: flex; align-items: center; gap: .6rem;
  background: #075e54; color: #fff; padding: .6rem .8rem;
  position: sticky; top: 0;
}
.chat-terug { font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }
.chat-avatar {
  background: var(--geel); border-radius: 50%; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; font-size: 1.1rem;
}
.chat-titel { display: flex; flex-direction: column; line-height: 1.25; }
.chat-titel small { opacity: .8; font-size: .72rem; }
.chat-body {
  background: #e5ddd5; padding: .9rem .7rem; overflow-y: auto;
  max-height: calc(78vh - 3.4rem); display: flex; flex-direction: column; gap: .35rem;
}
.wa-bubbel {
  background: #fff; border-radius: 8px; padding: .35rem .6rem .3rem;
  max-width: 88%; align-self: flex-start; box-shadow: 0 1px 1px rgba(0,0,0,.12);
  font-size: .92rem; line-height: 1.35; color: #111;
}
.wa-anchor {
  background: #dcf8c6; outline: 2px solid var(--oranje); outline-offset: 1px;
}
.wa-naam { display: block; font-size: .74rem; font-weight: 700; }
.wa-tekst { word-break: break-word; }
.wa-tijd { display: inline-block; font-size: .64rem; color: #667; margin-left: .5rem; float: right; margin-top: .45rem; }

/* ── lightbox ── */
.lightbox { border: 0; background: rgba(20, 26, 40, .96); padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lb-close, .lb-nav {
  position: fixed; background: rgba(246,239,221,.14); color: var(--creme); border: 0;
  font-size: 1.5rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; cursor: pointer; z-index: 2;
}
.lb-close { top: .8rem; right: .8rem; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: .5rem; } .lb-next { right: .5rem; }

/* ── toast (foutmeldingen) ── */
#toast {
  position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px);
  background: var(--blauw-d); color: var(--creme); padding: .7rem 1.1rem;
  border-radius: 12px; font-size: .9rem; max-width: 88vw; z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); border-left: 5px solid var(--rood);
}
#toast.zichtbaar { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate-error.shake { animation: none; }
}
