/* ==========================================================================
   Jost Games / Drink City — Design System v2 (cinematic)
   Dunkle, urbane Spieleabend-Atmosphäre. Scroll-getriebene Animationen,
   große Condensed-Typografie, Orange/Violett-Neon.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL-Lizenz) ---------- */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

:root {
  --bg-950: #0a0910;
  --bg-900: #121020;
  --bg-800: #1b1830;
  --bg-700: #262140;
  --line: rgba(255, 255, 255, 0.09);

  --orange: #ff7a3d;
  --orange-bright: #ffb35c;
  --violet: #8b3dff;
  --violet-bright: #c9a3ff;
  --pink: #ff5da2;

  --text: #f6f3ff;
  --text-muted: #b6b0cc;
  --text-faint: #7a7492;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-glow-orange: 0 0 40px rgba(255, 122, 61, 0.25);
  --shadow-glow-violet: 0 0 40px rgba(139, 61, 255, 0.28);

  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg-950);
  background-image: radial-gradient(
      ellipse 900px 600px at 15% -10%,
      rgba(139, 61, 255, 0.22),
      transparent 60%
    ),
    radial-gradient(
      ellipse 800px 500px at 90% 10%,
      rgba(255, 122, 61, 0.16),
      transparent 55%
    );
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto; /* HTML-height-Attribut nie gegen die skalierte Breite erzwingen */
  display: block;
}

a {
  color: var(--orange-bright);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografie ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.015em;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

/* Hinweis: kein background-clip:text — die animierten Einzelbuchstaben
   (eigene Compositing-Layer) würden den Gradient unsichtbar machen.
   Farben kommen pro Buchstabe aus JS (Graffiti-Palette wie im Logo). */
h1 {
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  color: var(--orange-bright);
}

h2 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  color: var(--text);
}

h2 .accent {
  color: var(--orange-bright);
}

h3 {
  font-size: 1.6rem;
  color: var(--violet-bright);
  letter-spacing: 0.04em;
}

p {
  color: var(--text-muted);
  max-width: 62ch;
}

.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section--tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--orange-bright);
  margin-bottom: 10px;
  transform: rotate(-2deg);
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--violet-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Site loader ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--bg-950);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-loader img {
  width: 140px;
  height: 140px;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.site-loader__tag {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  background: linear-gradient(
    90deg,
    var(--orange-bright) 0%,
    var(--pink) 55%,
    var(--violet-bright) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-2deg);
}

.site-loader.is-dismissing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 24px rgba(139, 61, 255, 0.4));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 44px rgba(255, 122, 61, 0.5));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader {
    display: none;
  }
}

/* ---------- Ambient city lights (JS-populated) ---------- */
.city-lights {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.city-lights.is-visible {
  opacity: 1;
}

.city-orb {
  position: absolute;
  left: var(--x, 50%);
  top: 110%;
  width: var(--s, 80px);
  height: var(--s, 80px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    var(--c, rgba(255, 122, 61, 0.35)),
    transparent 70%
  );
  filter: blur(var(--blur, 2px));
  opacity: var(--o, 0.4);
  animation: orbRise var(--d, 24s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

@keyframes orbRise {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--dx, 0px), -140vh, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-lights {
    display: none;
  }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 9, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--text);
  text-transform: uppercase;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand__jost {
  color: var(--text-faint);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--text);
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 10px;
  border-radius: var(--radius-s);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav .btn {
  margin-left: 8px;
}

/* ---------- Nav-Dropdown (Zielgruppen-Landingpages) ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 10px 10px;
  white-space: nowrap;
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown__toggle:hover,
.nav-dropdown.is-open .nav-dropdown__toggle,
.nav-dropdown:focus-within .nav-dropdown__toggle {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: rgba(10, 9, 16, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  z-index: 130;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  display: flex;
}

.nav-dropdown__menu a {
  display: block;
  width: 100%;
}

@media (max-width: 720px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px;
    font-size: 1.05rem;
  }
  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--violet);
    border-radius: 0;
    margin-left: 16px;
    padding: 0;
    min-width: 0;
  }
  /* Mobil nur per Tap öffnen, nicht per Hover/Fokus */
  .nav-dropdown:hover:not(.is-open) .nav-dropdown__menu,
  .nav-dropdown:focus-within:not(.is-open) .nav-dropdown__menu {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn--primary {
  background: linear-gradient(120deg, var(--orange) 0%, var(--pink) 100%);
  color: #1a0a05;
  box-shadow: var(--shadow-glow-orange);
}

.btn--primary:hover {
  box-shadow: 0 0 55px rgba(255, 122, 61, 0.45);
}

.btn--secondary {
  background: transparent;
  border-color: var(--violet-bright);
  color: var(--violet-bright);
}

.btn--secondary:hover {
  background: rgba(139, 61, 255, 0.12);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Cinematic hero (sticky + scrub) ---------- */
.hero-cinematic {
  position: relative;
  height: 230vh;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 96px 24px 30px;
  gap: 2px;
}

.hero-cinematic h1 {
  margin-bottom: 0.12em;
}

.hero-cinematic .badge-row {
  margin-top: 12px;
}

.hero-cinematic .cta-row {
  margin-top: 14px;
}

@media (max-height: 980px) {
  .hero-cinematic .subline {
    max-width: 60ch;
    font-size: 0.95rem;
  }
}

.hero-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 70% 60% at 50% 0%,
      rgba(139, 61, 255, 0.28),
      transparent 65%
    ),
    radial-gradient(
      ellipse 60% 50% at 85% 90%,
      rgba(255, 122, 61, 0.2),
      transparent 60%
    );
  pointer-events: none;
}

.hero-cinematic__bg-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(8rem, 26vw, 22rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.14);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-kicker {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-cinematic h1 {
  position: relative;
  z-index: 3;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.2em;
  padding: 0.12em 0.4em 0.06em;
  background: rgba(10, 9, 16, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.hero-cinematic h1 span {
  display: block;
}

.hero-char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-cinematic .subline {
  position: relative;
  z-index: 3;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
  max-width: 58ch;
  text-align: center;
  margin: 0 auto;
}

/* Unterer Content-Cluster (Subline, Badges, CTAs) — sitzt am Hero-Boden
   und liegt ÜBER dem großen Produktfoto (z-index > art), wie beim
   Aurello-Template die Tagline über der Dose */
.hero-bottom {
  position: relative;
  z-index: 6;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 8px;
  /* liegt teils über dem Produktfoto — Schatten sichert die Lesbarkeit */
  text-shadow: 0 2px 12px rgba(10, 9, 16, 0.95), 0 0 28px rgba(10, 9, 16, 0.8);
}

/* Produktfoto als Hero-Herzstück — groß und zentral wie die Aurello-Dose.
   position:fixed als Vollbild-Flex-Container: Die Zentrierung kommt aus
   dem Layout (kein transform), GSAP animiert die Journey nur obendrauf.
   So kann kein Resize/Refresh die Zentrier-Transform verlieren. */
.hero-cinematic__art {
  position: fixed;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}

html.no-gsap .hero-cinematic__art {
  position: absolute;
}

.hero-cinematic__art img {
  height: min(66vh, 660px);
  width: auto;
  max-width: 86vw;
  object-fit: cover;
  margin-bottom: 7vh; /* leicht über der Mitte, wie zuvor yPercent -54 */
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(-6deg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 80px rgba(139, 61, 255, 0.4),
    0 0 120px rgba(255, 122, 61, 0.2);
}

/* Headline breiter als das Bild, damit sie seitlich hervorlugt (wie beim
   Template die Riesen-Typo hinter der Dose); nowrap nur auf Desktop —
   mobil würde die Zeile sonst aus dem Viewport laufen */
.hero-cinematic h1 {
  font-size: clamp(3.6rem, 11vw, 10rem);
}

@media (min-width: 901px) {
  .hero-cinematic h1 {
    white-space: nowrap;
  }
}

/* Neue Ebenen-Ordnung: Headline-Box VOR dem Bild */
.hero-cinematic h1 {
  z-index: 3;
}

.hero-kicker {
  z-index: 6;
}

.hero-cinematic .badge-row,
.hero-cinematic .cta-row {
  position: relative;
  z-index: 2;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--orange-bright), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}

/* Auf kompakten Viewports kollidiert der Cue mit Badges/CTAs — ausblenden.
   (Muss nach der .scroll-cue-Basisregel stehen, sonst verliert er die Kaskade.) */
@media (max-height: 980px) {
  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__line {
    animation: none;
  }
  .hero-cinematic {
    height: auto;
  }
  .hero-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
  }
}

@keyframes scrollcue {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 24, 48, 0.75);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: linear-gradient(160deg, var(--bg-800), var(--bg-900));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 61, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), var(--shadow-glow-orange);
}

.card--glow-orange {
  box-shadow: inset 0 0 0 1px rgba(255, 122, 61, 0.15);
}

.card--glow-violet {
  box-shadow: inset 0 0 0 1px rgba(139, 61, 255, 0.2);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  background: rgba(255, 122, 61, 0.12);
}

/* ---------- Numbered story sections ---------- */
.story-numbered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.story-numbered__item {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-800), var(--bg-900));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.story-numbered__item:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  border-color: rgba(139, 61, 255, 0.4);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow-violet);
}

.story-numbered__num {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--orange-bright);
  margin-bottom: 16px;
  display: block;
  transform: rotate(-2deg);
}

.story-numbered__item h3 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 10px;
}

/* ---------- Fact grid ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.fact {
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.fact:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 179, 92, 0.4);
}

.fact__value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--orange-bright);
  display: block;
  margin-bottom: 6px;
}

.fact__label {
  color: var(--text-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---------- Ritual steps ---------- */
.ritual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
  text-align: center;
}

.ritual__step {
  padding: 8px;
  will-change: transform;
}

.ritual__num {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(
    120deg,
    var(--orange-bright),
    var(--violet-bright)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 10px;
}

.ritual__step h3 {
  color: var(--text);
  font-size: 2rem;
}

/* ---------- Gallery (clip reveals via JS) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-800);
  will-change: transform;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery figure:hover img {
  transform: scale(1.06) rotate(0.5deg);
}

.gallery figcaption {
  padding: 12px 16px;
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--text-faint);
}

.photo-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo-frame img {
  width: 100%;
  display: block;
}

/* ---------- Product gallery (swipeable) ---------- */
.product-gallery {
  position: relative;
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-800);
  aspect-ratio: 4 / 3;
  touch-action: pan-y;
}

.product-gallery__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-gallery__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 9, 16, 0.55);
  backdrop-filter: blur(4px);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.product-gallery__arrow:hover {
  background: rgba(255, 122, 61, 0.35);
  border-color: rgba(255, 179, 92, 0.5);
}

.product-gallery__arrow--prev { left: 14px; }
.product-gallery__arrow--next { right: 14px; }

.product-gallery__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.product-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.product-gallery__dot.is-active {
  background: var(--orange-bright);
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .product-gallery__arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* Helle Panel-Fläche für das dunkelblaue Jost-Games-Logo */
.brand-panel {
  background: linear-gradient(160deg, #f4f1fa, #e7e2f2);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-panel img {
  max-width: min(420px, 100%);
  height: auto;
}

/* ---------- Marquee (scroll-scrubbed via JS, CSS fallback) ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    90deg,
    var(--bg-900),
    var(--bg-800),
    var(--bg-900)
  );
  padding: 26px 0;
  position: relative;
  z-index: 2;
}

.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

html.no-gsap .marquee__track {
  animation: marquee 26s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  html.no-gsap .marquee__track {
    animation: none;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee__item {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  color: var(--text-faint);
}

.marquee__item .accent {
  color: var(--orange-bright);
}

/* ---------- Placeholder markers ---------- */
.placeholder {
  border: 1px dashed var(--orange-bright);
  background: rgba(255, 122, 61, 0.08);
  border-radius: var(--radius-s);
  padding: 3px 8px;
  font-size: 0.85em;
  color: var(--orange-bright);
}

.placeholder-block {
  border: 1px dashed var(--violet-bright);
  background: rgba(139, 61, 255, 0.08);
  border-radius: var(--radius-m);
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.placeholder-block strong {
  color: var(--violet-bright);
}

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  border-radius: var(--radius-m);
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(
    135deg,
    var(--bg-800),
    var(--bg-800) 10px,
    var(--bg-900) 10px,
    var(--bg-900) 20px
  );
  color: var(--text-faint);
  font-size: 0.85rem;
  padding: 20px;
}

/* ---------- Markt-Auswahl (Shop: CH / DE) ---------- */
.market-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
}

.market-switch__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 28px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-800), var(--bg-900));
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.market-switch__btn:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 61, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), var(--shadow-glow-orange);
}

.market-switch__flag {
  font-size: 2rem;
  line-height: 1;
}

.market-switch__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.market-switch__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

#markt-wahl,
#markt-schweiz,
#markt-deutschland {
  scroll-margin-top: 110px;
}

.market-section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.market-section__head h3 {
  font-size: 1.9rem;
  color: var(--text);
  margin: 0;
}

.market-section__flag {
  font-size: 1.6rem;
}

@media (max-width: 700px) {
  .market-switch {
    grid-template-columns: 1fr;
  }
}

/* ---------- Shop / Produktkarten ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  background: linear-gradient(160deg, var(--bg-800), var(--bg-900));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 61, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow-orange);
}

.product-card__media {
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__cat {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--orange-bright);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 8px;
}

.product-card__body h3 {
  color: var(--text);
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.92rem;
  margin: 0 0 16px;
  flex: 1;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--orange-bright);
  margin: 0 0 18px;
}

.product-card .btn {
  align-self: flex-start;
}

/* ---------- Zielgruppen-Teaser (Startseite) ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bg-800), var(--bg-900));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.audience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 61, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow-orange);
}

.audience-card__media {
  overflow: hidden;
}

.audience-card__media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.audience-card:hover .audience-card__media img {
  transform: scale(1.07);
}

.audience-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.audience-card__body h3 {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.audience-card__body p {
  font-size: 0.92rem;
  margin: 0 0 14px;
  flex: 1;
  color: var(--text-muted);
}

.audience-card__cta {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--orange-bright);
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 44px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color 0.25s ease;
  will-change: transform;
}

.faq-item:hover {
  border-color: rgba(255, 179, 92, 0.35);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--orange-bright);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  margin: 0;
  max-width: none;
}

/* ---------- Story split ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 32px;
  color: var(--text-faint);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.footer-wordmark {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  user-select: none;
  pointer-events: none;
  margin-bottom: 40px;
  white-space: nowrap;
  --neon: 0;
}

/* Neon-Ebene: identischer Text als Verlaufs-Füllung mit Glow, deren
   Intensität (--neon) beim Scrollen von GSAP hochgeregelt wird */
.footer-wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    var(--orange-bright) 0%,
    var(--pink) 40%,
    var(--violet) 75%,
    #6cc4ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0px transparent;
  opacity: var(--neon);
  filter: drop-shadow(0 0 14px rgba(255, 93, 162, 0.55))
    drop-shadow(0 0 40px rgba(139, 61, 255, 0.45));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 400;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: var(--orange-bright);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.age-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-prose {
  max-width: 68ch;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

main [id] {
  scroll-margin-top: 84px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 8px;
  text-align: center;
}

.section-head p.max-prose {
  margin-left: auto;
  margin-right: auto;
}

/* Animation hooks: content stays visible without JS; GSAP sets its own
   start states at runtime. */
.reveal,
.reveal-stagger > * {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story-numbered,
  .ritual {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Mobil: kein gepinnter Hero — normaler Fluss, kein Abschneiden;
     Produktfoto zurück in den Fluss statt absolut über dem Text */
  .hero-cinematic {
    height: auto;
  }
  .hero-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-top: 130px;
    padding-bottom: 60px;
  }
  .hero-cinematic h1 {
    font-size: clamp(2.5rem, 9.5vw, 5rem);
  }
  .hero-cinematic__art,
  html.no-gsap .hero-cinematic__art {
    position: relative;
    inset: auto;
    transform: none;
    margin: 26px 0 18px;
  }
  .hero-cinematic__art img {
    height: auto;
    width: min(320px, 78vw);
    margin-bottom: 0;
  }
  .hero-bottom {
    margin-top: 0;
  }
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    position: fixed;
    inset: 66px 0 0 0;
    background: rgba(10, 9, 16, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 16px;
    font-size: 1.05rem;
  }
  .main-nav .btn {
    margin: 10px 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Consent-Banner (DSGVO / TTDSG) ---------- */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: rgba(18, 16, 32, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc-banner.is-visible {
  transform: translateY(0);
}

.cc-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cc-banner__text {
  flex: 1 1 340px;
  min-width: 0;
}

.cc-banner__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 4px;
}

.cc-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 68ch;
}

.cc-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Zustimmen und Ablehnen bewusst gleichwertig gestaltet (keine Dark Patterns) */
.cc-btn {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.cc-btn--plain {
  min-width: 168px;
  background: var(--bg-700);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.cc-btn--plain:hover {
  transform: translateY(-2px);
  border-color: var(--violet-bright);
  background: #2f2950;
}

.cc-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-faint);
  text-decoration: underline;
  padding-left: 6px;
  padding-right: 6px;
}

.cc-btn--ghost:hover {
  color: var(--text);
}

/* ---------- Einstellungs-Dialog ---------- */
html.cc-locked,
html.cc-locked body {
  overflow: hidden;
}

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
}

.cc-modal.is-open {
  display: block;
}

.cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 12, 0.82);
  backdrop-filter: blur(4px);
}

.cc-modal__panel {
  position: relative;
  max-width: 640px;
  width: calc(100% - 40px);
  max-height: 86vh;
  overflow-y: auto;
  margin: 7vh auto 0;
  background: var(--bg-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px 34px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.cc-modal__title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  margin: 0 0 10px;
}

.cc-modal__intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.cc-cat {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.cc-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.cc-cat__label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet-bright);
}

.cc-cat__locked {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-style: italic;
}

.cc-cat__toggle {
  width: 22px;
  height: 22px;
  accent-color: var(--violet);
  cursor: pointer;
  flex-shrink: 0;
}

.cc-cat__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: none;
}

.cc-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.cc-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cc-modal__close:hover {
  color: var(--text);
  border-color: var(--violet-bright);
}

@media (max-width: 720px) {
  .cc-banner__inner {
    padding: 18px 20px;
    gap: 16px;
  }
  /* Beide Entscheidungs-Buttons exakt gleich breit nebeneinander,
     "Einstellungen" darunter über die volle Breite */
  .cc-banner__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cc-btn--plain {
    order: 1;
    min-width: 0;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cc-btn--ghost {
    order: 2;
    grid-column: 1 / -1;
    justify-self: center;
  }
  .cc-modal__panel {
    padding: 28px 22px 22px;
    margin-top: 4vh;
    max-height: 92vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner {
    transition: none;
  }
  .cc-btn:hover {
    transform: none;
  }
}
