/* ============================================================
   HÖLLENZUNFT KIRCHZARTEN e.V. — Variante „FEUERNACHT"
   Immersive, cineastische Fasnet-Nacht.
   ============================================================ */

:root {
  --night: #08070a;
  --night-2: #0d0a13;
  --coal: #141019;
  --coal-2: #1a1420;
  --blood: #8e0e00;
  --ember: #ff6a00;
  --gold: #ffc845;
  --ash: #d8d2c8;
  --ash-dim: #a89e90;
  --line: rgba(216, 210, 200, 0.14);
  --fire-grad: linear-gradient(100deg, #8e0e00 0%, #ff6a00 55%, #ffc845 100%);
  --font-display: "Grenze Gotisch", "Georgia", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --head-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ash);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Film-Grain über allem */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.055;
  animation: grain 1.2s steps(4) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(0, 0); }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffe9b0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  margin: 0 0 0.5em;
  color: var(--ash);
}

p { margin: 0 0 1.1em; }

::selection { background: var(--ember); color: var(--night); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 3000;
  background: var(--gold);
  color: var(--night);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

section[id], div[id].nest-sub { scroll-margin-top: calc(var(--head-h) + 24px); }

/* ---------- Header / Navigation ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  /* muss ÜBER dem Nav-Overlay (z 950) liegen, damit der Toggle klickbar bleibt */
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--head-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}
.site-head.is-scrolled {
  background: rgba(8, 7, 10, 0.88);
  box-shadow: 0 1px 0 rgba(255, 106, 0, 0.25), 0 12px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ash);
}
.brand__wappen {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 69, 0.5);
  background: #f2ede2;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.45);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__name em {
  font-style: normal;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  gap: clamp(0.9rem, 2.4vw, 2rem);
}
.main-nav a {
  position: relative;
  color: var(--ash-dim);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.1rem;
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--fire-grad);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.8);
  transition: right 0.35s var(--ease-out);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav a[aria-current="page"]::after { right: 0; }

/* Burger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ash);
  transition: transform 0.35s var(--ease-out), opacity 0.25s, background 0.3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span { background: var(--gold); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Vollbild-Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8vw 3rem;
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(255, 106, 0, 0.22), transparent 60%),
    radial-gradient(60% 40% at 85% 0%, rgba(142, 14, 0, 0.25), transparent 60%),
    var(--night);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.nav-overlay.is-open { visibility: visible; opacity: 1; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  color: var(--ash);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.nav-overlay.is-open a { opacity: 1; transform: none; }
.nav-overlay.is-open a:nth-child(1) { transition-delay: 0.05s; }
.nav-overlay.is-open a:nth-child(2) { transition-delay: 0.11s; }
.nav-overlay.is-open a:nth-child(3) { transition-delay: 0.17s; }
.nav-overlay.is-open a:nth-child(4) { transition-delay: 0.23s; }
.nav-overlay.is-open a:nth-child(5) { transition-delay: 0.29s; }
.nav-overlay.is-open a:nth-child(6) { transition-delay: 0.35s; }
.nav-overlay a:hover,
.nav-overlay a[aria-current="page"] {
  color: transparent;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.nav-overlay .overlay-foot {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--ash-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease 0.45s;
}
.nav-overlay.is-open .overlay-foot { opacity: 1; }

body.nav-open { overflow: hidden; }

/* ---------- Torn-Edge Übergänge ---------- */
.tear {
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  height: clamp(34px, 6vw, 72px);
  transform: translateY(-100%);
  z-index: 5;
  color: var(--tear-color, var(--night));
  pointer-events: none;
}
.tear svg { display: block; width: 100%; height: 100%; }
.tear path { fill: currentColor; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
  --bg: var(--night);
  --tear-color: var(--bg);
  background: var(--bg);
}
.section--2 { --bg: var(--night-2); }
.section--3 { --bg: var(--coal); }

/* „Jede Sektion glimmt woanders auf" — Glut-Akzente */
.section .glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.glow::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, var(--glow-o, 0.13)) 0%, rgba(142, 14, 0, calc(var(--glow-o, 0.13) * 0.6)) 38%, transparent 68%);
  top: var(--glow-y, 50%);
  left: var(--glow-x, 50%);
  transform: translate(-50%, -50%);
}
.glow--violet::before {
  background: radial-gradient(circle, rgba(98, 46, 160, 0.16) 0%, rgba(60, 20, 90, 0.1) 40%, transparent 70%);
}

.section-inner { position: relative; z-index: 2; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--fire-grad);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.8);
}

.display {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  letter-spacing: 0.01em;
  transform: rotate(-1.4deg);
}
.display--flame {
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 24px rgba(255, 106, 0, 0.35));
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ash-dim);
  max-width: 58ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--fire-grad);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 0 0 rgba(255, 106, 0, 0);
}
.btn:hover {
  color: var(--night);
  transform: translateY(-3px);
  box-shadow: 0 8px 34px rgba(255, 106, 0, 0.45);
}
.btn--ghost {
  color: var(--ash);
  background: transparent;
  border: 1px solid rgba(255, 200, 69, 0.4);
  box-shadow: inset 0 0 24px rgba(255, 106, 0, 0.07);
}
.btn--ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 30px rgba(255, 106, 0, 0.15), 0 8px 30px rgba(255, 106, 0, 0.2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(142, 14, 0, 0.55) 0%, rgba(255, 106, 0, 0.18) 32%, transparent 62%),
    radial-gradient(55% 40% at 12% 0%, rgba(70, 30, 110, 0.28), transparent 65%),
    radial-gradient(55% 40% at 88% 5%, rgba(142, 14, 0, 0.2), transparent 65%),
    var(--night);
}
.hero::before {
  /* Glut-Horizont, langsam atmend */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 26% at 30% 100%, rgba(255, 200, 69, 0.22), transparent 70%),
    radial-gradient(36% 22% at 72% 104%, rgba(255, 106, 0, 0.3), transparent 70%);
  animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { opacity: 0.6; transform: scale(1) translateY(0); }
  to { opacity: 1; transform: scale(1.06) translateY(-1.5%); }
}
.hero::after {
  /* Vignette */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(8, 7, 10, 0.85) 100%);
}

#embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  /* auto-Margin zentriert den Inhalt zwischen Top und Scroll-Hint;
     wächst der Inhalt über den Viewport, wächst der Hero einfach mit */
  margin: auto 0;
  padding: calc(var(--head-h) + 1.5rem) 5vw 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__wappen {
  /* Folie1-Emblem hat verifiziert schwarzen Grund → screen-Blend funktioniert */
  width: clamp(210px, 30vw, 360px);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 34px rgba(255, 106, 0, 0.45)) drop-shadow(0 6px 60px rgba(142, 14, 0, 0.5));
  animation: float 7s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 62%, transparent 98%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 62%, transparent 98%);
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.hero__eyebrow {
  margin: 2rem 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 200, 69, 0.5);
}

.hero__title {
  font-size: clamp(3.4rem, 13.5vw, 11rem);
  font-weight: 700;
  line-height: 0.88;
  margin: 0;
  transform: rotate(-1.6deg);
  background: linear-gradient(178deg, #f5ead6 8%, #ffc845 34%, #ff6a00 62%, #8e0e00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 40px rgba(255, 106, 0, 0.4));
}
.hero__title span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.34em;
  margin-top: 0.28em;
  color: var(--ash);
  -webkit-text-fill-color: var(--ash);
  background: none;
  filter: none;
}

.hero__schriftzug {
  width: min(430px, 74vw);
  margin-top: 1.6rem;
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.4));
  /* harte Rechteck-Kanten des Banners weich ausblenden */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hero__sub {
  margin: 1.6rem 0 2.2rem;
  color: var(--ash-dim);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.scroll-hint {
  /* im Fluss hinter den CTAs — kann nie über Buttons liegen */
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  padding-bottom: 1.8rem;
  color: var(--ash-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-hint svg {
  width: 20px;
  height: 30px;
  stroke: var(--gold);
  animation: arrowDrop 1.8s ease-in-out infinite;
}
@keyframes arrowDrop {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* Hero-Lite für Unterseiten */
.hero--sub {
  min-height: 62svh;
  justify-content: flex-end;
  text-align: left;
}
.hero--sub .hero__content {
  align-items: flex-start;
  text-align: left;
  margin: 0;
  padding-bottom: 6.5rem;
  width: min(1180px, 92vw);
}
.hero--sub .hero__title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  text-align: left;
}
.hero--sub .hero__eyebrow { margin-top: 0; }

/* ---------- Reveal-Animationen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Intro / Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--rev > .split__media { order: -1; }

.frame {
  position: relative;
}
.frame img {
  width: 100%;
  filter: sepia(0.18) contrast(1.06) saturate(1.05);
}
.frame--torn img {
  clip-path: polygon(2% 3%, 8% 0%, 22% 3%, 38% 0%, 55% 3%, 72% 1%, 88% 4%, 97% 1%, 100% 12%, 98% 30%, 100% 48%, 97% 66%, 100% 82%, 96% 97%, 82% 100%, 64% 97%, 46% 100%, 30% 96%, 14% 100%, 3% 96%, 0% 80%, 3% 62%, 0% 44%, 2% 26%, 0% 10%);
}
.frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(255, 200, 69, 0.25);
  transform: rotate(1.2deg);
  pointer-events: none;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 0 0 90px rgba(255, 106, 0, 0.28), inset 0 0 60px rgba(8, 7, 10, 0.55);
}

/* ---------- Termin-Teaser-Karten ---------- */
.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.event-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.5rem;
  background: linear-gradient(160deg, rgba(26, 20, 32, 0.9), rgba(13, 10, 19, 0.9));
  border: 1px solid var(--line);
  border-top: 2px solid var(--ember);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255, 106, 0, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 106, 0, 0.14);
}
.event-card:hover::before { opacity: 1; }
.event-card__date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.1;
}
.event-card__time {
  color: var(--ember);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}
.event-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0;
  color: var(--ash);
}
.event-card__note { font-size: 0.92rem; color: var(--ash-dim); margin: 0.5rem 0 0; }

/* ---------- Veranstaltungen: Glühende Timeline ---------- */
.timeline {
  position: relative;
  margin: 3rem 0 0;
  padding: 0 0 0 clamp(1.6rem, 5vw, 3rem);
}
.timeline::before {
  content: "";
  position: absolute;
  left: clamp(8px, 1.6vw, 14px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--ember) 6%, var(--gold) 50%, var(--ember) 94%, transparent);
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.7);
}
.tl-node {
  position: relative;
  padding: 0 0 3.2rem clamp(1.2rem, 3vw, 2.4rem);
}
.tl-node::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.6rem, 5vw, 3rem) * -1 + clamp(8px, 1.6vw, 14px) - 7px);
  top: 0.55rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, var(--ember) 70%);
  box-shadow: 0 0 14px rgba(255, 160, 40, 0.9), 0 0 40px rgba(255, 106, 0, 0.45);
}
.tl-node__date {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--gold);
  line-height: 1.05;
}
.tl-node__time {
  display: inline-block;
  margin: 0.15rem 0 0.7rem;
  color: var(--ember);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}
.tl-node__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 0.4rem;
}
.tl-node__text { color: var(--ash-dim); max-width: 62ch; margin: 0; }

.tl-node__poster {
  margin-top: 1.1rem;
  max-width: 380px;
}
.tl-node__poster img {
  width: 100%;
  border: 1px solid rgba(255, 200, 69, 0.2);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.tl-node__poster:hover img {
  transform: scale(1.025) rotate(-0.6deg);
  box-shadow: 0 0 0 1px rgba(255, 200, 69, 0.4), 0 14px 60px rgba(255, 106, 0, 0.35);
}

/* ---------- Nester-Rundgang ---------- */
.nest-ticker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.nest-chip {
  position: relative;
  display: block;
  padding: 1.5rem 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(26, 20, 32, 0.85), rgba(8, 7, 10, 0.9));
  color: var(--ash);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.35s, box-shadow 0.4s;
}
.nest-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--fire-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nest-chip:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 106, 0, 0.12);
  color: var(--ash);
}
.nest-chip:hover::after { transform: scaleX(1); }
.nest-chip img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 69, 0.35);
  background: #f2ede2;
  margin-bottom: 0.9rem;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.3);
}
.nest-chip img.fit {
  object-fit: contain;
  padding: 6px;
  background: radial-gradient(circle, #241c2c 0%, #141019 80%);
}
.nest-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
}
.nest-chip span { font-size: 0.82rem; color: var(--ash-dim); letter-spacing: 0.05em; }

/* ---------- Umzug-Teaser / Countdown ---------- */
.countdown {
  display: flex;
  gap: clamp(0.8rem, 3vw, 2rem);
  flex-wrap: wrap;
  margin: 2rem 0 2.4rem;
}
.countdown__cell {
  min-width: 86px;
  padding: 1rem 0.9rem 0.8rem;
  text-align: center;
  border: 1px solid rgba(255, 106, 0, 0.3);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.08), rgba(8, 7, 10, 0.4));
  box-shadow: inset 0 0 30px rgba(255, 106, 0, 0.06);
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.countdown__label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash-dim);
}

.date-banner {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.date-banner__day {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 10rem);
  line-height: 0.9;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 30px rgba(255, 106, 0, 0.4));
}
.date-banner__meta { font-size: 1.05rem; color: var(--ash-dim); }
.date-banner__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Foto-Streifen (Marquee) ---------- */
.filmstrip {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
  transform: rotate(-2deg);
  margin: 0 -4vw;
}
.filmstrip__track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: strip 90s linear infinite;
}
.filmstrip__track img {
  height: clamp(170px, 24vw, 280px);
  width: auto;
  flex: 0 0 auto;
  /* Tageslicht-Fotos in die Nacht grade(n) — Hover = „Fackellicht-Reveal" */
  filter: sepia(0.35) brightness(0.78) contrast(1.12) saturate(0.95);
  border: 1px solid rgba(255, 200, 69, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: filter 0.35s, transform 0.35s;
}
.filmstrip__track img:hover {
  filter: sepia(0) brightness(1) contrast(1.08) saturate(1.2);
  transform: translateY(-6px);
}
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
@keyframes strip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Galerie (Umzug) ---------- */
.gallery {
  columns: 3 300px;
  column-gap: 1.1rem;
  margin-top: 2.5rem;
}
.gallery figure {
  margin: 0 0 1.1rem;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  filter: sepia(0.32) brightness(0.82) contrast(1.1) saturate(0.98);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.gallery figure:hover img {
  transform: scale(1.05);
  filter: sepia(0) brightness(1) contrast(1.08) saturate(1.2);
}
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 200, 69, 0.0);
  transition: box-shadow 0.4s;
  pointer-events: none;
}
.gallery figure:hover::after {
  box-shadow: inset 0 0 0 1px rgba(255, 200, 69, 0.45), inset 0 0 60px rgba(255, 106, 0, 0.12);
}

/* ---------- Geschichte: Chronik ---------- */
.chronik { position: relative; }
.era {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.era:last-child { border-bottom: 0; }
.era__year {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 18px rgba(255, 106, 0, 0.35));
  align-self: start;
  position: sticky;
  top: calc(var(--head-h) + 2rem);
}
.era__year small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ash-dim);
  -webkit-text-fill-color: var(--ash-dim);
  margin-top: 0.6rem;
}
.era__body p { color: var(--ash-dim); max-width: 66ch; }
.era__body p:first-of-type { color: var(--ash); }

.plates {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 1.8rem;
}
.plate {
  --tilt: var(--r, -1.4deg);
  position: relative;
  background: linear-gradient(165deg, #241c12, #171009 70%);
  padding: 12px 12px 38px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 200, 69, 0.12);
  transform: rotate(var(--r, -1.4deg));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  will-change: transform;
}
.plate:nth-child(even) { --r: 1.6deg; }
.plate:hover {
  transform: rotate(0deg) translateY(-6px) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 106, 0, 0.18);
}
.plate img {
  display: block;
  max-width: 300px;
  width: 100%;
  filter: sepia(0.4) contrast(1.02) brightness(0.94);
}
.plate figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  font-size: 0.78rem;
  color: var(--ash-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Nester-Seite ---------- */
.anchor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.anchor-chips a {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash-dim);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.anchor-chips a:hover {
  color: var(--gold);
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.15);
}

.nest {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.nest:last-child { border-bottom: 0; }
.nest__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.nest:nth-child(even) .nest__grid > .nest__media { order: 2; }
.nest__no {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--ember);
  text-transform: uppercase;
}
.nest__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  transform: rotate(-1deg);
}
.nest__text { color: var(--ash-dim); }
.nest__contact {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 200, 69, 0.25);
  font-size: 0.95rem;
}
.nest__contact strong { color: var(--ash); font-weight: 500; }
.nest__media img { width: 100%; }
/* Logos: schwarzer Grund → screen-Blend; heller Grund → Medaillon/Badge */
.nest__media .logo-img {
  margin-inline: auto;
}
.nest__media .logo-img.logo-blend {
  max-width: 340px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(255, 106, 0, 0.35));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nest__media .logo-img.logo-medallion {
  width: min(300px, 62vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 200, 69, 0.4);
  background: #f2ede2;
  box-shadow: 0 0 34px rgba(255, 106, 0, 0.3), 0 18px 60px rgba(0, 0, 0, 0.6);
}
.nest__media .logo-img.logo-badge {
  max-width: 240px;
  padding: 16px 22px;
  background: #f2ede2;
  border-radius: 6px;
  border: 1px solid rgba(255, 200, 69, 0.4);
  box-shadow: 0 0 26px rgba(255, 106, 0, 0.3), 0 14px 44px rgba(0, 0, 0, 0.55);
}
.nest__media .frame img { max-height: 420px; object-fit: cover; }

.nest-sub {
  margin-top: 3rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(26, 20, 32, 0.7), rgba(8, 7, 10, 0.6));
  position: relative;
}
.nest-sub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--fire-grad);
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.7);
}
.nest-sub h3 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--gold);
}
.nest-sub p { color: var(--ash-dim); }
.nest-sub .verse {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ash);
  line-height: 1.65;
  white-space: pre-line;
  border-left: 2px solid rgba(255, 106, 0, 0.45);
  padding-left: 1.4rem;
}

.sub-banner {
  margin-top: 1.4rem;
  overflow: hidden;
}
.sub-banner img {
  width: 100%;
  filter: contrast(1.05) saturate(1.1);
}

/* ---------- Vorstand ---------- */
.amt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.amt {
  position: relative;
  padding: 2.4rem 1.8rem 1.8rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% -30%, rgba(255, 106, 0, 0.13), transparent 60%),
    linear-gradient(170deg, rgba(26, 20, 32, 0.9), rgba(8, 7, 10, 0.92));
  text-align: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.amt:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55), 0 0 44px rgba(255, 106, 0, 0.16);
}
.amt__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 69, 0.4);
  color: var(--gold);
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.25), inset 0 0 18px rgba(255, 106, 0, 0.15);
}
.amt__icon svg { width: 26px; height: 26px; }
.amt__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.3rem;
  color: var(--gold);
}
.amt__name { font-size: 1.1rem; color: var(--ash); margin: 0 0 0.7rem; }
.amt__mail { font-size: 0.9rem; letter-spacing: 0.04em; }

/* ---------- Rechtliches ---------- */
.legal {
  max-width: 76ch;
}
.legal h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.legal h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); margin: 1.6rem 0 0.4rem; }
.legal p, .legal li { color: var(--ash-dim); }
.legal address { font-style: normal; color: var(--ash); line-height: 1.8; }

/* ---------- Footer ---------- */
.site-foot {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
  background:
    radial-gradient(90% 70% at 50% 130%, rgba(142, 14, 0, 0.35), transparent 60%),
    var(--night-2);
  overflow: hidden;
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.6), transparent);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}
.foot-brand img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 69, 0.45);
  background: #f2ede2;
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.35);
  margin-bottom: 1rem;
}
.foot-brand p { color: var(--ash-dim); font-size: 0.95rem; max-width: 34ch; }
.foot-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.1rem;
}
.foot-col a {
  display: block;
  color: var(--ash-dim);
  padding: 0.22rem 0;
  font-size: 0.95rem;
  transition: color 0.3s, transform 0.3s;
}
.foot-col a:hover { color: var(--gold); transform: translateX(4px); }
.foot-social { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.foot-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ash-dim);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.foot-social a:hover {
  color: var(--gold);
  border-color: rgba(255, 106, 0, 0.55);
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.25);
  transform: translateY(-3px);
}
.foot-social svg { width: 19px; height: 19px; }
.foot-base {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--ash-dim);
}
.foot-base nav { display: flex; gap: 1.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .split,
  .nest__grid { grid-template-columns: 1fr; }
  .nest:nth-child(even) .nest__grid > .nest__media { order: 0; }
  .era { grid-template-columns: 1fr; gap: 1rem; }
  .era__year { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.4rem, 12.5vw, 4rem); }
  .date-banner__day { font-size: 3.6rem; }
  .filmstrip { transform: rotate(-1.4deg); }
  .countdown__cell { min-width: 68px; }
  /* Kompaktere Mobile-Hero: beide CTAs bleiben über der Fold-Linie */
  .hero__content { padding-top: calc(var(--head-h) + 0.75rem); padding-bottom: 1.5rem; }
  .hero__wappen { width: clamp(140px, 42vw, 210px); }
  .hero__eyebrow { margin-top: 1.2rem; letter-spacing: 0.3em; }
  .hero__schriftzug { width: min(300px, 62vw); margin-top: 0.9rem; }
  .hero__sub { margin: 1rem 0 1.4rem; font-size: 0.95rem; }
  .scroll-hint { padding-bottom: 1.2rem; }
}

@media (max-height: 700px) and (min-width: 621px) {
  /* sehr flache Viewports: Scroll-Hint ausblenden statt umkämpfen */
  .scroll-hint { display: none; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .filmstrip { transform: none; overflow-x: auto; }
  .filmstrip__track { animation: none; }
  .hero__wappen { animation: none; }
  #embers { display: none; }
}
