/* =====================================================================
   VIPecase – Redesign (Offline-Entwurf), Phase 1.1 "ruhiger, erwachsener"
   Welt: Pick-&-Mix-Bonbontheke, jetzt mit echten Fotos statt Requisiten.
   Tokens -> Basis -> Komponenten -> Seiten.
   Regeln:
   - Zuckerstreifen genau 3×: obere Kante des Bands (.ribbon::before), Footer-Kante, Wizard-Kopf (.bag-fold).
   - Schräglage (rotate) nur bei Preisschild (Hero) und Gutschein-Ticket.
   - Bagel Fat One nur für h1, h2, .display und den Hero-Preis; alles andere Figtree.
   - Schriftgrößen nur über die Tokens --fs-1 … --fs-6, --fs-d1, --fs-d2 (siehe :root).
   Radius-Regel: Bedienelemente = Pille (999px), Flächen/Fotos = 20px,
   Fotos in Flächen = 20px minus Innenabstand, Eingabefelder = 14px, Etiketten = 10px.
   ===================================================================== */

/* ---------- Schriften (lokal, keine externen Requests) ---------- */
@font-face {
  font-family: "Bagel Fat One";
  src: url("../fonts/bagel-fat-one-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #201a32;
  --ink-2: #2d2645;
  --ink-soft: #5f5672;        /* Sekundärtext auf Hell: 6,4:1 */
  --pink: #ff5798;            /* Fläche, Schrift darauf = Ink (5,6:1) */
  --pink-ink: #c2185b;        /* Pink als Schrift auf Creme/Weiß (5,5:1) */
  --pink-soft: #ffd3e3;
  --blush: #ffe3ee;
  --cream: #fff5e9;
  --paper: #fffdf8;
  --lav: #d2c7ff;
  --lav-soft: #ece7ff;
  --ok: #0b6b3a;
  --ok-bg: #e3f6ea;
  --err: #b0123f;
  --err-bg: #ffe6ec;
  --line: rgb(32 26 50 / 0.14);
  --line-strong: rgb(32 26 50 / 0.28);

  --f-display: "Bagel Fat One", "Figtree", system-ui, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Schriftgrößen-Skala (Phase 1.3): alle font-size in main.css nutzen nur diese Tokens.
     booking.css verwendet dieselben Namen mit Fallback. Kein Text unter 14 px. */
  --fs-1: 0.875rem;                               /* 14 px: Kleintext, Bildunterschriften, Labels */
  --fs-2: 1rem;                                   /* 16 px: Fließtext, Bedienelemente */
  --fs-3: 1.125rem;                               /* 18 px: Lead, große Bedienelemente */
  --fs-4: 1.375rem;                               /* 22 px: h4, Preiszeilen, kompakte Kartentitel */
  --fs-5: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);  /* 24 bis 30 px: h3, Kartentitel */
  --fs-6: clamp(2rem, 1.4rem + 2.2vw, 3rem);      /* 32 bis 48 px: h2 */
  --fs-d1: clamp(2.6rem, 1rem + 6vw, 5.6rem);     /* Display: h1 */
  --fs-d2: clamp(2rem, 1.5rem + 2vw, 2.6rem);     /* Display: Hero-Preisschild, Gutschein-Ticket */

  --r-pill: 999px;
  --r-surface: 20px;
  --r-input: 14px;
  --r-tag: 10px;

  --shadow-1: 0 1px 2px rgb(32 26 50 / 0.08), 0 2px 6px -2px rgb(32 26 50 / 0.1);
  --shadow-2: 0 1px 2px rgb(32 26 50 / 0.06), 0 14px 34px -14px rgb(32 26 50 / 0.32);
  --shadow-3: 0 2px 4px rgb(32 26 50 / 0.08), 0 30px 60px -24px rgb(32 26 50 / 0.45);

  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);       /* ease-out-quart (Hausstandard) */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 74px; /* real: 10px Abstand oben + 64px Leiste */

  --stripe: repeating-linear-gradient(90deg, var(--pink) 0 22px, var(--cream) 22px 44px);

  /* Phase 1.1: ruhigere Tiefe, Haarlinien, Sektionsrhythmus */
  --hairline: inset 0 0 0 1px rgb(32 26 50 / 0.08);
  --hairline-on-ink: inset 0 0 0 1px rgb(255 245 233 / 0.12);
  --shadow-soft: 0 1px 1px rgb(32 26 50 / 0.04), 0 10px 28px -16px rgb(32 26 50 / 0.28);
  --r-media: 14px;
  --section-y: clamp(72px, 10vw, 136px);
  --img-outline: rgb(32 26 50 / 0.08);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--header-h) + 28px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-text);
  font-size: var(--fs-2);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--pink-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--pink); }
button, a, [role="button"], label { touch-action: manipulation; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; font-size: var(--fs-2); color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; text-wrap: balance; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.tnum { font-variant-numeric: tabular-nums; }
/* Neutrale Scrollleiste: die pinke wirkte mobil wie ein Dekorbalken am rechten Rand */
html { scrollbar-color: rgb(32 26 50 / 0.45) transparent; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus, .skip-link:focus-visible { top: 12px; outline: 3px solid var(--pink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-lg { width: 1.6em; height: 1.6em; }

/* ---------- Typografie ---------- */
.display, h1 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1;
}
h1 { font-size: var(--fs-d1); }
h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-6); letter-spacing: -0.01em; line-height: 1.04; }
h3 { font-family: var(--f-text); font-size: var(--fs-5); font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
h4 { font-family: var(--f-text); font-size: var(--fs-4); font-weight: 700; line-height: 1.3; }
.lead { font-size: var(--fs-3); line-height: 1.55; max-width: 36ch; color: var(--ink-2); }
.muted { color: var(--ink-soft); }
.accent { color: var(--pink-ink); }
.on-ink .accent { color: var(--pink); }
.measure { max-width: 66ch; }
.section-intro { max-width: 46ch; color: var(--ink-2); font-size: var(--fs-3); line-height: 1.55; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pink);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px;
  padding: 6px 8px 6px 24px;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-text); font-weight: 700; font-size: var(--fs-2); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgb(32 26 50 / 0.14), var(--shadow-1);
  user-select: none; -webkit-user-select: none;
  transition-property: transform, background-color, box-shadow, color;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}
.btn .btn-knob {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  transition: transform 220ms var(--ease-out);
}
.btn .btn-knob .icon { width: 20px; height: 20px; }
.btn:active { transform: scale(0.97); box-shadow: inset 0 -1px 0 rgb(32 26 50 / 0.14); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--cream); box-shadow: var(--shadow-1); }
.btn--ink .btn-knob { background: var(--pink); color: var(--ink); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  padding: 6px 24px;
}
.btn--ghost.on-ink, .on-ink .btn--ghost { --btn-fg: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn--small { min-height: 44px; padding: 4px 18px; font-size: var(--fs-2); }
.btn--plain { padding: 6px 22px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: inset 0 -2px 0 rgb(32 26 50 / 0.14), var(--shadow-2); }
  .btn:hover .btn-knob { transform: translateX(3px); }
  .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }
  .on-ink .btn--ghost:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--pink);
}
.link-arrow[hidden] { display: none; } /* Teaser-Link auf noch fehlende Unterseite (main.js, PAGES_READY) */
.link-arrow .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .icon { transform: translateX(4px); } }
.on-ink .link-arrow { color: var(--cream); }

/* ---------- Header (schwebende Insel) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  padding-top: max(10px, env(safe-area-inset-top));
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  max-width: var(--maxw); margin-inline: auto;
  height: calc(var(--header-h) - 10px);
  display: flex; align-items: center; gap: 16px;
  padding: 0 8px 0 14px;
  border-radius: var(--r-pill);
  background: rgb(255 253 248 / 0.97); /* nahezu deckend: Text darunter scheint nicht durch */
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgb(32 26 50 / 0.08), 0 10px 30px -18px rgb(32 26 50 / 0.45);
}
@media (prefers-reduced-transparency: reduce) {
  .header-bar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.header-bar { transition: box-shadow 260ms var(--ease-out), background-color 260ms var(--ease-out); }
.site-header.is-scrolled .header-bar {
  background: rgb(255 253 248 / 0.98);
  box-shadow: inset 0 0 0 1px rgb(32 26 50 / 0.1), 0 16px 34px -18px rgb(32 26 50 / 0.55);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand picture { display: block; }
.brand img { height: 48px; width: auto; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px; border-radius: var(--r-pill);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-2);
  transition: background-color 160ms var(--ease-out);
}
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:not([aria-current="page"]):hover { background: var(--blush); }
}
.header-cta { display: none; }
.menu-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px 0 18px;
  border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  font-weight: 700; cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.menu-btn:active { transform: scale(0.97); }
.burger { position: relative; width: 20px; height: 14px; }
.burger span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 260ms var(--ease-out), opacity 160ms var(--ease-out);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .header-bar { padding-left: 18px; }
}

/* Mobile-Menü als Vollbild-Overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 39;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 34px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--cream);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0;
  transition: opacity 220ms var(--ease-out), visibility 0s linear 220ms;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity 220ms var(--ease-out); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid rgb(255 245 233 / 0.1); }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: 8px 4px;
  color: var(--cream); text-decoration: none;
  font-family: var(--f-text); font-weight: 700; font-size: var(--fs-5); line-height: 1.2; letter-spacing: -0.02em;
  transform: translateY(110%);
  transition: transform 420ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}
.mobile-menu a[aria-current="page"] { color: var(--pink); }
.mobile-menu.is-open a { transform: none; }
.mobile-menu .menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; color: var(--lav); font-size: var(--fs-2); }
.mobile-menu .menu-foot a { font-family: var(--f-text); font-weight: 600; font-size: var(--fs-2); letter-spacing: 0; min-height: 44px; transform: none; color: var(--cream); justify-content: flex-start; gap: 10px; }
.mobile-menu .menu-foot .btn { color: var(--ink); font-weight: 700; font-size: var(--fs-3); justify-content: space-between; min-height: 56px; padding: 6px 8px 6px 24px; }
.mobile-menu .menu-foot .menu-address { margin: 0; }
.mobile-menu nav a .icon { width: 0.7em; height: 0.7em; color: var(--pink); }
body.menu-open { overflow: hidden; }
/* Offenes Menü: Header-Pille deckend, sonst scheint das dunkle Overlay durch (wirkt grau) */
body.menu-open .header-bar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 1100px) { .mobile-menu { display: none; } }

/* ---------- Demo-Hinweis ---------- */
.demo-flag {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-surface);
  background: var(--ink); color: var(--cream);
  font-size: var(--fs-2); line-height: 1.45;
}
.demo-flag strong { color: var(--pink); }
.demo-flag .icon { color: var(--pink); margin-top: 2px; }
.demo-flag button {
  margin-left: auto; flex: none;
  min-height: 40px; padding: 0 14px;
  border: 1px solid rgb(255 245 233 / 0.4); border-radius: var(--r-pill);
  background: transparent; color: var(--cream); font-weight: 700; font-size: var(--fs-1); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 18px; overflow-x: clip; } /* Regal-Anschnitt rechts ohne Seiten-Überlauf (100vw enthält die Scrollbar) */
.hero-grid { display: grid; gap: 28px; }
.hero-copy { padding-top: clamp(12px, 4vw, 56px); position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: 0.3em; }
.hero-copy h1 .line { display: block; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
/* Preisschild: eine von zwei bewusst schrägen Requisiten */
.price-tag {
  --rot: -4deg;
  position: relative;
  display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px;
  margin-top: 34px;
  padding: 14px 22px 14px 18px;
  border-radius: var(--r-tag) 22px 22px var(--r-tag);
  background: var(--paper);
  box-shadow: var(--shadow-2), var(--hairline);
  transform: rotate(var(--rot));
  transform-origin: 12% 50%;
}
.price-tag::before {
  content: ""; grid-row: span 2;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 1px 2px rgb(32 26 50 / 0.3);
}
.price-tag .amount { font-family: var(--f-display); font-size: var(--fs-d2); line-height: 1; font-variant-numeric: tabular-nums; }
.price-tag .per { font-size: var(--fs-1); font-weight: 600; color: var(--ink-soft); line-height: 1.35; }

/* Regal: echte Fotos in Fächern */
.shelf {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
  padding: 22px var(--gutter) 22px;
  background: var(--pink);
  overflow: hidden;
}
.bins {
  list-style: none; margin: 0; padding: 4px 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 54%;
  gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.bins::-webkit-scrollbar { display: none; }
.bin {
  position: relative; scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-media);
  background: var(--cream);
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(32 26 50 / 0.12), 0 18px 34px -18px rgb(32 26 50 / 0.5);
}
.bin picture, .bin img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bin img { object-fit: cover; object-position: 50% 50%; }
.bin::after { /* Haarlinie über dem Foto, damit helle Ränder nicht ins Pink laufen */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(32 26 50 / 0.1);
  pointer-events: none;
}
/* Nachfüllen: neues Foto rutscht von oben ins Fach, das alte sinkt nach hinten */
.bin picture { transition: transform 860ms var(--ease-out), opacity 500ms var(--ease-out), filter 700ms var(--ease-out); }
.bin picture.is-entering { transform: translateY(-104%); transition: none; }
.bin picture.is-leaving { transform: translateY(4%) scale(0.95); filter: brightness(0.6); }
.bins:focus-visible { outline-color: var(--ink); outline-offset: 6px; }
.shelf-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.shelf-note { margin: 0; font-weight: 700; font-size: var(--fs-1); letter-spacing: -0.005em; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn--light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }

@media (min-width: 900px) {
  .hero { padding-top: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 0; align-items: stretch; min-height: min(700px, calc(100svh - var(--header-h) - 120px)); }
  .hero + .ribbon { margin-top: 56px; } /* das Band lugt im ersten Viewport hervor */
  .hero-copy { padding-right: 48px; padding-bottom: 40px; align-self: center; }
  .shelf {
    margin: 0 calc(-1 * max(var(--gutter), (100vw - var(--maxw)) / 2)) 0 0;
    padding: 36px max(var(--gutter), (100vw - var(--maxw)) / 2) 28px 36px;
    border-radius: 0 0 0 40px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .bins { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; gap: 14px; }
}
@media (min-width: 1300px) { .bins { gap: 18px; } }

/* Füll-Animation der Fächer (einmalig, Sequenz) */
@media (prefers-reduced-motion: no-preference) {
  .js .bin { animation: bin-drop 760ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
  .js .hero-copy > * { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
  .js .price-tag { animation: tag-swing 1100ms var(--ease-out) 520ms both; }
}
@keyframes bin-drop { from { opacity: 0; transform: translateY(-22px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes tag-swing {
  from { opacity: 0; transform: rotate(-14deg) translateY(-8px); }
  to { opacity: 1; transform: rotate(var(--rot)); }
}

/* ---------- Zuckerstreifen-Band (Streifen-Stelle 1 von 3) ---------- */
.ribbon {
  position: relative;
  background: var(--ink); color: var(--cream);
  margin-top: clamp(40px, 6vw, 72px);
}
/* Phase 1.4: nur noch die obere Streifenkante (max. 3 Streifenbänder: Band oben, Footer, Wizard-Kopf .bag-fold) */
.ribbon::before {
  content: ""; position: absolute; left: 0; right: 0; height: 12px; background: var(--stripe);
  top: -12px;
}
.ribbon-inner {
  display: grid; gap: 16px 48px; align-items: center;
  padding-block: 30px;
}
.ribbon-slogan { font-family: var(--f-text); font-weight: 800; font-size: var(--fs-5); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.ribbon-slogan span { color: var(--pink); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.ribbon address { font-style: normal; color: var(--lav); line-height: 1.5; }
.ribbon address strong { color: var(--cream); display: block; font-weight: 700; }
@media (min-width: 900px) { .ribbon-inner { grid-template-columns: 1.3fr auto; } }

/* ---------- Galerie: Echte Kundenkreationen (direkt nach dem Band, nur 20261008-*.jpg) ---------- */
.gallery { background: var(--paper); padding-top: calc(var(--section-y) + 12px); }
.gallery-head { display: grid; gap: 14px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.gallery-head h2 { margin: 0; }
.gallery-head .link-arrow { justify-self: start; }
.gallery-head .head-text { display: grid; gap: 14px; }
@media (min-width: 760px) {
  .gallery-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.g-item {
  position: relative; margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-surface);
  overflow: hidden;
  background: var(--cream);
}
.g-item--lead { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.g-item picture, .g-item img { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-item img { object-fit: cover; transition: transform 900ms var(--ease-out); }
.g-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--img-outline);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) { .g-item:hover img { transform: scale(1.03); } }
@media (max-width: 599px) { .g-item--wide-only { display: none; } }
/* Zweites großes Bild (lila Hülle): mobil volle Breite wie das Leitbild, ab 760 px gespiegelt rechts unten (2×2) */
.g-item--feature { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .g-item--lead { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .g-item--feature { grid-column: 3 / span 2; grid-row: 3 / span 2; aspect-ratio: auto; }
}
@media (min-width: 1100px) { .gallery-grid { gap: 18px; } }

/* ---------- Ablauf: kompakte nummerierte Liste (Phase 1.4) ---------- */
/* Statt drei gleicher Karten: Zeilen mit kleinem Bild, Nummer im Titel, Haarlinien als Trenner. */
.steps-section { background: var(--cream); padding-block: clamp(56px, 7vw, 96px); }
.steps-wrap { display: grid; gap: clamp(24px, 3vw, 40px); }
.steps-head { max-width: 640px; display: grid; gap: 12px; }
.steps-head h2 { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-media { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--r-media); overflow: hidden; background: var(--paper); }
.step-media picture, .step-media img { display: block; width: 100%; height: 100%; }
.step-media img { object-fit: cover; }
.step-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--img-outline); pointer-events: none; }
.step-media--art { background: var(--lav-soft); }
.step-media--art svg { width: 100%; height: 100%; }
.step-num {
  display: inline-grid; place-items: center; vertical-align: 0.12em;
  width: 26px; height: 26px; margin-right: 6px;
  border-radius: 50%;
  background: var(--pink); color: var(--ink);
  font-weight: 800; font-size: var(--fs-1); line-height: 1; font-variant-numeric: tabular-nums;
}
.step h3 { margin: 0 0 2px; font-size: var(--fs-4); line-height: 1.25; }
.step p { margin: 0; color: var(--ink-soft); line-height: 1.45; font-size: var(--fs-2); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .step { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .steps-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: center; column-gap: 56px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 88px minmax(0, 1fr); padding: 14px 0; border-bottom: 0; }
  .step:last-child { border-bottom: 1px solid var(--line); }
}

/* ---------- Preise ---------- */
.prices { background: var(--lav-soft); position: relative; }
.prices-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.prices-grid > * { min-width: 0; }
.prices-main h2 { margin-bottom: 0.4em; }
.prices-lead { max-width: 46ch; margin-bottom: 30px; color: var(--ink-2); }
.price-board {
  list-style: none; margin: 0;
  padding: 6px 22px 8px;
  border-radius: var(--r-surface);
  background: var(--paper);
  box-shadow: var(--hairline), var(--shadow-soft);
}
.price-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.price-row .what { font-weight: 700; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.price-row .what small { display: block; font-weight: 500; color: var(--ink-soft); font-size: var(--fs-1); margin-top: 3px; line-height: 1.4; }
.price-row .val { font-weight: 800; font-size: var(--fs-3); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.01em; }
.price-row--hero {
  margin: 0 -16px 6px; padding: 20px 18px;
  border-top: 0; border-radius: var(--r-input);
  background: var(--ink); color: var(--cream);
}
.price-row--hero + .price-row { border-top: 0; }
.price-row--hero .what small { color: var(--lav); }
.price-row--hero .val { color: var(--pink); font-size: var(--fs-5); }
.price-row--minus .val { color: var(--pink-ink); }
/* Phase 2: Stift und Schlüsselanhänger als eigenständige Angebote (gleiches Gewicht wie Zeilenkopf, größerer Betrag);
   Bilderrahmen danach als ruhiger Nachtrag, abgesetzt nur durch Abstand und Haarlinie. */
.price-row--offer .val { font-size: var(--fs-4); }
.price-row--more { margin-top: 10px; border-top-color: var(--line-strong); }
.prices-aside { display: grid; gap: 28px; justify-items: start; }
.prices-aside figure { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; min-width: 0; }
.prices-aside picture { position: relative; display: block; border-radius: var(--r-surface); overflow: hidden; }
.prices-aside img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; outline: 1px solid var(--img-outline); outline-offset: -1px; border-radius: var(--r-surface); }
.prices-aside figcaption { grid-column: 1 / -1; margin-top: 4px; font-size: var(--fs-1); color: var(--ink-2); max-width: 40ch; line-height: 1.5; }
.facts { margin: 0; display: grid; width: 100%; }
.facts > div {
  display: grid; grid-template-columns: 5rem 1fr; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; font-size: var(--fs-4); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.02em; }
.facts dd { margin: 0; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 900px) { .prices-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; } .prices-aside { padding-top: 10px; } }
/* Mobil: Foto-Paar neben der Preisliste weglassen (Seite kürzer, Fotos stehen schon in der Galerie) */
@media (max-width: 899px) { .prices-aside figure { display: none; } }

/* ---------- Formulare (allgemein) ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 700; font-size: var(--fs-2); }
.req { color: var(--pink-ink); font-weight: 800; }
.input, select.input, textarea.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-2);
  transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23201a32' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.input::placeholder { color: #6f6585; opacity: 1; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(255 87 152 / 0.35); }
.input[aria-invalid="true"] { border-color: var(--err); background: #fff8fa; }
.hint { font-size: var(--fs-1); color: var(--ink-soft); line-height: 1.4; }
.hint.ok, .msg-ok { color: var(--ok); font-weight: 700; }
.hint.err, .msg-err { color: var(--err); font-weight: 700; }
.check {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border-radius: var(--r-input);
  background: rgb(255 255 255 / 0.65);
  cursor: pointer; line-height: 1.45; font-size: var(--fs-2);
}
.check input {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; margin: 0;
  border: 2px solid var(--ink); border-radius: 8px; background: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background-color 140ms var(--ease-out);
}
.check input::after {
  content: ""; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23201a32' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: scale(0.4); opacity: 0;
  transition: transform 180ms var(--ease-out), opacity 120ms var(--ease-out);
}
.check input:checked { background: var(--pink); }
.check input:checked::after { opacity: 1; transform: scale(1); }
.check input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.check[hidden] { display: none; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.err { color: var(--err); }
.form-status.ok { color: var(--ok); }
.error-summary {
  padding: 16px 18px; border-radius: var(--r-surface);
  background: var(--err-bg); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgb(176 18 63 / 0.35);
}
.error-summary h3 { font-size: var(--fs-2); margin-bottom: 6px; color: var(--err); display: flex; gap: 8px; align-items: center; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary li { margin: 2px 0; }
.error-summary[hidden] { display: none; }

/* Wahl-Chips (Radio) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-grid; place-items: center;
  min-width: 84px; min-height: 56px; padding: 0 20px;
  border-radius: var(--r-pill);
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-family: var(--f-text); font-weight: 800; font-size: var(--fs-3); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.chip input:checked + span { background: var(--pink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 10px -4px rgb(32 26 50 / 0.4); transform: translateY(-1px); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.chip span:active { transform: scale(0.96); }

/* ---------- Footer (Streifen-Stelle 2 von 3) ---------- */
.site-footer {
  position: relative;
  background: var(--ink); color: var(--cream);
  padding: 72px 0 calc(110px + env(safe-area-inset-bottom));
  margin-top: 12px;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; background: var(--stripe); }
.footer-grid { display: grid; gap: 40px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 16px; color: var(--lav); max-width: 28ch; }
.site-footer h2 { font-family: var(--f-text); font-size: var(--fs-1); font-weight: 700; letter-spacing: 0.01em; margin-bottom: 12px; color: var(--pink); }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--cream); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-links a { margin-inline-start: -4px; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-inline: 4px; text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--pink); } }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 700; }
.social .icon { width: 28px; height: 28px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 245 233 / 0.16); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--lav); font-size: var(--fs-1); }
.footer-bottom nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
/* Rechtsseiten noch nicht vorhanden: kein href, nicht fokussierbar, als „(folgt)“ sichtbar; Lavendel auf Ink erfüllt AA */
.footer-bottom nav a.link-pending { color: var(--lav); text-decoration: none; cursor: default; }
.footer-bottom nav a { display: inline-flex; min-height: 44px; min-width: 44px; padding-inline: 6px; align-items: center; justify-content: center; }
.site-footer .hours dd { color: var(--lav); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 30;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  box-shadow: 0 18px 40px -16px rgb(32 26 50 / 0.7);
  transform: translateY(calc(100% + 28px));
  opacity: 0; visibility: hidden;
}
.sticky-cta.is-visible { transform: none; opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .sticky-cta { transition: transform 360ms var(--ease-drawer), opacity 200ms var(--ease-out), visibility 0s linear 360ms; }
  .sticky-cta.is-visible { transition: transform 420ms var(--ease-drawer), opacity 200ms var(--ease-out); }
}
.sticky-cta .sticky-price { font-weight: 600; line-height: 1.3; font-size: var(--fs-1); }
.sticky-cta .sticky-price b { display: block; font-family: var(--f-text); font-weight: 800; font-size: var(--fs-3); letter-spacing: -0.01em; color: var(--pink); font-variant-numeric: tabular-nums; }
.sticky-cta .btn { min-height: 48px; }
.sticky-cta .sticky-price { margin: 0; }
.sticky-cta .sticky-price .nowrap { white-space: nowrap; }
.sticky-cta .btn--plain { padding: 6px 20px; font-size: var(--fs-2); }
@media (max-width: 359px) { .sticky-cta .sticky-price { font-size: var(--fs-1); } .sticky-cta .btn--plain { padding: 6px 14px; font-size: var(--fs-1); } }
@media (min-width: 700px) {
  .sticky-cta { left: auto; right: max(24px, env(safe-area-inset-right)); bottom: 24px; padding-left: 24px; gap: 20px; }
}
/* Ab Desktop trägt der Header den CTA dauerhaft */
@media (min-width: 1100px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .sticky-cta.is-visible { transform: none; }
}

/* ---------- Buchung: nur der Rahmen (Inhalt von #wizard-root -> booking.css) ---------- */
.book {
  position: relative;
  background: var(--cream);
  padding-top: var(--section-y);
}
.book-head { display: grid; gap: 18px 56px; margin-bottom: clamp(28px, 4vw, 44px); }
.book-head h2 { max-width: 15ch; margin: 0; }
.book-intro { max-width: 52ch; color: var(--ink-2); }
.book-intro p:last-child { margin-bottom: 0; }
/* Mobil: CTA-Sprung landet auf dem Wizard statt auf Überschrift/Intro (--book-offset setzt main.js) */
@media (max-width: 899px) { #buchen { scroll-margin-top: calc(-1 * var(--book-offset, 0px)); } }
.book-noscript { padding: 16px 20px; border-radius: var(--r-surface); background: var(--paper); box-shadow: var(--hairline), var(--shadow-soft); }
@media (min-width: 900px) { .book-head { grid-template-columns: 1.15fr 1fr; align-items: end; } }
/* Fertiger Bon (wizard.js setzt .wizard[data-view="result"]): Einladung „…beginnt hier.“ und Intro passen nicht mehr.
   Kopf nur optisch ausblenden, die h2 bleibt für Screenreader als Abschnittsüberschrift erhalten; der Bon trägt eigene Überschrift. */
.book:has(.wizard[data-view="result"]) .book-head {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Gutschein-Teaser (Pink) ---------- */
.gift { background: var(--pink); color: var(--ink); overflow: hidden; }
.gift a:not(.btn) { color: var(--ink); }
.gift-grid { display: grid; gap: 52px; align-items: center; }
.gift-copy h2 .line { display: block; }
.gift-copy p { max-width: 48ch; font-size: var(--fs-3); margin-bottom: 30px; }
.voucher { display: grid; justify-items: center; gap: 24px; }
/* Gutschein-Ticket: zweite und letzte bewusst schräge Requisite */
.voucher-ticket {
  position: relative;
  width: min(100%, 420px); aspect-ratio: 1.62;
  display: grid; align-content: center; justify-items: start; gap: 6px;
  padding: 28px 34px;
  border-radius: var(--r-surface);
  background: var(--ink); color: var(--cream);
  box-shadow: var(--shadow-3), var(--hairline-on-ink);
  transform: rotate(-3deg);
  overflow: hidden;
}
.voucher-ticket::after { /* Lochung */
  content: ""; position: absolute; right: 22px; top: 22px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink); box-shadow: inset 0 2px 3px rgb(32 26 50 / 0.45);
}
.voucher-brand { font-weight: 700; letter-spacing: 0.01em; color: var(--lav); font-size: var(--fs-1); }
.voucher-title { font-family: var(--f-text); font-weight: 800; font-size: var(--fs-d2); line-height: 1.1; letter-spacing: -0.025em; color: var(--pink); hyphens: manual; }
.voucher-claim { font-weight: 600; color: var(--cream); margin-top: 4px; }
.voucher-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.voucher-values span:not(.visually-hidden) {
  display: inline-grid; place-items: center; min-width: 72px; min-height: 48px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--cream); color: var(--ink);
  font-weight: 800; font-size: var(--fs-3); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  box-shadow: var(--shadow-1);
}
@media (min-width: 900px) { .gift-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }

/* ---------- Veranstaltungen ---------- */
.events { background: var(--paper); }
.events-grid { display: grid; gap: 44px; }
.events-head h2 { margin-bottom: 0.45em; }
.events-facts { margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.events-facts li {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--cream); box-shadow: var(--hairline);
  font-weight: 600; font-size: var(--fs-2); font-variant-numeric: tabular-nums;
}
.events-facts .icon { width: 18px; height: 18px; color: var(--pink-ink); }
.events-intro { max-width: 44ch; color: var(--ink-2); margin-bottom: 18px; }
.events-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 30px 0 0; max-width: 460px; }
.events-photos picture { position: relative; display: block; border-radius: var(--r-media); overflow: hidden; background: var(--cream); }
.events-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; outline: 1px solid var(--img-outline); outline-offset: -1px; border-radius: var(--r-media); }
/* Phase 1.2: Anlässe als ruhige typografische Zeilen statt Icon-Karten-Raster */
.occasions { list-style: none; margin: 0; padding: 0; display: grid; }
.occasions li { display: grid; gap: 4px 32px; padding: 20px 0; }
.occasions li + li { border-top: 1px solid var(--line); }
.occasions li:first-child { padding-top: 4px; }
.occasions h3 { margin: 0; font-weight: 800; font-size: var(--fs-5); letter-spacing: -0.02em; line-height: 1.2; hyphens: manual; }
.occasions p { margin: 0; color: var(--ink-soft); max-width: 46ch; line-height: 1.55; }
.events-rules { margin: 26px 0 0; padding: 18px 20px; border-radius: var(--r-input); background: var(--cream); font-size: var(--fs-2); color: var(--ink-2); line-height: 1.55; }
@media (min-width: 700px) {
  .occasions li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: baseline; }
}
@media (min-width: 1000px) {
  .events-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 80px; align-items: start; }
  .events-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Inspiration: KI-Motive, bewusst klein und klar gekennzeichnet ---------- */
/* Phase 1.3: nur 4 Motive (mobil 3), ganz unten, ab 1000 px als Split: Text links, kleine Bildreihe rechts */
.inspo { background: var(--cream); padding-block: clamp(48px, 6vw, 80px); }
.inspo > .wrap { display: grid; gap: clamp(20px, 3vw, 32px); }
.inspo-head { display: grid; gap: 12px; justify-items: start; }
.inspo-head h2 { margin: 0; font-size: var(--fs-5); }
.ai-label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  min-height: 36px; padding: 7px 14px 7px 12px; /* 7 px oben/unten: bei 320 px bricht der Text um, sonst klebt er am Pillenrand */
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: var(--fs-1); line-height: 1.25;
}
.ai-label .icon { width: 18px; height: 18px; color: var(--pink); }
.inspo-intro { margin: 0; max-width: 52ch; color: var(--ink-2); }
.inspo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.inspo-grid figure { margin: 0; }
.inspo-grid picture { display: block; border-radius: var(--r-media); overflow: hidden; background: var(--ink); }
.inspo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.inspo-grid figcaption { margin-top: 8px; font-size: var(--fs-1); font-weight: 600; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 699px) { .inspo-wide-only { display: none; } }
/* Unter 380 px wären drei Spalten zu schmal für „KI-Inspiration:“ in 14 px: 2 × 2 in schmaler Spalte */
@media (max-width: 379px) {
  .inspo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 248px; }
  .inspo-grid .inspo-wide-only { display: list-item; }
}
@media (min-width: 700px) { .inspo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 640px; } }
@media (min-width: 1000px) {
  .inspo > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
  .inspo-grid { max-width: none; }
}

/* ---------- Besuch: Öffnungszeiten-Schild (gerade) ---------- */
.visit { background: var(--lav-soft); }
.visit-grid { display: grid; gap: 48px; align-items: center; }
.visit-address { font-style: normal; font-size: var(--fs-3); line-height: 1.5; margin-bottom: 22px; }
.visit-address strong { display: block; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list .icon { width: 22px; height: 22px; color: var(--pink-ink); }
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { text-decoration: underline; text-decoration-color: var(--pink-ink); } }
.door-sign { position: relative; display: grid; justify-items: center; }
.sign {
  position: relative; width: min(100%, 420px);
  padding: 30px 30px 26px;
  border-radius: var(--r-surface);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--hairline), var(--shadow-soft);
}
.sign-title { font-family: var(--f-text); font-weight: 800; font-size: var(--fs-4); letter-spacing: -0.015em; color: var(--pink-ink); text-align: center; margin: 0 0 18px; line-height: 1.2; }
.sign .hours { gap: 8px 22px; font-size: var(--fs-3); justify-content: center; }
.sign-special { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-2); text-align: center; line-height: 1.5; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-head { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { max-width: 15ch; }
.page-head h1 .accent { display: block; }
.page-head .lead { max-width: 52ch; margin-top: 18px; }
.stamp {
  display: inline-grid; place-items: center; text-align: center;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--pink); color: var(--ink);
  font-family: var(--f-text); font-weight: 800; font-size: var(--fs-2); line-height: 1.15; letter-spacing: -0.01em;
  box-shadow: inset 0 0 0 6px var(--pink), inset 0 0 0 7px var(--ink), var(--shadow-2);
}

/* ---------- Unterseiten mit gemeinsamem Layout (Phase 2, site/_partials/) ---------- */
/* Die Sticky-CTA gibt es nur auf der Startseite; ohne sie braucht der Footer unten keinen Platz für die Leiste. */
body:not(:has([data-sticky-cta])) .site-footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body:not(:has([data-sticky-cta])) .site-footer { padding-bottom: 40px; } }

/* ---------- Kontaktseite ---------- */
.visit--page { padding-block: clamp(56px, 8vw, 104px); }
.visit--page .sign .hours dd { white-space: nowrap; }
/* Schmale Displays: Zeiten nicht umbrechen („16 bis 20 Uhr“ in einer Zeile) */
@media (max-width: 379px) {
  .visit--page .sign { padding-inline: 20px; }
  .visit--page .sign .hours { font-size: var(--fs-2); gap: 8px 16px; }
}
.contact-grid { display: grid; gap: 28px; align-items: start; }
.contact-intro h2 { margin-bottom: 0.5em; }
.contact-intro .demo-flag { margin: 0; max-width: 44ch; }
.contact-card {
  padding: clamp(20px, 4vw, 36px);
  border-radius: var(--r-surface);
  background: var(--paper);
  box-shadow: var(--hairline), var(--shadow-soft);
}
.contact-form { display: grid; gap: 20px; }
.contact-form[hidden], .contact-success[hidden] { display: none; }
.contact-form .req-note { margin: 0; font-size: var(--fs-1); color: var(--ink-soft); }
.contact-form .field .req { margin-left: 2px; }
.contact-form .hint.err { margin: 0; }
.form-privacy { margin: 0; font-size: var(--fs-1); line-height: 1.5; color: var(--ink-soft); }
.form-privacy a.link-pending { color: var(--ink-soft); text-decoration: none; cursor: default; }
.form-privacy a { display: inline-block; padding-block: 4px; margin-block: -4px; } /* Trefferfläche >= 24 px, Zeilenhöhe unverändert */
.form-alert {
  margin: 0; padding: 12px 16px;
  border-radius: var(--r-input);
  background: var(--err-bg); color: var(--err);
  font-weight: 700; line-height: 1.45;
}
.form-alert[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn[aria-busy="true"], form[aria-busy="true"] .btn[type="submit"] { cursor: progress; }
.contact-success { display: grid; gap: 18px; justify-items: start; }
.contact-success-title { margin: 0; font-weight: 700; font-size: var(--fs-4); line-height: 1.35; color: var(--ink); max-width: 30ch; }
.contact-noscript { margin: 0 0 4px; }
/* Ohne JavaScript kein Formular (Prototyp sendet nur über VipeApi), stattdessen der noscript-Hinweis */
html:not(.js) [data-contact-form] { display: none; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
  .contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Scroll-Reveal ---------- */
/* .reveal-ready setzt main.js erst, wenn der Observer läuft: ohne JS bleibt alles sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-ready .g-item[data-reveal] { transform: translateY(18px); clip-path: inset(14% 0 0 0 round var(--r-surface)); transition-property: opacity, transform, clip-path; }
  .reveal-ready .g-item[data-reveal].is-in { transform: none; clip-path: inset(0 0 0 0 round var(--r-surface)); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  translate: -50% 0;
  max-width: min(92vw, 420px);
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream); font-weight: 700;
  box-shadow: var(--shadow-3);
  opacity: 0; transform: translateY(12px);
  transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: none; }

/* Reduzierte Bewegung: Positionsänderungen raus, Überblendungen bleiben */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu a { transform: none; transition: none; }
  .bin picture.is-entering { transform: none; opacity: 0; }
  .bin picture.is-leaving { transform: none; filter: none; }
  .g-item img { transition: none; }
  .btn:active, .icon-btn:active, .menu-btn:active, .chip span:active { transform: none; }
  .toast { transform: none; }
  .burger span { transition: none; }
  /* Keine Bewegungs-Transitions (transform/translate/scale/filter/clip-path); Farb- und Opacity-Wechsel kurz */
  *, *::before, *::after {
    transition-property: background-color, border-color, color, box-shadow, opacity, visibility !important;
    transition-duration: 80ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- Korrekturen: Reflow 320 px, Hero mobil ---------- */
.prices { overflow-x: clip; }
@media (max-width: 899px) {
  .hero-grid { gap: 18px; }
  .hero-copy { padding-top: 8px; }
  .hero-copy .lead { margin-bottom: 22px; }
  .price-tag { margin-top: 18px; }
}
@media (max-width: 380px) {
  .step { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
}

/* ---------- Saison-Hinweis Herbstferien (zeitlich begrenzt, main.js initSeasonNotice; Enddatum config.js seasonNotice) ----------
   Gemeinsame Karte für den Startseiten-Abschnitt (.season-home) und das Popup (.season-pop). Herbstblätter rein dekorativ (CSS). */
.season-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 14px;
  padding: 30px 22px 24px;
  border-radius: var(--r-surface);
  background: linear-gradient(160deg, var(--paper) 0%, var(--blush) 100%);
  color: var(--ink); text-align: center;
  box-shadow: inset 0 0 0 2px var(--pink-soft), var(--shadow-soft);
}
.season-card::before, .season-card::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 46px; height: 46px; border-radius: 0 100% 0 100%;
  background: #e98a3c; opacity: 0.22;
}
.season-card::before { top: -12px; left: 18px; transform: rotate(18deg); }
.season-card::after { right: -10px; bottom: 26px; width: 58px; height: 58px; background: #c8553d; opacity: 0.16; transform: rotate(-32deg); }
.season-title {
  margin: 0; display: block; text-wrap: balance;
  font-family: var(--f-display); font-weight: 400; font-size: var(--fs-5); line-height: 1.1;
  letter-spacing: 0.01em; text-transform: uppercase; color: var(--pink-ink);
}
.season-time { white-space: nowrap; }
.season-leaf { display: inline-block; vertical-align: 0.06em; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 0.9em; line-height: 1; text-transform: none; }
.season-body { display: grid; gap: 10px; justify-items: center; }
.season-body p { margin: 0; }
.season-sub { font-weight: 700; font-size: var(--fs-3); line-height: 1.35; color: var(--ink); }
.season-dates { font-weight: 800; font-size: var(--fs-4); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.season-hours {
  /* keine Karte in der Karte: nur Haarlinien oben/unten */
  list-style: none; margin: 0; padding: 10px 4px; display: grid; gap: 4px;
  border-block: 1px solid var(--line-strong);
  font-size: var(--fs-2); line-height: 1.45; font-variant-numeric: tabular-nums;
}
.season-hours strong { font-weight: 700; }
.season-claim { font-weight: 700; color: var(--pink-ink); }
.season-cta { white-space: normal; text-align: center; }

/* Startseite: regulärer Abschnitt direkt unter dem Hero */
.season-home { padding-top: clamp(28px, 5vw, 56px); }
.season-home .season-card { max-width: 980px; margin-inline: auto; }
.season-home + script + .ribbon, .season-home + .ribbon { margin-top: clamp(52px, 7vw, 80px); }
@media (min-width: 900px) {
  .season-home .season-card {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) auto;
    grid-template-areas: "title body cta";
    align-items: center; justify-items: start; text-align: left;
    gap: 18px 36px; padding: 30px 36px;
  }
  .season-home .season-title { grid-area: title; font-size: var(--fs-5); }
  .season-home .season-body { grid-area: body; justify-items: start; }
  .season-home .season-cta { grid-area: cta; }
}

/* Popup: natives <dialog> (showModal), mittig, nach dem Schließen aus dem DOM entfernt */
.season-pop {
  position: fixed; inset: 0; margin: auto; z-index: 90;
  width: min(440px, 100% - 32px); max-width: none; height: fit-content; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
}
.season-pop:not([open]) { display: none; }
.season-pop::backdrop { background: rgb(32 26 50 / 0.55); }
.season-pop .season-card { max-height: calc(100dvh - 32px); overflow-y: auto; padding: 34px 22px 22px; box-shadow: inset 0 0 0 2px var(--pink-soft), var(--shadow-3); }
.season-pop .season-cta { width: 100%; }
.season-pop-close {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--cream); cursor: pointer;
}
.season-pop-close .icon { width: 20px; height: 20px; }
.season-pop-close:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.season-pop .season-title { padding-inline: 36px; font-size: var(--fs-4); }
@media (hover: hover) and (pointer: fine) { .season-pop-close:hover { background: var(--pink-ink); } }
@media (prefers-reduced-motion: no-preference) {
  .season-pop[open] .season-card { animation: season-in 320ms var(--ease-out) both; }
  .season-pop[open]::backdrop { animation: season-fade 240ms ease-out both; }
}
@media (prefers-reduced-motion: no-preference) {
  /* automatisches Schließen (main.js, FADE_MS 300): Karte und Abdunklung blenden aus, danach wird der Dialog entfernt */
  .season-pop.is-leaving .season-card { animation: season-out 300ms var(--ease-out) forwards; }
  .season-pop.is-leaving::backdrop { animation: season-fade-out 300ms ease-out forwards; }
}
@keyframes season-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
@keyframes season-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes season-fade-out { to { opacity: 0; } }
@keyframes season-fade { from { opacity: 0; } }
@media print { .season-pop { display: none !important; } }
