/* ==========================================================================
   Demo-Theme – Basis-Stylesheet
   Design-System, Layout & Animationen
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  /* Dunkle Basis (Hero, CTA-Band, Header): Graphit/Schwarz */
  --navy: #131418;
  --navy-900: #0b0c0e;
  --navy-700: #22242a;
  /* Primär-Akzent: Amber/Gold (Retro-Plakat) */
  --gold: #d9a441;
  --gold-dark: #ab7c1d;
  --gold-light: #fbf2dd;
  /* Sekundär-Akzent: Band-Rot (entspricht dem Original-Akzent) */
  --wine: #a32b23;
  --wine-dark: #7a1e18;
  --violet: #5b6070;
  --sand: #f4f1ea;
  --white: #ffffff;

  --ink: #14161a;
  --ink-soft: #5b6068;
  --line: rgba(19, 20, 24, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --radius-s: 8px;
  --radius: 16px;
  --radius-l: 26px;
  --radius-xl: 38px;

  --shadow-s: 0 2px 10px rgba(8, 9, 12, 0.08);
  --shadow: 0 18px 40px -18px rgba(8, 9, 12, 0.45);
  --shadow-l: 0 40px 80px -32px rgba(8, 9, 12, 0.55);

  --header-h: 88px;
  --header-h-shrunk: 68px;
  --maxw: 1200px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

/* Bis die clientseitigen Text-Overrides angewendet sind, nichts malen
   (verhindert kurzes Aufblitzen der Seed-/Modelltexte). */
html.bc-texts-loading body { visibility: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
}

h1, h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

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

/* ---------- 3. Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid--1 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid__cell--link { display: block; color: inherit; text-decoration: none; }
.grid__cell--link:hover { color: inherit; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  animation: lineGrow 0.8s var(--ease-out) both;
}
.section--navy .eyebrow { color: #e6cf9e; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--navy .lead { color: rgba(255, 255, 255, 0.72); }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- 4. Header & Navigation ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s var(--ease),
    box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  background: #ffffff;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.header.is-scrolled {
  height: var(--header-h-shrunk);
  background: #ffffff;
  box-shadow: 0 10px 30px -18px rgba(10, 37, 64, 0.45);
  border-bottom-color: rgba(10, 37, 64, 0.12);
}

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: transform 0.4s var(--spring);
}
.logo:hover { transform: translateY(-2px) scale(1.02); }
.logo img {
  height: 62px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.header.is-scrolled .logo img { height: 50px; }

/* Scroll-Progress */
.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  transition: transform 0.1s linear;
}

/* Nav-Liste */
.nav { display: flex; align-items: center; }

.nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* gleitender Indikator (Pill) */
.nav__indicator {
  position: absolute;
  top: 50%;
  left: 0;
  height: 40px;
  width: 0;
  border-radius: 999px;
  background: var(--gold-light);
  transform: translate(var(--x, 0), -50%);
  opacity: 0;
  transition: transform 0.45s var(--spring), width 0.45s var(--spring),
    opacity 0.3s var(--ease), background 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.nav__list.is-active .nav__indicator { opacity: 1; }

.nav__link {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 999px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--gold-dark); transform: translateY(-1px); }
.nav__link.is-current { color: var(--gold-dark); }

/* Die aktive Seite wird nur durch die Pille (.nav__indicator) markiert –
   kein zusätzlicher Unterstrich. */

/* Burger */
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.burger:hover { border-color: var(--gold); }
.burger span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.45s var(--spring), opacity 0.25s var(--ease), width 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; width: 16px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile-Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px 28px 40px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path 0.7s var(--ease-out);
  visibility: hidden;
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s var(--ease);
}
.mobile-nav.is-open a { opacity: 1; transform: none; }
.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.18s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.24s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.30s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.36s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.42s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 0.48s; }
.mobile-nav.is-open a:nth-child(7) { transition-delay: 0.54s; }
.mobile-nav a:hover, .mobile-nav a.is-current { color: #e6cf9e; }
.mobile-nav a span { font-size: 0.8rem; opacity: 0.5; font-weight: 600; }

/* Sprachumschalter (DE / EN / FR) */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.lang__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang__btn:hover { color: var(--gold-dark); }
.lang__btn.is-active { background: var(--navy); color: #fff; }
.lang__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.mobile-nav__lang { display: none; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--gold), var(--wine));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(-1px); }

.btn__arrow {
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { --btn-fg: #fff; border-color: transparent; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
}

.btn--wine { --btn-bg: var(--wine); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(64px, 8vw, 110px);
  background: linear-gradient(170deg, #fbf7f0 0%, #ffffff 55%, var(--sand) 100%);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.blob--1 { width: 460px; height: 460px; top: -120px; right: -80px; background: rgba(176, 141, 87, 0.35); }
.blob--2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: rgba(122, 46, 59, 0.28); animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; top: 40%; left: 45%; background: rgba(106, 93, 143, 0.22); animation-delay: -12s; }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--gold), var(--wine));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--spring), border-color 0.3s var(--ease);
}
.badge:hover { transform: translateY(-3px); border-color: var(--gold); }
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(176, 141, 87, 0.6);
  animation: pulse 2.4s infinite;
}

/* Hero-Bild mit Rahmen-Animation */
.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.8s var(--ease-out);
}
.hero__frame:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; object-position: center 20%; }

.hero__card {
  position: absolute;
  bottom: -26px;
  left: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-l);
  animation: float 7s ease-in-out infinite;
}
.hero__card strong { display: block; font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.hero__card span { font-size: 0.82rem; color: var(--ink-soft); }

/* Variante mit Logo (statt Icon + Zahl): Bild oben, Beschreibung darunter */
.hero__card--logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  max-width: 260px;
  padding: 14px 18px;
  /* Einstieg: Karte fährt nach dem Hero-Bild ein, danach ruhiges Schweben.
     `float` hat bewusst keinen Fill-Mode: während seiner Verzögerung wirkt es
     nicht und überschreibt dadurch nicht das `transform` von `riseIn`. */
  animation:
    riseIn 0.7s var(--ease-out) 0.9s both,
    float 7s ease-in-out 1.6s infinite;
}
.hero__card--logo .hero__card-logo {
  display: block;
  width: auto;
  height: 38px;
  max-width: 100%;
  object-fit: contain;
}
.hero__card--logo .hero__card-text {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* ---------- 7. Karten / Bereichs-Teaser ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
    border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-l); border-color: transparent; }

.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}
.card:hover .card__media::after { transform: translateX(120%); }

.card__tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}

.card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body p { color: var(--ink-soft); font-size: 0.98rem; }

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--gold-dark);
}
.card__link svg { transition: transform 0.4s var(--ease-out); }
.card:hover .card__link svg { transform: translateX(6px); }

/* Farb-Varianten der Teaser */
.card--helfen:hover { box-shadow: 0 40px 80px -32px rgba(122, 46, 59, 0.45); }
.card--ausbilden:hover { box-shadow: 0 40px 80px -32px rgba(176, 141, 87, 0.45); }
.card--vorausdenken:hover { box-shadow: 0 40px 80px -32px rgba(106, 93, 143, 0.45); }

/* ---------- 8. Leistungs-Kacheln ---------- */
.tile {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile:hover::before { transform: scaleX(1); }

.tile__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--gold-light);
  color: var(--gold-dark);
  margin-bottom: 18px;
  transition: transform 0.5s var(--spring), background 0.4s var(--ease), color 0.4s var(--ease);
}
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); background: var(--navy); color: #fff; }
.tile h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tile p { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

/* ---------- 9. Zahlen / Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-light); }
.stat__num { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.stat__num small { font-size: 0.5em; font-weight: 700; }
.stat__label { margin-top: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* ---------- 10. Timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(176, 141, 87, 0.1));
}
.timeline li { position: relative; padding: 0 0 30px 52px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease);
}
.timeline li:hover::before { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.15); }
.timeline__time { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-dark); }
.timeline__title { font-weight: 700; color: var(--navy); }
.timeline__desc { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- 11. Split-Bereich (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; transition: transform 1s var(--ease-out); }
.split__media:hover img { transform: scale(1.05); }
.split__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(6, 26, 46, 0.85), transparent);
  color: #fff; font-size: 0.82rem; letter-spacing: 0.04em;
}

/* ---------- 12. Listen mit Häkchen ---------- */
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; color: var(--ink-soft); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6f3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.4s var(--spring);
}
.checklist li:hover::before { transform: scale(1.15) rotate(8deg); }
.section--navy .checklist li { color: rgba(255, 255, 255, 0.78); }

/* ---------- 13. Akkordeon (FAQ) ---------- */
.accordion { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.acc.is-open { box-shadow: var(--shadow); border-color: transparent; }
.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.acc__head:hover { color: var(--gold-dark); background: #fbf8f3; }
.acc__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-dark);
  transition: transform 0.5s var(--spring), background 0.3s var(--ease), color 0.3s var(--ease);
}
.acc.is-open .acc__icon { transform: rotate(135deg); background: var(--navy); color: #fff; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > div { padding: 0 26px 24px; color: var(--ink-soft); }

/* ---------- 14. Kontaktformular ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.contact__info { display: grid; gap: 18px; }
.contact__item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.contact__item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact__item .tile__icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.contact__item h4 { margin: 0 0 2px; font-size: 1rem; }
.contact__item a, .contact__item p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.contact__item a:hover { color: var(--gold-dark); }

.form {
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { position: relative; margin-bottom: 18px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 26px 16px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fbfcfd;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; cursor: pointer; }

.field label {
  position: absolute;
  left: 17px;
  top: 18px;
  font-size: 1rem;
  color: var(--ink-soft);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease);
}
.field input:focus + label,
.field textarea:focus + label,
.field select:focus + label,
.field input:not([type="checkbox"]):not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select.has-value + label {
  transform: translateY(-11px) scale(0.75);
  color: var(--gold-dark);
}
.form__consent label {
  position: static;
  transform: none;
  pointer-events: auto;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.12);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--wine); background: #fbf2f0; }
.field__error {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--wine-dark);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.field.has-error .field__error { opacity: 1; transform: none; }

.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 22px; }
.form__consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); }
.form__consent a { color: var(--gold-dark); text-decoration: underline; }

.form__success {
  display: none;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: #eef5ef;
  border: 1px solid rgba(76, 132, 86, 0.28);
  color: #3c6b46;
}
.form__success.is-visible { display: flex; animation: popIn 0.5s var(--spring) both; }
.form__success h4 { margin: 0 0 4px; color: #3c6b46; }
.form__success p { margin: 0; font-size: 0.94rem; }

/* ---------- 15. CTA-Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 90px) 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 45%, var(--gold-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle at 20% 30%, rgba(122, 46, 59, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(176, 141, 87, 0.5), transparent 45%);
  animation: drift 22s ease-in-out infinite alternate;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 60ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.62); padding: clamp(56px, 7vw, 90px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer a { position: relative; transition: color 0.3s var(--ease); }
.footer a:hover { color: #fff; }
.footer a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-out);
}
.footer a:hover::after { transform: scaleX(1); }
.footer__logo img { height: 54px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer__bottom {
  margin-top: 46px; padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.86rem;
}

/* ---------- 16b. Seiten-Kopf (Unterseiten) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 6vw, 90px)) 0 clamp(48px, 6vw, 90px);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 55%, var(--gold-dark) 100%);
  color: rgba(255, 255, 255, 0.78);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle at 15% 25%, rgba(122, 46, 59, 0.3), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(176, 141, 87, 0.45), transparent 45%);
  animation: drift 24s ease-in-out infinite alternate;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); }
.page-hero .eyebrow { color: #e6cf9e; }

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.page-hero__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--line-light);
}
.page-hero__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; }

/* Inhalts-Navigation (Anker) */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.anchor-nav a {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--spring);
}
.anchor-nav a:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* Zitat-Block */
.quote {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}
.quote::before {
  content: "«";
  position: absolute;
  top: -6px; left: 18px;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}
.quote p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; color: var(--navy); }
.quote footer { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- 16c. Chips & Fliesstext ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 9px 17px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.35s var(--spring), background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.chips li:hover { transform: translateY(-4px); background: var(--navy); color: #fff; border-color: transparent; }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul { padding-left: 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold-dark); text-decoration: underline; }

/* ---------- 17. Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(0.94); }
.reveal--zoom.is-visible, .reveal--left.is-visible, .reveal--right.is-visible { transform: none; }

/* Text-Zeilen-Stagger im Hero */
.hero h1 .line,
.hero__text,
.hero__actions,
.hero__badges { animation: riseIn 0.9s var(--ease-out) both; }
.hero h1 .line:nth-child(1) { animation-delay: 0.05s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.15s; }
.hero__text { animation-delay: 0.3s; }
.hero__actions { animation-delay: 0.42s; }
.hero__badges { animation-delay: 0.54s; }
.hero__media { animation: riseIn 1s var(--ease-out) 0.25s both; }

/* ---------- 18. Keyframes ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4%, -4%, 0) scale(1.1); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(176, 141, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .lang { display: none; }
  .burger { display: block; }
  .mobile-nav__lang { display: flex; gap: 10px; margin-top: 30px; }
  .mobile-nav__lang .lang__btn {
    border: 1px solid var(--line-light);
    color: #fff;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .mobile-nav__lang .lang__btn.is-active { background: #fff; color: var(--navy); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__frame { transform: none; }
  .hero__card { left: 12px; bottom: -20px; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { height: 52px; }
  .header.is-scrolled .logo img { height: 44px; }
  .grid--2, .grid--4, .stats { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__card { position: static; margin-top: 18px; }
  .section { padding: 56px 0; }
}

/* ---------- 20. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Print ---------- */
@media print {
  .header, .mobile-nav, .cta-band, .footer { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Display-Typografie (Anton) ---------- */
h1, h2, .hero__frame figcaption, .quote p, .page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
}
h1, h2, .hero h1, .page-hero h1, .cta-band h2, .events__heading {
  letter-spacing: 0.012em;
}
.hero h1, .page-hero h1 { line-height: 1.06; }
.hero h1 .accent { color: var(--gold); }
.eyebrow, .stat__num, .nav__link, .btn, .card__tag, .event__day, .event__month,
.event__year, .event__tag, .lightbox__caption { font-family: var(--font); }

/* ---------- 23. Termine ---------- */
.events { display: grid; gap: 40px; }

.events__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.events__filter {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: 600 0.88rem/1 var(--font);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.35s var(--spring);
}
.events__filter:hover { transform: translateY(-2px); border-color: var(--gold); }
.events__filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.events__filter[data-events-filter="past"] { color: var(--ink-soft); }

.events__group { display: grid; gap: 16px; }
.events__heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-light);
}
.events__heading--past { color: var(--ink-soft); border-bottom-color: var(--line); }

.events__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }

.event {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    border-color 0.35s var(--ease);
}
.event:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event--past { border-left-color: var(--line); opacity: 0.82; }
.event--cancelled { border-left-color: var(--wine); }
.event--cancelled .event__title { text-decoration: line-through; text-decoration-color: var(--wine); }

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 14px 10px;
  border-radius: var(--radius-s);
  background: var(--gold-light);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
}
.event--past .event__date { background: var(--sand); }
.event--cancelled .event__date { background: #f2e3e6; }
.event__day { font: 800 1.9rem/1 var(--font); letter-spacing: -0.03em; }
.event__month { font: 700 0.82rem/1 var(--font); letter-spacing: 0.08em; }
.event__year { font: 600 0.8rem/1 var(--font); color: var(--ink-soft); }

.event__body { display: grid; gap: 8px; align-content: start; }
.event__meta { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--gold-dark); }
.event__title { margin: 0; font-family: var(--font); font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; color: var(--navy); }
.event__subtitle { margin: 0; font-size: 0.98rem; font-style: italic; color: var(--ink-soft); }
.event__text { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.event__text a { color: var(--gold-dark); text-decoration: underline; }
.event__people { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.event__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-dark);
}
.event__link::after { content: "\2192"; transition: transform 0.35s var(--ease-out); }
.event__link:hover::after { transform: translateX(4px); }

.event__tag {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.event--past .event__tag { opacity: 0.85; }
.event__tag[data-cat="konzert"] { background: var(--gold-light); color: var(--gold-dark); border-color: transparent; }
.event__tag[data-cat="festival"] { background: #f4e3e1; color: var(--wine); border-color: transparent; }
.event__tag[data-cat="openair"] { background: #eef5ef; color: #3c6b46; border-color: transparent; }
.event__tag[data-cat="sonstiges"] { background: #eceef2; color: var(--violet); border-color: transparent; }

.event__badge {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #f4e3e1;
  color: var(--wine);
}
.event--cancelled .event__badge { background: var(--wine); color: #fff; }
.event--postponed .event__badge { background: #fbead2; color: #a8641a; }
.event--soldout .event__badge { background: var(--navy-700); color: #fff; }
.event__note { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--wine); }
.event--postponed { border-left-color: #d99a2b; }
.event--postponed .event__date { background: #fbead2; }
.event--soldout { border-left-color: var(--navy-700); }
.event--soldout .event__date { background: #e7e8ec; }

.event-empty {
  padding: 34px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--ink-soft);
  text-align: center;
}
.events__toggle {
  justify-self: start;
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font: 600 0.9rem/1 var(--font);
  color: var(--navy);
  cursor: pointer;
}
.events__toggle:hover { border-color: var(--gold); }
.events__noscript { padding: 24px; border-radius: var(--radius); background: var(--sand); color: var(--ink-soft); }

/* Kategoriefarben der Filter-Chips */
.events__filter[data-events-filter="konzert"][aria-pressed="true"] { background: var(--gold-dark); border-color: var(--gold-dark); }
.events__filter[data-events-filter="festival"][aria-pressed="true"] { background: var(--wine); border-color: var(--wine); }
.events__filter[data-events-filter="openair"][aria-pressed="true"] { background: #3c6b46; border-color: #3c6b46; }
.events__filter[data-events-filter="sonstiges"][aria-pressed="true"] { background: var(--violet); border-color: var(--violet); }

/* ---------- 24. Galerie & Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--sand);
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 29, 46, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(17, 29, 46, 0.92);
}
.lightbox.is-open { display: flex; animation: popIn 0.3s var(--ease-out) both; }
.lightbox__figure {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: 82vh;
  margin: 0;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-l);
}
.lightbox__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}
.lightbox__controls {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
}
.lightbox__play {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--spring);
}
.lightbox__play:hover { background: rgba(176, 141, 87, 0.9); border-color: transparent; transform: scale(1.06); }
.lightbox__play svg { width: 22px; height: 22px; fill: currentColor; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 400 1.4rem/1 var(--font);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--spring);
}
.lightbox__close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); }
.lightbox__nav--prev { left: clamp(10px, 3vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(10px, 3vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(176, 141, 87, 0.9); border-color: transparent; }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
@media (max-width: 960px) {
  .event { grid-template-columns: 84px 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .event { grid-template-columns: 1fr; }
  .event__date { flex-direction: row; justify-content: center; gap: 8px; padding: 10px; }
  .event__day { font-size: 1.4rem; }
}

/* Ausnahmefall: breite Fotos in Hochformat-Rahmen – Ausschnitt nach rechts oben,
   damit die Person am rechten Bildrand nicht abgeschnitten wird. */
.split__media img.media--right,
.page-hero__media img.media--right,
.card__media img.media--right { object-position: 78% 25%; }

/* ---------- 25. Projekt-Anpassungen ---------- */

/* Dunkler Startseiten-Hero mit Bandfoto */
.hero--dark {
  background:
    linear-gradient(180deg, rgba(11, 12, 14, 0.82) 0%, rgba(11, 12, 14, 0.92) 100%),
    url("../img/band.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.82);
}
.hero--dark h1 { color: #fff; }
.hero--dark .hero__text { color: rgba(255, 255, 255, 0.78); }
.hero--dark .eyebrow { color: #e6cf9e; }
.hero--dark .badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
}
.hero--dark .badge:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--gold); }
.hero--dark .hero__card { background: rgba(255, 255, 255, 0.97); }
.hero--dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero--dark .btn--ghost:hover { background: #fff; --btn-fg: var(--navy); }

/* Hervorgehobener Termin auf der Startseite */
.event--featured { border-left-color: var(--gold); box-shadow: var(--shadow); }
.event--featured .event__title::after {
  content: "★";
  margin-left: 8px;
  font-size: 0.8em;
  color: var(--gold);
}

/* „Vergangene Termine“ auf der Startseite nicht zeigen */
.events__heading--sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

/* Videos */
.video {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

/* Seitenkopf mit Hintergrundfoto (Unterseiten).
   Der Verlauf liegt über dem Bild: links dunkel fuer die Textspalte,
   rechts ein warmer Gold-Schimmer wie im reinen Farbverlauf. */
.page-hero--photo {
  background-image:
    linear-gradient(115deg,
      rgba(11, 12, 14, calc(0.94 * var(--hero-shade, 1))) 0%,
      rgba(11, 12, 14, calc(0.80 * var(--hero-shade, 1))) 38%,
      rgba(16, 17, 20, calc(0.55 * var(--hero-shade, 1))) 68%,
      rgba(122, 84, 26, calc(0.40 * var(--hero-shade, 1))) 100%),
    var(--hero-img);
  background-size: cover, cover;
  background-position: center, center 35%;
  background-repeat: no-repeat, no-repeat;
}
.page-hero--photo::before { opacity: 0.35; }
/* Eigenes Hintergrundbild: Bild als eigene Ebene (::after) mit Helligkeit und
   vertikaler Position; der Farbverlauf liegt direkt darüber (::before). */
.page-hero[data-hero-bg] {
  background-image: none;
  background-color: var(--navy, #1b2a41);
}
.page-hero[data-hero-bg]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--hero-pos, 35%);
  filter: brightness(var(--hero-brightness, 1));
}
.page-hero[data-hero-bg]::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  opacity: 1;
  animation: none;
  background: linear-gradient(115deg,
    rgb(var(--hero-c1, 11 12 14) / calc(0.90 * var(--hero-shade, 1))) 0%,
    rgb(var(--hero-c1, 11 12 14) / calc(0.70 * var(--hero-shade, 1))) 40%,
    rgb(var(--hero-c2, 122 84 26) / calc(0.50 * var(--hero-shade, 1))) 70%,
    rgb(var(--hero-c2, 122 84 26) / calc(0.40 * var(--hero-shade, 1))) 100%);
}
.page-hero[data-hero-bg] .container { position: relative; z-index: 2; }

.page-hero--band { --hero-img: url("../img/bg/band.jpg"); }
.page-hero--termine { --hero-img: url("../img/bg/termine.jpg"); }
.page-hero--musik { --hero-img: url("../img/bg/musik.jpg"); }
.page-hero--videos { --hero-img: url("../img/bg/videos.jpg"); }
.page-hero--galerie { --hero-img: url("../img/bg/galerie.jpg"); }
.page-hero--presse { --hero-img: url("../img/bg/presse.jpg"); }
.page-hero--presse-rocks { --hero-img: url("../img/bg/presse-rocks.jpg"); }
.page-hero--kontakt { --hero-img: url("../img/bg/kontakt.jpg"); }
.page-hero--impressum { --hero-img: url("../img/bg/impressum.jpg"); }

@media (max-width: 640px) {
  .page-hero--photo { background-position: center, 55% 32%; }
}

/* ---------- 26. Abschnitt mit eigenem Hintergrund ----------
   Im In-Page-Editor über „Hintergrund" gesetzt: Bild als eigene Ebene
   (::after) mit Helligkeit/Position, darüber der Farbverlauf (::before),
   der Inhalt liegt ganz oben. Gleiche Variablen wie beim Seitenkopf. */
[data-bc-bg] {
  background-image: none;
  background-color: var(--navy, #1b2a41);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
}
[data-bc-bg]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--hero-pos, 35%);
  filter: brightness(var(--hero-brightness, 1));
}
[data-bc-bg]::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  opacity: 1;
  animation: none;
  background: linear-gradient(115deg,
    rgb(var(--hero-c1, 11 12 14) / calc(0.90 * var(--hero-shade, 1))) 0%,
    rgb(var(--hero-c1, 11 12 14) / calc(0.70 * var(--hero-shade, 1))) 40%,
    rgb(var(--hero-c2, 122 84 26) / calc(0.50 * var(--hero-shade, 1))) 70%,
    rgb(var(--hero-c2, 122 84 26) / calc(0.40 * var(--hero-shade, 1))) 100%);
}
[data-bc-bg] > .container { position: relative; z-index: 2; }
[data-bc-bg] h1, [data-bc-bg] h2, [data-bc-bg] h3, [data-bc-bg] h4 { color: #fff; }
[data-bc-bg] .eyebrow { color: #e6cf9e; }
[data-bc-bg] .lead { color: rgba(255, 255, 255, 0.72); }
