/* ═══════════════════════════════════════════════════════
   MULTIVEREINSHAUS ST. PANTALEON · Cinematic Site
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:        #0d0e10;
  --bg-soft:   #15171b;
  --bg-warm:   #1a1612;
  --ink:       #f4f1ea;
  --ink-soft:  #b8b3a8;
  --ink-mute:  #6a6660;
  --line:      rgba(244, 241, 234, 0.12);
  --line-soft: rgba(244, 241, 234, 0.06);
  --accent:    #d4452b;          /* Feuerwehr-Rot, etwas vornehmer */
  --accent-2:  #e8b259;          /* warmes Gold */
  --serif:     'Montserrat', system-ui, -apple-system, sans-serif;
  --sans:      'Montserrat', system-ui, -apple-system, sans-serif;

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);

  --gutter:    clamp(20px, 4vw, 64px);
  --max:       1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* Skip-to-content für Tastaturnavigation / Screenreader */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 9999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
}

/* Sichtbare Fokusringe für Tastaturnavigation */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── INTRO LOADER ─────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  background: linear-gradient(180deg, #0d0e10 0%, #1a1612 100%);
  display: grid; place-items: center;
  color: var(--ink);
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__sketch {
  width: min(78vw, 800px);
  max-height: 56vh;
  color: var(--ink);
  filter: drop-shadow(0 0 30px rgba(232, 178, 89, 0.15));
}
.intro__sketch .ln {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 2.4s var(--ease) forwards;
}
.intro__sketch .ln:nth-child(2) { animation-delay: 0.05s; }
.intro__sketch .ln:nth-child(3) { animation-delay: 0.1s; }
.intro__sketch .ln:nth-child(4) { animation-delay: 0.2s; }
.intro__sketch .ln:nth-child(5) { animation-delay: 0.25s; }
.intro__sketch .ln:nth-child(6) { animation-delay: 0.3s; }
.intro__sketch .ln:nth-child(7) { animation-delay: 0.4s; }
.intro__sketch .ln:nth-child(8) { animation-delay: 0.5s; }
.intro__sketch .ln:nth-child(9) { animation-delay: 0.6s; }
.intro__sketch .ln:nth-child(n+10) { animation-delay: 0.7s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.intro__caption {
  position: absolute;
  bottom: 8vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.8s forwards;
}
.intro__eyebrow {
  font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.intro__hint {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 32px);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── NAV ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  font-size: 14px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(13, 14, 16, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.nav__logo { display: flex; flex-direction: column; line-height: 1; }
.nav__logo--img {
  align-items: flex-start;
  justify-content: center;
}
.nav__logo--img img {
  height: 64px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease), height 0.3s var(--ease);
}
.nav__logo--img:hover img { transform: scale(1.03); }
.nav.is-scrolled .nav__logo--img img { height: 48px; }
@media (max-width: 980px) {
  .nav__logo--img img { height: 50px; }
  .nav.is-scrolled .nav__logo--img img { height: 40px; }
}
@media (max-width: 640px) {
  .nav__logo--img img { height: 38px; max-width: 56vw; object-fit: contain; }
  .nav.is-scrolled .nav__logo--img img { height: 32px; }
}
.nav__logo-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav__logo-mark i {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 3px 4px;
  transform: translateY(-2px);
}
.nav__logo-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

.nav__links {
  display: flex; gap: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav__links a { position: relative; padding: 6px 0; transition: color 0.2s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.nav__cta--red {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}
.nav__cta--red:hover {
  background: #b8371f;
  border-color: #b8371f;
}
.nav__links a.nav__highlight {
  color: var(--accent-2);
  font-weight: 600;
}
.nav__links a.nav__highlight::after {
  background: var(--accent-2);
}

@media (max-width: 1040px) {
  .nav__links { display: none; }
}

/* ─── HERO ─────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenBurns 18s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -1.5%); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 75%, rgba(212,69,43,0.28), transparent 55%),
    linear-gradient(180deg,
      rgba(13,14,16,0.55) 0%,
      rgba(13,14,16,0.30) 22%,
      rgba(13,14,16,0.55) 55%,
      rgba(13,14,16,0.88) 85%,
      rgba(13,14,16,0.96) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.hero__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.hero__dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212,69,43,0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,69,43,0.6); }
  50%      { box-shadow: 0 0 0 14px rgba(212,69,43,0); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 6.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}
.hero__title .word { display: block; overflow: hidden; }
.hero__title .word > span { word-break: break-word; }
.hero__title .word > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero__title .word:nth-child(1) > span { animation-delay: 0.5s; }
.hero__title .word:nth-child(2) > span { animation-delay: 0.65s; }
.hero__title .word:nth-child(3) > span { animation-delay: 0.8s; }
.hero__title-accent {
  display: block; overflow: hidden;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
  font-size: 0.55em;
  margin-top: 16px;
  letter-spacing: -0.015em;
}
.hero__title-accent > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) 1s forwards;
}
@keyframes rise {
  to { transform: translateY(0); }
}

.hero__lead {
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
}

.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 64px;
  max-width: 100%;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.4s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: all 0.35s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -10px rgba(212,69,43,0.6);
}
.btn--primary:hover {
  background: #b8371f;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(212,69,43,0.7);
}
.btn--secondary {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 8px 30px -10px rgba(232, 178, 89, 0.6);
}

.btn--secondary:hover {
  background: #E8B259;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(232, 178, 89, 0.6);
}
.btn--ghost {
  background: rgba(244,241,234,0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(244,241,234,0.12);
  border-color: rgba(244,241,234,0.3);
}
.btn--ghost svg { transition: transform 0.3s var(--ease); }
.btn--ghost:hover svg { transform: translateX(4px); }
.btn--lg { padding: 20px 36px; font-size: 15px; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.6s forwards;
}
.hero__meta > div { display: flex; flex-direction: column; }
.hero__meta b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.1;
  margin-bottom: 4px;
}
.hero__meta span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
@media (max-width: 640px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__title { font-size: clamp(36px, 9vw, 60px); letter-spacing: -0.02em; }
  .hero__title-accent { font-size: 0.7em; margin-top: 10px; }
  .hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    gap: 10px;
    margin-bottom: 18px;
  }
  .hero__lead { font-size: 15px; margin-bottom: 28px; }
  .hero__actions { gap: 10px; margin-bottom: 40px; flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; width: 100%; padding: 14px 22px; }
  .hero { padding: 100px var(--gutter) 50px; }
  .hero__scroll { display: none; }
}
@media (max-width: 420px) {
  .hero__eyebrow {
    flex-wrap: wrap;
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }
  .hero__title { font-size: 34px; }
}

.hero__scroll {
  position: absolute;
  right: var(--gutter); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 2s forwards;
}
.hero__scroll span {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--ink-soft));
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollBar 2.4s ease-in-out infinite;
}
@keyframes scrollBar {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ─── REVEAL HELPERS ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 64px;
  text-align: center;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-head__lead {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─── STATEMENT ─────────────────────────────── */
.statement {
  position: relative;
  padding: 160px var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.statement__bg { position: absolute; inset: 0; z-index: -1; }
.statement__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.35) saturate(0.7);
  transform: scale(1.05);
}
.statement__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(13,14,16,0.6) 100%);
}
.statement__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.statement h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 90px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.statement h2 em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 400;
}
.statement__text {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── STATS ─────────────────────────────── */
.stats {
  background: var(--bg-soft);
  padding: 120px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.stat {
  padding: 24px;
  border-right: 1px solid var(--line-soft);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 1px solid var(--line-soft); padding: 28px 16px; }
  .stat:nth-child(3n) { border-right: none; }
  .stat:nth-last-child(-n+3) { border-bottom: none; }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ─── QUOTE / PARALLAX ─────────────────────────────── */
.quote {
  position: relative;
  height: 80vh; min-height: 540px;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.quote__media { position: absolute; inset: -10% 0; z-index: -1; }
.quote__media img {
  width: 100%; height: 120%; object-fit: cover;
  filter: brightness(0.45) contrast(1.1);
  will-change: transform;
}
.quote::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(13,14,16,0.7) 100%);
}
.quote__text {
  max-width: 900px;
  padding: 0 var(--gutter);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: center;
}
.quote__text span { display: block; }
.quote__text em {
  display: block;
  font-style: italic;
  color: var(--accent-2);
  margin-top: 8px;
}

/* ─── VEREINE ─────────────────────────────── */
.vereine {
  padding-bottom: 120px;
}
.verein-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .verein-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .verein-grid { grid-template-columns: 1fr; }
}

.verein {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  isolation: isolate;
  text-decoration: none;
  color: inherit;
}
.verein:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 178, 89, 0.4);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.verein__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.verein__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.85);
}
.verein:hover .verein__img img {
  transform: scale(1.06);
  filter: saturate(1);
}
.verein__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,14,16,0.4) 100%);
}

.verein__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex; flex-direction: column;
}
.verein__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.verein h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.verein p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.verein__facts {
  list-style: none;
  display: flex; gap: 14px;
  margin-top: auto;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}
.verein__facts li {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-direction: column; gap: 2px;
  flex: 1;
}
.verein__facts b {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
}
.verein__link {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: auto;
  transition: color 0.25s var(--ease), letter-spacing 0.25s var(--ease);
}
.verein:hover .verein__link {
  color: var(--accent);
  letter-spacing: 0.22em;
}

/* ─── LOGO BANNER ─────────────────────────────── */
.logo-banner-section {
  padding-bottom: 100px;
}
.logo-banner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fafaf6 0%, #ede8db 100%);
  border-radius: 22px;
  padding: 36px 48px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.55);
  border: 1px solid rgba(244, 241, 234, 0.06);
  position: relative;
  margin-left: var(--gutter);
  margin-right: var(--gutter);
}
.logo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.5), transparent 70%);
  pointer-events: none;
}
.logo-banner img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
  position: relative;
}
@media (min-width: 1240px) {
  .logo-banner { margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .logo-banner { padding: 24px 20px; }
  .logo-banner img { max-height: 80px; }
}

/* ─── FOOTER ORG (single line) ─────────────────────────────── */
.foot__org {
  max-width: var(--max);
  margin: 0 auto 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.foot__org .eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  font-weight: 500;
  display: block;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .foot__org .eyebrow { letter-spacing: 0.15em; font-size: 9px; }
}

/* ─── ARCHITEKTUR ─────────────────────────────── */
.arch {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding-bottom: 120px;
}
.arch__viewer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.arch__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.arch__tab {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.arch__tab:hover { color: var(--ink); border-color: rgba(244,241,234,0.25); }
.arch__tab.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.arch__stage {
  position: relative;
  background: #f4f1ea;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
}
.arch__panel {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.arch__panel.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.arch__panel img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #f4f1ea;
}
.arch__panel[data-panel="render"] img { object-fit: cover; }
.arch__panel figcaption {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  background: rgba(13,14,16,0.78);
  backdrop-filter: blur(10px);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ─── ARCHITEKTUR · 3D-Modell-CTA (zwischen Viewer und Credits) ─────────────────────────────── */
.arch__3d-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2520 100%);
  color: var(--paper);
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.arch__3d-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(212, 69, 43, 0.32), transparent 55%);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.4s var(--ease);
}
.arch__3d-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 69, 43, 0.45);
}
.arch__3d-cta:hover::before { opacity: 1; }
.arch__3d-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.arch__3d-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(212, 69, 43, 0.18);
  border: 1px solid rgba(212, 69, 43, 0.4);
  border-radius: 14px;
  color: var(--accent);
}
.arch__3d-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.arch__3d-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.arch__3d-cta-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.arch__3d-cta-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  line-height: 1.4;
}
.arch__3d-cta-arrow {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.arch__3d-cta:hover .arch__3d-cta-arrow {
  transform: translateX(6px);
}
@media (max-width: 640px) {
  .arch__3d-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 20px;
    margin-top: 40px;
    border-radius: 16px;
  }
  .arch__3d-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .arch__3d-cta-sub {
    flex-basis: 100%;
    order: 3;
    font-size: 12.5px;
    margin-top: 8px;
  }
  .arch__3d-cta-text { flex: 1 1 auto; }
  .arch__3d-cta-arrow { font-size: 24px; }
}

/* ─── ARCHITEKTUR · Credits (Architekt + Planungsbüro) ─────────────────────────────── */
.arch__credits {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .arch__credits { grid-template-columns: 1fr; }
}
.arch-credit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.arch-credit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.arch-credit:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 178, 89, 0.4);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.arch-credit:hover::before { width: 80px; }
.arch-credit__role {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}
.arch-credit__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.arch-credit__link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 4px;
  transition: color 0.25s var(--ease), letter-spacing 0.25s var(--ease);
}
.arch-credit:hover .arch-credit__link {
  color: var(--accent-2);
  letter-spacing: 0.12em;
}

/* ─── GALLERY ─────────────────────────────── */
.gallery {
  padding-bottom: 140px;
}
.gallery__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery__item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: zoom-in;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.85) brightness(0.92);
}
.gallery__item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) brightness(1);
}
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,14,16,0.5));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
}

/* ─── OPENING ─────────────────────────────── */
.opening {
  position: relative;
  padding: 140px var(--gutter);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 100%);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 540px) {
  .opening { padding: 80px var(--gutter); }
}
.opening::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,69,43,0.18), transparent 70%);
  z-index: -1;
}
.opening::after {
  content: ''; position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,178,89,0.12), transparent 70%);
  z-index: -1;
}
.opening__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.opening__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.opening__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.opening__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.opening__datebox {
  display: flex; flex-direction: column;
  align-items: center;
  padding: 24px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(244,241,234,0.03);
  backdrop-filter: blur(10px);
}
.opening__day {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  font-weight: 500;
  color: var(--accent-2);
}
.opening__month {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 6px;
}
.opening__year {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
  margin-top: 6px;
}
.opening__time {
  display: flex; flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.opening__time span:first-child {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  margin-bottom: 6px;
}
.opening__time span:last-child {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
@media (max-width: 540px) {
  .opening__time { align-items: center; text-align: center; }
}

/* ─── COUNTDOWN ─────────────────────────────── */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto 56px;
}
.countdown > div {
  padding: 22px 8px;
  background: rgba(244,241,234,0.04);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  display: flex; flex-direction: column;
  align-items: center;
  transition: border-color 0.3s var(--ease);
  min-width: 0;
}
.countdown > div:hover { border-color: var(--line); }
.countdown b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 7vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.countdown span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
  text-align: center;
}
@media (max-width: 540px) {
  .countdown {
    gap: 6px;
  }
  .countdown > div {
    padding: 14px 4px;
    border-radius: 10px;
  }
  .countdown b {
    font-size: clamp(20px, 6vw, 28px);
  }
  .countdown span {
    font-size: 8px;
    letter-spacing: 0.1em;
    margin-top: 5px;
  }
}
@media (max-width: 380px) {
  .countdown b { font-size: 18px; }
  .countdown span { font-size: 7px; letter-spacing: 0.06em; }
  .countdown > div { padding: 12px 2px; }
}

/* ─── PROGRAM (alt, behalten falls noch verwendet) ─────────────────────────────── */
.program {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.program li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  align-items: baseline;
  transition: padding 0.3s var(--ease);
}
.program li:hover { padding-left: 12px; }
.program time {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: -0.01em;
}
.program span { color: var(--ink-soft); }

/* ─── 2-TAGE-PROGRAMM (neu, mit Karten) ─────────────────────────────── */
.program-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 40px;
  text-align: left;
}
@media (max-width: 760px) {
  .program-days { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; }
}

.program-day {
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-day__head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.program-day__date {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 6px;
}
.program-day__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.program-day__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.program-day__list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.06);
  align-items: baseline;
}
.program-day__list li:last-child { border-bottom: none; }
.program-day__list time {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.program-day__list div { display: flex; flex-direction: column; gap: 3px; }
.program-day__list b {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.program-day__list span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.program-day__extras {
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}
.program-day__extras li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.program-day__extras li::before {
  content: '+';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 800;
}

.program-day__music {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.program-day__music::before {
  content: '♪';
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}
.program-day__music-label {
  color: var(--ink-mute);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.program-day__music b {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.opening__note {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.opening__note span {
  color: var(--accent-2);
  font-weight: 800;
  font-style: normal;
  margin-right: 4px;
}

.opening__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .opening__actions { flex-direction: column; align-items: stretch; }
  .opening__actions .btn { justify-content: center; }
}

/* ─── FOOTER ─────────────────────────────── */
.foot {
  background: var(--bg);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid var(--line);
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.foot__brand p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  margin-top: 16px;
  color: var(--ink-soft);
}
.foot__brand-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}
.foot__col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.foot__col p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.foot__col a { transition: color 0.2s; }
.foot__col a:hover { color: var(--ink); }

.foot__base {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__base { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── LIGHTBOX ─────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 9, 11, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease);
}
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  background: rgba(244,241,234,0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 28px;
  display: grid; place-items: center;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover {
  background: rgba(244,241,234,0.14);
}
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

/* ─── REDUCED MOTION ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__img { animation: none; transform: scale(1); }
  .reveal { opacity: 1; transform: none; }
}
