/* ==========================================================================
   Cheesecake by Maryam — Design System
   Fraunces (display) + Manrope (body) + Caveat (signature accent)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@400;500;600;700;800&family=Caveat:wght@500;600;700&display=swap');

:root {
  /* ---- Color: OKLCH-first, hex fallback in comments ---- */
  --color-cream:        oklch(98.56% 0.0084 56.32);   /* #FFF9F5 */
  --color-cream-alt:     oklch(96.3%  0.012  48);      /* warm secondary surface */
  --color-cherry:       oklch(50.21% 0.1435 29.43);   /* #A63B2F */
  --color-cherry-deep:  oklch(43.76% 0.1262 29.37);   /* #8A2F25 */
  --color-cherry-bright: oklch(56%   0.15   29.43);
  --color-pink:         oklch(90.86% 0.0383 350.66);  /* #F6D7E4 */
  --color-pink-soft:    oklch(94.5%  0.025  350.66);
  --color-choc:         oklch(30.4%  0.0261 30.02);   /* #3B2A27 */
  --color-choc-muted:   oklch(30.4%  0.0261 30.02 / 0.74);
  --color-pistachio:    oklch(69.4%  0.0771 127.67);  /* #8FA672 */
  --color-gold:         oklch(73.08% 0.1012 80.46);   /* #C9A15A */

  --color-bg: var(--color-cream);
  --color-surface: #fff;
  --color-text: var(--color-choc);
  --color-text-muted: var(--color-choc-muted);

  /* ---- Type ---- */
  --font-display: 'Fraunces', 'Iowan Old Style', ui-serif, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-signature: 'Caveat', cursive;

  /* ---- Spacing scale ---- */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --space-9: 8rem;
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --section-gap: clamp(3rem, 8vw, 6rem);

  /* ---- Radii / shadow / motion ---- */
  --radius-pill: 100px;
  --radius-soft: 14px;
  --radius-card: 28px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-cherry-sm: 0 8px 20px oklch(50% 0.14 29 / 0.16);
  --shadow-cherry-md: 0 14px 28px oklch(50% 0.14 29 / 0.28);
  --shadow-cherry-lg: 0 24px 48px oklch(50% 0.14 29 / 0.30);
  --max-width: 1400px;

  color-scheme: light;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Scrollbar: cherry thumb on cream track, matches the brand ---- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-cherry) var(--color-cream-alt);
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--color-cream-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--color-cherry);
  border-radius: var(--radius-pill);
  border: 3px solid var(--color-cream-alt);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cherry-deep);
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-choc);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variation-settings: "opsz" 40;
}

p { margin: 0; max-width: 68ch; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
  /* keeps anchor-linked sections (nav links, hero CTA) from landing behind
     the fixed .site-nav */
  scroll-margin-top: 84px;
}
/* Alternating section backgrounds: every section visibly differs from its
   neighbours (white / warm cream-alt / white ...), per the mockup rhythm. */
.section--alt { background: var(--color-cream-alt); }
.section--white { background: var(--color-surface); }
.section--dark {
  background: var(--color-cherry);
  color: var(--color-cream);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-cream); }
.section--dark p { color: oklch(98.56% 0.0084 56.32 / 0.86); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cherry);
  margin-bottom: var(--space-3);
}
.section--dark .kicker { color: var(--color-pink); }
.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: var(--space-6); }
.section-head--center { margin-inline: auto; text-align: center; }
/* Mascotte-icoon in de linkeronderhoek van een sectie: puur decoratief */
.section-icon {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: clamp(84px, 10vw, 150px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}
/* Variant: mascotte staat bovenop de linkerrand van een kaart (bv. calc-card).
   translateY laat alleen de "voetjes" op de kaartrand rusten. */
.section-icon--card {
  left: clamp(1rem, 3vw, 2.5rem);
  bottom: 100%;
  transform: translateY(6%);
  width: clamp(80px, 8.5vw, 125px);
  margin-left: -15px;
}
.section-sub {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: 1.05rem;
}
.section-head--center .section-sub { margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-cherry);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-cherry);
  outline-offset: 3px;
  border-radius: 4px;
}

/* On cherry-red backgrounds the cherry outline would vanish, so swap to cream */
.section--dark :focus-visible,
.order-summary :focus-visible,
.cake-fab:focus-visible {
  outline-color: var(--color-cream);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s var(--ease-spring), background-color 0.2s ease;
  will-change: transform;
}
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }

.btn--primary {
  background: var(--color-cherry);
  color: var(--color-cream);
  box-shadow: var(--shadow-cherry-sm);
}
.btn--primary:hover {
  background: var(--color-cherry-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cherry-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-cherry);
  border: 1.5px solid var(--color-cherry);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  background: oklch(50% 0.14 29 / 0.06);
  box-shadow: var(--shadow-cherry-sm);
}

.section--dark .btn--ghost {
  color: var(--color-cream);
  border-color: oklch(98.56% 0.0084 56.32 / 0.55);
}
.section--dark .btn--ghost:hover {
  background: oklch(98.56% 0.0084 56.32 / 0.1);
}
.section--dark .btn--primary {
  background: var(--color-cream);
  color: var(--color-cherry-deep);
}
.section--dark .btn--primary:hover {
  background: #fff;
}

.btn--full { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 0.85rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-nav.is-scrolled {
  background: oklch(98.56% 0.0084 56.32 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 oklch(30% 0.026 30 / 0.08), 0 12px 30px oklch(30% 0.026 30 / 0.06);
  padding-block: 0.5rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-choc);
  line-height: 1.05;
}
.brand-word em {
  font-family: var(--font-signature);
  font-style: normal;
  font-weight: 600;
  font-size: 1.3em;
  color: var(--color-cherry);
  margin-left: 0.15em;
}
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cherry);
  margin-top: 0.1rem;
}
@media (max-width: 480px) {
  .site-nav .brand-word small { display: none; }
  .nav-cta .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding-block: 0.25rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-cherry);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-spring);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--color-cherry); }

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-cta .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
@media (max-width: 640px) {
  /* The drawer has its own "Bestellen" CTA pill, so the header doesn't need one too. */
  .nav-cta .btn { display: none; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid oklch(30% 0.026 30 / 0.18);
  background: transparent;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--color-choc);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Drawer owns its own close button once open, so the header trigger fades out */
.nav-toggle[aria-expanded="true"] { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Mobile nav drawer: side panel with icon links, CTA pill and help card
   ========================================================================== */

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(30% 0.026 30 / 0);
  transition: background-color 0.45s ease;
  overflow: hidden;
  pointer-events: none;
}
.nav-drawer.is-open {
  background: oklch(30% 0.026 30 / 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: auto;
}

.nav-drawer__panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 5vw, 1.9rem) clamp(1.3rem, 4.5vw, 1.7rem) clamp(1.5rem, 5vw, 2rem);
  background: var(--color-cream);
  box-shadow: 30px 0 80px oklch(30% 0.026 30 / 0.25);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-spring);
  overflow-y: auto;
  scrollbar-width: none;
}
.nav-drawer__panel::-webkit-scrollbar { display: none; }
.nav-drawer.is-open .nav-drawer__panel { transform: translateX(0); }

.nav-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.6rem, 5vw, 2.2rem);
}
.nav-drawer__brand { display: block; text-decoration: none; }
.nav-drawer__brand-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-choc);
}
.nav-drawer__brand-word em {
  font-family: var(--font-signature);
  font-style: normal;
  color: var(--color-cherry);
}
.nav-drawer__tagline {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.nav-drawer__close {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: var(--color-pink-soft);
  color: var(--color-cherry-deep);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-spring);
}
.nav-drawer__close svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .nav-drawer__close:hover { background: var(--color-cherry); color: var(--color-cream); transform: rotate(90deg); }
}

.nav-drawer__links { display: flex; flex-direction: column; }
.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem;
  text-decoration: none;
  border-bottom: 1px solid oklch(30% 0.026 30 / 0.08);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
}
.nav-drawer__link:last-child { border-bottom: none; }
.nav-drawer__link-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--color-pink-soft);
  color: var(--color-cherry);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-drawer__link-icon svg { width: 22px; height: 22px; }
.nav-drawer__link-label {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-choc);
}
.nav-drawer__link-chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: oklch(30% 0.026 30 / 0.3);
  transition: transform 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-drawer__link:hover .nav-drawer__link-icon { background: var(--color-pink); transform: scale(1.04); }
  .nav-drawer__link:hover .nav-drawer__link-chev { color: var(--color-cherry); transform: translateX(3px); }
}
.nav-drawer.is-open .nav-drawer__link { opacity: 1; transform: translateX(0); }
.nav-drawer.is-open .nav-drawer__link:nth-child(1) { transition-delay: 0.10s; }
.nav-drawer.is-open .nav-drawer__link:nth-child(2) { transition-delay: 0.16s; }
.nav-drawer.is-open .nav-drawer__link:nth-child(3) { transition-delay: 0.22s; }
.nav-drawer.is-open .nav-drawer__link:nth-child(4) { transition-delay: 0.28s; }

.nav-drawer__cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: clamp(1.5rem, 5vw, 2rem) 0 0;
  padding: 1.05rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-cherry);
  color: var(--color-cream);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-cherry-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
}
.nav-drawer.is-open .nav-drawer__cta { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }
.nav-drawer__cta svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-drawer__cta span { flex: 1; }
.nav-drawer__cta-arrow { transition: transform 0.2s ease; }
@media (hover: hover) and (pointer: fine) {
  .nav-drawer__cta:hover .nav-drawer__cta-arrow { transform: translateX(4px); }
}

.nav-drawer__help {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: auto;
  padding-top: clamp(1.25rem, 4vw, 1.6rem);
  border-top: 1px solid oklch(30% 0.026 30 / 0.08);
}
.nav-drawer__help-body { min-width: 0; }
.nav-drawer__help-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-choc);
}
.nav-drawer__help-body > span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.nav-drawer__help-socials { display: flex; justify-content: center; gap: 0.5rem; }
.nav-drawer__help-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-pink-soft);
  color: var(--color-cherry-deep);
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-drawer__help-socials a:hover { background: var(--color-cherry); color: var(--color-cream); }
}
.nav-drawer__help-socials svg { width: 17px; height: 17px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .nav-drawer { display: block; }
}

/* ==========================================================================
   Wax-seal monogram — signature element
   ========================================================================== */

.wax-seal {
  --seal-size: 108px;
  width: var(--seal-size);
  height: var(--seal-size);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 34% 28%, var(--color-cherry-bright), var(--color-cherry) 55%, var(--color-cherry-deep) 100%);
  box-shadow:
    inset 0 3px 6px oklch(98.56% 0.0084 56.32 / 0.35),
    inset 0 -8px 14px oklch(0% 0 0 / 0.28),
    0 18px 30px oklch(50% 0.14 29 / 0.35);
  border: 1.5px solid oklch(73.08% 0.1012 80.46 / 0.55);
  flex-shrink: 0;
}
.wax-seal::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed oklch(73.08% 0.1012 80.46 / 0.55);
}
.wax-seal span {
  font-family: var(--font-signature);
  font-size: calc(var(--seal-size) * 0.46);
  color: var(--color-cream);
  transform: translateY(-2px) rotate(-4deg);
  text-shadow: 0 2px 3px oklch(0% 0 0 / 0.25);
}
.wax-seal--sm { --seal-size: 56px; }

.wax-seal.is-stamping {
  animation: seal-stamp 0.9s var(--ease-spring) both;
}
@keyframes seal-stamp {
  0%   { transform: scale(1.6) rotate(-16deg); opacity: 0; }
  55%  { transform: scale(0.92) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wax-seal.is-stamping { animation: none; }
}

/* ==========================================================================
   Organic blobs / texture
   ========================================================================== */

.blob {
  position: absolute;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
  transform: translateY(var(--parallax-y, 0px));
}
.blob--pink {
  background: var(--color-pink);
  opacity: 0.7;
}
.blob--cream {
  background: var(--color-cream-alt);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  /* Track the ~16:9 photo ratio (1672x941) so the cover-crop stays minimal:
     height follows ~56vw up to one viewport, with a floor for small screens. */
  min-height: clamp(540px, 56vw, 100svh);
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  background: var(--color-cream);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-scene-bg {
  position: absolute;
  inset: 0;
}
.hero-scene-bg img {
  width: 100%;
  height: 99%;
  object-fit: cover;
  /* Left ~55% of the photo is the plain cream backdrop the copy sits on;
     anchoring left keeps that safe zone intact as the viewport narrows,
     cropping the decorative right edge (cloth/flowers) instead. */
  object-position: left center;
}
/* Cinematic settle: photo starts slightly zoomed and eases to rest on load */
.js-ready .hero:not(.is-loaded) .hero-scene-bg img { transform: scale(1.06); }
.js-ready .hero .hero-scene-bg img {
  transition: transform 1.8s var(--ease-spring);
}
.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--color-cream) 0%, transparent 10%),
    linear-gradient(to right, color-mix(in srgb, var(--color-cream) 88%, transparent) 8%, color-mix(in srgb, var(--color-cream) 55%, transparent) 38%, transparent 58%);
}

.hero-copy-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy { max-width: 540px; }
.hero-copy .kicker { display: inline-flex; }

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 72;
  margin-block: var(--space-3) var(--space-4);
}
.hero-title .line {
  display: block;
}
.hero-title .line span {
  display: inline-block;
  transform: none;
}
.hero-title em {
  font-style: normal;
  color: var(--color-cherry);
}

/* Progressive-enhancement hero load: hidden state only applies once JS has
   attached (.js-ready) and only until the orchestrated reveal fires
   (.hero.is-loaded) — so content is always visible without JS. */
.js-ready .hero:not(.is-loaded) .hero-title .line span { transform: translateY(110%); }
.js-ready .hero .hero-title .line span {
  transition: transform 0.85s var(--ease-spring);
}
.js-ready .hero:not(.is-loaded) .hero-copy .kicker,
.js-ready .hero:not(.is-loaded) .hero-sub,
.js-ready .hero:not(.is-loaded) .hero-ctas {
  opacity: 0;
  transform: translateY(18px);
}
.js-ready .hero .hero-copy .kicker,
.js-ready .hero .hero-sub,
.js-ready .hero .hero-ctas {
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}
.hero.is-loaded .hero-title .line:nth-child(1) span { transition-delay: 0.05s; }
.hero.is-loaded .hero-title .line:nth-child(2) span { transition-delay: 0.16s; }
.hero.is-loaded .hero-copy .kicker { transition-delay: 0s; }
.hero.is-loaded .hero-sub { transition-delay: 0.3s; }
.hero.is-loaded .hero-ctas { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .js-ready .hero:not(.is-loaded) .hero-title .line span,
  .js-ready .hero:not(.is-loaded) .hero-copy .kicker,
  .js-ready .hero:not(.is-loaded) .hero-sub,
  .js-ready .hero:not(.is-loaded) .hero-ctas,
  .js-ready .hero:not(.is-loaded) .hero-scene-bg img {
    opacity: 1;
    transform: none;
  }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  /* Narrower than .hero-copy's 540px cap so the line stays inside the
     cream left half instead of reaching toward the photo. */
  max-width: 420px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Mobile hero: dedicated portrait photo (achtergrond_hero_mobile) has its own
   cream space at the top for the copy. object-position: top keeps that cream
   band intact (cropping the plate at the bottom instead) on the narrow range
   of phone aspect ratios where cover would otherwise need to crop vertically.
   A soft top-fade scrim stays in place as a safety net for text legibility. */
@media (max-width: 640px) {
  .hero {
    min-height: 70svh;
    align-items: flex-start;
    padding-top: 5.5rem;
  }
  .hero-scene-bg img { object-position: center top; }
  .hero-scene::after { background: linear-gradient(to top, var(--color-cream) 0%, transparent 28%); }
  .hero-copy { max-width: 100%; }
  .hero-sub { max-width: 80%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; width: 70%; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  /* Without this, the img's height="…" attribute wins as a literal pixel
     value (nothing else overrides it), stretching/distorting the image
     instead of scaling it proportionally with the width. */
  height: auto;
  border-radius: var(--radius-card) 4% var(--radius-card) 4% / 4% var(--radius-card) 4% var(--radius-card);
  box-shadow: var(--shadow-cherry-lg);
}
.about-signature {
  font-family: var(--font-signature);
  font-size: 2.1rem;
  color: var(--color-cherry);
  margin-top: var(--space-4);
}
.about-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.about-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 600;
}
.about-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-cherry); }

/* Matches the max-width: 1024px breakpoint below that hides .about-media —
   the 2-column split should only kick in once the photo is actually shown. */
@media (min-width: 1025px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .about-grid.is-reversed { grid-template-columns: 1.15fr 0.85fr; }
  .about-grid.is-reversed .about-media { order: 2; }
}

@media (max-width: 1024px) {
  .about-media { display: none; }
  /* With the photo gone, .about-copy is the grid's only child — without an
     explicit width it would auto-place into the first (narrower) column
     track from the desktop rule and sit squeezed left. Give it its own
     centered column instead. */
  .about-copy {
    max-width: 640px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   Assortiment — spotlight carrousel
   ========================================================================== */

.flavor-slider {
  position: relative;
  margin-top: var(--space-6);
}
.flavor-viewport {
  position: relative;
  overflow: hidden;
  /* headroom so the enlarged spotlight card's shadow isn't clipped */
  padding-block: var(--space-5);
  /* soft edge fade instead of a hard clip on the peeking side cards */
  mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  /* without this, a horizontal drag gets cancelled by the browser's own
     scroll-gesture arbitration before pointerup fires, so swipe never runs */
  touch-action: pan-y;
}
/* Fade the card shadow into the section background instead of a hard clip
   at the top/bottom edge of the overflow: hidden viewport. */
.flavor-viewport::before,
.flavor-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: var(--space-5);
  z-index: 2;
  pointer-events: none;
}
.flavor-viewport::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-cream-alt), transparent);
}
.flavor-viewport::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-cream-alt), transparent);
}
.flavor-track {
  display: flex;
  gap: var(--space-5);
  transition: transform 0.6s var(--ease-spring);
  will-change: transform;
}

.flavor-card {
  position: relative;
  flex: 0 0 min(78vw, 340px);
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 28px oklch(50% 0.14 29 / 0.1);
  opacity: 0.72;
  transform: scale(0.9);
  transition: transform 0.5s var(--ease-spring), opacity 0.4s ease, box-shadow 0.5s var(--ease-spring);
}
.flavor-card.is-active {
  opacity: 1;
  transform: scale(1.06);
  box-shadow: var(--shadow-cherry-lg);
}
.flavor-card:focus-within {
  box-shadow: var(--shadow-cherry-lg);
}

.flavor-media {
  position: relative;
  z-index: 1;
  flex: 1;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--color-cream-alt);
  margin-bottom: var(--space-4);
  min-height: 160px;
  aspect-ratio: 1 / 0.94;
}
.flavor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .flavor-card:hover .flavor-media img { transform: scale(1.06); }
}

.flavor-body {
  position: relative;
  z-index: 1;
  text-align: center;
}
.flavor-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.flavor-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-inline: auto;
}

.flavor-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  color: var(--color-choc);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px oklch(30% 0.026 30 / 0.16);
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease, color 0.25s ease;
}
.flavor-arrow--prev { left: -60px; }
.flavor-arrow--next { right: -60px; }
@media (hover: hover) and (pointer: fine) {
  .flavor-arrow:hover {
    background: var(--color-cherry);
    color: var(--color-cream);
    transform: translateY(-50%) scale(1.06);
  }
}
.flavor-arrow:active { transform: translateY(-50%) scale(0.92); transition-duration: 0.1s; }

.flavor-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: var(--space-4);
}
.flavor-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: oklch(50% 0.14 29 / 0.2);
  transition: background-color 0.3s ease, transform 0.3s var(--ease-spring);
}
.flavor-dot.is-active {
  background: var(--color-cherry);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .flavor-track { transition: none; }
  .flavor-card { transition: none; }
}
@media (max-width: 640px) {
  .flavor-viewport {
    mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
  }
}
@media (max-width: 1024px) {
  /* Touch devices (phone + tablet, incl. iPad Pro portrait at 1024px) swipe
     the carousel directly; arrows are redundant clutter. */
  .flavor-arrow { display: none; }
}

/* ==========================================================================
   Mix & Match
   ========================================================================== */

.mix-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 6vw, var(--space-7));
  display: grid;
  gap: var(--space-6);
  overflow: hidden;
  box-shadow: var(--shadow-cherry-sm);
}
.mix-card::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  background: var(--color-pink);
  opacity: 0.5;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
  top: -120px;
  right: -120px;
  z-index: 0;
}
.mix-content { position: relative; z-index: 1; }
.mix-content h2 em {
  font-style: normal;
  color: var(--color-cherry);
}
.mix-visual {
  position: relative;
  z-index: 1;
}
.mix-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-cherry-md);
}
.mix-occasions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.mix-occasions li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}
.mix-occasion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-pink-soft);
  color: var(--color-cherry);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .mix-card { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ==========================================================================
   USPs
   ========================================================================== */

.usp-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6) var(--space-5);
  text-align: center;
}
.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-pink-soft);
  color: var(--color-cherry);
  margin-bottom: var(--space-3);
}
.usp-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.usp-item p { color: var(--color-text-muted); font-size: 0.9rem; margin-inline: auto; }

/* ==========================================================================
   Prijzen — interactieve calculator
   ========================================================================== */

/* Prijzen-sectie vult precies één scherm: compacte paddings, content
   verticaal gecentreerd, kaart breder zodat de hoogte beperkt blijft. */
#prijzen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
#prijzen > .container { width: 100%; }
#prijzen .section-head { margin-bottom: var(--space-4); }
@media (max-width: 640px) {
  #prijzen .section-head { margin-bottom: 55px; }
}

.calc-card {
  position: relative; /* anker voor de mascotte op de kaartrand */
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-cherry-sm);
  padding: clamp(1.25rem, 3vw, var(--space-5));
  max-width: 1060px;
  margin-inline: auto;
}

.calc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid oklch(30% 0.026 30 / 0.08);
  margin-bottom: var(--space-4);
}
.calc-controls-label {
  font-weight: 700;
  font-size: 1.05rem;
}
.calc-controls-label small {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.calc-stepper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-cream);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
}
.calc-stepper .stepper-value {
  min-width: 2.6rem;
  font-size: 1.5rem;
}
.calc-stepper .stepper-btn {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}
.calc-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.calc-preset {
  border: 1.5px solid oklch(30% 0.026 30 / 0.15);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 44px;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease-spring);
}
.calc-preset:active { transform: scale(0.95); }
.calc-preset.is-active {
  border-color: var(--color-cherry);
  background: oklch(50% 0.14 29 / 0.07);
  color: var(--color-cherry-deep);
}

.calc-flavors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.calc-flavor {
  text-align: center;
  background: var(--color-cream);
  border-radius: var(--radius-soft);
  padding: var(--space-3) var(--space-2);
}
.calc-flavor img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 8px 10px oklch(30% 0.026 30 / 0.18));
}
.calc-flavor strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.25;
  margin-bottom: 0.3rem;
  min-height: 2em;
}
.calc-flavor-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-cherry);
  transition: transform 0.3s var(--ease-spring);
}
.calc-flavor-price.is-ticking { transform: scale(1.18); }
.calc-flavor-was,
.pick-was {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.calc-flavor-was[hidden],
.pick-was[hidden] { display: none; }
.calc-discount {
  display: inline-block;
  margin-top: 0.3rem;
  background: var(--color-cherry);
  color: var(--color-cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
}
.calc-discount[hidden] { display: none; }

.calc-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  background: var(--color-pink-soft);
  border-radius: var(--radius-soft);
  padding: var(--space-4) var(--space-5);
}
.calc-total-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--color-choc);
  line-height: 1.15;
}
.calc-total-copy span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.calc-tier-hint {
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cherry-deep);
  min-height: 1.2em;
}

@media (max-width: 640px) {
  .calc-controls { justify-content: center; text-align: center; }
  .calc-flavors { grid-template-columns: repeat(2, 1fr); }
  .calc-total { flex-direction: column; text-align: center; }
  .calc-total .btn { width: 100%; }
}

/* ==========================================================================
   Reviews — center-mode slider op fotografische achtergrond (mockup)
   ========================================================================== */

.reviews-stage {
  position: relative;
  overflow: hidden;
}
.reviews-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.reviews-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Soft hand-off: fade in from the cream-alt prijzen-section above and out to
   the white CTA below, so the photo never starts on a hard edge. */
.reviews-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--color-cream-alt) 0%, transparent 14%),
    linear-gradient(to top, var(--color-surface) 0%, transparent 12%);
}
.reviews-inner { position: relative; z-index: 1; }

.reviews-script {
  display: block;
  font-family: var(--font-signature);
  font-size: 1.7rem;
  color: var(--color-cherry);
  margin-bottom: 0.25rem;
}
.rev-heart {
  color: var(--color-cherry);
  vertical-align: -2px;
}

.rev-slider {
  position: relative;
  margin-top: var(--space-6);
}
.rev-viewport {
  overflow: hidden;
  /* headroom so the enlarged center card's shadow isn't clipped */
  padding-block: var(--space-5);
  /* soft edge fade instead of a hard clip on the peeking side cards */
  mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  /* without this, a horizontal drag gets cancelled by the browser's own
     scroll-gesture arbitration before pointerup fires, so swipe never runs */
  touch-action: pan-y;
}
.rev-track {
  display: flex;
  gap: var(--space-4);
  transition: transform 0.6s var(--ease-spring);
  will-change: transform;
}

.rev-card {
  flex: 0 0 min(78vw, 300px);
  background: var(--color-surface);
  border-radius: 20px;
  padding: var(--space-5);
  box-shadow: 0 10px 28px oklch(50% 0.14 29 / 0.1);
  display: flex;
  flex-direction: column;
  opacity: 0.72;
  transform: scale(0.94);
  transition: transform 0.5s var(--ease-spring), opacity 0.4s ease, box-shadow 0.5s var(--ease-spring);
}
.rev-card.is-active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: var(--shadow-cherry-md);
}

.rev-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.rev-quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--color-pink);
  margin-bottom: var(--space-2);
}
.rev-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-choc);
  flex: 1;
  margin-bottom: var(--space-4);
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: var(--space-3);
  border-top: 1px solid oklch(30% 0.026 30 / 0.08);
}
.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-pink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-cherry-deep);
  flex-shrink: 0;
}
.rev-author strong { display: block; font-size: 0.92rem; }
.rev-author span { font-size: 0.78rem; color: var(--color-text-muted); }

.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  color: var(--color-choc);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px oklch(30% 0.026 30 / 0.16);
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease, color 0.25s ease;
}
.rev-arrow--prev { left: -60px; }
.rev-arrow--next { right: -60px; }
@media (hover: hover) and (pointer: fine) {
  .rev-arrow:hover {
    background: var(--color-cherry);
    color: var(--color-cream);
    transform: translateY(-50%) scale(1.06);
  }
}
.rev-arrow:active { transform: translateY(-50%) scale(0.92); transition-duration: 0.1s; }

.rev-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: var(--space-2);
}
.rev-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: oklch(50% 0.14 29 / 0.2);
  transition: background-color 0.3s ease, transform 0.3s var(--ease-spring);
}
.rev-dot.is-active {
  background: var(--color-cherry);
  transform: scale(1.25);
}

.rev-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: var(--space-6);
  margin-inline: auto;
  font-weight: 600;
  color: var(--color-choc);
}
.rev-cta svg:first-child { color: var(--color-cherry); }
.rev-cta a {
  color: var(--color-cherry-deep);
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.rev-cta a:hover { color: var(--color-cherry); }

@media (prefers-reduced-motion: reduce) {
  .rev-track { transition: none; }
  .rev-card { transition: none; }
}
@media (max-width: 640px) {
  .rev-viewport {
    mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
  }
  /* Compactere reviews-sectie: kop en slider sluiten op elkaar aan,
     mascotte-icoon zakt iets richting de sectierand. */
  .reviews-stage .section-head { margin-bottom: 0; }
  .rev-slider { margin-top: 0; }
  .reviews-stage .section-icon { bottom: 0.25rem; }
}
@media (max-width: 1024px) {
  /* Touch devices (phone + tablet, incl. iPad Pro portrait at 1024px) swipe
     the carousel directly; arrows are redundant clutter. */
  .rev-arrow { display: none; }
}

/* ==========================================================================
   CTA band — rounded pink banner per mockup
   ========================================================================== */

/* Band sits flush on the bottom edge of its white section, only the top
   corners are curved (per mockup) so it visually docks onto the footer. */
.cta-band {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  background: var(--color-pink-soft);
  border-radius: 26px 26px 0 0;
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
}
.cta-band-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--color-cherry);
  animation: cake-float 7s ease-in-out infinite;
}
.cta-band-copy { flex: 1; min-width: 220px; }
.cta-band-copy h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  margin-bottom: 0.25rem;
}
.cta-band-copy p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.cta-band-inner .btn { flex-shrink: 0; }

@keyframes cake-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band-icon { animation: none; }
}
@media (max-width: 640px) {
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-band-inner .btn { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* Light, minimal footer per mockup: brand left, nav center, socials right.
   No top border: the pink CTA band docks directly onto this footer. */
.site-footer {
  background: var(--color-surface);
  padding-block: var(--space-5) var(--space-4);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--color-cherry); }
.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid oklch(30% 0.026 30 / 0.14);
  color: var(--color-cherry);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.3s var(--ease-spring);
}
.footer-socials a:hover {
  border-color: var(--color-cherry);
  background: oklch(50% 0.14 29 / 0.06);
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid oklch(30% 0.026 30 / 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
@media (max-width: 720px) {
  .footer-row { flex-direction: column; text-align: center; }
}

.cake-fab {
  position: fixed;
  bottom: var(--space-5);
  right: -0.5rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  animation: cake-fab-float 4s ease-in-out infinite;
}

.cake-fab-visual {
  position: relative;
  display: block;
  width: clamp(120px, 22vw, 190px);
  transition: transform 0.35s var(--ease-spring);
}
.cake-fab-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 20px oklch(50% 0.14 29 / 0.32));
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .cake-fab:hover .cake-fab-visual { transform: rotate(-8deg) scale(1.08); }
}
.cake-fab:active .cake-fab-visual { transform: scale(0.92); transition-duration: 0.1s; }

.cake-fab-bubble {
  position: relative;
    margin-bottom: -0.35rem;
    margin-right: 2rem;
  max-width: 200px;
  background: var(--color-surface);
  color: var(--color-choc);
  font-family: var(--font-signature);
  font-size: 1.35rem;
  line-height: 1.1;
  white-space: nowrap;
  padding: 0.55rem 1.1rem 0.65rem;
  border-radius: 18px;
  box-shadow: 0 10px 24px oklch(30% 0.026 30 / 0.2);
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
  pointer-events: none;
}
.cake-fab-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 26px;
  width: 13px;
  height: 13px;
  background: var(--color-surface);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotate(-45deg);
}
.cake-fab:hover .cake-fab-bubble,
.cake-fab:focus-visible .cake-fab-bubble,
.cake-fab.is-greeting .cake-fab-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes cake-fab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .cake-fab { animation: none; }
}
@media (max-width: 480px) {
  .cake-fab-bubble { font-size: 1.15rem; padding: 0.5rem 0.9rem 0.6rem; }
}

/* ==========================================================================
   Reveal / stagger motion
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
  transition-delay: calc(var(--stagger-index, 0) * 80ms);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Order page
   ========================================================================== */

.order-hero {
  padding-top: 8.5rem;
  padding-bottom: var(--space-6);
  text-align: left;
}
.order-hero .container { max-width: 900px; }

.order-layout {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
/* The aside must stretch to the full row height, otherwise the sticky
   summary inside it has no room to travel and never follows the scroll. */
.order-layout aside { align-self: stretch; }
@media (min-width: 980px) {
  .order-layout { grid-template-columns: 1.5fr 1fr; }
}

.order-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, var(--space-6));
  box-shadow: var(--shadow-cherry-sm);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}
fieldset legend {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: var(--space-4);
  padding: 0;
}
.field-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-4);
}
@media (min-width: 620px) {
  .field-row--2 { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-choc);
}
.field .hint { font-size: 0.78rem; color: var(--color-text-muted); font-weight: 400; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  border: 1.5px solid oklch(30% 0.026 30 / 0.15);
  border-radius: var(--radius-soft);
  padding: 0.875rem 1.125rem;
  background: var(--color-cream);
  min-height: 44px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-cherry);
  box-shadow: 0 0 0 4px oklch(50% 0.14 29 / 0.14);
}
.field.has-error input,
.field.has-error select {
  border-color: var(--color-cherry-deep);
}
.field-error {
  font-size: 0.78rem;
  color: var(--color-cherry-deep);
  min-height: 1em;
}

/* ==========================================================================
   Datumkiezer: custom dd-mm-jjjj kalender (i.p.v. OS-locale <input type=date>)
   ========================================================================== */

.date-field { position: relative; }
.date-field input {
  width: 100%;
  padding-right: 2.75rem;
  cursor: pointer;
}
.date-field-icon {
  position: absolute;
  top: 50%;
  right: 1.125rem;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}
.date-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.6rem);
  left: 0;
  width: 300px;
  max-width: calc(100vw - 2.5rem);
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-cherry-lg);
  padding: var(--space-4);
}
.date-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.date-popover-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: capitalize;
}
.date-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--color-cream-alt);
  color: var(--color-choc);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .date-nav:hover:not(:disabled) { background: var(--color-cherry); color: var(--color-cream); }
}
.date-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.date-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.25rem;
}
.date-weekdays span {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.date-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-choc);
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .date-day:not(:disabled):not(.is-selected):hover { background: var(--color-pink-soft); }
}
.date-day:disabled { color: oklch(30% 0.026 30 / 0.25); cursor: not-allowed; }
.date-day.is-selected { background: var(--color-cherry); color: var(--color-cream); }
.date-day.is-empty { visibility: hidden; }

.radio-group { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid oklch(30% 0.026 30 / 0.15);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.radio-option:has(input:checked) {
  border-color: var(--color-cherry);
  background: oklch(50% 0.14 29 / 0.06);
  color: var(--color-cherry-deep);
}
.radio-option input { accent-color: var(--color-cherry); width: 18px; height: 18px; }

.address-fields {
  display: grid;
  gap: var(--space-4);
  overflow: hidden;
  transition: grid-template-rows 0.4s var(--ease-spring), opacity 0.3s ease, margin 0.4s ease;
  grid-template-rows: 1fr;
  margin-top: var(--space-4);
}
.address-fields > div { overflow: hidden; min-height: 0; display: grid; gap: var(--space-4); }
.address-fields.is-collapsed {
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
}

/* Aantal-chips in het formulier; het nummerveld verschijnt alleen bij 15+ */
.qty-presets { margin-block: 0.35rem 0.25rem; }
.field input[type="number"][hidden] { display: none; }

/* Smaak-kaarten: tik op de kaart om toe te voegen, badge toont het aantal */
.pick-intro {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--space-3);
  /* extra row-gap: .pick-remove peeks below the card by ~26px and would
     otherwise collide with the row underneath */
  row-gap: var(--space-5);
}
@media (max-width: 560px) {
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
}
.pick-card {
  position: relative;
}
.pick-add {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: var(--space-3) var(--space-2);
  background: var(--color-cream);
  border: 2px solid transparent;
  border-radius: var(--radius-soft);
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease,
    transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .pick-add:hover { transform: translateY(-3px); box-shadow: var(--shadow-cherry-sm); }
}
.pick-add:active { transform: scale(0.96); transition-duration: 0.1s; }
.pick-card.is-selected .pick-add {
  border-color: var(--color-cherry);
  background: oklch(50% 0.14 29 / 0.06);
}
.pick-add img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px oklch(30% 0.026 30 / 0.18));
}
.pick-add strong {
  font-size: 0.82rem;
  line-height: 1.25;
  min-height: 2em;
  display: grid;
  place-items: center;
}
.pick-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-cherry);
}
.pick-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  min-width: 30px;
  height: 30px;
  padding-inline: 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--color-cherry);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 12px oklch(50% 0.14 29 / 0.35);
  transition: transform 0.3s var(--ease-spring);
}
.pick-badge.is-ticking { transform: scale(1.25); }
.pick-badge[hidden],
.pick-remove[hidden] { display: none; }
.pick-remove {
  position: absolute;
  bottom: -8px;
  right: -8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-cherry);
  background: var(--color-surface);
  color: var(--color-cherry);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pick-remove:hover { background: var(--color-cherry); color: #fff; }
}
.pick-remove:active { transform: scale(0.88); transition-duration: 0.1s; }
.stepper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-cream);
  border-radius: var(--radius-pill);
  padding: 0.3rem;
}
.stepper-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-cherry);
  background: #fff;
  color: var(--color-cherry);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .stepper-btn:hover { background: var(--color-cherry); color: #fff; transform: scale(1.06); }
}
.stepper-btn:active:not(:disabled) { transform: scale(0.88); transition-duration: 0.1s; }
.stepper-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; background: #fff; color: var(--color-cherry); }
.stepper-value {
  min-width: 1.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.qty-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-soft);
  background: var(--color-cream-alt);
  font-weight: 700;
  margin-top: var(--space-2);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.qty-check.is-match { background: oklch(69.4% 0.0771 127.67 / 0.18); color: oklch(35% 0.05 130); }
.qty-check.is-off { background: oklch(50% 0.14 29 / 0.1); color: var(--color-cherry-deep); }

.order-summary {
  position: sticky;
  top: 6.5rem;
  background: var(--color-cherry);
  color: var(--color-cream);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, var(--space-6));
  box-shadow: var(--shadow-cherry-lg);
}
.order-summary h3 { color: var(--color-cream); margin-bottom: var(--space-4); font-size: 1.3rem; }
.summary-list { display: grid; gap: 0.6rem; margin-bottom: var(--space-4); }
.summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: oklch(98.56% 0.0084 56.32 / 0.85);
}
.summary-empty { font-size: 0.9rem; color: oklch(98.56% 0.0084 56.32 / 0.65); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--space-4);
  border-top: 1px solid oklch(98.56% 0.0084 56.32 / 0.22);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.summary-total span:last-child { font-size: 1.7rem; }
.summary-note { margin-top: var(--space-3); font-size: 0.8rem; color: oklch(98.56% 0.0084 56.32 / 0.65); }

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.form-status {
  font-size: 0.88rem;
  color: var(--color-cherry-deep);
  min-height: 1.2em;
}

.order-success {
  display: none;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-cherry-sm);
  text-align: center;
}
.order-success.is-visible { display: block; }
.order-success .wax-seal { margin-inline: auto; margin-bottom: var(--space-4); }
.order-success h2 { margin-bottom: var(--space-3); }
.order-success p { margin-inline: auto; margin-bottom: var(--space-5); }

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
