/* De Verrader · stripboek-huisstijl (zelfde tokens als de app) */
@font-face { font-family: "Bangers"; src: url("/fonts/Bangers.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Comic Neue"; src: url("/fonts/ComicNeue-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Comic Neue"; src: url("/fonts/ComicNeue-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #111111;
  --paper: #FFF8E7;
  --yellow: #FFE14D;
  --red: #E8262C;
  --red-deep: #CC1A22;
  --cyan: #2BB3E8;
  --purple: #7B2FBF;
  --orange: #FF8A1F;
  --ghost: #E3DCCB;
  --muted: #4A4A4A;
  --border: 3px;
  --shadow: 5px 5px 0 var(--ink);
  --max: 1120px;
  --gutter: 16px;
  --bang: "Bangers", "Impact", sans-serif;
  --body: "Comic Neue", "Chalkboard SE", "Comic Sans MS", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(232, 38, 44, .16) 1.6px, transparent 1.9px);
  background-size: 8px 8px;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--red-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografie ---------- */
.bang { font-family: var(--bang); font-weight: 400; letter-spacing: .04em; }

/* Witte striptitel met dikke inktrand en harde schaduw */
.title {
  font-family: var(--bang);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .07em;
  color: #fff;
  -webkit-text-stroke: .1em var(--ink);
  paint-order: stroke fill;
  text-shadow: .08em .08em 0 var(--ink);
  margin: 0;
}

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--bang); font-weight: 400; letter-spacing: .07em; font-size: 18px;
  padding: 5px 12px; background: var(--yellow); color: var(--ink);
  border: var(--border) solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.tag--white { background: #fff; }
.blacktag {
  display: inline-block; font-family: var(--bang); font-weight: 400; letter-spacing: .06em; font-size: 16px;
  padding: 3px 9px; background: var(--ink); color: var(--yellow); transform: rotate(2.5deg);
}
.chip {
  display: inline-block; font-family: var(--bang); font-weight: 400; letter-spacing: .06em; font-size: 16px;
  padding: 2px 8px; background: var(--yellow); border: 2px solid var(--ink);
}

h2.section-title {
  font-family: var(--bang); font-weight: 400; letter-spacing: .05em;
  font-size: clamp(38px, 7vw, 64px); line-height: 1; margin: 0 0 8px;
}
.lead { font-size: clamp(18px, 2.4vw, 21px); max-width: 620px; margin: 0; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px;
  font-family: var(--bang); font-weight: 400; font-size: 26px; letter-spacing: .07em;
  text-decoration: none; color: #fff; background: var(--red-deep);
  border: var(--border) solid var(--ink); border-radius: 6px; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: #fff; transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { color: var(--ink); }
.btn--dark { background: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { color: var(--ink); }
.btn[aria-disabled="true"], .btn[aria-disabled="true"]:hover { background: var(--ink); color: #fff; cursor: default; }
.btn svg { flex-shrink: 0; }

/* ---------- kop ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 231, .94); border-bottom: var(--border) solid var(--ink); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border: var(--border) solid var(--ink); border-radius: 10px; }
.brand span { font-family: var(--bang); font-weight: 400; font-size: 26px; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { font-family: var(--bang); font-weight: 400; font-size: 19px; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--red-deep); }
.nav .btn { min-height: 44px; font-size: 19px; padding: 0 14px; box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ---------- panelen ---------- */
.panel { position: relative; border: var(--border) solid var(--ink); overflow: hidden; }
.dots-red { background-image: radial-gradient(circle, rgba(232, 38, 44, .35) 2px, transparent 2.4px); background-size: 8px 8px; }
.dots-white { background-image: radial-gradient(circle, rgba(255, 255, 255, .42) 2.2px, transparent 2.6px); background-size: 9px 9px; }
.rays::before {
  content: ""; position: absolute; inset: -50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .22) 0 6deg, transparent 6deg 14deg);
}
.burst { position: absolute; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding: 26px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.cover {
  background-color: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  padding: clamp(28px, 6vw, 56px) clamp(16px, 4vw, 40px) clamp(48px, 8vw, 72px);
  text-align: center;
  isolation: isolate;
}
.cover .burst { inset: -8% -10%; z-index: -1; width: 120%; height: 116%; }
.cover .kicker { font-family: var(--bang); font-weight: 400; font-size: clamp(22px, 3vw, 30px); letter-spacing: .1em; background: #fff; border: var(--border) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 2px 14px; display: inline-block; transform: rotate(-3deg); }
.cover .title { font-size: clamp(70px, 15vw, 150px); transform: rotate(-4deg) skewX(-5deg); margin: 6px 0 14px; }
.cover .sub { display: inline-block; background: var(--ink); color: #fff; padding: 6px 12px; font-size: clamp(16px, 2.4vw, 20px); transform: rotate(1.5deg); }
.cover-wrap { position: relative; }
.cover-frame { position: absolute; inset: 0; border: var(--border) solid var(--ink); clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); pointer-events: none; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.hero-meta { margin-top: 14px; font-size: 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.hero-meta span::before { content: "★ "; color: var(--red-deep); }

.phone {
  position: relative; width: min(300px, 78vw); margin: 0 auto;
  border: 4px solid var(--ink); border-radius: 44px; background: var(--ink); padding: 9px;
  box-shadow: 10px 10px 0 var(--ink);
}
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 600 / 1304; object-fit: cover; }
.phone--tilt { transform: rotate(3deg); }
.bubble {
  position: absolute; z-index: 2; background: #fff; border: var(--border) solid var(--ink); border-radius: 50%;
  font-family: var(--bang); font-weight: 400; letter-spacing: .04em; text-align: center; line-height: 1;
  padding: 18px 16px; font-size: 22px;
}
.bubble::after {
  content: ""; position: absolute; width: 26px; height: 22px; background: #fff;
  border-right: var(--border) solid var(--ink); border-bottom: var(--border) solid var(--ink);
  bottom: -11px; right: 24px; transform: skewX(35deg) rotate(15deg);
}
.hero .bubble { top: -18px; left: -26px; transform: rotate(-6deg); max-width: 190px; }
@media (max-width: 520px) { .hero .bubble { left: -4px; font-size: 19px; } }

/* ---------- stappen ---------- */
section { padding: 56px 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 26px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: var(--border) solid var(--ink); box-shadow: var(--shadow); padding: 18px 16px 18px; position: relative; }
.step:nth-child(odd) { transform: rotate(-1deg); }
.step:nth-child(even) { transform: rotate(1deg); }
.step h3 { font-family: var(--bang); font-weight: 400; font-size: 28px; letter-spacing: .05em; margin: 10px 0 6px; line-height: 1; }
.step p { margin: 0; font-weight: 400; font-size: 17px; }
.num {
  width: 58px; height: 58px; display: grid; place-items: center; position: relative;
  font-family: var(--bang); font-weight: 400; font-size: 30px; color: #fff;
  -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
}
.num svg { position: absolute; inset: 0; z-index: 0; }
.num span { position: relative; z-index: 1; }

/* ---------- avond-tijdlijn ---------- */
.night { background: var(--ink); color: #fff; border-top: var(--border) solid var(--ink); border-bottom: var(--border) solid var(--ink); background-image: radial-gradient(circle, rgba(232, 38, 44, .32) 2px, transparent 2.4px); background-size: 8px 8px; }
.night .section-title { color: var(--yellow); }
.night .lead { color: #fff; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; background: #fff; color: var(--ink); border: var(--border) solid var(--ink); padding: 12px 16px; box-shadow: 4px 4px 0 var(--red); }
.timeline time { font-family: var(--bang); font-weight: 400; font-size: 30px; letter-spacing: .05em; }
.timeline strong { font-family: var(--bang); font-weight: 400; font-size: 24px; letter-spacing: .05em; display: block; line-height: 1.05; }
.timeline p { margin: 2px 0 0; font-weight: 400; font-size: 16px; }
.timeline .on { background: var(--yellow); }
.timeline .phone-use { font-family: var(--bang); font-weight: 400; font-size: 15px; letter-spacing: .05em; padding: 2px 8px; border: 2px solid var(--ink); white-space: nowrap; }
.timeline .on .phone-use { background: var(--red-deep); color: #fff; }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 70px 1fr; }
  .timeline time { font-size: 24px; }
  .timeline .phone-use { grid-column: 2; justify-self: start; }
}

/* ---------- schermen ---------- */
.screens { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--gutter) 34px; margin: 0 calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; }
.screens figure { flex: 0 0 auto; width: 236px; margin: 0; scroll-snap-align: center; }
.screens .phone { width: 236px; border-radius: 36px; padding: 7px; box-shadow: 7px 7px 0 var(--ink); }
.screens .phone img { border-radius: 28px; }
.screens figure:nth-child(odd) .phone { transform: rotate(-2deg); }
.screens figure:nth-child(even) .phone { transform: rotate(2deg); }
.screens figcaption { margin-top: 16px; text-align: center; }
.screens figcaption .chip { font-size: 18px; }

/* ---------- kenmerken ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 20px; border: var(--border) solid var(--ink); box-shadow: var(--shadow); }
.feature h3 { font-family: var(--bang); font-weight: 400; letter-spacing: .05em; font-size: 30px; margin: 0 0 6px; line-height: 1; }
.feature p { margin: 0; font-weight: 400; }
.f-yellow { background: var(--yellow); }
.f-cyan { background: var(--cyan); }
.f-white { background: #fff; }
.f-purple { background: var(--purple); color: #fff; }
.f-purple h3 { color: var(--yellow); }

/* ---------- vragen ---------- */
.faq { margin-top: 22px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: var(--border) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 52px 14px 16px; position: relative; font-family: var(--bang); font-weight: 400; font-size: 23px; letter-spacing: .05em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 30px; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { background: var(--yellow); border-bottom: var(--border) solid var(--ink); }
.faq details p { margin: 0; padding: 14px 16px; font-weight: 400; }

/* ---------- slot ---------- */
.final { text-align: center; background-color: var(--cyan); padding: 40px 16px 0; }
.final .title { font-size: clamp(48px, 10vw, 96px); transform: rotate(-3deg); }
.final p { margin: 18px auto 22px; max-width: 520px; }
.final .crew { margin: 28px auto 0; width: min(560px, 100%); }

/* ---------- voet ---------- */
.site-footer { border-top: var(--border) solid var(--ink); background: var(--yellow); padding: 26px 0 34px; margin-top: 56px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink); }
.site-footer small { font-size: 15px; }

/* ---------- tekstpagina's ---------- */
.doc { max-width: 760px; margin: 32px auto 0; background: #fff; border: var(--border) solid var(--ink); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); }
.doc h1 { font-family: var(--bang); font-weight: 400; letter-spacing: .05em; font-size: clamp(40px, 7vw, 60px); line-height: 1; margin: 0 0 6px; }
.doc h2 { font-family: var(--bang); font-weight: 400; letter-spacing: .05em; font-size: 28px; margin: 28px 0 6px; }
.doc p, .doc li { font-weight: 400; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

/* ---------- uitnodiging ---------- */
.invite { padding: 26px 0 0; }
.invite .cover .title { font-size: clamp(56px, 12vw, 110px); }
.invite-code { font-family: var(--bang); font-weight: 400; font-size: clamp(64px, 16vw, 120px); letter-spacing: .12em; line-height: 1; color: #fff; -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; text-shadow: .06em .06em 0 var(--ink); }
.invite-card { max-width: 620px; margin: -20px auto 0; position: relative; z-index: 2; background: #fff; border: var(--border) solid var(--ink); box-shadow: var(--shadow); padding: 22px; text-align: center; }
.invite-card .actions { display: grid; gap: 14px; margin-top: 18px; }
.status { display: inline-block; padding: 4px 12px; border: 2px solid var(--ink); font-family: var(--bang); font-weight: 400; letter-spacing: .05em; font-size: 20px; }
.status--open { background: var(--yellow); }
.status--started { background: var(--ghost); }
.status--missing { background: var(--red); color: #fff; }

/* ---------- binnenkomen ---------- */
.reveal { opacity: 0; transform: translateY(18px) rotate(var(--r, 0deg)); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.reveal.in { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
