/* ============================================================
   HARRIE HANDEL — foute handelaars-esthetiek, met opzet.
   Ontwerp & code: Jim van Kooten · juli 2026 · JvK-2026-HH
   Geel, rood, zwart. Stickers, sterbursts, geknipper.
   Retro is een stijl, geen excuus: mobiel en snelheid gewoon goed.
   ============================================================ */

:root {
  --geel: #ffd600;
  --rood: #e30613;
  --zwart: #111111;
  --wit: #ffffff;
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: Verdana, Geneva, sans-serif; /* FrontPage 2004-authentiek */
  --font-sticker: 'Comic Neue', 'Comic Sans MS', cursive;

  --schaduw-fout: 4px 4px 0 var(--zwart);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--zwart);
  background: var(--geel);
  /* subtiel diagonaal streepje, alsof er behang onder zit */
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 40px,
    rgba(0, 0, 0, 0.025) 40px 80px
  );
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* ===== KOPPEN ===== */
.kop {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 1rem;
  color: var(--rood);
  text-shadow: 3px 3px 0 var(--zwart);
  -webkit-text-stroke: 1px var(--zwart);
}
.kop--wit { color: var(--wit); }
.kop--geel { color: var(--geel); }
.kop__klein {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--zwart);
  text-shadow: none;
  -webkit-text-stroke: 0;
}
/* bewust foutje: dubbele dubbele punt, laten staan */
.kop__dubbel { color: var(--zwart); }

/* ===== KNOPPEN ===== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.7em 1.4em;
  border: 3px solid var(--zwart);
  box-shadow: var(--schaduw-fout);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--zwart);
}
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--zwart);
}
.btn--bel { background: var(--rood); color: var(--wit); }
.btn--app { background: #25d366; color: var(--zwart); }
.btn--klein { font-size: 1rem; padding: 0.5em 1em; }
.btn--groot { font-size: clamp(1.4rem, 4vw, 2rem); }

/* ===== STICKERS ===== */
.sticker {
  font-family: var(--font-sticker);
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}
.sticker--burst {
  position: absolute;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  background: var(--rood);
  color: var(--geel);
  font-size: 0.95rem;
  clip-path: polygon(
    50% 0%, 61% 12%, 76% 6%, 79% 22%, 95% 24%, 89% 39%,
    100% 50%, 89% 61%, 95% 76%, 79% 78%, 76% 94%, 61% 88%,
    50% 100%, 39% 88%, 24% 94%, 21% 78%, 5% 76%, 11% 61%,
    0% 50%, 11% 39%, 5% 24%, 21% 22%, 24% 6%, 39% 12%
  );
  transform: rotate(-12deg);
  animation: wiebel 2.4s ease-in-out infinite;
}
@keyframes wiebel {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.06); }
}
.sticker--prijs {
  position: absolute;
  top: -14px;
  right: -10px;
  background: var(--geel);
  color: var(--rood);
  border: 3px dashed var(--rood);
  padding: 0.3em 0.7em;
  font-size: 1.05rem;
  transform: rotate(6deg);
  box-shadow: var(--schaduw-fout);
}

/* ===== NIEUWSTICKER (marquee) ===== */
.ticker {
  background: var(--zwart);
  color: var(--geel);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid var(--rood);
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.5em 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.ticker__inner {
  display: inline-block;
  padding-left: 100vw;
  animation: ticker-loop 70s linear infinite;
}
.ticker__inner span { margin-right: 4em; }
.ticker__inner span::before { content: "★ "; color: var(--rood); }
@keyframes ticker-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1rem 3rem;
}
.hero__foto-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.hero__foto {
  width: clamp(200px, 40vw, 320px);
  border-radius: 50%;
  border: 8px solid var(--wit);
  box-shadow: 6px 6px 0 var(--zwart);
  cursor: pointer;
  background: var(--wit);
}
.hero__burst {
  right: -60px;
  bottom: -10px;
}
.hero__naam {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.95;
  margin: 0;
  color: var(--rood);
  text-shadow: 5px 5px 0 var(--zwart);
  -webkit-text-stroke: 2px var(--zwart);
}
.hero__sub {
  font-style: italic;
  margin: 0.4em 0 0;
  font-size: 0.95rem;
}
.hero__tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin: 0.8em auto 1.2em;
  max-width: 34ch;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== DIENSTEN ===== */
.diensten {
  padding: 3rem 1rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.diensten__intro {
  text-align: center;
  max-width: 55ch;
  margin: 0 auto 2.5rem;
}
.diensten__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem 1.5rem;
}
.kaart {
  position: relative;
  background: var(--wit);
  border: 3px solid var(--zwart);
  box-shadow: var(--schaduw-fout);
  padding: 1.5rem 1.2rem 1.4rem;
  transform: rotate(-0.4deg);
}
.kaart:nth-child(even) { transform: rotate(0.5deg); }
.kaart h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  color: var(--rood);
}
.kaart p { margin: 0 0 1.2em; font-size: 0.92rem; }
/* bewust: één kaartje in een ander lettertype, dat hoort zo */
.kaart--comic p { font-family: var(--font-sticker); font-size: 1rem; }

/* ===== BELOFTE ===== */
.belofte {
  background: var(--rood);
  color: var(--wit);
  padding: 3rem 1rem 3.5rem;
  border-top: 6px solid var(--zwart);
  border-bottom: 6px solid var(--zwart);
}
.belofte__lijst {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 620px;
  display: grid;
  gap: 1rem;
}
.belofte__lijst li {
  background: rgba(0, 0, 0, 0.25);
  border: 2px dashed var(--geel);
  padding: 0.8em 1.2em;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
}

/* ===== STRIPVERHAAL ===== */
.strip {
  padding: 3.5rem 1rem 4rem;
  text-align: center;
}
.strip__sub {
  font-style: italic;
  margin: 0 auto 2rem;
  max-width: 50ch;
}
.strip__link {
  display: inline-block;
  max-width: 1000px;
}
.strip__img {
  display: block;
  height: auto;
  background: var(--wit);
  border: 4px solid var(--zwart);
  box-shadow: 8px 8px 0 var(--zwart);
  transform: rotate(-0.4deg);
}

/* ===== WHATSAPP-SIMULATOR (component aangeleverd door Jim) ===== */
.wasim {
  padding: 3.5rem 1rem 4rem;
}
.hh-sim {
  --wa-bg: #0b141a;            /* WhatsApp dark chat achtergrond */
  --wa-bubble-in: #202c33;     /* inkomend (Harrie) */
  --wa-bubble-out: #005c4b;    /* uitgaand (bezoeker) */
  --wa-text: #e9edef;
  --wa-text-muted: #8696a0;
  --wa-header: #202c33;
  --wa-accent: #00a884;
  --wa-online: #8696a0;
  --wa-radius: 8px;
  --wa-font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
.hh-sim * { box-sizing: border-box; margin: 0; padding: 0; }
.hh-sim {
  font-family: var(--wa-font);
  max-width: 420px;
  width: 100%;
  margin: 2rem auto 0;
  background: var(--wa-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--zwart);
  display: flex;
  flex-direction: column;
  height: 640px;
}
.hh-header {
  background: var(--wa-header);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  flex-shrink: 0;
}
.hh-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #d4a04a;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hh-header-info { flex: 1; min-width: 0; }
.hh-header-name { color: var(--wa-text); font-size: 16px; font-weight: 500; }
.hh-header-status { color: var(--wa-online); font-size: 13px; }
.hh-header-status.typing { color: var(--wa-accent); }
.hh-chat {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.015) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.015) 0%, transparent 50%);
}
.hh-daystamp {
  align-self: center;
  background: #182229;
  color: var(--wa-text-muted);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--wa-radius);
  margin: 8px 0;
}
.hh-msg {
  max-width: 78%;
  padding: 6px 9px 7px 9px;
  border-radius: var(--wa-radius);
  color: var(--wa-text);
  font-size: 14.5px;
  line-height: 1.35;
  position: relative;
  animation: hh-pop 180ms ease-out;
  word-wrap: break-word;
}
@keyframes hh-pop {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hh-msg.in  { background: var(--wa-bubble-in); align-self: flex-start; border-top-left-radius: 2px; }
.hh-msg.out { background: var(--wa-bubble-out); align-self: flex-end; border-top-right-radius: 2px; }
.hh-msg .hh-time {
  font-size: 11px;
  color: var(--wa-text-muted);
  float: right;
  margin: 6px 0 0 8px;
}
.hh-msg.out .hh-time::after { content: " ✓✓"; color: #53bdeb; }
.hh-typing {
  background: var(--wa-bubble-in);
  align-self: flex-start;
  border-radius: var(--wa-radius);
  border-top-left-radius: 2px;
  padding: 12px 14px;
  display: flex;
  gap: 4px;
  animation: hh-pop 180ms ease-out;
}
.hh-typing span {
  width: 7px; height: 7px;
  background: var(--wa-text-muted);
  border-radius: 50%;
  animation: hh-bounce 1.2s infinite;
}
.hh-typing span:nth-child(2) { animation-delay: 0.15s; }
.hh-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes hh-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.hh-choices {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--wa-header);
  flex-shrink: 0;
}
.hh-choices-label {
  color: var(--wa-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hh-choice {
  background: var(--wa-accent);
  border: 1px solid var(--wa-accent);
  color: #0b141a;
  font-weight: 600;
  font-family: var(--wa-font);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease, color 200ms ease;
}
.hh-choice:hover, .hh-choice:focus-visible {
  filter: brightness(1.12);
  outline: none;
}
/* na het openingssalvo pulseert de eerste knop even: kom maar op met die vraag */
.hh-sim.nudge .hh-choice:first-of-type {
  animation: hh-nudge 1.6s ease-in-out infinite;
}
@keyframes hh-nudge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); box-shadow: 0 0 0 4px rgba(0,168,132,0.25); }
}
.hh-choice:disabled { opacity: 0.35; cursor: default; }
.hh-choice:disabled:hover { background: transparent; color: var(--wa-accent); }
.hh-cta {
  background: var(--wa-accent);
  border: none;
  color: #0b141a;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: none;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 20px;
}
.hh-cta.visible { display: block; animation: hh-pop 200ms ease-out; }
@media (max-width: 440px) {
  .hh-sim { height: 78svh; min-height: 520px; border-radius: 0; }
}

/* ===== SPEL: HARRIE HAPT ALLES (component aangeleverd door Jim) =====
   Tokens bewust op .hh-game gescoped: het spel-rood (#e53935) mag het
   site-rood (--rood in :root) niet overschrijven. */
.spel {
  padding: 3.5rem 1rem 4rem;
}
.spel__sub {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 46ch;
}
.hh-game {
  --hg-bg: #0b141a;
  --hg-panel: #202c33;
  --hg-geel: #ffd600;
  --hg-rood: #e53935;
  --hg-text: #e9edef;
  --hg-muted: #8696a0;
  --hg-font: -apple-system, "Segoe UI", Roboto, sans-serif;
}
.hh-game * { box-sizing: border-box; margin: 0; padding: 0; }
.hh-game {
  font-family: var(--hg-font);
  max-width: 420px;
  margin: 0 auto;
  background: var(--hg-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--zwart);
  user-select: none;
  -webkit-user-select: none;
}
.hh-game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--hg-panel);
}
.hh-game-title { color: var(--hg-geel); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; }
.hh-game-score { color: var(--hg-text); font-size: 14px; }
.hh-game-score b { color: var(--hg-geel); }
.hh-canvas-wrap { position: relative; }
.hh-game canvas { display: block; width: 100%; touch-action: none; background: var(--hg-bg); }
.hh-overlay {
  position: absolute; inset: 0;
  background: rgba(11,20,26,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 12px;
}
.hh-overlay.hidden { display: none; }
.hh-overlay h2 { color: var(--hg-geel); font-size: 22px; font-weight: 800; }
.hh-overlay p { color: var(--hg-text); font-size: 15px; line-height: 1.4; max-width: 300px; }
.hh-overlay .sub { color: var(--hg-muted); font-size: 13px; }
.hh-btn {
  background: var(--hg-geel); color: #111;
  border: none; font-family: var(--hg-font);
  font-size: 16px; font-weight: 700;
  padding: 12px 28px; border-radius: 24px; cursor: pointer;
}
.hh-btn:hover { filter: brightness(1.08); }
.hh-korting {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--hg-rood); color: #fff;
  font-weight: 800; font-size: 14px;
  padding: 8px 14px; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 250ms ease;
}
.hh-korting.show { opacity: 1; }
.hh-game-bottom {
  padding: 10px 16px 14px;
  background: var(--hg-panel);
  color: var(--hg-muted);
  font-size: 12.5px;
  text-align: center;
}

/* ===== TELLERS ===== */
.tellers {
  background: var(--zwart);
  color: var(--wit);
  padding: 3rem 1rem 3.5rem;
}
.tellers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem 1rem;
  max-width: 1000px;
  margin: 2rem auto 0;
  text-align: center;
}
.teller__getal {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--geel);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.teller__label {
  display: block;
  margin-top: 0.5em;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== TEVREDEN MAATJES (quotes verspreid over de site) ===== */
.quote-kaart {
  margin: 0 auto;
  max-width: 620px;
  background: var(--wit);
  border: 3px solid var(--zwart);
  box-shadow: var(--schaduw-fout);
  padding: 1.8rem 1.5rem 1.4rem;
  text-align: center;
}
.quote-kaart blockquote {
  margin: 0 0 0.8em;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: bold;
  line-height: 1.4;
}
.quote-kaart blockquote::before { content: "“"; color: var(--rood); }
.quote-kaart blockquote::after { content: "”"; color: var(--rood); }
.quote-kaart .sterren {
  color: var(--rood);
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.4em;
}
.quote-kaart figcaption { font-size: 0.85rem; font-style: italic; }

/* rood blok direct onder de hero */
.quote-band {
  background: var(--rood);
  border-top: 6px solid var(--zwart);
  border-bottom: 6px solid var(--zwart);
  padding: 3rem 1rem 3.5rem;
}
.quote-band .kop { margin-bottom: 1.8rem; }

/* losse quote tussen twee secties door */
.quote-strook {
  display: block;
  padding: 0 1rem 3.5rem;
}
.quote-strook .quote-kaart { max-width: 560px; }

/* restje quotes onderaan */
.quotes-onder {
  padding: 3.5rem 1rem 4rem;
}
.quotes-onder__sub {
  text-align: center;
  font-style: italic;
  margin: 0 0 2rem;
}
.quotes-onder__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.quotes-onder__grid .quote-kaart { max-width: none; }

/* ===== CONTACT / FOOTER ===== */
.contact {
  background: var(--zwart);
  color: var(--wit);
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
  border-top: 8px solid var(--rood);
}
.contact__tijden { font-size: 1.05rem; }
.contact__ctas {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.contact__groet { font-size: 1.3rem; }
.disclaimer {
  margin-top: 3rem;
  font-size: 0.78rem;
  color: #999;
  max-width: 50ch;
  margin-inline: auto;
}
.disclaimer a { color: var(--geel); }

/* ===== EASTER EGG POPUP ===== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 1rem;
}
.popup[hidden] { display: none; }
.popup__inhoud {
  background: var(--geel);
  border: 4px solid var(--zwart);
  box-shadow: 8px 8px 0 var(--zwart);
  padding: 2.5rem 2rem;
  text-align: center;
  transform: rotate(-2deg);
  max-width: 420px;
  animation: popup-in 250ms ease-out;
}
@keyframes popup-in {
  from { transform: rotate(-2deg) scale(0.7); opacity: 0; }
  to { transform: rotate(-2deg) scale(1); opacity: 1; }
}
.popup__tekst {
  font-family: var(--font-sticker);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 1.2em;
}

/* ===== KNIPPEREN (met mate) ===== */
.knipper { animation: knipper 1.1s steps(2) infinite; }
@keyframes knipper { 50% { opacity: 0.25; } }

/* ===== TOEGANKELIJKHEID: minder beweging ===== */
@media (prefers-reduced-motion: reduce) {
  .ticker__inner { animation: none; padding-left: 1rem; white-space: normal; }
  .sticker--burst,
  .knipper { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== MOBIEL ===== */
@media (max-width: 600px) {
  .hero__burst {
    width: 110px;
    height: 110px;
    font-size: 0.7rem;
    right: -20px;
  }
  .slider { gap: 0.4rem; }
  .slider__pijl { width: 40px; height: 40px; }
  .telefoon { box-shadow: 5px 5px 0 var(--zwart); }
  .telefoon__chat { height: 320px; }
}
