/* ============================================
   Sint-Team-Almere — gedeelde stijl
   ============================================ */

:root {
  --rood: #b3121b;
  --rood-diep: #7a0c12;
  --rood-donker: #3d0609;
  --goud: #f5c542;
  --goud-licht: #ffe28a;
  --goud-donker: #c9952b;
  --creme: #fff7e6;
  --papier: #fffdf7;
  --bruin: #4a2a17;
  --tekst: #2b1810;
  --radius: 22px;
  --schaduw: 0 18px 40px rgba(40, 5, 5, 0.25);
  --kop: "Fraunces", Georgia, serif;
  --body: "Nunito", system-ui, sans-serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 1rem 0;
}
.site-header.scrolled {
  background: rgba(122, 12, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: .5rem 0;
}
.site-header.solid { background: var(--rood-diep); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand img {
  height: 58px; width: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), height .35s ease;
}
.site-header.scrolled .brand img { height: 46px; }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span { font-family: var(--kop); font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; }

.nav-links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block;
  color: #fff; text-decoration: none; font-weight: 700;
  padding: .55rem 1rem; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--goud); background: rgba(255,255,255,.1); }
.nav-links .nav-cta { background: var(--goud); color: var(--rood-donker); }
.nav-links .nav-cta:hover { background: var(--goud-licht); color: var(--rood-donker); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 12px; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 24px; height: 3px;
  background: #fff; border-radius: 3px; transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -8px; left: 0; }
.menu-toggle span::after { top: 8px; left: 0; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1180px) and (min-width: 1001px) { .nav-links a { padding: .55rem .75rem; } .brand span { font-size: 1.15rem; } }
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; justify-content: center; gap: .6rem; padding: 2rem;
    background: var(--rood-diep);
    box-shadow: -20px 0 40px rgba(0,0,0,.35);
    transform: translateX(105%); transition: transform .4s cubic-bezier(.7,0,.2,1);
  }
  .nav-links a { font-size: 1.3rem; text-align: center; }
  .menu-open .nav-links { transform: none; }
  .menu-toggle { z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 15% 40%, var(--rood) 0%, var(--rood-diep) 55%, var(--rood-donker) 100%);
  padding: 7rem 0 9rem;
}
.hero-bg {
  position: absolute; top: -5%; bottom: -5%; right: -5%; left: 32%;
  background: url("winkelcentrum.jpg") 45% 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(61,6,9,.55), transparent 70%),
    linear-gradient(90deg, rgba(61,6,9,.6) 0%, rgba(122,12,18,.35) 45%, rgba(122,12,18,.05) 100%);
}
.hero-content { position: relative; z-index: 3; }
.hero-content > * { max-width: 640px; }
@media (max-width: 860px) {
  .hero-bg { left: -5%; -webkit-mask-image: none; mask-image: none; background-position: 40% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(61,6,9,.75), rgba(122,12,18,.85)); }
}
.hero-kicker {
  font-family: var(--hand); font-size: 1.8rem; color: var(--goud); margin: 0 0 .3rem;
  display: inline-block; transform: rotate(-2deg);
}
.hero h1 {
  font-family: var(--kop); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02;
  margin: 0 0 1.2rem; letter-spacing: -.01em;
  text-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.hero h1 .goud { color: var(--goud); display: inline-block; }
.hero p.lead { font-size: 1.2rem; color: #ffe9d6; margin: 0 0 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Woorden die één voor één binnenkomen */
.reveal-word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); animation: wordIn .8s cubic-bezier(.2,.9,.3,1.2) forwards; }

/* Aftelklok */
.countdown {
  margin-top: 2.5rem; display: inline-flex; gap: .8rem; align-items: center; flex-wrap: wrap;
  background: rgba(0,0,0,.28); border: 1px solid rgba(245,197,66,.4);
  border-radius: 18px; padding: .9rem 1.2rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.countdown-label { font-family: var(--hand); font-size: 1.4rem; color: var(--goud); margin-right: .3rem; }
.countdown-units { display: flex; gap: .6rem; }
.cd-unit { text-align: center; min-width: 58px; }
.cd-unit b {
  display: block; font-family: var(--kop); font-size: 1.9rem; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-unit small { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #ffd9b8; }
.cd-unit b.tick { animation: tick .45s ease; }

/* Stoomboot + golven */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: 130px; pointer-events: none; }
.waves .wave-back, .waves .wave-front { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave-back { animation: waveMove 18s linear infinite; opacity: .55; }
.wave-front { animation: waveMove 11s linear infinite reverse; }
.waves .boat {
  position: absolute; bottom: 52px; left: -200px; width: 170px; z-index: 2;
  animation: sail 38s linear infinite;
}
.boat-inner { animation: bob 3s ease-in-out infinite; transform-origin: 50% 100%; }
.smoke { animation: smoke 2.6s ease-out infinite; transform-origin: center; }
.smoke.s2 { animation-delay: .9s; }
.smoke.s3 { animation-delay: 1.8s; }

/* Vallende pepernoten / sterretjes */
.fall-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.fall-item {
  position: absolute; top: -40px; will-change: transform;
  animation: fall linear infinite;
}
.fall-item.pepernoot {
  width: 14px; height: 12px; border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 35% 30%, #d99a5b, #9a5a28 70%);
  box-shadow: inset -2px -2px 3px rgba(0,0,0,.25);
}
.fall-item.ster { color: var(--goud); font-size: 14px; text-shadow: 0 0 8px rgba(245,197,66,.8); }

/* ---------- Knoppen ---------- */
.btn {
  --bg: var(--goud);
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--bg); color: var(--rood-donker);
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  padding: 1rem 1.7rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 0 -4px var(--goud-donker), 0 18px 30px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 13px 0 -4px var(--goud-donker), 0 24px 36px rgba(0,0,0,.35); }
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(2px); box-shadow: 0 5px 0 -4px var(--goud-donker), 0 10px 20px rgba(0,0,0,.3); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px #fff; }
.btn-rood { --bg: var(--rood); color: #fff; box-shadow: 0 10px 0 -4px var(--rood-donker), 0 18px 30px rgba(0,0,0,.25); }
.btn-rood:hover { box-shadow: 0 13px 0 -4px var(--rood-donker), 0 24px 36px rgba(0,0,0,.3); }

/* ---------- Secties ---------- */
section { padding: 6rem 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.eyebrow {
  font-family: var(--hand); font-size: 1.7rem; color: var(--rood); line-height: 1;
  display: inline-block; transform: rotate(-2deg); margin-bottom: .3rem;
}
h2 {
  font-family: var(--kop); font-weight: 900; line-height: 1.1;
  font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 1rem; color: var(--rood-donker);
}
.section-head p { color: #6b4a36; margin: 0; }

.dark { background: var(--rood-diep); color: #fff; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: var(--goud); }
.dark .section-head p { color: #ffd9c2; }
.dark::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(var(--goud) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* Golvende overgang */
.divider { display: block; width: 100%; height: 60px; }

/* ---------- Diensten ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service {
  background: var(--papier); border-radius: var(--radius); padding: 2rem 1.6rem;
  box-shadow: 0 10px 30px rgba(122,12,18,.08);
  border: 2px solid rgba(245,197,66,.35);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .35s ease;
  position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,66,.35), transparent 70%);
  top: -60px; right: -60px; transition: transform .5s ease;
}
.service:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--schaduw); border-color: var(--goud); }
.service:hover::before { transform: scale(1.8); }
.service-icon {
  font-size: 2.4rem; width: 72px; height: 72px; display: grid; place-items: center;
  background: var(--creme); border-radius: 20px; margin-bottom: 1.2rem;
  box-shadow: inset 0 0 0 2px rgba(179,18,27,.12);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.service:hover .service-icon { transform: rotate(-10deg) scale(1.12); }
.service h3 { font-family: var(--kop); font-size: 1.35rem; margin: 0 0 .5rem; color: var(--rood); }
.service p { margin: 0; color: #5a3a26; }

/* ---------- Waarom ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.why-photo { position: relative; }
.why-photo img {
  border-radius: 28px; aspect-ratio: 4/5; object-fit: cover; width: 100%;
  box-shadow: var(--schaduw); transform: rotate(-2deg);
  border: 8px solid #fff;
}
.why-photo .sticker {
  position: absolute; right: -10px; bottom: 30px;
  background: var(--goud); color: var(--rood-donker);
  font-family: var(--hand); font-size: 1.6rem; line-height: 1.1; text-align: center;
  padding: 1rem 1.2rem; border-radius: 50%; width: 140px; height: 140px;
  display: grid; place-items: center; transform: rotate(10deg);
  box-shadow: 0 12px 25px rgba(0,0,0,.25);
  animation: wobble 4s ease-in-out infinite;
}
.why-photo .mijter {
  position: absolute; top: -40px; left: -20px; width: 90px;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.25));
}
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.check-list li {
  display: flex; gap: .9rem; align-items: flex-start; padding: .65rem 0;
  border-bottom: 1px dashed rgba(122,12,18,.18);
}
.check-list li::before {
  content: "★"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: .95rem;
  background: var(--rood); color: var(--goud);
}

/* ---------- Galerij ---------- */
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.2rem; height: 640px; }
.gallery figure {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in;
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.3rem 1.1rem;
  background: linear-gradient(transparent, rgba(30,3,5,.85));
  color: #fff; font-weight: 700;
  transform: translateY(30%); opacity: .9; transition: transform .4s ease, opacity .4s ease;
}
.gallery figcaption small { display: block; font-weight: 400; color: #ffd9c2; }
.gallery figure:hover figcaption { transform: none; opacity: 1; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery figure { aspect-ratio: 4/3; }
  .gallery figcaption { transform: none; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 2rem;
  background: rgba(20,2,4,.92); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-height: 85vh; max-width: 92vw; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform: scale(.9); transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.lightbox.open img { transform: none; }
.lightbox p { color: #fff; text-align: center; margin: 1rem 0 0; font-weight: 700; }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%;
  background: var(--goud); color: var(--rood-donker); border: 0; font-size: 1.6rem; cursor: pointer;
  transition: transform .3s ease;
}
.lightbox-close:hover { transform: rotate(90deg); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.review {
  background: var(--papier); border-radius: var(--radius); padding: 2rem 1.7rem 1.6rem;
  position: relative; box-shadow: 0 10px 30px rgba(122,12,18,.08);
  transition: transform .35s ease;
}
.review:nth-child(1) { transform: rotate(-1.2deg); }
.review:nth-child(2) { transform: rotate(.8deg) translateY(14px); }
.review:nth-child(3) { transform: rotate(-.6deg); }
.review:hover { transform: rotate(0) translateY(-6px); }
.review::before {
  content: "“"; position: absolute; top: -18px; left: 18px;
  font-family: var(--kop); font-size: 5rem; line-height: 1; color: var(--goud);
}
.review .stars { color: var(--goud-donker); letter-spacing: .15em; margin-bottom: .5rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1.12rem; font-style: italic; color: #3d2416; }
.review cite { font-style: normal; font-weight: 800; color: var(--rood); }

/* ---------- Praktisch ---------- */
.durations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
@media (max-width: 760px) { .durations { grid-template-columns: repeat(2, 1fr); } }
.duration {
  text-align: center; background: rgba(255,255,255,.07); border: 1px solid rgba(245,197,66,.35);
  border-radius: 20px; padding: 1.6rem 1rem; transition: transform .3s ease, background .3s ease;
}
.duration:hover { transform: translateY(-6px); background: rgba(245,197,66,.14); }
.duration b { display: block; font-family: var(--kop); font-size: 2.8rem; line-height: 1; color: var(--goud); }
.duration span { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #ffd9c2; margin-bottom: .7rem; }
.duration small { color: #fff; font-weight: 700; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.info { display: flex; gap: 1rem; align-items: flex-start; }
.info .ico { font-size: 1.7rem; flex: none; width: 54px; height: 54px; display: grid; place-items: center; background: rgba(245,197,66,.15); border-radius: 16px; }
.info h3 { font-family: var(--kop); margin: 0 0 .25rem; font-size: 1.2rem; color: var(--goud); }
.info p { margin: 0; color: #ffe2d1; font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden;
  background: var(--papier); border-radius: 30px; box-shadow: var(--schaduw);
}
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }
.contact-side {
  background: linear-gradient(160deg, var(--rood) 0%, var(--rood-diep) 100%);
  color: #fff; padding: 3rem 2.5rem; position: relative; overflow: hidden;
}
.contact-side h2 { color: #fff; }
.contact-side p { color: #ffe2d1; }
.contact-side .logo-big {
  width: 190px; margin-top: 2rem; animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,.35));
}
.contact-form { padding: 3rem 2.5rem; display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-form, .contact-side { padding: 2.2rem 1.5rem; } }
.field label { display: block; font-weight: 800; font-size: .92rem; color: var(--bruin); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .9rem 1rem; border-radius: 14px;
  border: 2px solid #ecdcc0; background: #fff; color: var(--tekst);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--goud-donker); box-shadow: 0 0 0 4px rgba(245,197,66,.25);
}
.form-note { font-size: .9rem; color: #7a5a44; margin: 0; }
.form-success {
  display: none; text-align: center; padding: 3rem 2rem; align-self: center;
}
.form-success .big { font-size: 4rem; animation: pop .6s cubic-bezier(.34,1.56,.64,1); }
.form-success h3 { font-family: var(--kop); color: var(--rood); font-size: 1.8rem; margin: .5rem 0; }

/* ---------- Pagina-kop (over ons) ---------- */
.page-hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  padding: 10rem 0 7rem;
  background: radial-gradient(ellipse at top, var(--rood) 0%, var(--rood-diep) 60%, var(--rood-donker) 100%);
}
.page-hero h1 { font-family: var(--kop); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 0 0 .8rem; line-height: 1.05; }
.page-hero p { color: #ffe2d1; max-width: 600px; margin: 0 auto; font-size: 1.15rem; }
.page-hero .content { position: relative; z-index: 3; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.member {
  background: var(--papier); border-radius: var(--radius); padding: 2.2rem 1.5rem 1.8rem; text-align: center;
  box-shadow: 0 10px 30px rgba(122,12,18,.08); border: 2px solid transparent;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), border-color .3s ease, box-shadow .3s ease;
}
.member:hover { transform: translateY(-10px); border-color: var(--goud); box-shadow: var(--schaduw); }
.avatar {
  width: 110px; height: 110px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 3.2rem;
  background: radial-gradient(circle at 30% 30%, #fff, var(--creme));
  box-shadow: 0 0 0 6px var(--goud), 0 12px 24px rgba(0,0,0,.18);
  transition: transform .6s cubic-bezier(.34,1.56,.64,1);
}
.member:hover .avatar { transform: rotate(-12deg) scale(1.08); }
.member .role { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--goud-donker); }
.member h3 { font-family: var(--kop); font-size: 1.5rem; color: var(--rood); margin: .2rem 0 .6rem; }
.member p { margin: 0; color: #5a3a26; font-size: .98rem; }

/* Tijdlijn ervaring */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px;
  background: linear-gradient(var(--goud), var(--rood));
}
.timeline-item { position: relative; padding: 0 0 2.2rem; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.5rem; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--goud); box-shadow: 0 0 0 5px var(--rood-diep), 0 0 0 7px var(--goud);
}
.timeline-item h3 { font-family: var(--kop); color: var(--goud); margin: 0 0 .3rem; font-size: 1.3rem; }
.timeline-item p { margin: 0; color: #ffe2d1; }

.big-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
  font-family: var(--kop); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; color: var(--rood-donker);
}
.big-quote .hl { background: linear-gradient(transparent 60%, rgba(245,197,66,.6) 60%); }

/* ---------- CTA-band ---------- */
.cta-band {
  text-align: center; padding: 5rem 0; color: var(--rood-donker);
  background: linear-gradient(135deg, var(--goud-licht), var(--goud) 60%, #f0a830);
  overflow: hidden;
}
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { margin: 0 0 2rem; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rood-donker); color: #ffd9c2; padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { height: 70px; width: auto; }
.footer-brand b { font-family: var(--kop); font-size: 1.3rem; color: #fff; display: block; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 700; transition: color .2s ease; }
.footer-links a:hover { color: var(--goud); }
.copy { text-align: center; font-size: .9rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); opacity: .8; }

/* Terug naar boven */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--goud); color: var(--rood-donker); font-size: 1.4rem; font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Scroll-animaties ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.9); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sail { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 400px)); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes smoke { 0% { opacity: .8; transform: translate(0,0) scale(.4); } 100% { opacity: 0; transform: translate(-30px,-40px) scale(1.6); } }
@keyframes fall {
  0% { transform: translate(0, -40px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(var(--drift, 40px), 110vh) rotate(var(--spin, 360deg)); opacity: 0; }
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes wobble { 0%,100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(4deg) scale(1.06); } }
@keyframes tick { 0% { transform: translateY(-8px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }


/* ============================================
   Spelletjes
   ============================================ */
.game-tabs { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.game-tab {
  text-decoration: none; font-weight: 800; color: #fff;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(245,197,66,.45);
  transition: background .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.game-tab:hover { background: var(--goud); color: var(--rood-donker); transform: translateY(-3px); }

.stat { text-align: center; min-width: 80px; }
.stat small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #8a6a52; font-weight: 800; }
.stat b { font-family: var(--kop); font-size: 2rem; line-height: 1.1; color: var(--rood); font-variant-numeric: tabular-nums; }
.stat.light small { color: #ffd9c2; }
.stat.light b { color: var(--goud); }

/* Pepernoten vangen */
.game-card {
  max-width: 860px; margin: 0 auto; background: var(--papier); border-radius: 28px;
  box-shadow: var(--schaduw); padding: 1.2rem; border: 3px solid var(--goud);
}
.game-bar { display: flex; justify-content: space-around; padding: .3rem 0 1rem; }
.catch-wrap { position: relative; border-radius: 18px; overflow: hidden; }
#catch-canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: none; background: #1b0306; }
.game-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: rgba(30,3,5,.72); color: #fff;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  transition: opacity .35s ease, visibility .35s;
}
.game-overlay.hidden { opacity: 0; visibility: hidden; }
.game-overlay h3 { font-family: var(--kop); font-size: clamp(1.5rem, 4vw, 2.2rem); margin: .3rem 0 .5rem; }
.game-overlay p { color: #ffe2d1; margin: 0 auto 1.4rem; max-width: 460px; }
.overlay-emoji { font-size: 3.5rem; animation: float 3s ease-in-out infinite; }

/* Memory */
.memory-bar { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.memory-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 560px; margin: 0 auto; perspective: 1000px;
}
.mem-card {
  aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer;
  animation: dealIn .5s cubic-bezier(.34,1.56,.64,1) backwards;
}
.mem-inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .55s cubic-bezier(.4,1.4,.5,1);
}
.mem-card.flipped .mem-inner { transform: rotateY(180deg); }
.mem-front, .mem-back {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 18px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
}
.mem-front {
  background: repeating-linear-gradient(45deg, var(--rood) 0 12px, #a10f18 12px 24px);
  border: 3px solid var(--goud);
}
.mem-front img { width: 62%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.mem-back { background: var(--papier); transform: rotateY(180deg); font-size: clamp(2rem, 7vw, 3rem); border: 3px solid var(--goud); }
.mem-card:hover:not(.flipped) .mem-inner { transform: translateY(-4px) rotate(-2deg); }
.mem-card.matched .mem-back { background: var(--goud-licht); animation: matchPop .5s ease; }
.memory-win {
  display: none; text-align: center; margin: 2rem auto 0; max-width: 420px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(245,197,66,.5); border-radius: 22px; padding: 1.8rem;
}
.memory-win.show { display: block; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
.memory-win h3 { font-family: var(--kop); color: var(--goud); font-size: 1.8rem; margin: .3rem 0; }
.memory-win p { color: #ffe2d1; }

/* Quiz */
.quiz-card {
  max-width: 680px; margin: 0 auto; background: var(--papier); border-radius: 28px;
  box-shadow: var(--schaduw); padding: 2.2rem; border: 3px solid var(--goud); text-align: center;
}
.quiz-card.swap .quiz-question { animation: slideIn .45s ease; }
.quiz-progress { height: 12px; background: #f1e3c8; border-radius: 999px; overflow: hidden; }
.quiz-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--goud), var(--rood)); border-radius: 999px; transition: width .5s ease; }
.quiz-count { font-weight: 800; color: #8a6a52; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 1.2rem 0 .3rem; }
.quiz-question { font-family: var(--kop); font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: var(--rood-donker); margin: 0 0 1.5rem; line-height: 1.25; }
.quiz-answers { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .quiz-answers { grid-template-columns: 1fr; } .quiz-card { padding: 1.6rem 1.2rem; } }
.quiz-answer {
  font: inherit; font-weight: 800; color: var(--tekst); cursor: pointer;
  padding: 1rem; border-radius: 16px; background: #fff; border: 2px solid #ecdcc0;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  animation: dealIn .4s cubic-bezier(.34,1.56,.64,1) backwards;
}
.quiz-answer:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--goud-donker); background: var(--creme); }
.quiz-answer:disabled { cursor: default; }
.quiz-answer.correct { background: #e3f6dc; border-color: #4caf50; color: #1d5e20; animation: bump .45s ease; }
.quiz-answer.wrong { background: #fde2e2; border-color: #d33; color: #8a1010; animation: shake .4s ease; }
.quiz-feedback { min-height: 1.6em; font-weight: 800; margin: 1.2rem 0 1rem; }
.quiz-feedback.good { color: #2e7d32; }
.quiz-feedback.bad { color: var(--rood); }
.quiz-next { visibility: hidden; }

/* Teaser op de homepage */
.games-teaser { padding: 4rem 0; }
.games-teaser-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, var(--goud-licht), var(--goud) 70%, #f0a830);
  border-radius: 30px; padding: 2.2rem 2.5rem; box-shadow: var(--schaduw);
}
.games-teaser-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.games-teaser-inner p { margin: 0; color: var(--bruin); }
.games-teaser .eyebrow { color: var(--rood); }
.teaser-icons { display: flex; font-size: 2.6rem; }
.teaser-icons span { display: inline-block; animation: float 3s ease-in-out infinite; }
.teaser-icons span:nth-child(2) { animation-delay: .4s; }
.teaser-icons span:nth-child(3) { animation-delay: .8s; }
@media (max-width: 860px) { .games-teaser-inner { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; } .teaser-icons { justify-content: center; } .games-teaser-inner .btn { justify-self: center; } }

/* Confetti */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: confettiFall linear forwards; }

@keyframes dealIn { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes matchPop { 0% { transform: rotateY(180deg) scale(1); } 50% { transform: rotateY(180deg) scale(1.12); } 100% { transform: rotateY(180deg) scale(1); } }
@keyframes bump { 50% { transform: scale(1.06); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes confettiFall { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }

/* Mensen die minder beweging willen: animaties uit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-word { opacity: 1 !important; transform: none !important; }
  .fall-layer, .boat { display: none; }
}
