/* =========================================================================
   321Klik — Photobooth site design language
   Fun-premium, photo-led. White canvas, warm orange→pink gradient accent,
   soft depth, rounded geometry, restrained motion. Built on the 321Klik
   brand gradient. Tokens from /site/tokens.css; fonts self-hosted (/fonts/fonts.css, linked by each page).
   ========================================================================= */

/* Design tokens now live in the shared single source of truth
   (packages/ui/tokens.css), copied to /site/tokens.css by the portal's
   predev/prebuild `sync-tokens` step. Change brand tokens THERE, not here.
   Every page links /site/tokens.css itself, BEFORE this file (the legal pages too), so it is
   not @imported here: the import fetched it a second time, one step later (Lighthouse, 17 Nov 2026). */

* { box-sizing: border-box; }
/* overflow-x:clip (not hidden) contains horizontal overflow WITHOUT making this a scroll
   container — `hidden` would force overflow-y to `auto` and break the sticky header. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* In-page anchor targets (e.g. the hero "Hoe werkt het?" → #hoe) clear the sticky header. */
:where([id]) { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  font-weight: var(--w-normal);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  /* the face's own spacing for running text (site audit 17 Oct 2026: -.02em was inherited into every paragraph) */
  letter-spacing: var(--track-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Typography ------------------------------------------------------- */
/* The headings and the lead are set once per level in kit.css (design/homepage-mockups); the eyebrow kicker class and the
   .h1/.h2/.h3 helpers that lived here were unused and are gone (house rule: no eyebrow labels). */
.gt {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(72px, 9vw, 130px) 0; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: var(--w-medium); font-size: var(--t-button); line-height: var(--lh-ui); letter-spacing: var(--track-body);
  padding: 15px 26px; border-radius: var(--r-pill); border: none;
  /* nowrap only while there is room: at 320px "Beschikbaarheid controleren" was cut by 31px (site audit). Below that
     the label wraps inside the pill instead of leaving the screen. */
  min-height: 52px; white-space: nowrap; max-width: 100%; text-align: center;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
/* White label on the bright orange/coral stretch of the gradient measures ~2.5:1; a faint
   plum text-shadow lifts legibility without touching the brand gradient. Reset below on the
   variants whose background flips to solid white (ink text, where a shadow would be wrong). */
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-glow); background-size: 140% 140%; text-shadow: 0 1px 2px rgba(59,24,53,.34); }
.kaart.on-ink .btn-primary { text-shadow: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -16px rgba(255,94,126,.6); background-position: 100% 50%; }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: var(--t-button-lg); min-height: 60px; }
@media (max-width: 380px) { .btn { white-space: normal; line-height: var(--lh-h4); } }
.btn-sm { padding: 11px 18px; font-size: var(--t-button); min-height: 44px; }

/* ---- Chips / badges --------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--canvas); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line);
  font-size: var(--t-body); font-weight: var(--w-medium); color: var(--ink-2);
}
.chip .star { color: #FFB300; }

/* ---- Cards ------------------------------------------------------------ */
.card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ---- Reveal animations — visible by default; hide+animate only engages
   once JS confirms frames are running (html.anim). Guarantees content shows
   even where rAF/transitions are throttled. ------------------------------- */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
html.anim .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal:not(.in) { opacity: 1; transform: none; }
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Section helpers -------------------------------------------------- */
.bg-cream { background: var(--cream); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.7); padding: 80px 0 36px; }

@media (max-width: 560px) {
  :root { --gut: 20px; }
}

/* ---- Utility ---------------------------------------------------------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.grid { display: grid; }
.flex { display: flex; }
