/* ═══════════════════════════════════════════════════════════
   SMART FRIDGE — motion / override layer
   Forked from the Cryostral template (structure + design only).
   Loaded after the shell <style> emitted by partials/head.php
   (same specificity, later source order → wins without !important).

   The FOOTER + WHATSAPP block at the bottom of this file was moved
   here from the template's contact.html: the sector page we fork
   never defined it, so its footer rendered unstyled. See
   TEMPLATE-MAP §4.
═══════════════════════════════════════════════════════════ */

/* ─── EASING TOKENS (Emil's foundation) ──────────────────
   Never hand-author cubic-bezier values inline.
   Reference these everywhere.
─────────────────────────────────────────────────────────── */
:root {
  --ease-out-quint:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-quint: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:       cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring:       cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Action color — teal carries all CTAs */
  --teal:       #3AAAB6;
  --teal-light: #4CC8D5;
}

/* ─── BUTTONS: press feedback (Emil's #1 signature) ──────
   Every pressable element must acknowledge the press.
   0.97 is the sweet spot — present but not theatrical.
   Transition only transform + opacity (GPU only, no layout).
─────────────────────────────────────────────────────────── */
.btn-primary,
.btn-ghost,
.btn-nav-cta,
.btn-submit,
.sp-cta {
  transition:
    transform  160ms var(--ease-out-quint),
    background 220ms var(--ease-out-quint),
    box-shadow 220ms var(--ease-out-quint),
    color      160ms var(--ease-out-quint),
    border-color 160ms var(--ease-out-quint);
}
.btn-primary:active,
.btn-nav-cta:active,
.btn-submit:active,
.sp-cta:active { transform: scale(0.97); }

.btn-ghost:active { transform: scale(0.97); }

/* ─── ACTION COLOR ────────────────────────────────────── */
.btn-primary,
.btn-submit,
.sp-cta {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover,
.btn-submit:hover,
.sp-cta:hover {
  background: var(--teal-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(58, 170, 182, 0.32);
}
.btn-primary:active,
.btn-submit:active,
.sp-cta:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn-nav-cta {
  background: var(--teal);
  color: #fff;
}
.btn-nav-cta:hover {
  background: var(--teal-light);
  color: #fff;
  transform: translateY(-1px);
}
.btn-nav-cta:active { transform: scale(0.97); }

/* ─── BUTTON SHIMMER + LIFE ───────────────────────────── */

/* Solid CTAs get a shimmer beam + stronger hover lift */
.btn-primary,
.btn-nav-cta,
.btn-submit,
.sp-cta {
  position: relative;
  overflow: hidden;
}

/* Shimmer beam — skewed white streak that sweeps on hover */
.btn-primary::before,
.btn-nav-cta::before,
.btn-submit::before,
.sp-cta::before {
  content: '';
  position: absolute;
  top: -10%; bottom: -10%;
  left: -90%; width: 55%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 45%,
    rgba(255, 255, 255, 0.12) 55%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 480ms var(--ease-out-quint);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-submit:hover,
  .sp-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(58, 170, 182, 0.45);
  }
  .btn-nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(58, 170, 182, 0.38);
  }
  .btn-primary:hover::before,
  .btn-nav-cta:hover::before,
  .btn-submit:hover::before,
  .sp-cta:hover::before {
    left: 140%;
  }
}

/* Ghost button: fill slides in from left + border lights up */
.btn-ghost {
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232, 227, 216, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out-quint);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover::before { transform: scaleX(1); }
  .btn-ghost:hover {
    border-color: rgba(232, 227, 216, 0.6);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(232, 227, 216, 0.2);
  }
}

/* Hero primary CTA: breathing attention ring after page load */
@keyframes ctaAttention {
  0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(58, 170, 182, 0); }
  28%            { box-shadow: 0 0 0 14px rgba(58, 170, 182, 0.22); }
}

.hero-ctas .btn-primary {
  animation: ctaAttention 3.2s ease-in-out 2s infinite;
}

@media (hover: hover) and (pointer: fine) {
  .hero-ctas .btn-primary:hover {
    animation: none;
    box-shadow: 0 16px 40px rgba(58, 170, 182, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ctas .btn-primary { animation: none; }
  .btn-primary::before,
  .btn-nav-cta::before,
  .btn-submit::before,
  .sp-cta::before,
  .btn-ghost::before { display: none; }
}

/* ─── NAV DIMMING (Emil's signature nav pattern) ─────────
   Hovering a link dims all its siblings.
   The hovered link stays full brightness.
   Only on precise pointer devices.
─────────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .nav-links:hover a {
    opacity: 0.45;
    transition: opacity 200ms var(--ease-out-quint);
  }
  .nav-links a:hover {
    opacity: 1;
    color: #fff;
  }
  .nav-links a {
    transition:
      opacity     200ms var(--ease-out-quint),
      color       160ms var(--ease-out-quint);
  }
}

/* ─── NAV UNDERLINE: precise origin ─────────────────────── */
.nav-links a::after {
  transition: transform 220ms var(--ease-out-quint);
}

/* ─── CARDS: Emil-precise hover ─────────────────────────── */
.usp-card,
.physics-card,
.sector-card,
.app-card,
.blog-card,
.review-card {
  transition:
    transform    280ms var(--ease-out-quint),
    background   220ms var(--ease-out-quint),
    border-color 220ms var(--ease-out-quint),
    box-shadow   280ms var(--ease-out-quint);
}

/* Cards scale on press too — they're pressable surfaces */
@media (hover: hover) and (pointer: fine) {
  .usp-card:hover        { transform: translateY(-3px); }
  .physics-card:hover    { transform: translateY(-3px); }
  .sector-card:hover     { transform: translateY(-2px); }
  .blog-card:hover       { transform: translateY(-2px); }
  .review-card:hover     { transform: translateY(-2px); }
  .usp-card:active,
  .physics-card:active,
  .sector-card:active,
  .blog-card:active      { transform: scale(0.98) translateY(0); }
}

/* ─── SOCIAL LINKS ───────────────────────────────────────── */
.social-link {
  transition:
    background 180ms var(--ease-out-quint),
    border-color 180ms var(--ease-out-quint),
    color 180ms var(--ease-out-quint),
    transform 160ms var(--ease-out-quint);
}
.social-link:active { transform: scale(0.9); }

/* ─── TESTI ARROWS ───────────────────────────────────────── */
.testi-arrow {
  transition:
    background  180ms var(--ease-out-quint),
    border-color 180ms var(--ease-out-quint),
    color 180ms var(--ease-out-quint),
    transform   140ms var(--ease-out-quint);
}
.testi-arrow:active { transform: scale(0.92); }

/* ─── WHATSAPP FLOAT: press feedback ────────────────────── */
.wa-float {
  transition:
    transform  180ms var(--ease-out-quint),
    box-shadow 220ms var(--ease-out-quint);
}
.wa-float:hover  { transform: scale(1.08); }
.wa-float:active { transform: scale(0.95); }

/* ─── FAQ ACCORDION: precise open/close ─────────────────── */
.faq-q {
  transition:
    color 160ms var(--ease-out-quint);
}
.faq-icon {
  transition: transform 260ms var(--ease-out-quint);
}
.faq-a {
  transition:
    max-height 320ms var(--ease-out-quint),
    padding    280ms var(--ease-out-quint);
}

/* ─── FORM INPUTS: Emil-precise focus ───────────────────── */
.form-group input,
.form-group select,
.form-group textarea,
.contact-form input,
.contact-form textarea,
.contact-form select {
  transition:
    border-color 180ms var(--ease-out-quint),
    background   180ms var(--ease-out-quint),
    box-shadow   220ms var(--ease-out-quint);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(58, 170, 182, 0.6);
  box-shadow: 0 0 0 3px rgba(58, 170, 182, 0.08);
}

/* ─── SLIDER THUMB ───────────────────────────────────────── */
.roi-slider::-webkit-slider-thumb { background: var(--teal); }
.roi-slider::-moz-range-thumb     { background: var(--teal); border-color: transparent; }

/* ─── LOGO ───────────────────────────────────────────────── */
/* Tweede deel van het woordmerk (VENDING) in --cyan #E8E3D8 — het warme
   gebroken wit dat de site verder ook gebruikt (kopregels, labels, de accenten
   in de footer). Bewuste keuze: het contrast met --white #F0F6FF is klein, dus
   de tweedeling is subtiel in plaats van uitgesproken.
   Nav en footer staan hier samen; de footer-regel stond eerder los op ~1040 en
   overrulede deze op bronvolgorde. Eén plek, geen !important nodig. */
.nav-logo span,
.footer-logo span { color: var(--cyan); }

.nav-logo,
.footer-logo {
  transition: opacity 180ms var(--ease-out-quint);
}
.nav-logo:hover,
.footer-logo:hover { opacity: 0.75; }

/* ─── FOOTER LINKS: group dimming ────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .footer-col ul:hover a {
    opacity: 0.4;
    transition: opacity 180ms var(--ease-out-quint);
  }
  .footer-col ul a:hover  {
    opacity: 1;
    color: #F0F6FF;
  }
  .footer-col ul a {
    transition: opacity 180ms var(--ease-out-quint), color 160ms var(--ease-out-quint);
  }
}

/* ─── SERVICE TAB ────────────────────────────────────────── */
.service-tab {
  transition:
    color        180ms var(--ease-out-quint),
    border-color 180ms var(--ease-out-quint);
}
.service-tab.active { color: var(--teal); border-bottom-color: var(--teal); }

/* ─── CERT BADGES ────────────────────────────────────────── */
.badge,
.cert-badge,
.pdf-badge {
  transition:
    border-color 180ms var(--ease-out-quint),
    color        180ms var(--ease-out-quint);
}
@media (hover: hover) and (pointer: fine) {
  .badge:hover,
  .cert-badge:hover { color: var(--teal); border-color: rgba(58,170,182,0.45); }
}

/* ─── BLOG LINK ───────────────────────────────────────────── */
.blog-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(58,170,182,0.25);
  transition:
    color        160ms var(--ease-out-quint),
    border-color 160ms var(--ease-out-quint);
}
.blog-link:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ─── BLOG CARD IMAGE ─────────────────────────────────────── */
.blog-img img,
.gallery-card img,
.team-card img,
.about-img-wrap img {
  transition: transform 600ms var(--ease-out-quint);
}

/* ─── PROGRESS BAR ────────────────────────────────────────── */
#progress-bar { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }

/* ─── HERO GLOW: teal tint ────────────────────────────────── */
.hero-glow {
  background: radial-gradient(ellipse,
    rgba(58, 170, 182, 0.1) 0%,
    rgba(232, 227, 216, 0.04) 40%,
    transparent 70%
  );
}

/* ─── STARS: warm amber (semantically correct) ───────────── */
.testi-stars,
.review-stars,
.hero-badge .stars { color: #F5A623; }

/* ─── PHYSICS TEMP NUMBERS ────────────────────────────────── */
.physics-temp { color: var(--teal); }

/* ─── STORY VBAR ──────────────────────────────────────────── */
.story-vbar-fill { background: var(--teal); }

/* ─── CURSOR GLOW ─────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(58, 170, 182, 0.055) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 9;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-quint);
  mix-blend-mode: screen;
  will-change: left, top, opacity;
}

/* ─── FILM GRAIN OPTIMIZATION ─────────────────────────────── */
/* 1.2s instead of 0.35s — ~3× cheaper with no visible difference */
.hero-grain {
  animation-duration: 1.2s;
  animation-timing-function: steps(4);
}

/* ─── HAMBURGER BUTTON ────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  transition: opacity 160ms var(--ease-out-quint);
}
.hamburger:active { opacity: 0.6; }
.hamburger span {
  width: 24px;
  height: 2px;
  background: #F0F6FF;
  border-radius: 2px;
  transition: transform 280ms var(--ease-out-quint),
              opacity   220ms var(--ease-out-quint);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: fixed;
  top: 112px;
  left: 0; right: 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 227, 216, 0.1);
  padding: 8px 32px 24px;
  z-index: 499;
}
.nav-links.mobile-open li { width: 100%; }
.nav-links.mobile-open a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(232, 227, 216, 0.06);
  opacity: 1 !important;
}
.nav-links.mobile-open li:last-child a { border-bottom: none; }

@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links:not(.mobile-open),
  .nav-phone { display: none; }
}

/* De CTA draagt twee labels; hier staat standaard de lange aan. */
.btn-nav-cta .cta-short { display: none; }

@media (max-width: 640px) {
  /* De CTA stond hier op `display:none !important` (erfenis van het
     Cryostral-sjabloon, dat een telefoonnummer in de topbar als mobiele
     CTA had). Wij hebben dat nummer niet, dus de sticky header bood op
     de 35 clusterpagina's géén ingang naar het formulier — op een site
     waarvan dat het enige doel is. De knop blijft nu staan, maar met het
     korte label, en de taalkiezer wijkt: die biedt vandaag één taal en
     kost 53px die de CTA nodig heeft. Markup blijft klaar voor EN/DE/FR. */
  .btn-nav-cta {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;          /* tapdoel */
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .btn-nav-cta .cta-long  { display: none; }
  .btn-nav-cta .cta-short { display: inline; }
  /* .lang-switcher wordt verderop verborgen — daar staat het blok dat
     `display:inline-flex` forceert, en dat moet deze regel overrulen. */
  .nav-right { gap: 10px; }
  .nav-logo { font-size: 18px; }

  /* Tweede topbar-regel eruit: samen waren ze breder dan het scherm. */
  .topbar-secondary { display: none; }
  /* De topbar-CTA is nu dubbelop met die in de navbalk — en de topbar
     schuift sowieso weg zodra je scrollt (footer.php voegt `tb-hidden`
     toe boven 40px), dus hij is daar geen betrouwbare ingang. */
  .topbar-cta { display: none; }

  /* Hide phone number in topbar (hotline button stays) */
  .topbar-phone { display: none; }
}

/* Onder ~380px (iPhone SE 320px) passen woordmerk, CTA en hamburger niet
   meer naast elkaar op volle grootte. Het woordmerk geeft toe, niet de CTA:
   de knop is het functionele element en moet zijn tapdoel houden. Gemeten op
   320px — logo + CTA + hamburger vullen dan 268 van de 288 beschikbare px. */
@media (max-width: 380px) {
  /* 20px, niet 24: gelijk aan .page-hero-content op dit formaat, anders
     staat het woordmerk 4px links van de broodkruimel eronder. */
  #main-nav { padding: 0 20px; }
  .topbar   { padding: 0 20px; }
  .nav-logo { font-size: 14px; letter-spacing: 0.02em; }
  .btn-nav-cta { padding: 0 10px; }
  .nav-right { gap: 8px; }
}

/* ─── LAZY IMAGE REVEAL ───────────────────────────────────── */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 400ms var(--ease-out-quint);
}
img[loading="lazy"].loaded { opacity: 1; }

/* ─── FOCUS VISIBLE ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible { border-radius: 4px; }

/* ─── PERFORMANCE: defer paint on off-screen sections ────── */
.stats-section,
.physics-section,
.reviews-section,
.gallery-section,
.clients-section,
.roi-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 560px;
}

/* ─── REDUCED MOTION (always last) ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15ms !important;
    scroll-behavior: auto !important;
  }
  .hero-grain,
  .ticker-track,
  .clients-track,
  .reviews-track,
  .hero-glow,
  .wa-float,
  .scroll-dot,
  .topbar-flag,
  .ba-handle-btn,
  .ba-handle-btn::before,
  .ba-handle-btn::after { animation: none !important; }
  #cursor-glow { display: none; }

  /* Keep buttons accessible — remove scale only */
  .btn-primary:active,
  .btn-ghost:active,
  .btn-nav-cta:active,
  .btn-submit:active { transform: none; }
}

/* ─── SPOED HOTLINE BUTTON ────────────────────────────────── */
@keyframes spoedGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 69, 69, 0); }
  50%       { box-shadow: 0 0 0 5px rgba(217, 69, 69, 0.4), 0 0 18px rgba(217, 69, 69, 0.25); }
}

@keyframes sirenRock {
  0%, 100% { transform: rotate(-20deg); }
  50%       { transform: rotate(20deg); }
}

.topbar-spoed { animation: spoedGlow 1.6s ease-in-out infinite; }

.siren-icon {
  display: inline-block;
  animation: sirenRock 0.55s ease-in-out infinite;
  transform-origin: bottom center;
}

@media (prefers-reduced-motion: reduce) {
  .topbar-spoed { animation: none; }
  .siren-icon   { animation: none; }
}

/* ─── FOOTER LEGAL LINKS ─────────────────────────────────── */
.footer-legal-link {
  color: rgba(203,216,232,0.35);
  text-decoration: none;
  font-size: 12px;
  transition: color 160ms var(--ease-out-quint);
}
.footer-legal-link:hover { color: rgba(240,246,255,0.8); }

/* ─── COOKIE CONSENT MODAL ───────────────────────────────── */
#cc-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(8% 0.008 230 / 0.88);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 350ms cubic-bezier(0.23, 1, 0.32, 1);
}
#cc-backdrop.cc-show { opacity: 1; }

#cc-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  width: 100%;
  background: oklch(13% 0.008 230);
  border: 1px solid oklch(100% 0 0 / 0.07);
  border-radius: 6px;
  overflow: hidden;
  transform: translateY(36px) scale(0.95);
  opacity: 0;
  transition:
    transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity   500ms cubic-bezier(0.23, 1, 0.32, 1);
}
#cc-modal.cc-modal-in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── Photo panel ── */
#cc-photo {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
#cc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#cc-blinds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cc-slat {
  position: absolute;
  left: 0; right: 0;
  height: 12.5%;
  background: oklch(13% 0.008 230);
  transform-origin: top center;
  animation: ccSlatOpen 520ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes ccSlatOpen {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0); }
}
#cc-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    oklch(8% 0.008 230 / 0.55) 0%,
    transparent 50%,
    oklch(8% 0.008 230 / 0.72) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
}
.cc-logo-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: oklch(95% 0.006 60);
}
.cc-logo-mark em {
  font-style: normal;
  color: oklch(88% 0.015 220);
}
.cc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(95% 0.006 60 / 0.4);
  margin-top: 5px;
}

/* ── Content panel ── */
#cc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity   380ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 380ms cubic-bezier(0.23, 1, 0.32, 1);
}
#cc-content.cc-content-in {
  opacity: 1;
  transform: translateX(0);
}
.cc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: oklch(68% 0.05 200);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.cc-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: oklch(68% 0.05 200);
  flex-shrink: 0;
}
.cc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: oklch(96% 0.005 220);
  margin-bottom: 16px;
}
.cc-body {
  font-size: 13px;
  line-height: 1.75;
  color: oklch(72% 0.006 220);
  margin-bottom: 22px;
}
.cc-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cc-links a {
  font-size: 12px;
  font-weight: 600;
  color: oklch(70% 0.05 200);
  text-decoration: none;
  border-bottom: 1px solid oklch(70% 0.05 200 / 0.3);
  transition:
    color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    border-bottom-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.cc-links a:hover {
  color: oklch(82% 0.05 200);
  border-bottom-color: oklch(82% 0.05 200);
}
.cc-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#cc-accept {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(13% 0.008 230);
  background: oklch(91% 0.012 60);
  border: none; border-radius: 4px;
  padding: 15px 28px;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.23, 1, 0.32, 1),
    transform  140ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
#cc-accept:hover {
  background: oklch(97% 0.006 60);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px oklch(91% 0.012 60 / 0.22);
}
#cc-accept:active { transform: scale(0.97); }
#cc-decline {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(68% 0.006 220);
  background: none;
  border: 1px solid oklch(100% 0 0 / 0.11);
  border-radius: 4px;
  padding: 15px 28px;
  cursor: pointer;
  transition:
    color        160ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
#cc-decline:hover {
  color: oklch(92% 0.005 220);
  border-color: oklch(100% 0 0 / 0.28);
}
@media (max-width: 640px) {
  #cc-modal { grid-template-columns: 1fr; }
  #cc-photo { min-height: 200px; }
  #cc-content { padding: 36px 28px; }
}

/* ─── LEGAL PAGE CONTENT ──────────────────────────────────── */
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 56px 100px;
}
.legal-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}
.legal-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(232,227,216,0.08);
}
.legal-wrap h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  margin: 48px 0 16px;
}
.legal-wrap h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 28px 0 10px;
}
.legal-wrap p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(203,216,232,0.65);
  margin-bottom: 16px;
}
.legal-wrap ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}
.legal-wrap ul li {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(203,216,232,0.65);
  margin-bottom: 6px;
}
.legal-wrap a { color: #3AAAB6; text-decoration: none; border-bottom: 1px solid rgba(58,170,182,0.3); }
.legal-wrap a:hover { border-bottom-color: #3AAAB6; }
.legal-wrap strong { color: var(--white); font-weight: 600; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 13px; }
.legal-table th {
  text-align: left; padding: 10px 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid rgba(232,227,216,0.1);
}
.legal-table td {
  padding: 12px 14px;
  color: rgba(203,216,232,0.6);
  border-bottom: 1px solid rgba(232,227,216,0.05);
  vertical-align: top;
  line-height: 1.6;
}
.legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .legal-wrap { padding: 100px 24px 80px; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 8px 10px; }
}

/* ─── PRINT ───────────────────────────────────────────────── */
@media print {
  .topbar, nav, .wa-float, #preloader, #cursor-glow,
  .ticker-wrap, .hero-grain, .hero-video-wrap { display: none !important; }
}

/* ─── LANGUAGE SWITCHER — Emil segmented control ─────────
   One cohesive pill. Active item glows teal.
   Emil's dimming pattern: hover one → siblings fade back.
   Works on every page via this shared stylesheet.
─────────────────────────────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 3px;
  gap: 1px;
  margin-left: 8px;
}

.lang-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(203,216,232,0.38);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 7px;
  line-height: 1;
  transition:
    color      190ms cubic-bezier(0.23,1,0.32,1),
    background 190ms cubic-bezier(0.23,1,0.32,1),
    box-shadow 190ms cubic-bezier(0.23,1,0.32,1);
}

/* Emil dimming: hovering one dims all siblings */
@media (hover: hover) and (pointer: fine) {
  .lang-switcher:hover .lang-btn {
    color: rgba(203,216,232,0.2);
    transition: color 160ms cubic-bezier(0.23,1,0.32,1);
  }
  .lang-btn:hover {
    color: rgba(240,246,255,0.92) !important;
    background: rgba(255,255,255,0.07);
  }
  .lang-btn.active {
    /* active stays bright even when siblings are dimmed */
    color: #e8f4ff !important;
  }
  .lang-btn.active:hover {
    background: rgba(58,170,182,0.22) !important;
  }
}

/* Active pill: teal-tinted fill + precise micro-shadow */
.lang-btn.active {
  color: #e8f4ff;
  background: rgba(58,170,182,0.14);
  box-shadow:
    0 0 0 1px rgba(58,170,182,0.24),
    0 1px 4px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ── Mobile: compact in the nav bar, always visible ──────
   Shows between the logo and the hamburger.
   Tablet (641–1024px): keeps the CTA button too.
─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lang-switcher {
    display: inline-flex;   /* override any display:none */
    margin-left: 0;
    padding: 2px;
    border-radius: 8px;
    border-color: rgba(255,255,255,0.06);
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 6px;
  }
}

/* Onder 640px wijkt de taalkiezer voor de CTA. Deze regel moet ná het blok
   hierboven staan: dat zet `display:inline-flex` met dezelfde specificiteit
   ("override any display:none"), dus de laatste in bronvolgorde wint. Eén taal
   in een taalkiezer levert de bezoeker niets op; een ingang naar het formulier
   wel, en die 53px zijn precies wat de knop nodig heeft. De markup blijft
   staan voor EN/DE/FR — dan haal je deze regel weg. */
@media (max-width: 640px) {
  .lang-switcher { display: none; }
}

/* ─── LANGUAGE MENU — dropdown (i18n, I1) ─────────────────
   Tien talen passen niet als knoppen naast elkaar. De knop is de
   actieve .lang-btn van hierboven; de lijst klapt eronder open.
   scripts.js (initLangMenu) zet `hidden` en aria-expanded.
   Onder 640px blijft de wisselaar in de balk weg (regel hierboven):
   daar staan de talen in het hamburgermenu (.nav-lang-mobile), zodra
   er meer dan één taal is.
─────────────────────────────────────────────────────────── */
.lang-menu { position: relative; }
.lang-toggle {
  gap: 6px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 650;
}
.lang-caret { transition: transform 190ms cubic-bezier(0.23,1,0.32,1); }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 600;
  min-width: 190px;
  max-height: 70vh;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: rgba(10,22,40,0.98);
  border: 1px solid rgba(232,227,216,0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.lang-list[hidden] { display: none; }
.lang-list li { padding: 0; }
.lang-list li::before { display: none !important; }
.lang-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--offwhite);
  text-decoration: none;
  transition: background 160ms cubic-bezier(0.23,1,0.32,1), color 160ms cubic-bezier(0.23,1,0.32,1);
}
.lang-list a:hover,
.lang-list a:focus-visible { background: rgba(255,255,255,0.06); color: var(--white); }
.lang-list a.active { color: #e8f4ff; background: rgba(58,170,182,0.14); }
.lang-code {
  min-width: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(203,216,232,0.45);
}
@media (prefers-reduced-motion: reduce) {
  .lang-caret, .lang-list a { transition: none; }
}

/* Talen in het hamburgermenu: alleen zichtbaar als dat menu open is. */
.nav-lang-mobile { display: none; }
.nav-links.mobile-open .nav-lang-mobile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  padding: 14px 0 4px;
}
.nav-lang-mobile-label {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
.nav-links.mobile-open .nav-lang-mobile a {
  display: inline-block;
  padding: 8px 0;
  border-bottom: none;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — moved here from the template's contact.html
   (contact.html:169–185). The sector page we fork never defined
   these rules, so its footer rendered unstyled. Defect fixed in P1.
═══════════════════════════════════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(232, 227, 216, 0.07);
  padding: 80px 80px 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
}
/* Kleur staat bij de LOGO-regels hierboven (--teal). Deze regel zette hem
   terug op --cyan en won op bronvolgorde; daarom hier weggehaald in plaats
   van hierboven een !important te stapelen. */
.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(203, 216, 232, 0.4);
  max-width: 300px;
}
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(232, 227, 216, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color        200ms var(--ease-out-quint),
              border-color 200ms var(--ease-out-quint);
}
.social-link:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(203, 216, 232, 0.25);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(203, 216, 232, 0.5);
  text-decoration: none;
  transition: color 160ms var(--ease-out-quint);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(232, 227, 216, 0.06);
  font-size: 12px;
  color: rgba(203, 216, 232, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-dot { color: rgba(232, 227, 216, 0.15); }

@media (max-width: 1024px) {
  footer { padding: 64px 32px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  footer { padding: 56px 20px 36px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── WHATSAPP FLOAT: base (press feedback is defined above) ───
   Was inline on the template's pages; a class here keeps the
   footer partial clean. Renders only when SITE_WHATSAPP is set. */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   CLUSTER PAGE BLOCKS  (added in the Cluster 1 build)

   Section furniture that more than one cluster page needs.
   The hub (P3) defined .path-* / .food-* / .steps-* / .faq-*
   inline; those rules moved here verbatim so seven pages don't
   each carry a copy. Page-only furniture still goes inline on
   the page that uses it.
   Loads AFTER the shell CSS in head.php — same tokens.
   ═══════════════════════════════════════════════════════════ */

/* ─── the three paths, as equal cards (CLAUDE.md §8 rule 3) ─── */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 227, 216, 0.08);
  border-radius: 12px;
  padding: 36px 32px 32px;
  transition: border-color 220ms var(--ease-out-quint), background 220ms var(--ease-out-quint);
}
.path-card:hover { border-color: rgba(58, 170, 182, 0.35); background: rgba(255, 255, 255, 0.05); }
.path-card.is-lead { border-color: rgba(58, 170, 182, 0.4); background: rgba(58, 170, 182, 0.06); }
.path-badge {
  position: absolute;
  top: -11px;
  left: 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: #3AAAB6;
  padding: 5px 12px;
  border-radius: 3px;
}
.path-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(58, 170, 182, 0.85);
  margin-bottom: 12px;
}
.path-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 6px;
}
.path-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 227, 216, 0.5);
  margin-bottom: 18px;
}
.path-body { font-size: 15px; line-height: 1.7; color: rgba(240, 246, 255, 0.65); margin-bottom: 22px; }
.path-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.path-list li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 246, 255, 0.75);
  padding-left: 20px;
  position: relative;
}
.path-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: rgba(58, 170, 182, 0.85);
}
.path-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.path-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 227, 216, 0.6);
  text-decoration: none;
  transition: color 160ms var(--ease-out-quint);
}
.path-link:hover { color: #4CC8D5; }
.path-note { font-size: 13px; line-height: 1.7; color: rgba(240, 246, 255, 0.5); margin-top: 28px; max-width: 760px; }

/* ─── generic 3-up card row (assortiment, doelgroepen, …) ─── */
.food-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.food-card { background: var(--navy3); border-radius: 10px; padding: 32px 28px; }
.food-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.food-card p { font-size: 14px; line-height: 1.7; color: var(--gray); }

/* ─── numbered process row ─── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.step-box { border-top: 1px solid rgba(232, 227, 216, 0.14); padding-top: 20px; }
.step-box .step-i {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(58, 170, 182, 0.85);
  margin-bottom: 10px;
}
.step-box h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-box p { font-size: 13.5px; line-height: 1.65; color: var(--gray); }

/* ─── FAQ accordion — must stay identical to the FAQPage schema ─── */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(232, 227, 216, 0.1); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: color 160ms var(--ease-out-quint);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #4CC8D5; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 20px;
  font-size: 20px;
  font-weight: 400;
  color: rgba(58, 170, 182, 0.85);
  transition: transform 260ms var(--ease-out-quint);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 15px; line-height: 1.75; color: rgba(240, 246, 255, 0.6); padding: 0 40px 24px 0; }

/* ─── comparison table (kopen vs. laten plaatsen vs. bevoorrading) ─── */
.cmp-wrap { overflow-x: auto; margin-top: 32px; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; }
.cmp-table th, .cmp-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(232, 227, 216, 0.09);
  vertical-align: top;
  line-height: 1.6;
}
.cmp-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 227, 216, 0.6);
  border-bottom-color: rgba(232, 227, 216, 0.18);
  white-space: nowrap;
}
.cmp-table thead th.is-lead { color: #4CC8D5; }
.cmp-table tbody th {
  font-weight: 600;
  color: rgba(240, 246, 255, 0.85);
  width: 24%;
}
.cmp-table tbody td { color: rgba(240, 246, 255, 0.6); }
.cmp-table tbody td.is-lead { color: rgba(240, 246, 255, 0.85); background: rgba(58, 170, 182, 0.05); }

/* ─── checklist panel (past dit bij u?) ─── */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 28px; }
.check-grid li {
  list-style: none;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(240, 246, 255, 0.75);
  padding-left: 24px;
  position: relative;
}
.check-grid li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 13px;
  color: rgba(58, 170, 182, 0.85);
}

@media (max-width: 1024px) {
  .path-grid, .food-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ─── cluster link row — every sibling slug reachable from every page ─── */
.link-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.link-chip {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(232, 227, 216, 0.6);
  border: 1px solid rgba(232, 227, 216, 0.15);
  padding: 8px 14px;
  border-radius: 3px;
  text-decoration: none;
  transition: color 160ms var(--ease-out-quint), border-color 160ms var(--ease-out-quint);
}
.link-chip:hover { color: var(--white); border-color: rgba(58, 170, 182, 0.7); }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — seed-rij in de hero  (P6 item 1)

   Alleen '/' gebruikt dit blok. Het staat hier en niet inline in
   index.php omdat alle andere paginameubels ook in dit bestand
   zitten; één plek om aan te zetten is de afspraak sinds Cluster 1.

   Het zijn <a>'s, geen radio's: de eerste vraag wordt op de
   homepage gesteld maar in het formulier beantwoord. Elke link
   draagt ?mensen=<token> en landt op #locatiecheck.
═══════════════════════════════════════════════════════════ */
.seed { margin-top: 34px; }
.seed-q {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 227, 216, 0.55);
  margin-bottom: 14px;
}
.seed-row { display: flex; flex-wrap: wrap; gap: 10px; }
.seed-opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: rgba(58, 170, 182, 0.07);
  border: 1px solid rgba(58, 170, 182, 0.35);
  padding: 14px 17px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms var(--ease-out-quint),
              border-color 180ms var(--ease-out-quint),
              transform 180ms var(--ease-out-quint);
}
.seed-opt:hover {
  background: rgba(58, 170, 182, 0.16);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.seed-opt:active { transform: translateY(0); }
.seed-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(232, 227, 216, 0.45);
}

@media (max-width: 640px) {
  .seed-row { flex-direction: column; }
  .seed-opt { justify-content: space-between; }
}

/* ─── hub-themablokken — gegroepeerde links met korte duiding (P2) ───
   Alleen de hub gebruikt dit: per thema (kost, locatie, situaties,
   assortiment, automaat) één lijst, zodat elke clusterpagina vanaf de
   hub bereikbaar is. Zelfde taal als .ov-card: navy-vlakken op een
   haarlijnraster, teal pas bij hover. Valt bewust NIET onder het
   maximum van 12 links per linklijst (TEMPLATE-MAP → Interne linkregels). */
.hub-theme {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Lijnen per item i.p.v. een gap op een gekleurde achtergrond: een
     onvolle laatste rij (7 links op 3 kolommen) eindigt dan open in
     plaats van met een grijs vlak. */
  border-top: 1px solid rgba(232, 227, 216, 0.08);
  border-left: 1px solid rgba(232, 227, 216, 0.08);
  margin-top: 28px;
}
.hub-theme li {
  border-right: 1px solid rgba(232, 227, 216, 0.08);
  border-bottom: 1px solid rgba(232, 227, 216, 0.08);
}
.hub-theme a {
  display: block;
  height: 100%;
  padding: 22px 24px;
  text-decoration: none;
  transition: background 160ms var(--ease-out-quint);
}
.hub-theme a:hover { background: var(--navy3); }
.hub-theme-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.hub-theme-name::after { content: ' \2192'; color: var(--teal); }
.hub-theme-desc { display: block; font-size: 13px; line-height: 1.6; color: var(--gray); }
@media (max-width: 1024px) { .hub-theme { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .hub-theme { grid-template-columns: 1fr; } }

/* ─── contextuele links in lopende tekst (interne linkregels) ───
   Alleen <a> zonder eigen class: path-link, ov-card, link-chip en de
   knoppen houden hun eigen stijl. Leesbaar als link zonder dat het
   tekstbeeld omslaat naar teal: onderlijnd in teal, tekst in wit. */
.section-body a:not([class]),
.page-lead a:not([class]),
.path-note a:not([class]),
.check-grid a:not([class]),
.benefits-list a:not([class]),
.food-card a:not([class]),
.step-box a:not([class]) {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(58, 170, 182, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms var(--ease-out-quint), color 160ms var(--ease-out-quint);
}
.section-body a:not([class]):hover,
.page-lead a:not([class]):hover,
.path-note a:not([class]):hover,
.check-grid a:not([class]):hover,
.benefits-list a:not([class]):hover,
.food-card a:not([class]):hover,
.step-box a:not([class]):hover { color: #4CC8D5; text-decoration-color: #4CC8D5; }

/* ═══════════════════════════════════════════════════════════
   BEELD — hero-achtergrond, figuren, banden.

   De shell-CSS in head.php definieerde .page-hero-bg al (cover +
   gradient) maar geen enkele pagina gebruikte hem: de site draaide
   tot nu volledig zonder beeld. Hier komt de laag die dat invult.

   Uitgangspunt: het beeld mag de tekst nooit in de weg zitten.
   Alle bronbeelden zijn donker en filmisch, dus ze liggen goed op
   --navy; de gradient uit .page-hero-bg::after houdt het contrast
   aan de tekstkant hoe dan ook boven de WCAG-drempel.
═══════════════════════════════════════════════════════════ */

/* ─── hero ───
   Het beeld is een <img>, geen background-image: alleen zo krijgt
   het een srcset (telefoons downloaden 600w in plaats van 1600w)
   en ziet de preload scanner het LCP-element vóór de CSS binnen is.
   Zie partials/img.php. */
.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* De gradient ligt over het beeld. ::after paint na de children, dus
   dit zou ook zonder z-index werken — expliciet omdat een latere
   position/z-index op de <img> die volgorde stil zou omdraaien. */
.page-hero-bg::after { z-index: 1; }
/* Het rasterpatroon en de tekst blijven bovenop. */
.page-hero-grid { z-index: 1; }

/* ─── figuur in een tekstkolom ─── */
.media { margin: 0; }
.media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(232, 227, 216, 0.08);
  /* Vult het kader vóór de bytes binnen zijn, zodat er geen witte
     flits over een donkere pagina trekt. */
  background: var(--navy3);
}
.media figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(240, 246, 255, 0.45);
}

/* ─── brede band tussen twee tekstsecties ───
   Bewust geen volle viewportbreedte: de band volgt dezelfde
   1200px-kolom als .section, anders breekt het ritme van de pagina. */
.media-band {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px 80px;
}
.media-band .media-img { border-radius: 14px; }
.media-band figcaption { text-align: center; }

/* ─── twee beelden naast elkaar (voor/na, vergelijkingen) ─── */
.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px 80px;
}

/* ─── beeld als kolom in .two-col ───
   Plakt mee met de tekst zolang er ruimte is; op smalle schermen
   valt het onder de tekst zoals .two-col al doet. */
.two-col .media { align-self: start; }

@media (max-width: 1024px) {
  .media-band { padding: 0 24px 60px; }
  .media-duo  { grid-template-columns: 1fr; padding: 0 24px 60px; }
}

/* ═══════════════════════════════════════════════════════════
   BROCHURE (homepage §brochure)
   Twee liggende spreads. De kaart is een <button>: op deze
   breedte is de tekst in de spread onleesbaar, dus klikken
   opent de volledige webp in de lightbox.
═══════════════════════════════════════════════════════════ */

.broch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

.broch-card { margin: 0; }

/* De knop draagt de kaart. Geen knop-uiterlijk: reset naar het beeld. */
.broch-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(232, 227, 216, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  transition:
    transform    260ms var(--ease-out-quint),
    border-color 260ms var(--ease-out-quint),
    box-shadow   260ms var(--ease-out-quint);
}
.broch-open:hover {
  transform: translateY(-3px);
  border-color: rgba(58, 170, 182, 0.45);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
}
.broch-open:active { transform: translateY(-1px) scale(0.995); }
.broch-open:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.broch-open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 1415;   /* reserveert de hoogte: geen layout shift */
}

/* "Vergroten"-label, verschijnt op hover/focus. */
.broch-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(232, 227, 216, 0.16);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity   220ms var(--ease-out-quint),
    transform 220ms var(--ease-out-quint);
}
.broch-open:hover .broch-zoom,
.broch-open:focus-visible .broch-zoom {
  opacity: 1;
  transform: translateY(0);
}

.broch-cap {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(240, 246, 255, 0.62);
}
.broch-cap-n {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 10px;
}

.broch-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.broch-meta {
  font-size: 13px;
  color: rgba(232, 227, 216, 0.45);
}

/* ─── LIGHTBOX ─────────────────────────────────────────── */
.broch-lb {
  position: fixed;
  inset: 0;
  /* Boven #topbar (700) en #main-nav (500), anders leggen die zich
     over het vergrote blad en over de sluitknop heen. */
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(6, 14, 26, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 240ms var(--ease-out-quint);
}
.broch-lb[hidden] { display: none; }
.broch-lb.is-open { opacity: 1; }

.broch-lb-img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  transform: scale(0.97);
  transition: transform 300ms var(--ease-out-quint);
}
.broch-lb.is-open .broch-lb-img { transform: scale(1); }

.broch-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(232, 227, 216, 0.16);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background   180ms var(--ease-out-quint),
    border-color 180ms var(--ease-out-quint),
    transform    180ms var(--ease-out-quint);
}
.broch-lb-close:hover {
  background: rgba(58, 170, 182, 0.18);
  border-color: var(--teal);
}
.broch-lb-close:active { transform: scale(0.94); }
.broch-lb-close:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .broch-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Op touch is er geen hover: toon het label meteen. */
@media (hover: none) {
  .broch-zoom { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .broch-open,
  .broch-zoom,
  .broch-lb,
  .broch-lb-img,
  .broch-lb-close { transition: none; }
  .broch-open:hover { transform: none; }
  .broch-lb-img { transform: none; }
}
