/* ==========================================================================
   Gastrosilvester 2027 – gemeinsames Stylesheet
   ========================================================================== */

/* ---------- Schrift (lokal gehostet, SIL OFL, siehe ../fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #070a10;
  --bg-2: #0d121b;
  --fg: #ffffff;
  --fg-70: rgba(255,255,255,.72);
  --fg-50: rgba(255,255,255,.52);
  --fg-30: rgba(255,255,255,.3);
  --line: rgba(255,255,255,.14);
  --glass: rgba(10,14,22,.55);
  --glass-strong: rgba(10,14,22,.78);
  --radius: 22px;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  /* Seitenrand: 5vw, ab ca. 2000 px Fensterbreite wächst er mit (3.6vw), damit große Monitore nicht randlos wirken */
  --gutter: clamp(16px, 5vw, max(72px, 3.6vw));
  --gutter: max(clamp(16px, 5vw, max(72px, 3.6vw)), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  /* Navigation: Logo-Höhe + 2 × 14px Innenabstand + 1px Linie */
  --nav-logo: 56px;
  --nav-h: calc(var(--nav-logo) + 29px);
  /* Hero-Einheit „hu": Das Hero ist ein Poster mit festen Proportionen (--hero-k hu hoch, ohne Navigation).
     1 hu = 1vw, solange die Fensterbreite begrenzt (Handy, Hochformat). Auf breiten Fenstern begrenzt die Höhe:
     dann ist 1 hu genau so groß, dass Navigation + Poster den ersten Bildschirm füllen. */
  --hero-k: 59;
  --hu: min(1vw, calc((100vh - var(--nav-h)) / var(--hero-k)), 40px);
}
@supports (height: 100svh) {
  :root { --hu: min(1vw, calc((100svh - var(--nav-h)) / var(--hero-k)), 40px); }
}
/* Desktop: 68px; auf sehr großen Fenstern (ab ca. 1700 × 1115) wächst das Logo stufenlos bis 132px mit */
@media (min-width: 900px) { :root { --nav-logo: clamp(68px, min(6.1vh, 4vw), 132px); } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Hintergrund ---------- */
.bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -2;
  background: var(--bg) url("../img/bg-mobile.jpg") center / cover no-repeat;
}
@media (min-width: 768px) {
  .bg { background-image: url("../img/bg.jpg"); }
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(7,10,16,0) 0%, rgba(7,10,16,.35) 60%, rgba(7,10,16,.85) 100%);
}
#sparkle {
  position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%;
  pointer-events: none; opacity: .9;
}

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--fg-70);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--fg); flex: none; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.1; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--fg-70); font-weight: 500; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .9em 1.6em; border-radius: 999px;
  font-family: var(--font); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  text-decoration: none; border: 2px solid var(--fg); cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--fg); color: #000; box-shadow: 0 0 0 0 rgba(255,255,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--fg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--fg); color: #000; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gutter);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, body.menu-open .nav { background: rgba(7,10,16,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav .logo { display: block; flex: none; }
.nav .logo img { height: var(--nav-logo); width: auto; }
.nav-links { display: none; gap: 3.05em; font-size: .72rem; }
.nav-links a { text-decoration: none; font-size: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--fg-70); transition: color .2s; padding: 8px 0; }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav .btn { padding: .7em 1.3em; font-size: .7rem; min-height: 44px; }
@media (min-width: 900px) {
  /* Bis ca. 1920 × 1250 bleiben die Werte unverändert; darüber wächst die Navigation stufenlos mit,
     damit sie neben dem großen Hero nicht verloren wirkt */
  .nav-links { display: flex; font-size: clamp(.72rem, min(.92vh, .6vw), 1.15rem); }
  .nav .btn { font-size: clamp(.7rem, min(.88vh, .58vw), 1.1rem); min-height: clamp(44px, min(3.6vh, 2.4vw), 76px); }
}

/* Mobil-Menü */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--fg);
  background: rgba(255,255,255,.04); color: var(--fg); cursor: pointer; padding: 0; flex: none;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn span { position: relative; width: 18px; height: 2px; background: currentColor; display: block; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--fg); transition: transform .3s ease, top .3s ease; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 900px) { .menu-btn { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(7,10,16,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; align-content: start; align-content: safe center; gap: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 60px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
body.menu-open { overflow: hidden; }
.menu > a {
  font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1.05;
  text-decoration: none; padding: .18em 0; border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: transform .45s ease, opacity .45s ease;
}
body.menu-open .menu > a { transform: none; opacity: 1; }
.menu > a:nth-child(1) { transition-delay: .05s } .menu > a:nth-child(2) { transition-delay: .1s }
.menu > a:nth-child(3) { transition-delay: .15s } .menu > a:nth-child(4) { transition-delay: .2s }
.menu > a:nth-child(5) { transition-delay: .25s }
.menu-meta { margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; }
.menu-meta a { font-size: .72rem; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; color: var(--fg-70); text-decoration: none; padding: 14px 0; }
@media (min-width: 900px) { .menu { display: none; } }

/* ---------- Hero ----------
   Alle Maße hängen an --hu (siehe :root). Dadurch füllt das Hero auf jedem Querformat-Fenster genau den
   ersten Bildschirm – vom kleinen Laptop bis zum 6K-Monitor – und ist im Hochformat so hoch wie sein Inhalt.
   Höhenbudget in hu: 3 Luft oben + 1.2 Eyebrow + 2.97 Tagline + 2.57 Edition + 26.66 Titel + 3 × .95 Abstände
   + 2.4 Abstand + 13.28 Datum + 3.6 unten = 58.5 (--hero-k = 59 lässt eine halbe Einheit Reserve). */
.hero {
  min-height: calc(var(--nav-h) + var(--hero-k) * var(--hu));
  display: grid; align-items: end; justify-items: start;
  padding: calc(var(--nav-h) + max(16px, 3 * var(--hu))) var(--gutter) max(20px, 3.6 * var(--hu));
  position: relative;
}
/* Block ist so breit wie der Titel: Buttons schließen rechts bündig mit „SILVESTER" ab */
.hero-inner { width: -moz-fit-content; width: fit-content; max-width: 100%; display: grid; gap: max(14px, 2.4 * var(--hu)); }
.hero-top { display: grid; gap: max(6px, .95 * var(--hu)); }
/* Handy/Tablet hochkant: feste, großzügigere Abstände (hu ist hier sehr klein) */
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 40px; }
  .hero-inner { gap: 28px; }
  .hero-top { gap: 12px; }
}
.hero .eyebrow { font-size: max(.72rem, .8 * var(--hu)); }
.hero .eyebrow::before { width: max(28px, 2 * var(--hu)); height: max(2px, .14 * var(--hu)); }
.hero .tagline { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: max(.78rem, 1.1 * var(--hu)); color: var(--fg-70); max-width: 34ch; line-height: 1.35; }
.hero .edition { font-weight: 800; text-transform: uppercase; font-size: max(1.1rem, 2.45 * var(--hu)); line-height: 1.05; }
.hero h1 {
  font-size: max(3rem, 15.5 * var(--hu));
  line-height: .86; letter-spacing: -.02em;
  text-shadow: 0 10px 60px rgba(0,0,0,.6);
}
.hero h1 .w { display: block; overflow: hidden; }
.hero h1 .w span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .w:nth-child(2) span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-bottom { display: grid; gap: max(28px, 2 * var(--hu)); align-items: end; }
@media (min-width: 900px) { .hero-bottom { grid-template-columns: 1fr auto; } }
/* Kleine Querformat-Fenster knapp unter 900 px: gleiche Regeln wie am Desktop, sonst rutschen die Buttons unter den Rand */
@media (min-width: 720px) and (max-width: 899px) and (orientation: landscape) and (min-height: 520px) {
  .hero { padding-top: calc(var(--nav-h) + max(16px, 3 * var(--hu))); padding-bottom: max(20px, 3.6 * var(--hu)); }
  .hero-inner { gap: max(14px, 2.4 * var(--hu)); }
  .hero-top { gap: max(6px, .95 * var(--hu)); }
  .hero-bottom { grid-template-columns: 1fr auto; }
}
.when { font-weight: 900; text-transform: uppercase; line-height: 1.02; font-size: max(1.5rem, 3.55 * var(--hu)); }
.when small { display: block; font-size: .42em; font-weight: 800; letter-spacing: .12em; color: var(--fg-70); margin-top: .6em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-cta { gap: max(12px, .8 * var(--hu)); }
.hero .btn { font-size: max(.78rem, .86 * var(--hu)); }

.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s ease forwards; }
.d1 { animation-delay: .25s } .d2 { animation-delay: .45s } .d3 { animation-delay: .65s } .d4 { animation-delay: .85s }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: max(28px, 2 * var(--hu));
  writing-mode: vertical-rl; font-size: max(.62rem, .68 * var(--hu)); letter-spacing: .3em; text-transform: uppercase; font-weight: 800; color: var(--fg-50);
  display: none; align-items: center; gap: 12px;
}
.scroll-hint::after { content: ""; width: 1px; height: max(54px, 4 * var(--hu)); background: linear-gradient(var(--fg), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }
@media (min-width: 1100px) { .scroll-hint { display: flex; } }

/* ---------- Laufband ---------- */
.marquee {
  position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(7,10,16,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden; white-space: nowrap; padding: 14px 0;
  font-weight: 900; text-transform: uppercase; font-size: clamp(.9rem, 1.6vw, max(1.25rem, .85vw)); letter-spacing: .08em;
}
/* Die Spur enthält 6 identische Textsätze und läuft um genau die Hälfte (3 Sätze) weiter. inline-flex statt inline-block,
   damit keine Leerzeichen zwischen den Elementen die Hälften ungleich machen (sonst ruckt das Band am Schleifenende). */
.marquee .track { display: inline-flex; align-items: baseline; animation: slide 114s linear infinite; will-change: transform; }
.marquee span { display: inline-block; padding: 0 1.2em; }
.marquee i { font-style: normal; color: var(--fg-30); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 110px; background: linear-gradient(90deg, rgba(7,10,16,0), rgba(7,10,16,.92) 60%); pointer-events: none; }
.motion-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(7,10,16,.85); color: var(--fg-70); cursor: pointer; padding: 0;
  display: grid; place-items: center; transition: color .2s, border-color .2s;
}
.motion-toggle:hover { color: var(--fg); border-color: var(--fg); }
.motion-toggle svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.motion-toggle .ico-play { display: none; }
body.motion-paused .motion-toggle .ico-play { display: block; }
body.motion-paused .motion-toggle .ico-pause { display: none; }
body.motion-paused .marquee .track, body.motion-paused .ticket-visual .stamp, body.motion-paused .scroll-hint::after, body.motion-paused .shop-head .live::before { animation-play-state: paused; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 140px) var(--gutter); scroll-margin-top: var(--nav-h); }
.wrap { max-width: 1400px; margin: 0 auto; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Countdown */
.countdown-wrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 0; }
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--line);
}
.countdown div { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(18px, 3vw, 36px) 10px; text-align: center; }
.countdown b { display: block; font-weight: 900; font-size: clamp(1.8rem, 6vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; padding-right: .02em; /* gleicht die Laufweite hinter der letzten Ziffer aus: Zahl steht optisch mittig */ }
/* Die Tage stehen ohne führende Nullen (58, 9, 1) und wechseln nur einmal täglich: proportionale Ziffern;
   die optische Mitte setzt site.js anhand der sichtbaren Ziffernfläche (transform), daher hier kein Ausgleich */
.countdown [data-u="d"] { font-variant-numeric: normal; padding-right: 0; }
.countdown small { display: block; margin-top: 10px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--fg-50); }
.countdown.over { grid-template-columns: 1fr; }
.countdown.over .over-msg { font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 4vw, 3rem); line-height: 1.05; padding: clamp(24px, 4vw, 48px) 16px; }
@media (max-width: 480px) { .countdown small { font-size: .62rem; letter-spacing: 0; } .countdown div { padding-left: 4px; padding-right: 4px; } }

/* Manifest */
.manifest { display: grid; gap: 40px; }
@media (min-width: 900px) { .manifest { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; } }
.manifest h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); }
.manifest-text { display: grid; gap: 22px; padding-top: 10px; }
.manifest-text p { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--fg-70); }
.manifest-text p strong { color: var(--fg); font-weight: 800; }

/* Fakten */
.facts { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; min-height: 220px; transition: background .25s; }
.fact:hover { background: rgba(255,255,255,.07); }
.fact .k { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 800; color: var(--fg-50); }
.fact .v { font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.05; }
.fact .s { color: var(--fg-70); font-size: .92rem; }
.fact .s a { text-decoration: none; border-bottom: 1px solid var(--fg-30); transition: border-color .2s; }
.fact .s a:hover { border-color: var(--fg); }

/* Tickets */
.tickets { display: grid; gap: 32px; }
@media (min-width: 1000px) { .tickets { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.ticket-visual { position: relative; }
@media (min-width: 1000px) { .ticket-visual { position: sticky; top: calc(var(--nav-h) + 30px); } }
.ticket-visual img { border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: rotate(-2.5deg); transition: transform .4s ease; width: 100%; height: auto; }
.ticket-visual:hover img { transform: rotate(0deg) scale(1.02); }
.ticket-visual .stamp {
  position: absolute; right: -8px; top: -18px;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--fg); color: #000; display: grid; place-items: center; text-align: center;
  font-weight: 900; text-transform: uppercase; font-size: .62rem; letter-spacing: .12em; line-height: 1.3;
  animation: spin 18s linear infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
@keyframes spin { to { transform: rotate(360deg); } }
.ticket-copy { display: grid; gap: 22px; }
.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticket-list li { position: relative; padding-left: 26px; color: var(--fg-70); font-size: .98rem; }
.ticket-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 14px rgba(255,255,255,.7); }
.ticket-list a { text-decoration: none; border-bottom: 1px solid var(--fg-30); transition: border-color .2s; }
.ticket-list a:hover { border-color: var(--fg); }
.shop {
  margin-top: 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: clamp(18px, 2.5vw, 28px);
}
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.shop-head .k { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 800; color: var(--fg-50); }
.shop-head .live { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; }
.shop-head .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5cff8a; box-shadow: 0 0 12px #5cff8a; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.ditix-event-box { min-height: 320px; }
.ditix-event-box iframe { border-radius: 14px; width: 100% !important; display: block; }
.shop-fallback { color: var(--fg-50); font-size: .85rem; padding: 18px 0 4px; }
.shop-fallback a { color: var(--fg-70); text-decoration: none; border-bottom: 1px solid var(--fg-30); }

/* Partner */
.partners { text-align: center; }
.partners .section-head { justify-items: center; }
.logo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
@media (min-width: 700px) { .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .logo-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logo-row .dehoga { font-size: clamp(.9rem, 4.7vw, 1.1rem); } }
.logo-row div { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; place-items: center; padding: 34px 22px; min-height: 140px; transition: background .25s; }
.logo-row div:hover { background: rgba(255,255,255,.08); }
.logo-row img { height: 44px; width: auto; max-width: 100%; object-fit: contain; opacity: .92; filter: brightness(0) invert(1); }
.logo-row .dehoga { font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .35em; }
.logo-row .dehoga svg { width: 1.3em; height: 1.3em; }

/* Location: Galerie */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.gallery-head .section-head { margin-bottom: 0; }
.gallery-nav { display: none; gap: 10px; flex: none; padding-bottom: 6px; }
@media (min-width: 900px) { .gallery-nav { display: flex; } }
.gallery-nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--fg);
  background: rgba(255,255,255,.04); color: var(--fg); cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: background .2s, color .2s, transform .2s;
}
.gallery-nav button:hover { background: var(--fg); color: #000; transform: translateY(-2px); }
.gallery-nav button svg { width: 20px; height: 20px; }
.strip {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 18px; margin: 0 calc(-1 * var(--gutter));
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip figure {
  margin: 0; flex: none; scroll-snap-align: start;
  height: clamp(300px, 56vh, 560px);
  border-radius: 18px; overflow: hidden; background: var(--bg-2); position: relative;
  aspect-ratio: 3 / 2;
}
.strip figure.p { aspect-ratio: 3 / 4; }
.strip figure.lead { aspect-ratio: 16 / 9; }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .7s ease; }
@media (hover: hover) { .strip figure:hover img { transform: scale(1.07); } }
.strip figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--fg-70);
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.strip figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,10,16,.55), rgba(7,10,16,0) 45%); pointer-events: none; }
@media (max-width: 899px) {
  .strip figure { height: min(clamp(300px, 56vh, 560px), calc((100vw - 2 * var(--gutter)) * 2 / 3)); }
  .strip figure.lead { aspect-ratio: 3 / 2; }
}
.gallery-hint { margin-top: 6px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--fg-50); }
@media (min-width: 900px) { .gallery-hint { display: none; } }

/* Location: Karte + Adresse */
.location { display: grid; gap: 24px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1000px) { .location { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; } }
.loc-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(24px, 3vw, 44px); display: grid; gap: 20px; align-content: space-between; }
.loc-card .big { font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .95; }
.loc-card address { font-style: normal; color: var(--fg-70); font-size: 1.05rem; line-height: 1.6; }
.loc-card address a { text-decoration: none; border-bottom: 1px solid var(--fg-30); display: inline-block; padding: 5px 0; }
.map {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 360px;
  position: relative; display: grid; place-items: center; text-align: center; padding: 32px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--glass-strong);
}
.map-consent { display: grid; gap: 14px; justify-items: center; max-width: 420px; }
.map-consent .pin { width: 44px; height: 44px; }
.map-consent p { color: var(--fg-70); font-size: .92rem; }
.map-consent .note { font-size: .74rem; color: var(--fg-50); }
.map-consent .note a { text-decoration: none; border-bottom: 1px solid var(--fg-30); }
.map.loaded { padding: 0; display: block; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) invert(.92) contrast(1.1) brightness(.9); display: block; }

/* Final CTA */
.final { text-align: center; padding-bottom: clamp(60px, 8vw, 120px); }
.final h2 { font-size: clamp(min(2.6rem, 12vw), 9vw, 8rem); line-height: .9; }
.final .hero-cta { justify-content: center; margin-top: 36px; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: calc(var(--nav-h) + 60px) var(--gutter) 80px; min-height: 70vh; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin-top: 18px; }
.legal-meta { margin-top: 16px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--fg-50); }
.legal-body { margin-top: 48px; display: grid; gap: 36px; }
.legal-body h2 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.15; margin-bottom: 14px; letter-spacing: .01em; }
.legal-body h3 { font-size: .95rem; letter-spacing: .04em; margin: 22px 0 8px; font-weight: 800; }
.legal-body p, .legal-body li { color: var(--fg-70); font-size: 1rem; line-height: 1.65; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { margin: 10px 0 0; padding-left: 1.2em; }
.legal-body li + li { margin-top: 4px; }
.legal-body a { text-decoration: none; border-bottom: 1px solid var(--fg-30); transition: border-color .2s; word-break: break-word; }
.legal-body a:hover { border-color: var(--fg); }
.legal-body address { font-style: normal; color: var(--fg); font-weight: 600; line-height: 1.6; }
.legal-body > div { border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); background: rgba(7,10,16,.66); padding: clamp(22px, 3vw, 36px); }
.legal-body > div.legal-back { border: 0; background: none; padding: 0; }
.legal-card { border-color: var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.legal-card h2 { margin-top: 0; }
.legal-back { margin-top: 56px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: rgba(7,10,16,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom)); }
.foot { max-width: 1400px; margin: 0 auto; display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .foot { grid-template-columns: auto 1fr auto; } }
.foot img { height: 44px; width: auto; }
.foot-links { display: flex; gap: 0 24px; flex-wrap: wrap; }
.foot-links a, .foot p { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fg-50); text-decoration: none; padding: 13px 0; display: inline-block; }
.foot-links a:hover { color: var(--fg); }
@media (min-width: 800px) { .foot-links { justify-content: center; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mobil: weniger Blur, mehr Tempo ---------- */
@media (max-width: 900px) {
  .fact, .countdown div, .logo-row div, .shop, .loc-card, .legal-card, .map, .btn-ghost, .menu, .marquee, footer {
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .menu { background: rgba(7,10,16,.97); }
  .fact, .countdown div, .logo-row div, .loc-card, .legal-card { background: rgba(10,14,22,.82); }
  .legal-body > div { background: rgba(7,10,16,.85); }
  .legal-body > div.legal-back { background: none; }
  .shop { background: rgba(10,14,22,.9); }
  .fact:hover, .logo-row div:hover { background: rgba(10,14,22,.82); }
  .ticket-visual .stamp { width: 92px; height: 92px; font-size: .56rem; right: max(0px, 20px - var(--gutter)); top: -12px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee .track, .hero h1 .w span, .fade-up, .scroll-hint::after, .ticket-visual .stamp, .shop-head .live::before { animation: none !important; transform: none !important; opacity: 1 !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .menu, .menu > a, .btn, .strip img { transition: none; }
}
