/* ============================================================
   MENEER VAN DER WAFEL — WOW LAYER
   Cinematisch & warm: video hero, scroll reveals, marquee,
   3D tilt cards, stroopdruppel details.
   Laadt NA de bestaande Tailwind CSS en overschrijft alleen
   wat nodig is. Respecteert prefers-reduced-motion.
   ============================================================ */

:root {
  --wow-cacao: #2D1B10;
  --wow-koffie: #7B4A17;
  --wow-karamel: #B86A1B;
  --wow-zand: #E6C99F;
  --wow-room: #F7EFE4;
}

/* ---------- CINEMATIC HERO ---------- */
.wow-hero {
  position: relative;
  margin-top: -5rem; /* trekt de hero achter de sticky header (h-20) */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--wow-cacao);
  color: var(--wow-room);
  text-align: center;
}

.wow-hero__videos {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.wow-hero__panel {
  position: relative;
  overflow: hidden;
}

.wow-hero__panel video,
.wow-hero__panel img.wow-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: wow-kenburns 22s ease-in-out infinite alternate;
}

.wow-hero__panel:nth-child(2) video,
.wow-hero__panel:nth-child(2) img.wow-hero__poster { animation-delay: -7s; }
.wow-hero__panel:nth-child(3) video,
.wow-hero__panel:nth-child(3) img.wow-hero__poster { animation-delay: -14s; }

@keyframes wow-kenburns {
  from { transform: scale(1.06) translateY(-0.8%); }
  to   { transform: scale(1.14) translateY(0.8%); }
}

/* Verticale scheidingslijntjes tussen de panelen */
.wow-hero__panel + .wow-hero__panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: rgba(247, 239, 228, 0.18);
  z-index: 2;
}

/* Warme overlay zodat tekst leesbaar blijft */
.wow-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 90% 65% at 50% 42%, rgba(45,27,16,0.42) 0%, rgba(45,27,16,0.66) 62%, rgba(45,27,16,0.9) 100%),
    linear-gradient(to top, rgba(45,27,16,0.95) 0%, rgba(45,27,16,0.25) 22%, rgba(45,27,16,0.12) 55%, rgba(45,27,16,0.55) 100%);
}

.wow-hero__content {
  position: relative;
  z-index: 4;
  padding: 5.5rem 1.5rem 4rem;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wow-hero__badge {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 1px solid rgba(230, 201, 159, 0.5);
  box-shadow: 0 8px 40px -8px rgba(0,0,0,0.6);
  background: var(--wow-room);
  overflow: hidden;
}
.wow-hero__badge img { width: 100%; height: 100%; object-fit: cover; }

.wow-hero__eyebrow {
  margin-top: 1.5rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wow-zand);
}

.wow-hero__title {
  margin-top: 1.1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--wow-room);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.wow-hero__title .accent { color: var(--wow-zand); font-style: italic; }

.wow-hero__sub {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: rgba(247,239,228,0.88);
}
.wow-hero__sub strong { color: var(--wow-zand); font-weight: 600; }

/* Woord-voor-woord binnenkomst */
.wow-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(1.5deg);
  animation: wow-word-in 0.7s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes wow-word-in {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.wow-hero__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.wow-btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wow-karamel);
  color: var(--wow-room);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.2s;
  box-shadow: 0 6px 28px -6px rgba(184, 106, 27, 0.55);
}
.wow-btn-glow:hover {
  transform: translateY(-2px) scale(1.03);
  background: #c97a2b;
  box-shadow: 0 12px 40px -6px rgba(184, 106, 27, 0.75);
}
.wow-btn-glow::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: wow-shine 4.2s ease-in-out infinite;
}
@keyframes wow-shine {
  0%, 60% { left: -80%; }
  85%, 100% { left: 130%; }
}

.wow-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(230, 201, 159, 0.55);
  color: var(--wow-room);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  background: rgba(45, 27, 16, 0.25);
  transition: background 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wow-btn-outline:hover {
  background: var(--wow-room);
  color: var(--wow-cacao);
  transform: translateY(-2px);
}

.wow-hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 239, 228, 0.65);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.wow-hero__scroll:hover { color: var(--wow-zand); }
.wow-hero__scroll .line {
  width: 1px;
  height: 2.4rem;
  background: currentColor;
  overflow: hidden;
  position: relative;
}
.wow-hero__scroll .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wow-zand);
  animation: wow-scroll-drip 2s ease-in-out infinite;
}
@keyframes wow-scroll-drip {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* Stroopdruppels onderaan hero */
.wow-hero__drips {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 4;
  display: block;
  height: 44px;
}

/* Mobiel: één video-paneel */
@media (max-width: 720px) {
  .wow-hero__videos { grid-template-columns: 1fr; }
  .wow-hero__panel--mobile-hide { display: none; }
  .wow-hero__content { padding-top: 4.5rem; }
  .wow-hero__badge { width: 74px; height: 74px; }
}

/* ---------- MARQUEE SLOGAN LINT ---------- */
.wow-marquee {
  overflow: hidden;
  background: var(--wow-karamel);
  color: var(--wow-room);
  padding: 0.85rem 0;
  position: relative;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -0.5rem 0;
  z-index: 5;
  box-shadow: 0 8px 30px -12px rgba(45, 27, 16, 0.4);
}
.wow-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: wow-marquee-scroll 28s linear infinite;
  will-change: transform;
}
.wow-marquee:hover .wow-marquee__track { animation-play-state: paused; }
.wow-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wow-marquee__item .script {
  font-family: Pacifico, cursive;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.15rem;
}
.wow-marquee__dot { opacity: 0.55; font-size: 0.8em; }
@keyframes wow-marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- SCROLL REVEALS ---------- */
.wow-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s cubic-bezier(0.19, 1, 0.22, 1), transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}
.wow-reveal.in-view {
  opacity: 1;
  transform: none;
}
.wow-reveal[data-wow-delay="1"] { transition-delay: 0.12s; }
.wow-reveal[data-wow-delay="2"] { transition-delay: 0.24s; }
.wow-reveal[data-wow-delay="3"] { transition-delay: 0.36s; }
.wow-reveal[data-wow-delay="4"] { transition-delay: 0.48s; }

.wow-reveal--left  { transform: translateX(-40px); }
.wow-reveal--right { transform: translateX(40px); }
.wow-reveal--left.in-view,
.wow-reveal--right.in-view { transform: none; }

/* ---------- 3D TILT PRODUCT CARDS ---------- */
.wow-tilt {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.3s ease;
}
.wow-tilt:hover {
  box-shadow: 0 24px 60px -18px rgba(45, 27, 16, 0.35);
  z-index: 2;
}
.wow-tilt .card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 236, 200, 0.25), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 3;
}
.wow-tilt:hover .card-shine { opacity: 1; }

/* ---------- SECTIE-OVERGANG: STROOPGOLF ---------- */
.wow-syrup-divider {
  display: block;
  width: 100%;
  height: 52px;
  margin-bottom: -1px;
}

/* ---------- TELLER-STATS ---------- */
.wow-stat {
  font-variant-numeric: tabular-nums;
}

/* ---------- FLOAT ANIMATIE (badge, ornamenten) ---------- */
.wow-float {
  animation: wow-float 5.5s ease-in-out infinite;
}
@keyframes wow-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- HEADER: transparant boven hero ---------- */
body.wow-has-hero header.sticky {
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
body.wow-has-hero.wow-at-top header.sticky {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none;
}
body.wow-has-hero.wow-at-top header.sticky .text-cacao { color: var(--wow-room); }
body.wow-has-hero.wow-at-top header.sticky .text-koffie { color: var(--wow-zand); }
body.wow-has-hero.wow-at-top header.sticky nav a { color: var(--wow-room); }
body.wow-has-hero.wow-at-top header.sticky nav a[aria-current="page"] {
  background: rgba(247, 239, 228, 0.16);
  color: var(--wow-room);
}
body.wow-has-hero.wow-at-top header.sticky nav a:hover { background: rgba(247, 239, 228, 0.14); }
body.wow-has-hero.wow-at-top header.sticky .border-zand { border-color: rgba(247, 239, 228, 0.35); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .wow-hero__panel video { display: none; }
  .wow-hero__panel img.wow-hero__poster,
  .wow-hero__panel video { animation: none; transform: none; }
  .wow-word { opacity: 1; transform: none; animation: none; }
  .wow-marquee__track { animation: none; }
  .wow-reveal { opacity: 1; transform: none; transition: none; }
  .wow-btn-glow::after { animation: none; }
  .wow-float { animation: none; }
  .wow-hero__scroll .line::after { animation: none; }
}

/* ---------- LICHTE HERO: entrance-animaties ---------- */
.wow-enter {
  opacity: 0;
  transform: translateY(22px);
  animation: wow-enter-up 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes wow-enter-up {
  to { opacity: 1; transform: none; }
}
.wow-enter[data-wow-enter="1"] { animation-delay: 0.1s; }
.wow-enter[data-wow-enter="2"] { animation-delay: 0.25s; }
.wow-enter[data-wow-enter="3"] { animation-delay: 0.4s; }
.wow-enter[data-wow-enter="4"] { animation-delay: 0.55s; }
.wow-enter[data-wow-enter="5"] { animation-delay: 0.7s; }
.wow-enter[data-wow-enter="6"] { animation-delay: 0.85s; }

/* Glans-sweep op bestaande primaire knoppen */
.wow-btn-shine {
  position: relative;
  overflow: hidden;
}
.wow-btn-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: wow-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}

/* Zacht driftende achtergrondvlekken in de hero */
.wow-drift {
  animation: wow-drift 16s ease-in-out infinite alternate;
}
.wow-drift--slow { animation-duration: 22s; animation-delay: -8s; }
@keyframes wow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4%, 3%) scale(1.12); }
}

/* Logo: zachte landing + blijvende float */
.wow-logo-hero {
  opacity: 0;
  animation: wow-logo-in 1.1s cubic-bezier(0.19, 1, 0.22, 1) forwards,
             wow-float 6s ease-in-out 1.2s infinite;
}
@keyframes wow-logo-in {
  from { opacity: 0; transform: translateY(26px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wow-enter, .wow-logo-hero { opacity: 1; transform: none; animation: none; }
  .wow-btn-shine::after { animation: none; }
  .wow-drift, .wow-drift--slow { animation: none; }
}
