/* Stölting Weihnachtsdorf – Styles
   Farben: Nachtblau #23294F, Kerzenlicht #FEE8A1 (nur Akzent, nie Fläche, nie Nachtblau darauf) */

@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/museo-sans-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/museo-sans-900.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --blau: #23294F;
  --blau-video: #21274C;   /* Hintergrund des Hero-Videos */
  --blau-hell: #2E3563;
  --blau-linie: rgba(255, 255, 255, .14);
  --licht: #FEE8A1;
  --weiss: #FFFFFF;
  --text: rgba(255, 255, 255, .78);
  --hell: #F4F1EA;         /* helle Fläche für Infos */
  --font: "Museo Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blau);
  color: var(--weiss);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--weiss); color: var(--blau); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--licht); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Label mit Lichtpunkt */
.label {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); margin-bottom: 28px; display: flex; gap: 10px;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--licht); align-self: center; }
.label--dark { color: rgba(35, 41, 79, .65); }
.label--dark::before { background: var(--blau); }

.h2 {
  font-size: clamp(32px, 5vw, 60px); line-height: 1.08; font-weight: 700;
  letter-spacing: -.025em; max-width: 16ch;
}

/* Buttons: weiß, nie Nachtblau auf Kerzenlicht */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--weiss); color: var(--blau);
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); background: #EDEFF7; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translate(-50%, -140%);
  width: min(calc(100% - 24px), 900px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(35, 41, 79, .72); border: 1px solid var(--blau-linie);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .6s var(--ease);
}
.nav.is-visible { transform: translate(-50%, 0); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; min-height: 44px; }
.nav__brand img { width: auto; height: 30px; }
.nav__links { display: none; gap: 28px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--text); padding: 10px 0; }
.nav__links a:hover { color: var(--weiss); }
@media (min-width: 760px) { .nav__links { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 520px;
  background: var(--blau-video); overflow: hidden;
}
.hero__video, .hero__still {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%; height: 100%; object-fit: cover;
}
/* Hochformat: Logo im Video ist ca. 68 % breit, daher etwas vergrößern statt beschneiden */
@media (max-aspect-ratio: 1/1) {
  .hero__video, .hero__still { width: 145%; max-width: none; height: auto; object-fit: contain; }
}
.hero__still { opacity: 0; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
  text-decoration: none; opacity: 0; transition: opacity 1s; padding: 8px;
}
.hero__scroll svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: nudge 2.4s ease-in-out infinite; }
.hero.is-done .hero__scroll { opacity: 1; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Intro ---------- */
.intro { padding: clamp(110px, 18vw, 220px) 0 clamp(80px, 12vw, 160px); }
.intro__line {
  font-size: clamp(40px, 7.4vw, 104px); line-height: 1.02; font-weight: 700;
  letter-spacing: -.035em; max-width: 14ch;
}
.intro__line--datum { max-width: none; font-size: clamp(46px, 8.2vw, 132px); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.intro__line .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.intro__line .w > span { display: inline-block; }
.intro__meta {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: clamp(17px, 1.6vw, 21px); color: var(--text);
}
@media (max-width: 600px) { .intro__meta { flex-direction: column; align-items: flex-start; gap: 6px; } .intro__meta .dot { display: none; } }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--licht); display: inline-block; }

/* ---------- Stern ---------- */
.stern { position: relative; height: 260vh; }
.stern__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.stern__mark { width: clamp(110px, 15vw, 190px); perspective: 900px; position: relative; z-index: 2; }
.stern__mark img { width: 100%; height: auto; transform-style: preserve-3d; }
.stern__glow {
  position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 232, 161, .22) 0%, rgba(254, 232, 161, 0) 62%);
  opacity: 0;
}
.stern__text {
  position: absolute; left: 50%; bottom: clamp(48px, 10vh, 110px); transform: translateX(-50%);
  width: min(92%, 980px); text-align: center; z-index: 3;
  font-size: clamp(24px, 3.4vw, 46px); line-height: 1.18; font-weight: 700; letter-spacing: -.02em;
}
.stern__text .w { opacity: .14; transition: none; }
.sparkles { position: absolute; inset: 0; }
.spark {
  position: absolute; width: 12px; height: 12px; opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}
.spark svg { width: 100%; height: 100%; fill: var(--weiss); }
.spark--licht svg { fill: var(--licht); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.5); } 45%, 55% { opacity: .9; transform: scale(1); } }

/* ---------- Countdown ---------- */
.count { padding: clamp(100px, 14vw, 180px) 0; border-top: 1px solid var(--blau-linie); }
.count__inner { text-align: center; }
.count .label { justify-content: center; }
.count__big { display: flex; align-items: baseline; justify-content: center; gap: .25em; flex-wrap: wrap; }
.count__num {
  font-size: clamp(110px, 22vw, 300px); line-height: .9; font-weight: 900; letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.count__unit { font-size: clamp(26px, 4vw, 52px); font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.count__sub { margin-top: 28px; font-size: clamp(18px, 1.8vw, 22px); color: var(--text); }
.count__sub strong { color: var(--weiss); font-weight: 700; }

/* ---------- Das erwartet dich ---------- */
.erwartet { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--blau-linie); }
.erwartet__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.erwartet__item {
  position: relative; padding: 34px 30px 38px; border-radius: 28px;
  background: var(--blau-hell); display: flex; flex-direction: column; gap: 12px;
}
.erwartet__item::after {
  content: ""; position: absolute; inset: 8px; border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, .14); pointer-events: none;
}
.erwartet__item h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -.02em; hyphens: auto; overflow-wrap: break-word; }
.erwartet__item p { color: var(--text); font-size: 17px; }
.erwartet__item h3::before {
  content: ""; display: block; width: 34px; height: 39px; margin-bottom: 18px;
  background: url("../img/signet.svg") center / contain no-repeat;
}

/* ---------- 24 Lichter ---------- */
.lichter { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--blau-linie); }
.fenster {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px 8px;
}
@media (min-width: 1000px) { .fenster { grid-template-columns: repeat(12, 1fr); gap: 20px 14px; } }
.fenster li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fenster__glas {
  width: 100%; aspect-ratio: 3 / 4.2; border-radius: 999px 999px 6px 6px;
  background: var(--blau-hell); border: 1px solid var(--blau-linie);
  position: relative; overflow: hidden;
}
.fenster__glas::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .2s;
  background: radial-gradient(ellipse at 50% 70%, rgba(254, 232, 161, .95) 0%, rgba(254, 232, 161, .55) 45%, rgba(254, 232, 161, .14) 100%);
}
.fenster__glas::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(35, 41, 79, .35); z-index: 1;
}
.fenster li.an .fenster__glas { box-shadow: 0 0 26px rgba(254, 232, 161, .35); border-color: transparent; }
.fenster li.an .fenster__glas::after { opacity: 1; }
.fenster li.heute .fenster__glas { outline: 2px solid var(--weiss); outline-offset: 4px; }
.fenster__datum { font-size: 11px; color: var(--text); font-variant-numeric: tabular-nums; }
.fenster li.heute .fenster__datum { color: var(--weiss); font-weight: 700; }

/* ---------- Programm ---------- */
.programm { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--blau-linie); }
.programm__list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--blau-linie); }
.programm__item {
  display: grid; grid-template-columns: 1fr; gap: 6px 32px;
  padding: 26px 0; border-bottom: 1px solid var(--blau-linie);
}
@media (min-width: 760px) { .programm__item { grid-template-columns: 200px 1fr auto; align-items: baseline; } }
.programm__datum { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.programm__datum small { display: block; color: var(--text); font-weight: 700; font-size: 15px; }
.programm__titel { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.programm__text { color: var(--text); font-size: 17px; margin-top: 4px; }
.programm__ort { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.programm__item.ist-heute .programm__datum { color: var(--licht); }
.programm__item.vorbei { opacity: .4; }
.programm__leer { padding: 26px 0; color: var(--text); }

/* ---------- Festzelt ---------- */
.festzelt { padding: clamp(100px, 14vw, 200px) 0; background: var(--blau-video); border-top: 1px solid var(--blau-linie); }
.festzelt__title {
  font-size: clamp(40px, 6.6vw, 92px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; max-width: 13ch;
}
.festzelt__row { margin-top: 64px; display: grid; gap: 40px; }
@media (min-width: 900px) { .festzelt__row { grid-template-columns: 1fr 1.2fr; align-items: end; } }
.festzelt__zahl { display: flex; align-items: flex-end; gap: 18px; }
.festzelt__zahl strong { font-size: clamp(90px, 13vw, 180px); line-height: .85; font-weight: 900; letter-spacing: -.06em; }
.festzelt__zahl span { color: var(--text); font-size: 17px; line-height: 1.35; padding-bottom: 8px; }
.festzelt__text { color: var(--text); margin-bottom: 30px; max-width: 46ch; font-size: clamp(18px, 1.5vw, 20px); }

/* ---------- Infos (helle Fläche) ---------- */
.infos { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--blau-linie); }
.infos__layout { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .infos__layout { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .infos__layout .h2 { position: sticky; top: 120px; }
}
.infos__grid { margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .infos__grid { grid-template-columns: 1fr 1fr; } .infos__breit { grid-column: 1 / -1; } }
.infos__grid > div { position: relative; background: var(--blau-hell); border-radius: 28px; padding: 30px 30px 34px; }
.infos__grid > div::after { content: ""; position: absolute; inset: 8px; border-radius: 21px; border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; }
.infos__grid dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.infos__grid dd { margin: 0; font-size: 20px; line-height: 1.5; }
.infos__grid a { position: relative; z-index: 1; color: var(--weiss); }
.folgt { color: rgba(255, 255, 255, .5); }
.dunkel .folgt, .programm .folgt { color: rgba(255, 255, 255, .5); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0 40px; background: #20284F; }  /* = Hintergrund der Kulisse */
.footer__glow {
  position: absolute; left: 50%; top: 55%; width: 90vw; height: 60vw; max-height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(254, 232, 161, .10) 0%, rgba(254, 232, 161, 0) 60%); pointer-events: none;
}
.footer__inner { position: relative; display: grid; justify-items: center; text-align: center; }
.footer__gruss { font-size: clamp(18px, 1.6vw, 22px); color: var(--text); margin-bottom: clamp(28px, 4vw, 48px); }
.footer__logo { width: min(100%, 1100px); height: auto; }
.footer__kulisse {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: clamp(20px, 4vw, 60px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.footer__kulisse video, .footer__kulisse-still { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.footer__kulisse-still { display: none; }
.footer__kulisse.is-still video { display: none; }
.footer__kulisse.is-still .footer__kulisse-still { display: block; }
.footer__meta {
  width: 100%; margin-top: clamp(30px, 4vw, 50px); padding-top: 24px; border-top: 1px solid var(--blau-linie);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  color: var(--text); font-size: 15px; text-align: left;
}
.footer__meta nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__meta a { text-decoration: none; padding: 10px 0; }
.footer__meta a:hover { color: var(--weiss); }

/* ---------- Lichtschweif ---------- */
.lichtspur { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ---------- Ruhige Version ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero__still { opacity: 1; }
  .hero__scroll { opacity: 1; }
  .hero__scroll svg, .spark { animation: none; }
  .spark { opacity: .6; }
  .stern { height: auto; }
  .stern__stage { position: relative; height: auto; min-height: 80vh; padding: 120px 0 200px; }
  .stern__glow { opacity: 1; }
  .stern__text .w { opacity: 1; }
  .nav { transform: translate(-50%, 0); }
}

/* ---------- Unterseiten ---------- */
.rechtlich { padding-top: 80px; padding-bottom: 120px; max-width: 820px; }
.rechtlich h1 { margin: 40px 0 32px; }
.rechtlich p { color: var(--text); margin-bottom: 18px; }
.rechtlich h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 48px 0 16px; line-height: 1.2; }
.rechtlich h3 { font-size: 19px; margin: 32px 0 10px; line-height: 1.3; }
.rechtlich h4 { font-size: 17px; margin: 24px 0 8px; color: var(--weiss); }
.rechtlich ul { color: var(--text); padding-left: 1.2em; margin: 0 0 18px; }
.rechtlich li { margin-bottom: 10px; }
.rechtlich a { color: var(--weiss); overflow-wrap: anywhere; }
.rechtlich .quelle { margin-top: 48px; font-size: 14px; }
.rechtlich .ergaenzen { color: #ff9d8a; }
.zurueck { color: var(--text); text-decoration: none; font-size: 15px; display: inline-block; padding: 10px 0; }
.zurueck:hover { color: var(--weiss); }

/* Hausschrift: 700 für Text, 900 für Headlines */
h1, h2, h3, .h2, .intro__line, .festzelt__title, .erwartet__item h3, .programm__titel,
.stern__text, .count__num, .festzelt__zahl strong { font-weight: 900; }
strong, b { font-weight: 900; }
