/* ==========================================================================
   1. Langenfelder Wintercircus – Onepage
   Farbwelt abgeleitet aus dem Masterbild: Nachtblau, warmes Lichtgold,
   Zirkusrot und Samt.
   ========================================================================== */

:root {
  --velvet-900: #14050a;
  --velvet-800: #1f0810;
  --velvet-700: #2c0b15;
  --red-700: #5c0e18;
  --red-600: #7d1422;
  --red-500: #a11d2c;
  --gold-500: #e9c27a;
  --gold-400: #f3d79f;
  --gold-600: #c9993f;
  --night-800: #0e1730;
  --cream: #f7ecd8;
  --text: #f1e6d2;
  --text-muted: #cbb99b;

  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --gutter: 1rem;
  --section-space: clamp(4.5rem, 10vw, 8rem);
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--velvet-900);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-400); }
a:hover { color: var(--cream); }
strong { font-weight: 500; color: var(--cream); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; color: var(--cream); }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold-500); color: var(--velvet-900);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; --header-h: 76px; } }

.muted { color: var(--text-muted); }
.small { font-size: .875rem; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem); }
.section-lead { font-size: 1.125rem; color: var(--text-muted); max-width: 46rem; margin-inline: auto; }

.ornament {
  width: 140px; height: 14px; margin: .2rem 0 1.6rem;
  background:
    radial-gradient(circle, var(--gold-500) 0 3px, transparent 3.5px) center / 14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--gold-600) 30%, transparent 46%, transparent 54%, var(--gold-600) 70%, transparent) center / 100% 1px no-repeat;
}
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head .ornament { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1.2 var(--font-body); letter-spacing: .04em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn-gold {
  color: var(--velvet-900);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  box-shadow: 0 6px 24px -8px rgba(233, 194, 122, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { color: var(--velvet-900); transform: translateY(-2px); box-shadow: 0 10px 32px -8px rgba(233, 194, 122, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--cream); border-color: rgba(233, 194, 122, .55); background: rgba(20, 5, 10, .25); backdrop-filter: blur(4px); }
.btn-ghost:hover { color: var(--velvet-900); background: var(--gold-500); border-color: var(--gold-500); }
.btn-sm { min-height: 40px; padding: .5rem 1.2rem; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
/* Dunkler Verlauf hinter der Navigation, damit sie über hellen Lichtern im Bild lesbar bleibt */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 4, 8, .82) 0%, rgba(14, 4, 8, .55) 55%, rgba(14, 4, 8, 0) 100%);
  transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled {
  background: rgba(20, 5, 10, .86);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(233, 194, 122, .18);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cream); }
.brand-star { width: 22px; height: 22px; fill: var(--gold-500); flex: none; }
.brand-text { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.05; display: flex; flex-direction: column; }
.brand-small { font-family: var(--font-body); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-500); }

.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid rgba(233, 194, 122, .4); border-radius: 50%; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--cream); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: rgba(20, 5, 10, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 194, 122, .2);
  padding: 1rem var(--gutter) 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .35s, visibility .35s;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: .75rem 0;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-display); font-size: 1.35rem;
  border-bottom: 1px solid rgba(233, 194, 122, .12);
}
.site-nav li a:hover { color: var(--gold-400); }
.nav-cta { align-self: flex-start; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; padding: 0; background: none; backdrop-filter: none; border: 0;
    flex-direction: row; align-items: center; gap: 1.8rem;
    transform: none; opacity: 1; visibility: visible;
  }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav li a {
    font-family: var(--font-body); font-size: .92rem; font-weight: 500; letter-spacing: .05em;
    color: #fff8ea;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .7);
    padding: .4rem 0; border: 0; position: relative;
  }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--gold-500); transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .site-nav li a:hover::after { transform: scaleX(1); }
  .nav-cta { align-self: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 0;
  overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; }
.hero-media img { object-fit: cover; object-position: 62% 45%; animation: heroZoom 24s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-snow { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 23, 48, .55) 0%, rgba(14, 23, 48, 0) 28%),
    linear-gradient(0deg, var(--velvet-900) 0%, rgba(20, 5, 10, .88) 40%, rgba(20, 5, 10, .4) 62%, rgba(20, 5, 10, 0) 80%);
}
@media (min-width: 900px) {
  /* Inhalt mittig im freien Raum, Hinweisband bleibt unten */
  .hero-content { margin-block: auto; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(20, 5, 10, .9) 0%, rgba(20, 5, 10, .6) 34%, rgba(20, 5, 10, 0) 62%),
      linear-gradient(0deg, var(--velvet-900) 0%, rgba(20, 5, 10, 0) 26%);
  }
}

.hero-content { max-width: 1180px; }
.hero-content > * { max-width: 36rem; }
.hero-title {
  max-width: none !important;
  font-size: clamp(2rem, 9.4vw, 5.4rem);
  font-weight: 700; line-height: .98; letter-spacing: -.01em;
  margin-bottom: 1.2rem;
  background: linear-gradient(180deg, #fff6e2 10%, var(--gold-400) 55%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 30px rgba(233, 194, 122, .15);
}
/* Gleicher Stil wie „Wintercircus“, nur kleiner */
.hero-title-small {
  display: block; width: fit-content; margin-bottom: .05em;
  font-size: calc(.5em + 1px); line-height: 1.1;
  background: linear-gradient(180deg, #fff6e2 0%, var(--gold-400) 50%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); font-weight: 400; line-height: 1.6; color: #fff8ea; text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 18px rgba(0, 0, 0, .6); margin-bottom: 1.6rem; }

.hero-facts { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .55rem; }
.hero-facts li { display: flex; align-items: center; gap: .7rem; font-weight: 400; color: var(--cream); }
.hero-facts svg { width: 20px; height: 20px; fill: var(--gold-500); flex: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

/* ---------- Hinweisband unten im Hero, im Stil der Navigation ---------- */
.hero-ribbon {
  margin-top: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid rgba(233, 194, 122, .28);
  background: linear-gradient(0deg, rgba(14, 4, 8, .7), rgba(14, 4, 8, .25));
}
.hero-ribbon-inner {
  list-style: none; margin: 0 auto; padding-block: 1rem 1.2rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem 0;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; letter-spacing: .05em;
  color: #fff8ea; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .7);
  text-align: center;
}
.hero-ribbon-inner li { display: flex; align-items: center; white-space: nowrap; }
.hero-ribbon-inner li + li::before { content: "✦"; color: var(--gold-500); font-size: .8em; margin-inline: 1.1rem; }
@media (max-width: 767px) {
  /* Auf dem Handy umbrechen die Punkte: jeder bekommt seinen eigenen Stern, damit keine Zeile mit einem Trenner beginnt */
  .hero-ribbon-inner { font-size: .8rem; gap: .4rem 1rem; padding-block: .85rem 1rem; }
  .hero-ribbon-inner li::before, .hero-ribbon-inner li + li::before { content: "✦"; color: var(--gold-500); font-size: .8em; margin: 0 .4rem 0 0; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section-space); position: relative; }

.velvet {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(161, 29, 44, .35), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 46px),
    linear-gradient(180deg, var(--velvet-700), var(--velvet-800));
  border-block: 1px solid rgba(233, 194, 122, .12);
}

.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split-reverse { grid-template-columns: .85fr 1.15fr; }
}
.split-text > p { max-width: 34rem; }

.framed { margin: 0; position: relative; border-radius: var(--radius); }
.framed img { border-radius: var(--radius); width: 100%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.framed::before {
  content: ""; position: absolute; inset: -10px; border: 1px solid rgba(233, 194, 122, .4);
  border-radius: calc(var(--radius) + 8px); pointer-events: none;
}

/* Programm */
.acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.act {
  background: rgba(20, 5, 10, .55);
  border: 1px solid rgba(233, 194, 122, .18);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 1.4rem;
  transition: transform .4s var(--ease), border-color .4s;
}
.act:hover { transform: translateY(-4px); border-color: rgba(233, 194, 122, .45); }
.act-media { margin: 0 0 1.2rem; aspect-ratio: 4 / 3; overflow: hidden; }
.act-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.act:hover .act-media img { transform: scale(1.05); }
.act h3, .act p { padding-inline: 1.4rem; }
.act h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.act p { color: var(--text-muted); margin: 0; font-size: .97rem; }

/* Tierfrei */
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2314050a' d='M9.5 16.2L5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 75% no-repeat;
}
.section-animalfree .framed { max-width: 420px; margin-inline: auto; }

/* Galerie als laufendes Filmband: Bilder in natürlichem Seitenverhältnis, Endlosschleife */
.film { --row-h: clamp(160px, min(30vw, (100svh - 400px) / 2), 300px); --gap: clamp(.6rem, 1.2vw, 1rem); max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 767px) { .film { --row-h: clamp(200px, min(60vw, 100svh - 400px), 280px); } }
.film-rows { display: grid; gap: var(--gap); }
.film-row {
  overflow: hidden;
  /* weiche Ränder links und rechts */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.film-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--gap); width: max-content;
  animation: filmScroll var(--duration, 60s) linear infinite;
  will-change: transform;
}
.film-row.is-reverse .film-track { animation-direction: reverse; }
.film-row:hover .film-track,
.film-row:focus-within .film-track,
.film.is-paused .film-track { animation-play-state: paused; }
@keyframes filmScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

.film-track li { flex: none; height: var(--row-h); }
.film-item {
  position: relative; display: block; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 12px; overflow: hidden; background: var(--velvet-700);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
}
.film-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(233, 194, 122, .22);
  background: linear-gradient(0deg, rgba(14, 3, 6, .85) 0%, rgba(14, 3, 6, 0) 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.film-item img { height: 100%; width: auto; max-width: none; transition: transform .8s var(--ease), filter .5s; }
.film-caption {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--cream); text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}

/* Beim Überfahren: Band hält an, übrige Bilder treten zurück, das Bild darunter leuchtet auf */
@media (hover: hover) {
  .film-row:hover .film-item img { filter: brightness(.55) saturate(.8); }
  .film-row .film-item:hover img, .film-row .film-item:focus-visible img { filter: none; transform: scale(1.04); }
  .film-item:hover::after, .film-item:focus-visible::after { opacity: 1; }
  .film-item:hover .film-caption, .film-item:focus-visible .film-caption { opacity: 1; transform: none; }
}

.film-hint { text-align: center; font-size: .85rem; margin: 1.4rem 0 0; }

/* Ohne JavaScript oder bei reduzierter Bewegung: einfach seitlich scrollbar */
.film-source { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: var(--gap); overflow-x: auto; }
.film-source li { flex: none; height: var(--row-h); }
.film.is-ready .film-source { display: none; }
.film.is-static .film-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
.film.is-static .film-track { animation: none; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 2, 5, .94); backdrop-filter: blur(6px); }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: .9rem; padding: 4.5rem 1rem 1.5rem; }
.lightbox-figure img {
  max-width: min(92vw, 1400px); max-height: calc(100dvh - 9rem); width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
  animation: lbIn .4s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-caption { display: flex; gap: 1rem; align-items: baseline; color: var(--cream); font-family: var(--font-display); font-size: 1.1rem; text-align: center; }
.lightbox-count { font-family: var(--font-body); font-size: .85rem; color: var(--gold-500); letter-spacing: .1em; }
.lightbox-close, .lightbox-nav {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(233, 194, 122, .5); background: rgba(20, 5, 10, .7); color: var(--cream);
  transition: background-color .3s, color .3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold-500); color: var(--velvet-900); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.7rem; line-height: 1; }
.lightbox-nav svg { width: 24px; height: 24px; fill: currentColor; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 599px) {
  .lightbox-nav { top: auto; bottom: 1rem; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-figure { padding-bottom: 5rem; }
  .lightbox-figure img { max-height: calc(100dvh - 12rem); }
}

/* Spielplan */
.date-range { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); color: var(--gold-400); }
.schedule-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .schedule-grid { grid-template-columns: 1fr 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(44, 11, 21, .9), rgba(31, 8, 16, .9));
  border: 1px solid rgba(233, 194, 122, .22);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.card-title { font-size: 1.4rem; margin-bottom: 1.1rem; }
.card-note { margin: 1.2rem 0 0; color: var(--text-muted); font-size: .95rem; }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { padding: .75rem 0; border-bottom: 1px solid rgba(233, 194, 122, .12); vertical-align: baseline; }
.schedule tr:last-child th, .schedule tr:last-child td { border-bottom: 0; }
.schedule th { text-align: left; font-weight: 400; padding-right: 1rem; }
.schedule td { text-align: right; font-weight: 500; color: var(--gold-400); white-space: nowrap; }
/* wie die Uhrzeiten: fett und golden */
.schedule .is-off td { color: var(--gold-400); font-weight: 500; font-style: normal; }
.schedule .is-special td { color: var(--cream); }

/* Tickets */
.ticket {
  display: grid;
  background: linear-gradient(135deg, #2f0c16, #1d0710);
  border: 1px solid rgba(233, 194, 122, .45);
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 0 0 6px rgba(20, 5, 10, .6), inset 0 0 0 7px rgba(233, 194, 122, .18);
  overflow: hidden;
}
.ticket-main { padding: clamp(1.8rem, 5vw, 3.2rem); }
.ticket-main .section-title { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); }
.ticket-points { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .9rem; }
.ticket-points li { display: flex; gap: .85rem; align-items: flex-start; }
.ticket-points svg { width: 24px; height: 24px; fill: var(--gold-500); flex: none; margin-top: .15rem; }
.price {
  display: inline-flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.4rem; border: 1px solid rgba(233, 194, 122, .4); border-radius: 12px;
  background: rgba(20, 5, 10, .45);
}
.price-label { font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-500); }
.price-value { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.1; color: var(--cream); white-space: nowrap; }
.price-unit { font-family: var(--font-body); font-size: .95rem; font-weight: 400; color: var(--text-muted); white-space: nowrap; }
/* Gleicher Stil wie die Hero-Überschrift „Wintercircus“ */
.price-amount {
  font-weight: 700;
  background: linear-gradient(180deg, #fff6e2 10%, var(--gold-400) 55%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ticket-stub {
  position: relative;
  padding: clamp(1.8rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(233, 194, 122, .18), transparent 70%),
    var(--red-700);
  display: flex; flex-direction: column; justify-content: center; text-align: center;
  border-top: 2px dashed rgba(233, 194, 122, .5);
}
.stub-label { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-400); margin-bottom: .4rem; }
.stub-phone { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); color: var(--cream); text-decoration: none; white-space: nowrap; }
.stub-phone:hover { color: var(--gold-400); }
.stub-hint { margin: .8rem 0 0; font-size: .92rem; color: var(--text); opacity: .85; }
@media (min-width: 860px) {
  .ticket { grid-template-columns: 1.6fr 1fr; }
  .ticket-stub { border-top: 0; border-left: 2px dashed rgba(233, 194, 122, .5); }
}

/* Anfahrt */
.address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.2rem; padding-left: 1rem; border-left: 2px solid var(--gold-500); }
.map-slot {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(233, 194, 122, .3);
  background:
    linear-gradient(rgba(233, 194, 122, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(233, 194, 122, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 50% 45%, rgba(161, 29, 44, .35), transparent 65%),
    var(--velvet-800);
}
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; padding: 1.5rem; }
.map-placeholder svg { width: 48px; height: 48px; fill: var(--gold-500); margin-bottom: .6rem; filter: drop-shadow(0 6px 14px rgba(233, 194, 122, .35)); }
.map-placeholder p { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); margin-bottom: .4rem; }
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Rezensionen (vorbereitet) */
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { background: rgba(20, 5, 10, .55); border: 1px solid rgba(233, 194, 122, .2); border-radius: var(--radius); padding: 1.6rem; }
.review-rating { color: var(--gold-500); letter-spacing: .15em; margin-bottom: .6rem; }
.review-text { margin: 0 0 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.08rem; }
.review-author { margin: 0; color: var(--text-muted); font-size: .9rem; }
.reviews-source { text-align: center; margin-top: 1.6rem; font-size: .9rem; }

/* Kontakt */
.contact { text-align: center; }
.contact .ornament { margin-inline: auto; }
.contact-grid { display: grid; gap: 1.2rem; margin-top: 1rem; }
@media (min-width: 600px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-item { padding: 1.6rem 1rem; border: 1px solid rgba(233, 194, 122, .18); border-radius: var(--radius); background: rgba(44, 11, 21, .5); }
.contact-item h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-500); margin-bottom: .5rem; }
.contact-item a, .contact-item p { font-family: var(--font-display); font-size: 1.25rem; color: var(--cream); margin: 0; text-decoration: none; }
.contact-item a:hover { color: var(--gold-400); }

/* Footer */
.site-footer { border-top: 1px solid rgba(233, 194, 122, .18); background: #0e0306; padding: 3rem 0 6rem; text-align: center; }
@media (min-width: 960px) { .site-footer { padding-bottom: 3rem; } }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); margin-bottom: .3rem; }
.footer-links { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; justify-content: center; gap: 1.5rem; }
.footer-links a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(233, 194, 122, .4); }

/* Mobile Sticky-CTA */
.sticky-cta {
  position: fixed; left: 1rem; right: 1rem; margin-inline: auto; max-width: 460px; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  border-radius: 999px; text-decoration: none; font-weight: 500; letter-spacing: .03em;
  color: var(--velvet-900); background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8);
  transform: translateY(150%); transition: transform .45s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta:hover { color: var(--velvet-900); }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero: sofortige, gestaffelte Einblendung ohne Abhängigkeit vom Scrollen */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 1s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .1s; }
.hero .reveal:nth-child(3) { animation-delay: .2s; }
.hero .reveal:nth-child(4) { animation-delay: .3s; }
.hero .reveal:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Überschrift im Stil von „Wintercircus“: fette Playfair mit Goldverlauf */
/* gilt für alle Abschnittsüberschriften */
.section-title, .title-gold {
  font-weight: 700;
  background: linear-gradient(180deg, #fff6e2 10%, var(--gold-400) 55%, var(--gold-600));
  /* Verlauf pro Zeile wiederholen, damit mehrzeilige Überschriften überall gleich golden sind */
  line-height: 1.15; background-size: 100% 1.15em; background-repeat: repeat-y;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Spielplan kompakter, damit Überschrift und beide Tabellen nach dem Sprung auf den Bildschirm passen */
.section-schedule .section-head { margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.section-schedule .section-head .ornament { margin-bottom: 1.1rem; }
.section-schedule .section-lead { margin-bottom: 0; }
.section-schedule .card { padding: clamp(1.2rem, 2.4vw, 1.8rem); }
.section-schedule .card-title { margin-bottom: .6rem; }
.section-schedule .schedule th, .section-schedule .schedule td { padding-block: .55rem; }
.section-schedule .card-note { margin-top: .8rem; }
/* Niedrige Bildschirme (Laptop): Kopfbereich des Spielplans nochmals verdichten */
@media (min-width: 768px) and (max-height: 760px) {
  .section-schedule .section-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem); margin-bottom: .3em; }
  .section-schedule .eyebrow { margin-bottom: .6rem; }
  .section-schedule .section-head .ornament { margin-bottom: .7rem; }
  .section-schedule .date-range { font-size: 1.3rem; }
  .section-schedule .section-head { margin-bottom: 1.2rem; }
  .section-schedule .schedule th, .section-schedule .schedule td { padding-block: .45rem; }
}

/* Hinweis zur Kassenöffnung hervorheben */
.card-note {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem; border-radius: 10px;
  background: rgba(233, 194, 122, .1); border: 1px solid rgba(233, 194, 122, .35);
  color: var(--cream); font-size: 1rem; font-weight: 400;
}
.card-note svg { width: 22px; height: 22px; fill: var(--gold-500); flex: none; }
.card-note strong { color: var(--gold-400); font-weight: 500; }
.section-schedule .card-note { margin-top: 1rem; }
@media (min-width: 768px) and (max-height: 760px) {
  .section-schedule .card-note { padding: .55rem .85rem; font-size: .92rem; margin-top: .7rem; }
  .section-schedule .schedule th, .section-schedule .schedule td { padding-block: .4rem; }
}

/* Playfair setzt Ziffern standardmäßig als Mediävalziffern (kleiner als Großbuchstaben).
   Im Namen soll die „1.“ so groß sein wie „Langenfelder“. */
.hero-title, .hero-title-small, .brand-text, .footer-brand, .address strong { font-variant-numeric: lining-nums; }

/* WhatsApp / E-Mail im Ticket-Bereich */
.stub-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.stub-actions .btn svg, .btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.contact-mail { font-size: 1.05rem !important; overflow-wrap: anywhere; }

/* Google-Maps-Einwilligung */
.map-slot { position: relative; }
.map-placeholder { gap: .2rem; }
.map-placeholder .map-consent-text {
  font-family: var(--font-body); font-size: .88rem; color: var(--text-muted); line-height: 1.55;
  max-width: 26rem; margin: .4rem 0 1rem;
}
.map-consent-text a { color: var(--gold-400); }
.map-remember { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .85rem; color: var(--text-muted); cursor: pointer; }
.map-remember input { width: 18px; height: 18px; accent-color: var(--gold-500); }
@media (max-width: 599px) { .map-slot { aspect-ratio: auto; min-height: 380px; } }
.map-slot iframe { position: absolute; inset: 0; }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal-page .site-header { position: sticky; top: 0; }
.legal { max-width: 820px; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 8vw, 5rem); }
.legal .section-title { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin: 2.2rem 0 .7rem; color: var(--gold-400); font-weight: 500; }
.legal p, .legal li, .legal address { color: var(--text); }
.legal address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.legal li { margin-bottom: .3rem; }
.legal a:not(.btn) { color: var(--gold-400); overflow-wrap: anywhere; }
.legal-back { margin-top: 3rem; }
.legal-page .site-footer { padding-bottom: 3rem; }
