/* ================================================
   K.St.V. Rheno-Frankonia — Öffentliche Website
   Design: Architektur der Tradition
   ================================================ */

:root {
  --ink:        #0B1120;
  --ink-mid:    #1a2840;
  --gold:       #C4974A;
  --gold-pale:  #E8D4A8;
  --cream:      #FAF8F4;
  --stone:      #F0EDE6;
  --line:       #E2DDD4;
  --text:       #2C2C2C;
  --muted:      #6E6E6E;

  --section-v:  clamp(4rem, 8vw, 7rem);
  --max-w:      1200px;
  --ease:       cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);

  /* Aliase – werden in den Seiten-Templates verwendet */
  --primary:    var(--ink);
  --white:      #FFFFFF;
  --light:      var(--stone);
  --radius:     8px;
  --shadow-sm:  0 2px 12px rgba(11,17,32,0.07);
  --text-light: var(--muted);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
p    { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-forward::view-transition-old(root) {
  animation-name: rf-page-slide-out-left;
}

.page-transition-forward::view-transition-new(root) {
  animation-name: rf-page-slide-in-right;
}

.page-transition-back::view-transition-old(root) {
  animation-name: rf-page-slide-out-right;
}

.page-transition-back::view-transition-new(root) {
  animation-name: rf-page-slide-in-left;
}

@keyframes rf-page-slide-out-left {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0.82; transform: translateX(-24%); }
}

@keyframes rf-page-slide-in-right {
  from { opacity: 0.82; transform: translateX(24%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes rf-page-slide-out-right {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0.82; transform: translateX(24%); }
}

@keyframes rf-page-slide-in-left {
  from { opacity: 0.82; transform: translateX(-24%); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.lora, p, .section p {
  font-family: 'Lora', serif;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 17, 32, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom-color: rgba(196, 151, 74, 0.2);
}

.nav-logo {
  display: flex; align-items: center; gap: 1rem; color: var(--cream);
}
.nav-logo img {
  height: 44px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: height 0.4s var(--ease);
}
.nav.scrolled .nav-logo img { height: 36px; }
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-text .name {
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); line-height: 1;
}
.nav-logo-text .subtitle {
  font-size: 0.58rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.18em;
}

.nav-links {
  display: flex; align-items: center; gap: 0.1rem; list-style: none;
}
.nav-links a {
  color: rgba(250, 248, 244, 0.65);
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.25s;
  min-height: 44px; display: flex; align-items: center;
}
.nav-links a:hover  { color: var(--cream); }
.nav-links a.active { color: var(--gold); }
.nav-links .btn-members {
  color: var(--gold);
  border: 1px solid rgba(196, 151, 74, 0.45);
  padding: 0.55rem 1.1rem;
  margin-left: 0.75rem;
  transition: background 0.25s, border-color 0.25s;
}
.nav-links .btn-members:hover {
  background: rgba(196, 151, 74, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0;
  background: none; border: none;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex;
  align-items: stretch;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(196,151,74,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%,  rgba(196,151,74,0.04) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.hero-inner::after {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%; left: 55%; width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(196,151,74,0.25) 25%,
    rgba(196,151,74,0.25) 75%,
    transparent 100%
  );
  pointer-events: none; z-index: 0;
}

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 5rem 5rem;
  position: relative; z-index: 1;
}

.hero-kuerzel {
  display: flex; align-items: center; gap: 1rem;
  color: var(--gold);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.hero-kuerzel::before {
  content: '';
  width: 36px; height: 1px; background: var(--gold); flex-shrink: 0;
}

.hero-title {
  font-weight: 100;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  line-height: 0.95;
  color: var(--cream);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-partner {
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: -1.75rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.58s forwards;
}
.hero-founded {
  display: flex; align-items: center; gap: 0.85rem;
  color: rgba(250,248,244,0.3);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}
.hero-founded::after {
  content: '';
  width: 60px; height: 1px;
  background: rgba(255,255,255,0.1);
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  color: rgba(250,248,244,0.45);
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 380px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.75s forwards;
}

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.95s forwards;
}

.hero-emblem {
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 4rem 5rem 3rem;
  position: relative; z-index: 1;
}
.hero-emblem-ring {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-emblem-ring::before,
.hero-emblem-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196,151,74,0.12);
  pointer-events: none;
}
.hero-emblem-ring::before {
  width: clamp(270px, 34vw, 460px);
  height: clamp(270px, 34vw, 460px);
  animation: ringExpand 1.6s var(--ease-out) 0.4s both;
}
.hero-emblem-ring::after {
  width: clamp(320px, 40vw, 540px);
  height: clamp(320px, 40vw, 540px);
  border-color: rgba(196,151,74,0.06);
  animation: ringExpand 1.6s var(--ease-out) 0.65s both;
}
.hero-emblem img {
  width: clamp(180px, 24vw, 360px); height: auto;
  filter:
    drop-shadow(0 24px 60px rgba(0,0,0,0.55))
    drop-shadow(0 4px 16px rgba(196,151,74,0.12));
  opacity: 0;
  animation: emblemReveal 1.2s var(--ease-out) 0.6s forwards;
  position: relative; z-index: 1;
}

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes emblemReveal {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ringExpand {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes kenburns-a {
  from { transform: scale(1.12) translate(2%,  1%); }
  to   { transform: scale(1.00) translate(-1%, -1%); }
}
@keyframes kenburns-b {
  from { transform: scale(1.10) translate(-2%, 0%); }
  to   { transform: scale(1.00) translate(1%,  1%); }
}
@keyframes kenburns-c {
  from { transform: scale(1.08) translate(0%,  2%); }
  to   { transform: scale(1.00) translate(1%, -1%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2.2rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all 0.25s var(--ease);
  cursor: pointer; border: 1px solid transparent;
  min-height: 44px;
}
.btn-primary {
  background: var(--gold); color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #d4a45a; border-color: #d4a45a;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196,151,74,0.28);
}
.btn-outline {
  background: transparent; color: var(--cream);
  border-color: rgba(250,248,244,0.3);
}
.btn-outline:hover {
  border-color: rgba(250,248,244,0.65);
  background: rgba(250,248,244,0.06);
}
.btn-dark {
  background: var(--ink); color: var(--cream);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

/* ── Sections ─────────────────────────────────────────────── */
.section     { padding: var(--section-v) 3rem; }
.section-alt { background: var(--stone); }
.container   { max-width: var(--max-w); margin: 0 auto; }

.section-header        { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.8rem;
  color: var(--gold);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }

.section-title {
  font-weight: 200;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.section-desc {
  font-family: 'Lora', serif;
  color: var(--muted);
  font-size: 1rem; line-height: 1.8;
  max-width: 560px;
}
.section-header.center .section-desc { margin: 0 auto; }

/* ── Slideshow ──────────────────────────────────────────── */
.slideshow-section { background: var(--ink); padding: 0; }
.slideshow-eyebrow {
  text-align: center; padding: 2rem 2rem 0;
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase;
}
.slideshow {
  position: relative; width: 100%;
  overflow: hidden;
  height: clamp(340px, 52vw, 680px);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}
.slide.active img              { animation: kenburns-a 7s ease-out forwards; }
.slide:nth-child(2).active img { animation: kenburns-b 7s ease-out forwards; }
.slide:nth-child(3).active img { animation: kenburns-c 8s ease-out forwards; }

.slide-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Foto-Mosaik ─────────────────────────────────────────────── */
.photo-mosaic {
  background: var(--ink);
}
.photo-mosaic .slideshow-label {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  margin: 0;
  color: rgba(250,248,244,0.65);
}
.mosaic-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 300px 300px;
  gap: 3px;
  max-width: 1200px;
  margin: 0 auto;
}
.mosaic-item {
  overflow: hidden;
  position: relative;
}
.mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(196,151,74,0.14) 0%, rgba(196,151,74,0.03) 70%);
  border: 1px solid rgba(196,151,74,0.35);
}
.mosaic-text p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  line-height: 1.6;
  margin: 0;
}
.mosaic-text span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.6);
}
@media (max-width: 768px) {
  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }
}
@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px) auto;
  }
  .mosaic-text { min-height: 120px; }
}

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,17,32,0.75) 0%,
    rgba(11,17,32,0.12) 40%,
    transparent 70%
  );
}
.slide-gradient {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.slide-caption {
  position: absolute; bottom: 5rem; left: 0; right: 0;
  text-align: center; color: var(--cream); padding: 0 3rem;
}
.slide-caption h3 {
  font-weight: 300; font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  margin-bottom: 0.4rem; letter-spacing: 0.01em;
}
.slide-caption p {
  color: rgba(250,248,244,0.5);
  font-family: 'Lora', serif; font-style: italic;
  font-size: 0.9rem; margin: 0;
}

.slideshow-controls {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 10; align-items: center;
}
.slide-dot {
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.22);
  cursor: pointer; border: none;
  padding: 6px 0; background-clip: content-box;
  border-radius: 0;
  transition: width 0.35s var(--ease), background 0.35s;
  min-height: 14px;
}
.slide-dot.active {
  width: 44px; background: var(--gold);
}
.slideshow-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  width: 52px; height: 52px;
  cursor: pointer; font-size: 1.1rem;
  transition: all 0.25s; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.slideshow-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--cream); border-color: rgba(255,255,255,0.3);
}
.slideshow-btn.prev { left: 2rem; }
.slideshow-btn.next { right: 2rem; }

/* ── Info Strip ──────────────────────────────────────────── */
.info-strip {
  background: var(--ink);
  border-top: 1px solid rgba(196,151,74,0.18);
  padding: 4rem 3rem;
}
.info-strip-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid rgba(255,255,255,0.06);
}
.info-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.info-item:last-child { border-right: none; }
.info-item .num {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 100;
  color: var(--gold); line-height: 1; letter-spacing: -0.03em;
  display: block;
}
.info-item .label {
  font-size: 0.65rem; color: rgba(250,248,244,0.35);
  text-transform: uppercase; letter-spacing: 0.22em; margin-top: 0.5rem;
  display: block;
}

/* ── Values ─────────────────────────────────────────────── */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--line);
}
.value-card {
  padding: 3rem 2.5rem;
  background: var(--cream);
  border-right: 1px solid var(--line);
  transition: background 0.25s;
  position: relative; overflow: hidden;
}
.value-card:last-child { border-right: none; }
.value-card:hover      { background: var(--stone); }

.value-num {
  position: absolute; bottom: -0.2em; right: -0.05em;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 100; line-height: 1; letter-spacing: -0.04em;
  color: rgba(11,17,32,0.04);
  pointer-events: none; -webkit-user-select: none; user-select: none;
}

.value-icon   { font-size: 1.6rem; margin-bottom: 1.75rem; }
.value-icon svg { width: 30px; height: 30px; color: var(--gold); }
.pillar-icon {
  width: 72px; height: 72px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}
.pillar-icon svg { width: 32px; height: 32px; }
.value-card h3 {
  font-size: 1.35rem; font-weight: 400; color: var(--ink);
  margin-bottom: 0.1rem;
}
.value-latin {
  display: block;
  color: var(--gold); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.28em;
  font-weight: 700; margin-bottom: 1.25rem;
}
.value-card p {
  font-family: 'Lora', serif;
  color: var(--muted); font-size: 0.93rem; margin: 0; line-height: 1.78;
}

/* ── Page Hero (Unterseiten) ─────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: 10rem 5rem 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(196,151,74,0.06) 0%, transparent 65%);
}
.page-hero .hero-kuerzel { margin-bottom: 1rem; position: relative; }
.page-hero h1 {
  font-weight: 100;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  color: var(--cream); letter-spacing: -0.03em;
  text-transform: uppercase; line-height: 1;
  margin-bottom: 1.25rem; position: relative;
}
.page-hero .sub {
  font-family: 'Lora', serif; font-style: italic;
  color: rgba(250,248,244,0.45); font-size: 1.05rem; position: relative;
}
.breadcrumb {
  display: flex; gap: 0.5rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.28);
  margin-bottom: 1.75rem; letter-spacing: 0.06em;
  position: relative;
}
.breadcrumb a    { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.18); }

/* ── Split Section ───────────────────────────────────────── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.content-image {
  overflow: hidden; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.16);
}
.content-image img { width: 100%; height: 420px; object-fit: cover; }
.house-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.16);
}
.house-gallery img { width: 100%; height: 420px; object-fit: cover; display: block; }
.room-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.room-gallery-item {
  overflow: hidden;
  border-radius: 2px;
}
.room-gallery-item img {
  width: 100%; height: 260px;
  object-fit: cover; display: block;
  transition: transform 0.6s var(--ease-out);
}
.room-gallery-item:hover img { transform: scale(1.04); }
.image-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: var(--gold); color: var(--ink);
  padding: 0.35rem 0.85rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.content-text .section-title { margin-bottom: 1.25rem; }
.content-text p {
  font-family: 'Lora', serif; color: var(--muted);
}
.inline-info {
  position: relative;
  display: inline-block;
  color: var(--ink);
  border-bottom: 1px dotted var(--gold);
  cursor: help;
  outline: none;
}
.inline-info:focus-visible {
  box-shadow: 0 0 0 3px rgba(196,151,74,0.22);
}
.inline-info-box {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.65rem);
  z-index: 20;
  width: min(21rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 44px rgba(11,17,32,0.22);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
  transform: translate(-50%, 0.35rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
}
.inline-info-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.inline-info:hover .inline-info-box,
.inline-info:focus .inline-info-box,
.inline-info:focus-within .inline-info-box {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
@media (max-width: 540px) {
  .inline-info-box {
    left: 0;
    transform: translate(0, 0.35rem);
  }
  .inline-info-box::after {
    left: 1.2rem;
  }
  .inline-info:hover .inline-info-box,
  .inline-info:focus .inline-info-box,
  .inline-info:focus-within .inline-info-box {
    transform: translate(0, 0);
  }
}

/* ── Leadership ──────────────────────────────────────────── */
.leadership-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 2px; background: var(--line);
}
.leader-card {
  background: var(--cream); padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.leader-card:hover {
  border-top-color: var(--gold);
  background: var(--stone);
}
.leader-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--stone); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 200; font-size: 1.2rem;
  color: var(--ink); margin: 0 auto 1rem;
}
.leader-card h4 {
  color: var(--ink); font-size: 0.88rem; margin-bottom: 0.2rem;
  font-family: 'Raleway', sans-serif; font-weight: 600;
}
.leader-role {
  color: var(--gold); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.15em;
}

/* ── Program List ────────────────────────────────────────── */
.program-card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}
.program-month-header {
  background: var(--ink);
  color: var(--cream);
  padding: 0.95rem 1.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-family: 'Raleway', sans-serif;
}
.program-list { list-style: none; }
.program-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 1.15rem; padding: 0.8rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.program-item:last-child { border-bottom: none; }
.program-item:hover { background: var(--stone); }
.program-date {
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(196,151,74,0.35);
  border-radius: 8px;
  padding: 0.5rem 0.4rem;
  box-shadow: 0 2px 10px rgba(26,58,42,0.06);
}
.program-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 0.95;
  font-family: 'Raleway', sans-serif;
}
.program-date .month {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 800;
  font-family: 'Raleway', sans-serif;
  margin-top: 0.25rem;
}
.program-date .weekday {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
  font-family: 'Raleway', sans-serif;
}
.program-date .prog-time {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--ink);
  background: rgba(196,151,74,0.16);
  border-radius: 999px;
  margin-top: 0.45rem;
  padding: 0.16rem 0.45rem;
  white-space: nowrap;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}
.program-date .prog-time abbr { text-decoration: none; }
.program-info h4 {
  color: var(--ink); font-size: 0.92rem; margin-bottom: 0.15rem;
  font-family: 'Raleway', sans-serif; font-weight: 600;
}
.program-info p { color: var(--muted); font-size: 0.8rem; margin: 0; }
.program-badge {
  padding: 0.2rem 0.6rem; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
  border: 1px solid currentColor;
}
.badge-social    { color: #2a6e35; background: rgba(42,110,53,0.07); }
.badge-official  { color: #2d3d8a; background: rgba(45,61,138,0.07); }
.badge-religious { color: #7a5c1a; background: rgba(122,92,26,0.07); }
.badge-academic  { color: #7a2a2a; background: rgba(122,42,42,0.07); }

.program-note {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.5rem; margin-top: 1.5rem;
  font-family: 'Lora', serif; font-style: italic;
  font-size: 0.9rem; color: var(--muted);
  background: rgba(196,151,74,0.05);
}

/* ── Room Rental ─────────────────────────────────────────── */
.room-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  background: var(--line); gap: 1px;
  margin-bottom: 3rem;
}
.room-stat {
  text-align: center; padding: 2.25rem 1rem;
  background: var(--cream); transition: background 0.2s;
}
.room-stat:hover { background: var(--stone); }
.room-stat .num {
  font-size: 2rem; font-weight: 100;
  color: var(--gold); line-height: 1; letter-spacing: -0.02em;
}
.room-stat .label { font-size: 0.68rem; color: var(--muted); margin-top: 0.4rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  background: var(--line); gap: 1px;
}
.feature-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem 1.25rem;
  background: var(--cream); transition: background 0.2s;
}
.feature-item:hover { background: var(--stone); }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  border: 1px solid var(--line);
}
.feature-text h4 {
  color: var(--ink); font-size: 0.88rem; margin-bottom: 0.15rem;
  font-family: 'Raleway', sans-serif; font-weight: 600;
}
.feature-text p { color: var(--muted); font-size: 0.8rem; margin: 0; }

.location-list { list-style: none; }
.location-list li {
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 1rem;
  font-family: 'Lora', serif; color: var(--muted); font-size: 0.93rem;
}
.location-list li::before {
  content: '→'; color: var(--gold); font-size: 0.75rem;
  flex-shrink: 0; font-family: 'Raleway', sans-serif;
}
.location-list li:last-child { border-bottom: none; }

.contact-box {
  background: var(--ink); color: var(--cream);
  padding: 3.5rem 3rem; text-align: center;
  border-top: 2px solid var(--gold);
}
.contact-box h3 {
  font-weight: 200; font-size: 2rem;
  color: var(--cream); margin-bottom: 1rem; letter-spacing: -0.02em;
}
.contact-box p {
  font-family: 'Lora', serif;
  color: rgba(250,248,244,0.55); margin-bottom: 0.35rem; font-size: 0.93rem;
}
.contact-highlight {
  font-size: 1.5rem; font-weight: 200; color: var(--gold);
  margin: 1.25rem 0; letter-spacing: 0.06em;
}
.contact-box .btn { margin-top: 1.5rem; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--ink);
  padding: var(--section-v) 3rem; text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(196,151,74,0.15);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(196,151,74,0.07) 0%, transparent 60%);
}
.cta-banner h2 {
  font-weight: 100; color: var(--cream);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem; position: relative; letter-spacing: -0.02em;
}
.cta-banner p {
  font-family: 'Lora', serif; font-style: italic;
  color: rgba(250,248,244,0.45); margin-bottom: 2.5rem;
  font-size: 1rem; position: relative;
}
.cta-banner .btn { position: relative; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: #060c18; color: rgba(250,248,244,0.72);
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid rgba(196,151,74,0.15);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand .footer-logo { margin-bottom: 1.5rem; }
.footer-brand p {
  font-family: 'Lora', serif;
  font-size: 0.88rem; line-height: 1.78;
  color: rgba(250,248,244,0.68);
}
.footer-logo { display: flex; align-items: center; gap: 1rem; }
.footer-logo img { height: 40px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.footer-logo-text .name {
  font-size: 0.88rem; font-weight: 500;
  color: var(--cream); letter-spacing: 0.08em; text-transform: uppercase;
  display: block; line-height: 1;
}
.footer-logo-text .subtitle {
  font-size: 0.58rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.18em;
  display: block; margin-top: 3px;
}
.footer-col h2 {
  color: rgba(250,248,244,0.75);
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.28em; margin-bottom: 1.5rem; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a {
  font-family: 'Lora', serif;
  color: rgba(250,248,244,0.72); font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max-w); margin: 2.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; flex-wrap: wrap; gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(250,248,244,0.60);
}

/* ── Scroll fade-in ──────────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.12s; }
.fade-in.delay-2 { transition-delay: 0.24s; }
.fade-in.delay-3 { transition-delay: 0.36s; }

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2        { margin-top: 2rem; }
.mt-3        { margin-top: 3rem; }
.relative    { position: relative; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav        { padding: 1.25rem 2rem; }
  .nav.scrolled { padding: 0.85rem 2rem; }
  .section    { padding: var(--section-v) 2rem; }
  .page-hero  { padding: 9rem 3rem 4.5rem; }
  .hero-text  { padding: 8rem 2.5rem 5rem 3.5rem; }
  .hero-emblem { padding: 8rem 2.5rem 5rem 2rem; }
  .footer-inner { gap: 2.5rem; }
}
@media (max-width: 900px) {
  .values-grid      { grid-template-columns: 1fr; }
  .value-card       { border-right: none; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border-bottom: none; }
  .info-strip-grid  { grid-template-columns: repeat(2, 1fr); }
  .info-item        { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .info-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.06); }
  .info-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(11,17,32,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch;
    padding: 0.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(196,151,74,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.9rem 0.25rem; border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    min-height: 52px; letter-spacing: 0.08em;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .btn-members { border: none; margin-left: 0; border-radius: 0; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner::after { display: none; }
  .hero-text {
    padding: 6rem 1.5rem 2.5rem;
    text-align: center; align-items: center;
  }
  .hero-kuerzel { justify-content: center; }
  .hero-kuerzel::before { display: none; }
  .hero-founded { justify-content: center; }
  .hero-founded::after { display: none; }
  .hero-tagline { text-align: center; max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-emblem {
    padding: 3rem 3rem 0;
    order: -1;
  }
  .hero-emblem-ring::before,
  .hero-emblem-ring::after { display: none; }
  .hero-emblem img { width: clamp(90px, 28vw, 140px); }

  .page-hero  { padding: 8rem 1.5rem 3.5rem; }

  .split-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section.reverse { direction: ltr; }
  .content-image img { height: 260px; }
  .house-gallery img  { height: 220px; }
  .room-gallery       { grid-template-columns: 1fr; }
  .room-gallery-item img { height: 220px; }

  .program-item    { grid-template-columns: 86px 1fr; gap: 1rem; padding: 1rem; }
  .program-date    { padding: 0.55rem 0.35rem; }
  .program-date .day { font-size: 2rem; }
  .program-date .month,
  .program-date .prog-time { font-size: 0.7rem; }
  .program-date .weekday { font-size: 0.66rem; }
  .program-badge   { display: none; }

  .slideshow-btn   { width: 44px; height: 44px; }
  .slideshow-btn.prev { left: 1rem; }
  .slideshow-btn.next { right: 1rem; }

  .section    { padding: clamp(3rem, 8vw, 5rem) 1.5rem; }
  .cta-banner { padding: clamp(3rem, 8vw, 5rem) 1.5rem; }
  .info-strip { padding: 3rem 1.5rem; }
  footer      { padding: 4rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .nav        { padding: 1rem 1.25rem; }
  .nav.scrolled { padding: 0.7rem 1.25rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .contact-box  { padding: 2.5rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Programm: Download-Leiste ───────────────────────────────── */
.prog-download-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.prog-download-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}
.prog-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.prog-dl-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196,151,74,0.04);
}
.prog-dl-btn svg { flex-shrink: 0; }

/* ── Footer: Legal-Links ─────────────────────────────────────── */
.footer-legal {
  display: flex;
  gap: 0;
}
.footer-legal a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-decoration: none;
  padding: 0.15rem 1rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s;
}
.footer-legal a:first-child { border-left: none; padding-left: 0; }
.footer-legal a:hover { color: var(--gold); }

/* ── Legal-Seiten (Impressum, Datenschutz) ───────────────────── */
.legal-body {
  font-family: 'Lora', serif;
  color: var(--ink);
  line-height: 1.8;
}
.legal-body h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 1.5rem 0 0.4rem;
}
.legal-body p { margin: 0 0 1rem; color: var(--text); }
.legal-body ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--text);
}
.legal-body ul li { margin-bottom: 0.3rem; }
.legal-body a { color: var(--gold); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body code {
  font-size: 0.85em;
  background: var(--stone);
  padding: 0.1em 0.4em;
  border-radius: 2px;
  font-family: monospace;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.85rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
}
.legal-table th {
  background: var(--stone);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.legal-date {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Cookie-Hinweis ──────────────────────────────────────────── */
.cookie-hint {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.9rem 2rem;
  background: var(--ink);
  border-top: 1px solid rgba(196,151,74,0.25);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
}
.cookie-hint[hidden] { display: none; }
.cookie-hint p { margin: 0; }
.cookie-hint a { color: var(--gold); text-decoration: none; }
.cookie-hint a:hover { text-decoration: underline; }
.cookie-hint button {
  padding: 0.4rem 1.2rem;
  background: transparent;
  border: 1px solid rgba(196,151,74,0.5);
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.cookie-hint button:hover {
  background: rgba(196,151,74,0.12);
  border-color: var(--gold);
}
@media (max-width: 480px) {
  .cookie-hint { gap: 0.75rem; padding: 1rem 1.25rem; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ── Lightbox ───────────────────────────────────────────── */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 14, 24, 0.95);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lb-overlay.lb-open { opacity: 1; pointer-events: all; }

.lb-img {
  max-width: min(90vw, 1100px);
  max-height: 85dvh;
  object-fit: contain;
  border-radius: 3px;
  display: block;
  transform: scale(0.94);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lb-overlay.lb-open .lb-img { transform: scale(1); }

.lb-close {
  position: fixed; top: 1rem; right: 1.25rem;
  background: none; border: none;
  color: rgba(255,255,255,0.75); font-size: 2rem; line-height: 1;
  cursor: pointer; padding: 0.25rem 0.5rem;
  transition: color 0.2s;
  z-index: 9001;
}
.lb-close:hover { color: #fff; }

.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.80); font-size: 1.6rem; line-height: 1;
  padding: 0.65rem 0.9rem; cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  z-index: 9001;
}
.lb-nav:hover { background: rgba(255,255,255,0.22); color: #fff; }
.lb-prev { left: 0.75rem; }
.lb-next { right: 0.75rem; }

.lb-caption {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-family: 'Lora', serif;
  font-size: 0.82rem; font-style: italic;
  text-align: center; max-width: 80vw;
  pointer-events: none;
}

.mosaic-item img { cursor: zoom-in; transition: opacity 0.2s; }
.mosaic-item img:hover { opacity: 0.88; }

@media (max-width: 600px) {
  .lb-nav { font-size: 1.2rem; padding: 0.5rem 0.65rem; }
  .lb-prev { left: 0.35rem; }
  .lb-next { right: 0.35rem; }
}

/* ── Zeitstrahl ─────────────────────────────────────────── */
.timeline { position: relative; max-width: 780px; margin: 2.5rem auto 0; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(196,151,74,0.8), rgba(196,151,74,0.12));
}
.timeline-item { position: relative; padding: 0 0 2.4rem 3.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(196,151,74,0.12);
}
.timeline-year {
  font-family: 'Raleway', sans-serif;
  font-weight: 800; font-size: 0.95rem;
  color: var(--gold); letter-spacing: 0.12em;
}
.timeline-item h3 {
  color: var(--ink);
  font-family: 'Raleway', sans-serif;
  font-weight: 600; font-size: 1.08rem;
  margin: 0.25rem 0 0.45rem;
}
.timeline-item p {
  color: var(--muted);
  font-family: 'Lora', serif;
  font-size: 0.92rem; line-height: 1.75;
  margin: 0; max-width: 62ch;
}

/* ── Lageplan (OpenStreetMap, Klick-zum-Laden) ──────────── */
.map-embed {
  position: relative; width: 100%;
  min-height: 340px;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.25rem; text-align: center; padding: 2rem;
}
.map-consent p {
  color: var(--muted); font-family: 'Lora', serif;
  font-size: 0.85rem; line-height: 1.7;
  max-width: 52ch; margin: 0;
}
.map-consent a { color: var(--gold); }
.map-note {
  margin-top: 0.75rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem; color: var(--muted);
}
.map-note a { color: var(--gold); }

/* ── Aktiv werden: Schritte ─────────────────────────────── */
.historic-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.historic-image {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--stone);
  box-shadow: 0 24px 60px rgba(11,17,32,0.12);
  cursor: zoom-in;
}
.historic-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out), opacity 0.2s;
}
.historic-image:hover img {
  transform: scale(1.025);
  opacity: 0.92;
}
@media (max-width: 768px) {
  .historic-gallery {
    grid-template-columns: 1fr;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.step-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 800; font-size: 2.2rem; line-height: 1;
  color: rgba(196,151,74,0.4);
}
.step-card h4 {
  color: var(--ink);
  font-family: 'Raleway', sans-serif;
  font-weight: 600; font-size: 1rem;
  margin: 0.6rem 0 0.5rem;
}
.step-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }
