@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-wdth.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}

:root {
  --creme: #f3ecdf;
  --creme-2: #ebe1cf;
  --rood: #e8361f;
  --rood-donker: #a61f10;
  --inkt: #161616;
  --wit: #ffffff;
  --font: "Bricolage", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--inkt);
  font-family: var(--font);
  font-size: 18px; /* lekker leesbaar, ook zonder leesbril */
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rood-donker); }
button { font: inherit; }

.top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 0;
  max-width: 1280px; margin: 0 auto;
}
.merk { font-weight: 800; font-stretch: 75%; font-size: 1.05rem; color: var(--rood); letter-spacing: -.01em; }
.locatie {
  background: var(--wit); color: var(--inkt); border: 3px solid var(--inkt); border-radius: 99px;
  padding: 5px 14px; font-weight: 700; font-size: .9rem; cursor: pointer;
  box-shadow: 3px 3px 0 var(--inkt);
  max-width: 56vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.locatie:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--inkt); }

/* ---------- HERO ---------- */
.hero {
  max-width: 1280px; margin: 0 auto; padding: 0 16px 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.datum { margin: 8px 0 0; font-weight: 600; font-size: .95rem; color: var(--rood-donker); }
.datum::first-letter { text-transform: uppercase; }
.vraag {
  margin: 2px 0 0; max-width: 16ch;
  font-weight: 800; font-stretch: 75%; font-size: clamp(1.8rem, 7.4vw, 3.2rem); line-height: .98;
  letter-spacing: -.015em; color: var(--rood); text-wrap: balance;
}

.buhne { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
.antwoord {
  margin: 10px 0 0; position: relative; z-index: 0;
  font-weight: 800; font-stretch: 75%; line-height: .8; letter-spacing: -.04em;
  font-size: min(46vw, 18rem); color: var(--rood);
}
.laden .antwoord { animation: puls 1s ease-in-out infinite alternate; }
@keyframes puls { to { opacity: .3; } }

.figuur { position: relative; z-index: 1; width: min(60vw, 42svh, 380px); margin-top: -20vw; }
.boomer { display: block; width: 100%; height: auto; overflow: visible; }
.boomer .w, .boomer .t { display: none; }
.nee .boomer .z { display: none; }
.nee .boomer .w { display: inline; }
.twijfel .boomer .t { display: inline; }
.nee .boomer .wb { transform: translateY(-4px) rotate(0); }
.twijfel .boomer .mond { d: path("M184 210c10 4 22 4 32 0Z"); }
.nee .figuur { animation: bibber .12s linear infinite alternate; }
@keyframes bibber { from { transform: translateX(-1.5px); } to { transform: translateX(1.5px); } }

.deco { position: absolute; z-index: 0; width: 28%; display: none; }
.zon { top: 0; right: -20%; animation: draai 18s linear infinite; }
.wolk { top: 0; left: -34%; width: 40%; }
.ja .zon, .twijfel .zon { display: block; }
.nee .wolk { display: block; }
@keyframes draai { to { transform: rotate(360deg); } }

.sub {
  margin: 8px 0 0; max-width: 18ch;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase;
  font-size: clamp(1.9rem, 8.5vw, 3.4rem); line-height: .95; letter-spacing: -.01em;
  color: var(--inkt); text-wrap: balance;
}

.stats {
  list-style: none; padding: 0; margin: 26px 0 0; width: 100%; max-width: 760px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.stats li {
  background: var(--wit); border: 3px solid var(--inkt); border-radius: 18px;
  padding: 8px 4px 6px; box-shadow: 3px 3px 0 var(--inkt); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center;
}
.stat__label { font-weight: 700; font-size: .78rem; line-height: 1.2; color: var(--rood-donker); white-space: nowrap; }
.stat__waarde { font-weight: 800; font-stretch: 75%; font-size: 1.75rem; line-height: 1.05; white-space: nowrap; }
.stat__waarde small { font-size: .5em; font-stretch: 85%; margin-left: 1px; }

.acties { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; width: 100%; }
.knop {
  appearance: none; cursor: pointer; text-decoration: none;
  background: var(--rood); color: var(--wit);
  border: 3px solid var(--inkt); border-radius: 99px;
  font-weight: 800; font-size: 1.15rem; padding: 14px 26px; min-height: 56px;
  box-shadow: 4px 4px 0 var(--inkt);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1 1 200px; max-width: 320px;
}
.knop:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--inkt); }
.knop--wit { background: var(--wit); color: var(--inkt); }

/* ---------- ONDER ---------- */
.onder { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; display: grid; gap: 16px; }
.grap {
  margin: 8px 0; text-align: center;
  font-weight: 700; font-stretch: 85%; font-size: clamp(1.3rem, 5vw, 1.7rem); line-height: 1.25;
  color: var(--rood-donker); text-wrap: balance;
}
.blok {
  background: var(--wit); border: 3px solid var(--inkt); border-radius: 22px; padding: 20px;
}
.blok h2 { margin: 0 0 8px; font-weight: 800; font-stretch: 75%; font-size: 1.6rem; line-height: 1.1; color: var(--rood); }
.blok p { margin: 0 0 10px; }
.morgen { background: var(--rood); color: var(--wit); }
.morgen h2 { color: var(--wit); }
.morgen__antwoord { font-weight: 800; font-stretch: 75%; font-size: 3.4rem; line-height: 1; margin: 0 0 4px !important; }
.regels { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.regels li { padding-left: 30px; position: relative; }
.regels li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--rood); border: 3px solid var(--inkt);
}
.faq details { border-top: 2px solid var(--creme-2); padding: 12px 0; }
.faq details:first-of-type { border-top: 0; padding-top: 2px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rood); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; }

.slot { display: none; }
.dev .slot {
  display: flex; align-items: center; justify-content: center; min-height: 110px;
  border: 3px dashed #c9bda6; border-radius: 18px; color: #9b8f78; font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
}

.voet { text-align: center; padding: 20px 16px calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; color: #6d6456; }
.voet p { margin: 4px 0; }
.voet .klein { font-size: .8rem; }

/* ---------- DESKTOP: antwoord links, meneer in het midden, tekst rechts ---------- */
@media (min-width: 900px) {
  .hero { padding-top: 0; }
  .vraag { max-width: none; font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
  .buhne {
    display: grid; grid-template-columns: 1fr minmax(300px, 400px) 1fr; align-items: center;
    gap: 24px; margin-top: 8px;
  }
  .antwoord { grid-column: 1; grid-row: 1; margin: 0; text-align: right; font-size: min(17vw, 16rem, 34vh); }
  .figuur { grid-column: 2; grid-row: 1; width: 100%; margin: 0; max-height: 62vh; }
  .zon { right: -12%; }
  .wolk { left: -18%; width: 36%; }
  .boomer { max-height: 62vh; margin: 0 auto; }
  .sub { grid-column: 3; grid-row: 1; margin: 0; text-align: left; font-size: clamp(2.2rem, 4.2vw, 4.4rem); }
  .stats { gap: 14px; margin-top: 18px; }
  .stats li { padding: 12px 10px 10px; border-radius: 18px; box-shadow: 4px 4px 0 var(--inkt); }
  .stat__label { font-size: .95rem; }
  .stat__waarde { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .zon, .nee .figuur { animation: none; }
}

/* ?og=1 — alleen gebruikt om og.png te maken */
.og .locatie, .og .stats, .og .acties, .og .datum { display: none; }
.og .hero { padding-top: 24px; }
.og .onder { display: none; }
