/* ============================================================
   BEAST BOWLING – Kühlungsborn
   Dark Neon Theme · Vanilla CSS
   ============================================================ */

/* Schriften lokal gehostet (DSGVO: keine Google-Server) */
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/bungee-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/rubik-latin.woff2') format('woff2');
}

:root {
  --bg: #0a0a0f;
  --bg-alt: #101018;
  --panel: #16161f;
  --panel-2: #1c1c28;
  --text: #f2f0ea;
  --muted: #a2a0b0;
  --orange: #ff7a18;
  --orange-2: #ffb347;
  --pink: #ff2e63;
  --cyan: #21e6c1;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--pink) 100%);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .55);
  --font-display: 'Bungee', cursive;
  --font-body: 'Rubik', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
/* Offenes Mobilmenue: Seite hinter dem Overlay einfrieren (Sperre muss auf <html>, siehe main.js) */
html.menu-locked { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn, .option, .stepper__btn, .nav__link, .nav__cta, .nav__burger, .sticky-cta {
  touch-action: manipulation;
}

[hidden] { display: none !important; }

img { max-width: 100%; }
a { color: var(--orange); }
button { font-family: inherit; }

::selection { background: var(--orange); color: #000; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn--big { padding: 1em 2.1em; font-size: 1.05rem; }

.btn--primary {
  background: var(--grad);
  background-origin: border-box; /* Verlauf bis unter den transparenten Rand, sonst Farbflecken an den Enden */
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 60, 60, .35);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 90, 40, .55);
}
.btn--primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, .25);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }

.btn--wa {
  background: #25d366;
  color: #06210f;
  box-shadow: 0 8px 30px rgba(37, 211, 102, .35);
}
.btn--wa:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 42px rgba(37, 211, 102, .55); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ CUSTOM ICONS ============ */
.icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  display: inline-block;
  flex-shrink: 0;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: var(--topbar-h, 0px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .35s ease, padding .35s ease, box-shadow .35s, top .35s ease;
}
/* Wichtig: kein backdrop-filter auf .nav! Der würde die Leiste zum
   Containing Block für das fixierte Burger-Menü machen und es abschneiden. */
.nav.is-scrolled {
  background: rgba(10, 10, 15, .93);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .5px;
}
.nav__logo em, .footer__brand em { font-style: normal; color: var(--orange); }

.nav__logo-ball {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: url('../assets/logo.svg') center / contain no-repeat;
  box-shadow: 0 0 16px rgba(255, 122, 24, .75);
  animation: logoGlow 2.8s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 122, 24, .55); }
  50% { box-shadow: 0 0 22px rgba(255, 122, 24, .95); }
}

.nav__links { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 4px 2px;
  transition: color .25s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__lang {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 4px 12px !important;
  font-size: .82rem;
}
.nav__lang::after { display: none; }

.nav__cta {
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .6em 1.3em;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(255, 70, 50, .4);
  transition: transform .2s, box-shadow .25s;
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.nav__cta:hover { transform: translateY(-2px) scale(1.04); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(255, 70, 50, .4); }
  50% { box-shadow: 0 6px 34px rgba(255, 70, 50, .75); }
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  min-width: 46px;
  min-height: 44px;
  z-index: 110;
}
.nav__burger span {
  width: 26px; height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 150px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 122, 24, .16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 110%, rgba(255, 46, 99, .12), transparent 60%),
    var(--bg);
}

/* Animierte Bowlingbahn im Hintergrund */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg-lane {
  position: absolute;
  left: 50%; bottom: -4%;
  width: 150vw; height: 118%;
  transform: translateX(-50%) perspective(1000px) rotateX(63deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 60%);
  mask-image: linear-gradient(180deg, transparent 8%, #000 60%);
}
.hero__bg-boards {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 176, 96, .08) 0 2px, transparent 2px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 140px),
    linear-gradient(180deg, transparent 0%, rgba(255, 122, 24, .05) 60%, rgba(255, 122, 24, .13) 100%);
  animation: laneMove 5s linear infinite;
}
@keyframes laneMove {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 0 140px, 0 0; }
}
.hero__bg-arrows {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .45;
}
.hero__bg-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 190, 120, .17) 48%, transparent 62%);
  background-size: 100% 260%;
  animation: laneSheen 7s ease-in-out infinite;
}
@keyframes laneSheen {
  0% { background-position: 0 -130%; }
  65%, 100% { background-position: 0 130%; }
}
.hero__bg-lane::before, .hero__bg-lane::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 17%;
  z-index: 1;
}
.hero__bg-lane::before { left: 0; background: linear-gradient(90deg, rgba(5, 5, 9, .9) 25%, transparent); }
.hero__bg-lane::after { right: 0; background: linear-gradient(270deg, rgba(5, 5, 9, .9) 25%, transparent); }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .3;
  pointer-events: none;
  animation: glowFloat 9s ease-in-out infinite alternate;
}
.hero__glow--1 { width: 480px; height: 480px; background: var(--orange); top: -140px; left: -140px; }
.hero__glow--2 { width: 420px; height: 420px; background: var(--pink); bottom: -120px; right: -120px; animation-delay: -4.5s; }
/* Beast-Watermark: riesiger Schaedel als Geist hinter dem Titel,
   ein einziges Augenpaar glimmt ruhig auf und ab */
.hero__mark {
  position: absolute;
  left: 50%;
  top: 41%;
  width: clamp(280px, 46vmin, 520px);
  height: auto;
  transform: translate(-50%, -50%);
  color: var(--text);
  overflow: visible; /* Hasenohren/Bommel duerfen ueber den viewBox-Rand ragen */
}
.mark__ghost { opacity: .055; }
.mark__alive {
  opacity: .3;
  animation: beastGlow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 46, 99, .35));
}
@keyframes beastGlow {
  0%, 100% { opacity: .16; }
  50% { opacity: .45; }
}

@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 40px) scale(1.15); }
}

/* Die lebendigen Beast-Augen im Watermark (Groessen in SVG-Einheiten des Logos) */
.beast__glow { fill: rgba(255, 46, 99, .16); }
.beast__ring {
  fill: none;
  stroke: rgba(255, 216, 226, .85);
  stroke-width: 2;
}
.beast__pupil {
  fill: #fff;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

/* Am Handy steuert das Scrollen die Pupillen (siehe main.js) */

.hero__content { position: relative; z-index: 2; width: 100%; max-width: 900px; }

.hero__status-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulseDot 1.6s ease-in-out infinite;
}
.fact--status.is-closed .hero__status-dot { background: #f87171; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7.5vw, 5.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  position: relative;
}
.hero__title-line {
  display: block;
  animation: heroLine .9s cubic-bezier(.2, .9, .3, 1.2) both;
}
.hero__title-line:nth-child(1) { animation-delay: .15s; }
.hero__title-line:nth-child(2) { animation-delay: .35s; }
.hero__title-line:nth-child(3) { animation-delay: .55s; }
@keyframes heroLine {
  from { opacity: 0; transform: translateY(45px) scale(.92); }
  to { opacity: 1; transform: none; }
}

.hero__title-line--beast {
  font-size: 1.35em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 90, 40, .55));
}

.neon-flicker { animation: heroLine .9s cubic-bezier(.2,.9,.3,1.2) .35s both, neonFlicker 5s linear 2s infinite; }
@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; }
  42% { opacity: .6; }
  43% { opacity: 1; }
  45% { opacity: .7; }
  46% { opacity: 1; }
  71% { opacity: 1; }
  72% { opacity: .5; }
  73% { opacity: 1; }
}

.hero__sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin: 22px auto 34px;
  max-width: 560px;
  animation: fadeDown .8s ease .75s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown .8s ease .9s both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}

.hero__facts {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
  animation: fadeDown .8s ease 1.05s both;
}
.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}
.fact .icon { width: 22px; height: 22px; color: var(--orange); }
.fact span { display: grid; line-height: 1.35; }
.fact strong { font-size: .95rem; }
.fact small { color: var(--muted); font-size: .78rem; }

/* ============ EVENT-LEISTE GANZ OBEN ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: calc(7px + env(safe-area-inset-top, 0px)) 16px 7px;
  background: linear-gradient(100deg, #c01340 0%, var(--pink) 45%, var(--orange) 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  text-align: center;
  transition: transform .35s ease;
}
.topbar .icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.topbar__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulseDotWhite 1.6s ease-in-out infinite;
}
@keyframes pulseDotWhite {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
  50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}
body.is-scrolled-page .topbar { transform: translateY(-105%); }
body.is-scrolled-page .nav { top: 0; }
/* Offenes Menü liegt über der Event-Leiste */
.nav.menu-open { z-index: 102; }

.hero__scroll {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--orange);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ BOWLING LANE SCENE ============ */
.lane {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 130px;
  z-index: 1;
  pointer-events: none;
}
.lane__floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 2px, transparent 2px 90px),
    linear-gradient(180deg, #17121c 0%, #241a20 100%);
  border-top: 1px solid rgba(255, 122, 24, .28);
  box-shadow: 0 -14px 44px rgba(255, 100, 30, .12);
}

/* Pins: echte 10er-Formation. Die Kugel kommt von links, also zeigt
   die Dreiecksspitze (Kopf-Pin) nach links. Tiefe läuft nach rechts,
   quer zur Bahn nach oben (kleiner + höher = weiter weg). */
.lane__pins {
  position: absolute;
  right: clamp(30px, 10vw, 160px);
  bottom: 38px;
  width: 104px;
  height: 100px;
}
.pin {
  position: absolute;
  background: url('../assets/pin.svg?v=3') center bottom / contain no-repeat;
  transform-origin: bottom center;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .28)) drop-shadow(0 5px 4px rgba(0, 0, 0, .5));
}
/* Spalte 1: Kopf-Pin, der Kugel zugewandt */
.pin--1  { width: 19px;   height: 58px; left: 0;    bottom: 14px; z-index: 4; animation: pinFall1 7s ease-in-out infinite; }
/* Spalte 2 */
.pin--2  { width: 18px;   height: 56px; left: 30px; bottom: 0;    z-index: 4; animation: pinFall2 7s ease-in-out infinite; }
.pin--3  { width: 16px;   height: 49px; left: 34px; bottom: 30px; z-index: 2; animation: pinFall3 7s ease-in-out infinite; }
/* Spalte 3 */
.pin--4  { width: 18px;   height: 54px; left: 58px; bottom: 0;    z-index: 5; animation: pinFall4 7s ease-in-out infinite; }
.pin--5  { width: 16px;   height: 49px; left: 61px; bottom: 18px; z-index: 3; animation: pinFall5 7s ease-in-out infinite; }
.pin--6  { width: 14.5px; height: 44px; left: 64px; bottom: 37px; z-index: 1; animation: pinFall6 7s ease-in-out infinite; }
/* Spalte 4 (hinten) */
.pin--7  { width: 17px;   height: 52px; left: 86px; bottom: 0;    z-index: 5; animation: pinFall7 7s ease-in-out infinite; }
.pin--8  { width: 16px;   height: 47px; left: 89px; bottom: 14px; z-index: 3; animation: pinFall8 7s ease-in-out infinite; }
.pin--9  { width: 14.5px; height: 44px; left: 92px; bottom: 28px; z-index: 2; animation: pinFall9 7s ease-in-out infinite; }
.pin--10 { width: 13.5px; height: 40px; left: 95px; bottom: 42px; z-index: 1; animation: pinFall10 7s ease-in-out infinite; }

/* Ball rolls across, strike at ~46 % of the 7s loop */
.lane__ball {
  position: absolute;
  bottom: 40px;
  left: -90px;
  animation: ballRoll 7s cubic-bezier(.45, .05, .6, 1) infinite;
}
/* Hook-Kurve: quer zur Bahn erst Richtung Rinne, dann in die Pocket */
.ball__hook {
  position: relative;
  width: 56px; height: 56px;
  animation: ballHook 7s cubic-bezier(.45, .05, .6, 1) infinite;
}
@keyframes ballHook {
  0% { transform: translateY(8px); }
  18% { transform: translateY(15px); }
  36% { transform: translateY(10px); }
  46% { transform: translateY(-9px); }
  54%, 100% { transform: translateY(-9px); }
}
/* 3D-Schattierung liegt über der Kugel und dreht NICHT mit */
.ball__hook::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 22%, transparent 42%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, .55), transparent 58%);
}
/* Bodenschatten läuft mit und reagiert auf die Hook-Höhe */
.lane__ball::before {
  content: '';
  position: absolute;
  bottom: -9px; left: 5px;
  width: 48px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .6), transparent 70%);
  filter: blur(2px);
  animation: ballShadow 7s cubic-bezier(.45, .05, .6, 1) infinite;
}
@keyframes ballShadow {
  0% { transform: translateY(8px) scale(1); opacity: .9; }
  18% { transform: translateY(15px) scale(1.08); opacity: 1; }
  36% { transform: translateY(10px) scale(1); opacity: .9; }
  46% { transform: translateY(-9px) scale(.82); opacity: .6; }
  54%, 100% { transform: translateY(-9px) scale(.82); opacity: .6; }
}
.ball {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: url('../assets/logo.svg') center / cover no-repeat, #10101a;
  box-shadow: 0 0 28px rgba(255, 122, 24, .55), inset -6px -8px 16px rgba(0, 0, 0, .4);
  animation: ballSpin 1.1s linear infinite;
}

@keyframes ballSpin { to { transform: rotate(360deg); } }
@keyframes ballRoll {
  0%   { left: -90px; opacity: 1; }
  40%  { opacity: 1; }
  46%  { left: calc(100% - clamp(30px, 10vw, 160px) - 120px); opacity: 1; }
  54%  { left: calc(100% + 40px); opacity: 1; }
  55%  { opacity: 0; }
  100% { left: calc(100% + 40px); opacity: 0; }
}

/* Pins scatter right after impact (~46 %) and reset at 92 % */
@keyframes pinFall1 {
  0%, 45% { transform: none; opacity: 1; }
  47% { transform: translate(30px, -58px) rotate(190deg); }
  60% { transform: translate(52px, 4px) rotate(330deg); opacity: 1; }
  61%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall2 {
  0%, 45.5% { transform: none; opacity: 1; }
  48% { transform: translate(-14px, -68px) rotate(160deg); }
  62% { transform: translate(-20px, 8px) rotate(300deg); opacity: 1; }
  63%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall3 {
  0%, 46% { transform: none; opacity: 1; }
  49% { transform: translate(8px, -56px) rotate(-200deg); }
  63% { transform: translate(16px, 10px) rotate(-340deg); opacity: 1; }
  64%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall4 {
  0%, 46.5% { transform: none; opacity: 1; }
  49.5% { transform: translate(26px, -72px) rotate(220deg); }
  64% { transform: translate(42px, 4px) rotate(380deg); opacity: 1; }
  65%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall5 {
  0%, 47% { transform: none; opacity: 1; }
  50% { transform: translate(44px, -50px) rotate(-170deg); }
  65% { transform: translate(66px, 8px) rotate(-290deg); opacity: 1; }
  66%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall6 {
  0%, 47.5% { transform: none; opacity: 1; }
  51% { transform: translate(60px, -64px) rotate(200deg); }
  66% { transform: translate(88px, 2px) rotate(350deg); opacity: 1; }
  67%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
/* Hintere Reihe fliegt zuletzt (der Einschlag wandert nach hinten durch) */
@keyframes pinFall7 {
  0%, 48.5% { transform: none; opacity: 1; }
  51.5% { transform: translate(-20px, -34px) rotate(-150deg); }
  64% { transform: translate(-34px, 4px) rotate(-260deg); opacity: 1; }
  65%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall8 {
  0%, 49% { transform: none; opacity: 1; }
  52% { transform: translate(-8px, -42px) rotate(165deg); }
  65% { transform: translate(-12px, 2px) rotate(320deg); opacity: 1; }
  66%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall9 {
  0%, 49.5% { transform: none; opacity: 1; }
  52.5% { transform: translate(26px, -36px) rotate(-170deg); }
  66% { transform: translate(44px, 6px) rotate(-310deg); opacity: 1; }
  67%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes pinFall10 {
  0%, 50% { transform: none; opacity: 1; }
  53% { transform: translate(42px, -40px) rotate(190deg); }
  67% { transform: translate(66px, 0) rotate(370deg); opacity: 1; }
  68%, 90% { opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}

.lane__flash {
  position: absolute;
  right: clamp(0px, 6vw, 120px);
  bottom: 20px;
  width: 220px; height: 130px;
  background: radial-gradient(circle, rgba(255, 190, 80, .8), transparent 65%);
  opacity: 0;
  animation: flash 7s ease-out infinite;
  pointer-events: none;
}
@keyframes flash {
  0%, 45% { opacity: 0; transform: scale(.4); }
  48% { opacity: .9; transform: scale(1.25); }
  56%, 100% { opacity: 0; transform: scale(.4); }
}

.lane__strike {
  position: absolute;
  right: clamp(20px, 9vw, 150px);
  bottom: 100px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: var(--orange-2);
  text-shadow: 0 0 18px rgba(255, 150, 40, .9);
  opacity: 0;
  animation: strikePop 7s ease-out infinite;
}
@keyframes strikePop {
  0%, 46% { opacity: 0; transform: scale(.3) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(3deg); }
  55% { transform: scale(1) rotate(0); opacity: 1; }
  68%, 100% { opacity: 0; transform: scale(.9) translateY(-24px); }
}

/* ============ TICKER ============ */
.ticker {
  overflow: hidden;
  background: var(--grad);
  padding: 12px 0;
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 8px 40px rgba(255, 70, 40, .3);
  position: relative;
  z-index: 5;
}
.ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker__track span {
  white-space: nowrap;
  font-weight: 700;
  color: #fff;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ============ SECTIONS ============ */
.section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 60px);
  max-width: 1220px;
  margin: 0 auto;
}
.section--alt {
  max-width: none;
  background:
    radial-gradient(ellipse 60% 45% at 15% 0%, rgba(255, 122, 24, .07), transparent 60%),
    var(--bg-alt);
}
.section--alt > * { max-width: 1220px; margin-left: auto; margin-right: auto; }

.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section__kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  text-transform: uppercase;
}
.section__lead {
  color: var(--muted);
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ ERLEBNIS CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.card {
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
  transform-style: preserve-3d;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 24, .13), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(255, 122, 24, .4); box-shadow: 0 18px 50px rgba(0,0,0,.5); }

.card__icon {
  width: 48px; height: 48px;
  color: var(--orange);
  margin-bottom: 16px;
  display: inline-block;
  filter: drop-shadow(0 6px 16px rgba(255, 122, 24, .35));
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.4);
}
.card__icon svg { width: 100%; height: 100%; }
.card:hover .card__icon { transform: scale(1.2) rotate(-8deg); color: var(--orange-2); }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ============ PREISE ============ */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price {
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 38px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1.2), border-color .3s, box-shadow .35s;
}
.price:hover { transform: translateY(-10px); border-color: rgba(255, 122, 24, .45); box-shadow: 0 26px 60px rgba(0,0,0,.55); }

.price--hot {
  border-color: rgba(255, 46, 99, .5);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 46, 99, .16), transparent 65%),
    linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  transform: scale(1.04);
  z-index: 2;
}
.price--hot:hover { transform: scale(1.04) translateY(-10px); }

.price__badge {
  align-self: center;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price__badge--hot {
  background: var(--grad);
  border: 0;
  color: #fff;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.price h3 { font-family: var(--font-display); font-size: 1.25rem; }
.price__value { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.price__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price__unit { color: var(--muted); font-weight: 500; }
.price ul { list-style: none; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; flex: 1; }
.price .btn { align-self: center; }

/* ============ EVENTS ============ */
.events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.event {
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.event:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 24px 55px rgba(0,0,0,.5); }
.event--happy { background: linear-gradient(150deg, rgba(255, 122, 24, .16), var(--panel) 55%); }
.event--dj { background: linear-gradient(150deg, rgba(255, 46, 99, .16), var(--panel) 55%); }
.event--party { background: linear-gradient(150deg, rgba(33, 230, 193, .13), var(--panel) 55%); }

.event__tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  margin-bottom: 16px;
}
.event h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.event__icon { width: 32px; height: 32px; flex-shrink: 0; }
.event--happy .event__icon { color: var(--orange); }
.event--dj .event__icon { color: var(--pink); }
.event--party .event__icon { color: var(--cyan); }
.event p { color: var(--muted); }
.event a { font-weight: 700; display: inline-block; padding: 8px 0; }

/* ============ FOTO-GALERIE ============ */
.glance__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  text-align: center;
  margin: clamp(36px, 6vw, 64px) 0 20px;
}
.glance {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.glance__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--panel);
  min-height: 190px;
  transition: transform .35s, box-shadow .35s;
}
.glance__item:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(0, 0, 0, .5); }
.glance__item--big { grid-row: 1 / 3; }
.glance__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.glance__item:hover img { transform: scale(1.06); }
.glance__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 42px 20px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(transparent, rgba(6, 6, 12, .82));
}

/* ============ BOOKING ============ */
.booking {
  background: linear-gradient(165deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 48px);
  max-width: 860px !important;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.booking__progress { margin-bottom: 34px; }
.booking__bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-bottom: 14px;
}
.booking__bar-fill {
  height: 100%;
  width: 25%;
  background: var(--grad);
  border-radius: 6px;
  transition: width .5s cubic-bezier(.2, .8, .3, 1);
  box-shadow: 0 0 14px rgba(255, 90, 40, .7);
}
.booking__steps { display: flex; justify-content: space-between; }
.booking__step {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: color .3s;
}
.booking__step.is-active { color: var(--orange); }
.booking__step.is-done { color: var(--text); }

.booking__pane { display: none; animation: paneIn .45s cubic-bezier(.2, .8, .3, 1) both; }
.booking__pane.is-active { display: block; }
@keyframes paneIn {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: none; }
}

.booking__q {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 26px;
  text-align: center;
}

/* Anlass-Karten: feste Spaltenzahl je Breite, damit nie eine Karte allein
   mit Luecke in der zweiten Reihe haengt (1 / 2x2 / 4 nebeneinander) */
.booking__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .booking__options { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 861px) {
  .booking__options { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.option {
  background: rgba(255, 255, 255, .04);
  border: 2px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 28px 18px;
  cursor: pointer;
  color: var(--text);
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  transition: transform .25s, border-color .25s, background .25s, box-shadow .3s;
}
.option:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  background: rgba(255, 122, 24, .08);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.option.is-selected { border-color: var(--orange); background: rgba(255, 122, 24, .13); }
.option__icon { width: 44px; height: 44px; color: var(--orange); }
.option__icon svg { width: 100%; height: 100%; }
.option.is-selected .option__icon, .option:hover .option__icon { color: var(--orange-2); }
.option__label { font-weight: 700; font-size: 1.05rem; }
.option__desc { color: var(--muted); font-size: .85rem; }

.booking__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-weight: 600; font-size: .9rem; }
.field__hint { font-size: .8rem; color: var(--muted); min-height: 1em; }
.field__hint.is-error { color: #f87171; font-weight: 600; }

.field__input {
  background: rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
  color-scheme: dark;
  width: 100%;
}
.field__input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .18);
}
.field__input:disabled { opacity: .5; }
textarea.field__input { resize: vertical; }

.field--check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, .04);
  border-radius: 12px;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, .1);
  transition: border-color .25s;
}
.field--check:has(input:checked) { border-color: var(--orange); background: rgba(255, 122, 24, .08); }
.field--check input {
  width: 20px; height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
}
.field--check small { color: var(--muted); display: block; }

.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 7px;
  width: fit-content;
}
.stepper__btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, .09);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.stepper__btn:hover { background: var(--orange); color: #000; }
.stepper__btn:active { transform: scale(.9); }
.stepper__val {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

/* ---------- Custom-Kalender ---------- */
.cal {
  background: rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 14px;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.cal__title {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .5px;
}
.cal__nav {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, .09);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, transform .15s, opacity .2s;
}
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav:hover:not(:disabled) { background: var(--orange); color: #000; }
.cal__nav:active:not(:disabled) { transform: scale(.9); }
.cal__nav:disabled { opacity: .25; cursor: default; }

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__grid--wd { margin-bottom: 6px; }
.cal__wd {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
}
.cal__day {
  position: relative;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.cal__day--empty { background: transparent; cursor: default; }
.cal__day:hover:not(:disabled):not(.cal__day--empty) {
  border-color: var(--orange);
  transform: translateY(-1px);
}
.cal__day.is-open::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #4ade80;
}
.cal__day.is-closed {
  background: rgba(255, 46, 99, .10);
  color: rgba(242, 240, 234, .35);
  cursor: not-allowed;
}
.cal__day.is-closed::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: rgba(255, 46, 99, .7);
}
.cal__day.is-past {
  background: transparent;
  color: rgba(242, 240, 234, .2);
  cursor: not-allowed;
}
.cal__day.is-past::after { display: none; }
.cal__day.is-today { border-color: rgba(255, 255, 255, .4); }
.cal__day.is-selected {
  background: var(--grad);
  background-origin: border-box;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(255, 70, 40, .45);
}
.cal__day.is-selected::after { background: #fff; }

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: .78rem;
  color: var(--muted);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.cal__dot--open { background: #4ade80; }
.cal__dot--closed { background: rgba(255, 46, 99, .8); }
.cal__dot--event { background: #ffb347; }

.cal__day.is-event {
  background: rgba(255, 183, 71, .12);
  color: rgba(242, 240, 234, .45);
  cursor: not-allowed;
}
.cal__day.is-event::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #ffb347;
}

/* Öffentliche Veranstaltungen & Feiertage: Tag bleibt buchbar,
   bekommt ein plastisches Thema-Icon, das schwebt und auf Beruehrung reagiert */
.cal__dot--fest { background: var(--pink); box-shadow: 0 0 6px rgba(255, 46, 99, .8); }
.cal__day.is-fest {
  --festc: 255, 46, 99;
  position: relative;
  overflow: visible;
  border-color: rgba(var(--festc), .65);
  animation: festGlow 3.2s ease-in-out infinite;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s;
}
@keyframes festGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(var(--festc), .22); }
  50% { box-shadow: 0 0 18px rgba(var(--festc), .5); }
}
.cal__day.is-fest:hover:not(:disabled),
.cal__day.is-fest:focus-visible {
  transform: perspective(300px) rotateX(10deg) translateY(-3px) scale(1.14);
  z-index: 3;
  animation: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .5), 0 0 20px rgba(var(--festc), .6);
}
.cal__fest {
  position: absolute;
  top: -9px; right: -7px;
  width: 20px; height: 20px;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)) drop-shadow(0 0 6px rgba(var(--festc), .55));
  transform-origin: 60% 90%;
  animation: festBob 3.2s ease-in-out infinite;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1);
}
@keyframes festBob {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-2.5px) rotate(8deg); }
}
.cal__day.is-fest:hover:not(:disabled) .cal__fest,
.cal__day.is-fest:focus-visible .cal__fest {
  animation: none;
  transform: translateY(-4px) scale(1.45) rotate(10deg);
}
.cal__day.is-fest--halloween { --festc: 255, 122, 24; }
.cal__day.is-fest--weihnachten { --festc: 229, 72, 77; }
.cal__day.is-fest--party { --festc: 255, 46, 99; }
.cal__day.is-fest--feiertag { --festc: 33, 230, 193; }
.cal__day.is-fest.is-selected { color: #fff; }

/* ---------- Partynaechte (oeffentliche Karten mit Vormerkung) ---------- */
.parties__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  text-align: center;
  margin: clamp(32px, 5vw, 56px) 0 20px;
}
.parties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  justify-content: center;
  gap: 22px;
}
.party {
  background: linear-gradient(165deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.party__img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.party__body {
  padding: 20px 22px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* sonst sprengt das Vormerk-Formular schmale Karten */
  gap: 10px;
  align-content: start;
}
.party__date {
  justify-self: start;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  background: rgba(255, 122, 24, .12);
  border: 1px solid rgba(255, 122, 24, .3);
  border-radius: 999px;
  padding: 5px 13px;
}
.party__body h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}
.party__body p { color: var(--muted); font-size: .95rem; }
.party__rsvp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 6px; }
.party__count { color: var(--cyan); font-size: .84rem; font-weight: 600; }
/* Wrap: in sehr schmalen Karten rutscht der Knopf unter das Feld statt abgeschnitten zu werden */
.party__form { display: flex; flex-wrap: wrap; gap: 8px; }
.party__form input {
  flex: 1 1 150px;
  min-width: 0;
  background: rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.party__form input:focus { outline: none; border-color: var(--orange); }
.party__form .btn { flex: 1 0 auto; padding: 11px 20px; font-size: .9rem; white-space: nowrap; }
.party__done { color: #4ade80; font-weight: 700; font-size: .95rem; }
.party__note { color: var(--muted); font-size: .72rem; }

/* PC: bis zu 3 Partys immer in einer Reihe; mehr als 3 = Karussell mit Pfeilen */
.parties-wrap { position: relative; }
.parties__nav { display: none; }
@media (min-width: 861px) {
  .parties {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
  }
  .parties-wrap--slider .parties {
    display: flex;
    justify-content: flex-start; /* center wuerde die erste Karte links aus dem Scrollbereich schieben */
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Platz fuer den Kartenschatten, sonst schneidet overflow ihn ab */
    padding: 10px 0 40px;
    margin: -10px 0 -40px;
  }
  .parties-wrap--slider .parties::-webkit-scrollbar { display: none; }
  .parties-wrap--slider .party {
    flex: 0 0 calc((100% - 44px) / 3);
    scroll-snap-align: start;
  }
  .parties__nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(10, 10, 15, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow);
    transform: translateY(-50%);
    transition: opacity .25s, background .25s, transform .25s;
  }
  .parties__nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .parties__nav:hover:not(:disabled) { background: var(--grad); transform: translateY(-50%) scale(1.08); }
  .parties__nav:disabled { opacity: 0; pointer-events: none; }
  .parties__nav--prev { left: -25px; }
  .parties__nav--next { right: -25px; }
}

/* ---------- Zeit- & Dauer-Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
}
.chip {
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .12);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: .92rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s, opacity .2s;
}
.chip:hover:not(:disabled) { border-color: var(--orange); transform: translateY(-1px); }
.chip:active:not(:disabled) { transform: scale(.96); }
.chip.is-selected {
  background: var(--grad);
  background-origin: border-box;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 70, 40, .4);
}
.chip:disabled { opacity: .3; cursor: not-allowed; }
.chips__empty { color: var(--muted); font-size: .9rem; padding: 6px 0; }

.booking__note {
  margin-top: 20px;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

.booking__nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.summary {
  margin-top: 28px;
  background: rgba(0, 0, 0, .3);
  border: 1px dashed rgba(255, 122, 24, .45);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: grid;
  gap: 8px;
}
.summary__row { display: flex; justify-content: space-between; gap: 18px; font-size: .95rem; }
.summary__row span:first-child { color: var(--muted); }
.summary__row--total {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 12px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 1.1rem;
}
.summary__row--total .summary__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.summary__hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }

.booking__send {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.booking__send--main { margin-top: 26px; }
.booking__senderr {
  text-align: center;
  color: #f87171;
  font-weight: 600;
  font-size: .9rem;
  min-height: 1.2em;
  margin-top: 10px;
}
.booking__or {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin: 14px 0 2px;
}
.chip.is-full { text-decoration: line-through; }
.api-off #sendRequest, .api-off .booking__or, .api-off #sendError { display: none; }

.booking__success {
  text-align: center;
  padding: 30px 10px 10px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.booking__success-icon {
  width: 74px; height: 74px;
  color: #4ade80;
  filter: drop-shadow(0 0 18px rgba(74, 222, 128, .45));
  animation: successPop .5s cubic-bezier(.2, .9, .3, 1.4) both;
}
@keyframes successPop {
  from { transform: scale(.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.booking__success p { color: var(--muted); max-width: 420px; }

.booking__disclaimer {
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 16px;
}

/* FAQ sitzt dichter am Kontakt-Bereich */
#faq { padding-bottom: clamp(24px, 3vw, 40px); }
#kontakt { padding-top: clamp(36px, 5vw, 60px); }

/* ============ SAISON-THEME-EBENE ============ */
#festFx {
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
}
/* Weihnachten: jede Birne haengt an ihrem eigenen Kabel unter der Navigation */
.xmas-lights {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 48px;
  pointer-events: none;
}
.xmas-light {
  position: absolute;
  top: 0;
  width: 2px;
  height: var(--h, 16px);
  background: linear-gradient(#20202b, #3c3c4e);
  transform-origin: top center;
  animation: lightSwing 3.8s ease-in-out infinite;
}
.xmas-light::before {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 6px; height: 4px;
  margin-left: -3px;
  border-radius: 1px 1px 0 0;
  background: #2c2c3a;
}
.xmas-light::after {
  content: '';
  position: absolute;
  left: 50%; top: calc(100% + 3px);
  width: 10px; height: 12px;
  margin-left: -5px;
  border-radius: 46% 46% 50% 50% / 36% 36% 64% 64%;
  background: var(--lc, #ffd54f);
  box-shadow: 0 0 7px var(--lc, #ffd54f), 0 0 16px var(--lc, #ffd54f);
  animation: lightTwinkle 2.6s ease-in-out infinite;
  animation-delay: inherit;
}
@keyframes lightSwing {
  0%, 100% { transform: rotate(3.5deg); }
  50% { transform: rotate(-3.5deg); }
}
@keyframes lightTwinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ============ COOKIE-/CONSENT-BANNER ============ */
.consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 240;
  max-width: 420px;
  background: linear-gradient(165deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.consent[hidden] { display: none; }
.consent__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.consent__text { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.consent__text a { color: var(--orange); font-weight: 700; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__actions .btn { padding: 11px 20px; font-size: .9rem; }
@media (max-width: 640px) {
  .consent {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .consent__actions .btn { flex: 1 1 auto; }
}

/* ============ KONTAKT ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}
.contact__info { display: grid; gap: 26px; align-content: start; }
.contact__block {
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.contact__block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__block h3 .icon { color: var(--orange); width: 20px; height: 20px; }
.contact__block a .icon { width: 1em; height: 1em; margin-right: 4px; }
.contact__block p, .contact__block td { color: var(--muted); }
.contact__block a { text-decoration: none; }
.contact__block a:hover { text-decoration: underline; }
.contact__block p a { display: inline-block; padding: 9px 0; }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; font-size: .95rem; }
.hours td:last-child { text-align: right; }
.hours tr.is-today td {
  color: var(--orange);
  font-weight: 700;
}
.hours tr.is-today td:first-child::after {
  content: ' · heute';
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact__social { display: flex; gap: 12px; margin-top: 14px; }
.contact__social a {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: border-color .25s, color .25s, transform .2s;
}
.contact__social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); text-decoration: none; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  min-height: 380px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 122, 24, .08), transparent 70%),
    var(--panel);
  display: grid;
  place-items: center;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.contact__map-load {
  background: none;
  border: 2px dashed rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  color: var(--text);
  padding: 40px 36px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: center;
  transition: border-color .25s, background .25s;
  margin: 20px;
}
.contact__map-load:hover { border-color: var(--orange); background: rgba(255, 122, 24, .06); }
.contact__map-icon { width: 44px; height: 44px; color: var(--orange); }
.contact__map-load strong { font-size: 1.1rem; }
.contact__map-load small { color: var(--muted); max-width: 260px; }

/* ============ FAQ ============ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq__item {
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq__item[open] { border-color: rgba(255, 122, 24, .45); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  transition: color .2s;
}
.faq__item summary:hover { color: var(--orange); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__x::before, .faq__x::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--orange);
  border-radius: 2px;
  transition: transform .3s ease;
}
.faq__x::before { width: 18px; height: 2.5px; }
.faq__x::after { width: 2.5px; height: 18px; }
.faq__item[open] .faq__x::after { transform: rotate(90deg); }
.faq__item[open] .faq__x::before { transform: rotate(180deg); }
.faq__item p {
  padding: 0 22px 20px;
  color: var(--muted);
  animation: faqIn .35s ease;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ============ CTA-BAND ============ */
.ctaband {
  background: var(--grad);
  padding: clamp(64px, 9vw, 100px) 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ctaband__pin {
  position: absolute;
  height: 160px;
  opacity: .22;
  pointer-events: none;
}
.ctaband__pin--l { left: 5%; bottom: -26px; transform: rotate(-14deg); }
.ctaband__pin--r { right: 5%; top: -26px; transform: rotate(158deg); }
.ctaband__inner { position: relative; max-width: 640px; margin: 0 auto; }
.ctaband__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.ctaband p {
  color: rgba(255, 255, 255, .92);
  margin: 14px auto 30px;
  max-width: 460px;
}
.btn--light {
  background: #fff;
  color: #e0244f;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
}
.btn--light:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 44px rgba(0, 0, 0, .4); }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #07070b;
  padding: 50px clamp(18px, 5vw, 60px) calc(90px + env(safe-area-inset-bottom, 0px));
}
.footer__inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  text-align: center;
  justify-items: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  flex-wrap: wrap;
  justify-content: center;
}
.footer__brand p { font-family: var(--font-body); color: var(--muted); width: 100%; margin-top: 6px; }
.footer__links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--muted); text-decoration: none; transition: color .25s; padding: 10px 6px; display: inline-block; }
.footer__links a:hover { color: var(--orange); }
.footer__copy { color: #5a5866; font-size: .85rem; }
.footer__dev { color: #5a5866; font-size: .8rem; margin-top: 6px; }
.footer__dev a { color: #8a8798; font-weight: 600; }
.footer__dev a:hover { color: var(--orange); }
.footer__install { margin-top: 16px; padding: 10px 24px; font-size: .9rem; }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%;
  transform: translateX(-50%) translateY(90px);
  z-index: 90;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(255, 70, 40, .55);
  transition: transform .4s cubic-bezier(.2, .8, .3, 1.2);
  white-space: nowrap;
}
.sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ============ LEGAL PAGES ============ */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 22px 80px;
}
.legal h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; color: var(--orange); }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .btn { margin-top: 30px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 12, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 1.3rem;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2, .8, .3, 1);
    z-index: 100;
  }
  .nav__links.is-open { transform: none; }
  .nav__burger { display: flex; }

  .contact { grid-template-columns: 1fr; }
  .booking__nav { flex-direction: column-reverse; }
  .booking__nav .btn { width: 100%; }
  .booking__send { flex-direction: column; }
  .booking__send .btn { width: 100%; }
  .lane__pins { transform: scale(.74); transform-origin: bottom right; }
  .ball, .ball__hook { width: 42px; height: 42px; }
  .lane__ball::before { width: 36px; left: 4px; }
  .hero__facts { gap: 10px; }
  .fact { padding: 10px 14px; }

  /* Partynaechte: Swipe-Karussell statt Stapel */
  .parties {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    margin-left: calc(-1 * clamp(18px, 5vw, 60px));
    margin-right: calc(-1 * clamp(18px, 5vw, 60px));
    padding-left: clamp(18px, 5vw, 60px);
    padding-right: clamp(18px, 5vw, 60px);
  }
  .parties::-webkit-scrollbar { display: none; }
  .party {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
  /* Nur eine Veranstaltung: volle Breite statt links klebender Einzelkarte */
  .party:only-child { flex-basis: 100%; }
  .party__body { padding: 18px 18px 20px; }

  /* Scroll-Maus ausblenden: ueberlappt sonst die rollende Kugel, Handys scrollen eh */
  .hero__scroll { display: none; }

  /* Galerie: kompakte Wischleiste statt Raster */
  .glance {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: calc(-1 * clamp(18px, 5vw, 60px));
    margin-right: calc(-1 * clamp(18px, 5vw, 60px));
    padding-left: clamp(18px, 5vw, 60px);
    padding-right: clamp(18px, 5vw, 60px);
  }
  .glance::-webkit-scrollbar { display: none; }
  .glance__item--big { grid-row: auto; }
  .glance__item {
    flex: 0 0 86%;
    scroll-snap-align: center;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .glance__item:hover { transform: none; }
}

/* Notch / Dynamic Island: seitliche Schutzzonen */
@supports (padding: env(safe-area-inset-left)) {
  .nav {
    padding-left: calc(clamp(16px, 4vw, 48px) + env(safe-area-inset-left));
    padding-right: calc(clamp(16px, 4vw, 48px) + env(safe-area-inset-right));
  }
}

/* Kurze Displays (iPhone SE & Co.): Hero entzerren */
@media (max-height: 740px) and (max-width: 860px) {
  .hero { padding-top: 128px; padding-bottom: 118px; }
  .hero__title { font-size: clamp(1.9rem, 9.5vw, 3rem); }
  .hero__sub { margin: 14px auto 22px; }
  .hero__facts { margin-top: 22px; gap: 8px; }
  .fact { padding: 9px 13px; }
  .hero__scroll { display: none; }
  .lane { height: 104px; }
  .lane__floor { height: 72px; }
}

/* Handy: entschlacken, damit alles übersichtlich bleibt */
@media (max-width: 640px) {
  /* Hero: nur das Wesentliche */
  .hero { padding-top: 148px; padding-bottom: 126px; }
  .hero__sub { font-size: .95rem; margin: 14px auto 22px; }
  .hero__actions .btn--ghost { display: none; }
  .hero__facts .fact:nth-child(3),
  .hero__facts .fact:nth-child(4) { display: none; }
  .hero__facts { margin-top: 22px; }

  /* Sektionen kompakter */
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section__head { margin-bottom: 28px; }
  .section__lead { font-size: .95rem; }

  /* Erlebnis: kompaktes 2er-Raster, Icon + Titel reichen */
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 22px 12px; text-align: center; }
  .card__icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .card h3 { font-size: .92rem; margin-bottom: 0; }
  .card p { display: none; }

  /* Preise: enger, ohne Einzel-Buttons (Reservieren-Button schwebt eh mit) */
  .prices { gap: 14px; }
  .price { padding: 26px 20px; gap: 12px; }
  .price .btn { display: none; }
  .price ul { gap: 4px; font-size: .9rem; }

  /* Events & FAQ enger */
  .events { gap: 14px; }
  .event { padding: 26px 22px; }
  .faq { gap: 10px; }
  .faq__item summary { padding: 15px 18px; font-size: .95rem; }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
  .section { padding-left: 16px; padding-right: 16px; }
  /* Galerie- und Party-Randausgleich an den engeren Seitenabstand anpassen */
  .glance,
  .parties {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Vormerk-Formular: Knopf in voller Breite unters E-Mail-Feld */
  .party__form { flex-direction: column; }
  .party__form input { flex: none; } /* sonst wird die 150px-Basis in der Spalte zur Hoehe */
  .party__form .btn { width: 100%; }
  .price__num { font-size: 2.6rem; }
  .price--hot { transform: none; }
  .price--hot:hover { transform: translateY(-10px); }
  .card, .price, .event { padding: 26px 20px; }
  .booking__step { font-size: .72rem; letter-spacing: .5px; }
  .stepper__btn { width: 46px; height: 46px; }
  .ticker { padding: 10px 0; }
  .ticker__track span { font-size: .8rem; }
  .contact__map { min-height: 300px; }
  .contact__map iframe { min-height: 300px; }
  .summary { padding: 18px 16px; }
  .summary__row { font-size: .9rem; }
  .hero__glow--1 { width: 300px; height: 300px; filter: blur(70px); }
  .hero__glow--2 { width: 260px; height: 260px; filter: blur(70px); }
}

/* Reduced motion: alles ruhig */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ HALLOWEEN-THEME (aktiv bei site_theme = halloween) ============ */
/* Farb-Shift: Pink wird Gift-Violett, Cyan wird Giftgruen, Verlauf Orange zu Violett */
body.site-theme--halloween {
  --pink: #a638ff;
  --cyan: #8aff3d;
  --grad: linear-gradient(100deg, var(--orange) 0%, #a638ff 100%);
}

/* Mond mit weichem Hof hinter dem Beast-Schaedel */
.hw-moon {
  position: absolute;
  left: 50%;
  top: 41%;
  width: clamp(130px, 20vmin, 220px);
  height: clamp(130px, 20vmin, 220px);
  transform: translate(-165%, -160%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(0, 0, 0, .08) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 58%, rgba(0, 0, 0, .07) 0 6%, transparent 7%),
    radial-gradient(circle at 48% 74%, rgba(0, 0, 0, .06) 0 5%, transparent 6%),
    radial-gradient(circle at 40% 35%, #fff7e0 0%, #ffe9b8 55%, #f3cf8a 100%);
  box-shadow: 0 0 70px 24px rgba(255, 230, 170, .14), 0 0 160px 60px rgba(255, 220, 150, .07);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 860px) {
  .hw-moon { transform: translate(-130%, -200%); opacity: .42; }
}

/* Kuerbis-Lampions an einzelnen Schnueren unter der Nav */
.hw-lanterns {
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 0;
  pointer-events: none;
}
.hw-lantern {
  position: absolute;
  top: 0;
  width: 2px;
  height: var(--h, 18px);
  background: linear-gradient(#20202b, #3c3c4e);
  transform-origin: top center;
  animation: lightSwing 4.6s ease-in-out infinite, hwLanternFlick 3.4s steps(1) infinite;
}
.hw-lantern::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 16px; height: 13px;
  transform: translateX(-50%);
  border-radius: 48% 48% 46% 46% / 56% 56% 44% 44%;
  background:
    radial-gradient(ellipse 22% 80% at 30% 50%, rgba(120, 40, 0, .55) 0 58%, transparent 60%),
    radial-gradient(ellipse 22% 80% at 70% 50%, rgba(120, 40, 0, .55) 0 58%, transparent 60%),
    radial-gradient(circle at 38% 32%, #ffb168 0%, #ff7a18 52%, #c24e00 100%);
  box-shadow: 0 0 10px rgba(255, 140, 40, .65), 0 0 22px rgba(255, 120, 20, .35);
}
.hw-lantern::before {
  content: '';
  position: absolute;
  left: 50%; top: calc(100% - 3px);
  width: 4px; height: 5px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: #4c8b34;
}
@keyframes hwLanternFlick {
  0%, 100% { filter: brightness(1); }
  41% { filter: brightness(1.25); }
  44% { filter: brightness(.92); }
  47% { filter: brightness(1.2); }
  78% { filter: brightness(1.1); }
}

/* Spinnweben in den Ecken, Spinne pendelt am Faden */
.hw-webwrap {
  position: absolute;
  width: 110px; height: 130px;
  pointer-events: none;
  color: rgba(255, 255, 255, .8);
}
.hw-webwrap--nav { top: 0; right: 0; }
.hw-webwrap--nav .hw-web { transform: scaleX(-1); }
.hw-webwrap--nav .hw-spider { right: 34px; left: auto; }
.hw-webwrap--footer { top: 0; left: 0; }
.hw-webwrap--footer .hw-spider { left: 34px; }
.hw-web { width: 110px; height: 110px; opacity: .16; }
.hw-spider {
  position: absolute;
  top: 46px;
  width: 22px; height: 36px;
  transform-origin: top center;
  animation: hwSpider 5.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
@keyframes hwSpider {
  0%, 100% { transform: rotate(5deg); }
  50% { transform: rotate(-6deg); }
}
body.site-theme--halloween .footer { position: relative; }
@media (max-width: 700px) {
  .hw-webwrap { width: 72px; height: 92px; }
  .hw-web { width: 72px; height: 72px; }
  .hw-webwrap--nav .hw-spider { right: 20px; top: 30px; }
  .hw-webwrap--footer .hw-spider { left: 20px; top: 30px; }
}

/* Beast-Schaedel: orange Glut, Kerzen-Flackern, gelegentliches Blinzeln */
body.site-theme--halloween .hero__mark {
  color: #ff9a3c;
  animation: hwMarkFlick 5.2s steps(1) infinite;
}
body.site-theme--halloween .mark__ghost { opacity: .085; }
body.site-theme--halloween .mark__alive {
  filter: drop-shadow(0 0 12px rgba(255, 140, 40, .55));
  animation: beastGlow 7s ease-in-out infinite, hwBlink 6.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
@keyframes hwMarkFlick {
  0%, 100% { filter: brightness(1); }
  9% { filter: brightness(1.3); }
  11% { filter: brightness(.9); }
  14% { filter: brightness(1.28); }
  57% { filter: brightness(1.18); }
  60% { filter: brightness(1); }
}
@keyframes hwBlink {
  0%, 91%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(.06); }
  97% { transform: scaleY(1); }
}

/* Hero-Chip fuer die Halloween-Party */
.fact--fest {
  text-decoration: none;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 24, .5), 0 0 16px rgba(255, 122, 24, .22);
  animation: hwFactPulse 2.8s ease-in-out infinite;
}
.fact--fest strong { color: var(--orange-2); }
.fact--fest:hover { text-decoration: none; }
.fact--fest .icon { color: var(--orange); }
@keyframes hwFactPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 122, 24, .5), 0 0 12px rgba(255, 122, 24, .18); }
  50% { box-shadow: inset 0 0 0 1px rgba(255, 150, 60, .8), 0 0 26px rgba(255, 122, 24, .4); }
}

/* Titel-Glitch (nur Theme-Stufe volle Ladung, kurz und selten) */
.hero__title.is-glitch {
  animation: hwGlitch .3s steps(4) 1;
}
@keyframes hwGlitch {
  0% { transform: translate(0); }
  25% { transform: translate(-3px, 1px) skewX(-2deg); filter: hue-rotate(-40deg); text-shadow: 3px 0 #ff2e63, -3px 0 #21e6c1; }
  50% { transform: translate(2px, -1px) skewX(1.5deg); filter: hue-rotate(25deg); text-shadow: -4px 0 #a638ff, 4px 0 #ff7a18; }
  75% { transform: translate(-1px, 2px); text-shadow: 2px 0 #8aff3d, -2px 0 #ff2e63; }
  100% { transform: translate(0); }
}

/* ============ WEIHNACHTEN / WINTER / OSTERN: Theme-Pakete ============ */
/* Farb-Shifts je Saison */
body.site-theme--weihnachten {
  --pink: #ff5252;
  --cyan: #6fe3a0;
  --grad: linear-gradient(100deg, var(--orange) 0%, #e63946 100%);
}
body.site-theme--winter {
  --pink: #5ab8ff;
  --cyan: #9bd8ff;
  --grad: linear-gradient(100deg, var(--orange) 0%, #5ab8ff 100%);
}
body.site-theme--ostern {
  --pink: #ff6fae;
  --cyan: #7ee787;
  --grad: linear-gradient(100deg, var(--orange) 0%, #ff6fae 100%);
}

/* Himmelskoerper: kalter Wintermond bzw. warme Fruehlingssonne */
body.site-theme--weihnachten .hw-moon,
body.site-theme--winter .hw-moon {
  background:
    radial-gradient(circle at 36% 32%, rgba(0, 0, 0, .07) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 58%, rgba(0, 0, 0, .06) 0 6%, transparent 7%),
    radial-gradient(circle at 48% 74%, rgba(0, 0, 0, .05) 0 5%, transparent 6%),
    radial-gradient(circle at 40% 35%, #ffffff 0%, #e9f2ff 55%, #c9ddf5 100%);
  box-shadow: 0 0 70px 24px rgba(205, 228, 255, .14), 0 0 160px 60px rgba(190, 220, 255, .07);
  opacity: .45;
}
body.site-theme--ostern .hw-moon {
  background: radial-gradient(circle at 42% 38%, #fff8d9 0%, #ffe9a8 52%, #ffd27a 100%);
  box-shadow: 0 0 80px 30px rgba(255, 220, 130, .2), 0 0 180px 70px rgba(255, 210, 120, .1);
  opacity: .42;
}

/* Requisiten im Schaedel-SVG: Deckkraft passend zur Watermark, Rest sitzt per viewBox */
.mark__prop {
  opacity: .55;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}

/* Oster-Anhaenger: bemalte Eier an einzelnen Schnueren unter der Nav */
.fest-pends {
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 0;
  pointer-events: none;
}
.fest-pend {
  position: absolute;
  top: 0;
  width: 2px;
  height: var(--h, 18px);
  background: linear-gradient(#20202b, #3c3c4e);
  transform-origin: top center;
  animation: lightSwing 4.8s ease-in-out infinite;
}
.fest-pend--egg::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 13px; height: 17px;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background:
    repeating-linear-gradient(-12deg, transparent 0 3.2px, var(--e2, #ff8fb3) 3.2px 5px, transparent 5px 8.2px),
    var(--e1, #ffd1dc);
  box-shadow: inset -2px -3px 5px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .35);
}

/* Beast-Schaedel: Glut passend zur Saison */
body.site-theme--weihnachten .hero__mark { color: #ffd9a0; }
body.site-theme--weihnachten .mark__ghost { opacity: .075; }
body.site-theme--weihnachten .mark__alive { filter: drop-shadow(0 0 12px rgba(255, 200, 110, .5)); }
body.site-theme--winter .hero__mark { color: #bfe3ff; }
body.site-theme--winter .mark__ghost { opacity: .07; }
body.site-theme--winter .mark__alive { filter: drop-shadow(0 0 12px rgba(140, 200, 255, .5)); }
body.site-theme--ostern .hero__mark { color: #ffc2d6; }
body.site-theme--ostern .mark__ghost { opacity: .07; }
body.site-theme--ostern .mark__alive { filter: drop-shadow(0 0 12px rgba(255, 150, 190, .45)); }

/* ============ SPARMODUS fuer schwache Geraete (perf-lite) ============ */
/* Wird automatisch gesetzt bei wenig Kernen/Speicher oder gemessener niedriger Bildrate */
body.perf-lite .hero__glow { animation: none; }
body.perf-lite .neon-flicker { animation: none; }
body.perf-lite .hero__mark { animation: none; }
body.perf-lite .hw-lantern { animation: lightSwing 4.6s ease-in-out infinite; }
body.perf-lite .cal__fest { animation: none; }

/* Bereiche unterhalb des ersten Fensters erst rendern, wenn man hinscrollt */
#faq,
#kontakt,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Sparmodus: auch die Dauerlaeufer der Basis-Seite pausieren (Bahn-Szene, Ticker) */
body.perf-lite .hero__bg-lane *,
body.perf-lite .lane,
body.perf-lite .lane *,
body.perf-lite .ticker__track {
  animation-play-state: paused !important;
}

/* Haenge-Deko erst zeigen, wenn die Nav ihren schwarzen Balken hat (beim Scrollen):
   ueber dem transparenten Hero wirkten die Ketten sonst frei in der Luft haengend */
.hw-lanterns,
.xmas-lights,
.fest-pends {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.nav.is-scrolled .hw-lanterns,
.nav.is-scrolled .xmas-lights,
.nav.is-scrolled .fest-pends {
  opacity: 1;
  transform: translateY(0);
}

/* ============ PAKET-KARUSSELL (Kindergeburtstag & Schulklassen) ============
   Wischbare Reihe mit Schnapp-Punkten; am PC 3 Karten + Pfeile (.parties__nav). */
.packs-wrap { position: relative; }
.packs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Platz fuer Hover-Schub und Kartenschatten, sonst schneidet overflow sie ab */
  padding: 10px 0 40px;
  margin: -10px 0 -40px;
}
.packs::-webkit-scrollbar { display: none; }
.packs .price {
  flex: 0 0 min(86%, 320px);
  scroll-snap-align: start;
}
/* Das Hervorheben per scale wuerde im Scroller die Nachbarkarten ueberlappen */
.packs .price--hot { transform: none; }
.packs .price--hot:hover { transform: translateY(-10px); }
@media (min-width: 861px) {
  .packs .price { flex-basis: calc((100% - 44px) / 3); }
}

/* Pakete und Events folgen direkt aufeinander: das doppelte Sektions-Polster
   dazwischen einkuerzen, sonst klafft eine riesige Luecke */
#pakete, #pakete-info { padding-bottom: clamp(20px, 3vw, 36px); }
