/* ==========================================================================
   MC Werneuchen 1906 e.V. — zentrales Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --green-deepest: #142219;
  --green-dark: #1a2b1f;
  --green-mid: #223a29;
  --gold: #c9a45c;
  --gold-light: #d9bd82;
  --gold-pale: #e8d9b5;
  --cream: #f4efe3;
  --cream-alt: #ede5d3;
  --cream-card: #f8f4ea;
  --paper: #fbf8f1;
  --ink: #2a2822;
  --ink-soft: #55503f;
  --line-gold: #cdb989;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'PT Serif', Georgia, 'Times New Roman', serif;

  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 10px rgba(20, 34, 25, 0.08);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.18);

  --container: 1180px;
  --gold-deep: #85682c;
}

* { box-sizing: border-box; }

/* Anker landen nicht mehr unter dem Sticky-Header */
[id] { scroll-margin-top: 104px; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

.mc-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  color: var(--green-deepest);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  margin: 14px 0 30px;
}
.divider::before,
.divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--line-gold);
}
.divider span { font-size: 1rem; transform: rotate(45deg); border: 1px solid var(--gold); width: 8px; height: 8px; display: inline-block; }

.section-title {
  text-align: center;
  font-size: 1.9rem;
  letter-spacing: 0.01em;
}

/* ============================= HEADER ============================= */

.site-header {
  background: var(--green-deepest);
  box-shadow: var(--shadow-header);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-emblem { width: 52px; height: 52px; flex-shrink: 0; }
.footer-brand .brand-emblem { width: 60px; height: 60px; }
.emblem-shield { fill: var(--green-dark); stroke: var(--gold); stroke-width: 1.6; }
.emblem-shield-inner { fill: none; stroke: var(--gold); stroke-width: 0.6; }
.emblem-tree { fill: #3a5940; stroke: var(--gold); stroke-width: 0.5; }
.emblem-trunk { fill: #5c4a30; stroke: var(--gold); stroke-width: 0.4; }
.emblem-roots { fill: none; stroke: var(--gold); stroke-width: 0.6; stroke-linecap: round; }
.emblem-mono, .emblem-year {
  font-family: var(--font-display);
  font-weight: 700;
  fill: var(--gold);
  stroke: none;
}
.emblem-mono { font-size: 7px; }
.emblem-year { font-size: 6px; }

.brand-name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
}
.brand-sub {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--cream);
  font-size: 0.92rem;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--green-deepest);
}
.btn-outline-light {
  background: transparent;
  border-color: var(--gold-pale);
  color: var(--cream);
}
.btn-dark {
  background: var(--green-deepest);
  color: var(--cream);
}
.btn-dark:hover { background: var(--green-mid); }
.btn-gold:hover { background: var(--gold-light); }

/* ============================= HERO ============================= */

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(15, 22, 16, 0.88) 20%, rgba(15, 22, 16, 0.45) 55%, rgba(15,22,16,0.75) 100%), var(--green-deepest);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.55) contrast(1.05) brightness(0.55);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,22,16,0.92) 15%, rgba(15,22,16,0.35) 55%, rgba(15,22,16,0.55) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; width: 100%; }
.hero-inner { max-width: 560px; margin-left: auto; margin-right: 0; text-align: center; }
.hero-inner.hero-left { margin-left: 0; margin-right: auto; text-align: center; }
.hero-inner.hero-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 640px; }
.hero-inner.hero-center .hr-gold { margin-left: auto; margin-right: auto; }
.hero-inner .hr-gold { margin-left: auto; margin-right: auto; }
.hero-ctas { justify-content: center; }
.hero h1 {
  color: var(--white);
  font-size: 3.4rem;
  line-height: 1.08;
  margin-bottom: 16px;
}
.hero .hr-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 18px auto;
}
.hero .hr-gold::before,
.hero .hr-gold::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.hero .hr-gold::after { order: 2; }
.hero .hr-gold-diamond {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  order: 1;
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 26px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================= INTRO TEXT BLOCK ============================= */

.intro-block {
  text-align: center;
  max-width: 820px;
  margin: 56px auto 44px;
  padding: 0 24px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================= CARD GRID ============================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 0 50px;
}
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.info-card {
  display: block;
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.info-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-deepest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
}
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.info-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.info-card .card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-mid);
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gold);
}

/* --- Foto-Karten (z.B. Oldtimer-Übersicht): Bild oben, Icon überlappend --- */
.info-card.photo-top { padding: 0; overflow: hidden; }
.info-card.photo-top > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: 0;
  filter: none;
}
.info-card.photo-top .card-body { padding: 0 22px 28px; margin-top: -30px; }
.info-card.photo-top .icon-circle { margin: 0 auto 14px; border: 3px solid var(--paper); }

/* ============================= TIMELINE ============================= */

.timeline-section { margin: 10px 0 56px; }
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 0 10px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-gold) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.timeline-item {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 6px;
}
.timeline-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-deepest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.2rem;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line-gold);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--green-deepest);
  margin-bottom: 4px;
}
.timeline-text {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ============================= FEATURE / PROFILE PANEL ============================= */

.profile-panel {
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-card);
}
.profile-panel img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.5) contrast(1.05); }
.profile-panel .profile-text { padding: 34px 30px; }
.profile-panel figure.symbolbild { position: relative; margin: 0; height: 100%; }
.symbolbild figcaption {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(20, 34, 25, 0.8);
  color: var(--gold-pale);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--gold);
}
.profile-panel h3 { font-size: 1.6rem; margin-bottom: 14px; }
.profile-panel p { color: var(--ink-soft); line-height: 1.65; font-size: 0.95rem; margin-bottom: 18px; }

/* ============================= GALLERY STRIP ============================= */

.gallery-strip {
  margin: 0 0 56px;
}
.gallery-strip .strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.strip-item { text-align: center; }
.strip-item .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  margin-bottom: 8px;
}
.strip-item img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.6) contrast(1.05); }
.strip-item span { font-size: 0.78rem; color: var(--ink-soft); }

/* --- Exponat-Rahmen: Passepartout für Archivstücke --- */
.strip-item .thumb {
  background: var(--paper);
  padding: 7px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  border-color: var(--line-gold);
  transition: border-color 0.25s ease;
}
.strip-item .thumb img {
  border: 1px solid #d8cdb2;
  border-radius: 2px;
  transition: transform 0.45s ease;
}
.strip-item:hover .thumb { border-color: var(--gold); }
.strip-item:hover .thumb img { transform: scale(1.04); }
.strip-item span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
}
.strip-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hover: feine Goldkontur statt modernem Schatten --- */
.info-card, .archive-cat {
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.info-card:hover, .archive-cat:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* --- Teaser-Chronik: Link zur vollen Chronik --- */
.timeline-more { text-align: center; margin-top: 26px; }
.btn-outline-dark {
  border: 1px solid var(--green-mid);
  color: var(--green-deepest);
  background: transparent;
}
.btn-outline-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ============================= BANNER CTA ============================= */

.cta-banner {
  background: var(--green-deepest);
  border-radius: var(--radius-lg);
  padding: 30px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  color: var(--cream);
}
.cta-banner h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.cta-banner p { margin: 0; color: var(--gold-pale); font-size: 0.92rem; }
.cta-banner .btn { flex-shrink: 0; }

/* ============================= EVENT TEASER BAND ============================= */

.event-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.event-teaser {
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: 26px;
}
.event-teaser .icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-deepest); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.1rem;
}
.event-teaser h4 { font-size: 1.05rem; margin-bottom: 8px; }
.event-teaser p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; margin-bottom: 12px; }
.event-teaser a { color: var(--green-mid); font-weight: 700; font-size: 0.85rem; border-bottom: 1px solid var(--gold); }

.center-btn { text-align: center; margin: 20px 0 60px; }

/* ============================= FOOTER ============================= */

.site-footer {
  background: var(--green-deepest);
  color: var(--cream-alt);
  position: relative;
  padding: 56px 0 24px;
  background-image: linear-gradient(rgba(20,34,25,0.94), rgba(20,34,25,0.97));
  background-size: cover;
  background-position: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(201, 164, 92, 0.25);
}
.footer-brand { display: flex; gap: 14px; margin-bottom: 14px; }
.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col p { color: var(--cream-alt); font-size: 0.85rem; line-height: 1.5; opacity: 0.8; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--cream-alt); opacity: 0.85; }
.footer-col a:hover { color: var(--gold-light); opacity: 1; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; margin-bottom: 12px; opacity: 0.85; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 0.9rem;
}
.footer-bottom { text-align: center; font-size: 0.78rem; opacity: 0.6; padding-top: 18px; }

/* ============================= PAGE-SPECIFIC HELPERS ============================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.two-col img { border-radius: var(--radius-lg); border: 1px solid var(--line-gold); filter: sepia(0.55) contrast(1.05); }

.mosaic-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.mosaic-4 img { border-radius: 8px; filter: sepia(0.55) contrast(1.05); aspect-ratio: 1/1; object-fit: cover; }
.mosaic-4 .stacked { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.mosaic-4 .stacked img { aspect-ratio: auto; height: 100%; }

.quote-caption {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: 22px 30px;
  background: var(--cream-card);
  margin-bottom: 56px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.wide-photo-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.wide-photo-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.55) brightness(0.5); }
.wide-photo-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,34,25,0.85), rgba(20,34,25,0.3)); }
.wide-photo-cta .content { position: relative; z-index: 1; padding: 40px; color: var(--white); }
.wide-photo-cta h3 { color: var(--white); margin-bottom: 8px; }
.wide-photo-cta p { color: var(--gold-pale); margin-bottom: 18px; max-width: 480px; }

/* bio side panel (Ernst Geuder page) */
.bio-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.bio-drop-cap {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--gold);
  float: left;
  line-height: 0.8;
  margin-right: 10px;
  margin-top: 6px;
  font-weight: 700;
}
.bio-intro { color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; }
.bio-stage {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line-gold);
}
.bio-stage .icon-circle { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--green-deepest); color: var(--gold-light); display:flex; align-items:center; justify-content:center; }
.bio-stage h4 { font-size: 1.08rem; margin-bottom: 6px; }
.bio-stage p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }

.data-panel {
  background: var(--green-deepest);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--cream);
  height: fit-content;
}
.data-panel h4 { color: var(--white); text-align: center; margin-bottom: 6px; font-size: 1.1rem; }
.data-panel .divider { margin: 10px 0 20px; }
.data-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(201,164,92,0.25); align-items: flex-start; }
.data-item:first-of-type { border-top: none; }
.data-item .icon-circle { width: 38px; height: 38px; border-radius: 50%; background: rgba(201,164,92,0.15); color: var(--gold-light); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size: 0.95rem; }
.data-item p { margin: 0; font-size: 0.88rem; color: var(--gold-pale); }
.data-item strong { display: block; color: var(--white); font-size: 0.95rem; }
.data-panel img { border-radius: var(--radius-md); margin-top: 18px; filter: sepia(0.5); }

/* ============================= EVENTS PAGE ============================= */

.next-event-panel {
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  overflow: hidden;
  margin: -40px 0 50px;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 30px rgba(20,34,25,0.18);
}
.next-event-panel img { height: 100%; width: 100%; object-fit: cover; filter: sepia(0.55); }
.next-event-panel .ne-content { padding: 30px 34px; }
.badge-pill {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--green-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.next-event-panel h3 { font-size: 1.5rem; margin-bottom: 10px; }
.next-event-panel > .ne-content > p { color: var(--ink-soft); margin-bottom: 18px; line-height: 1.55; }
.ne-meta { display: flex; gap: 26px; margin-bottom: 22px; flex-wrap: wrap; }
.ne-meta-item { font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 8px; }
.ne-meta-item strong { display: block; color: var(--ink); }
.ne-meta-item .icon-circle { width: 30px; height:30px; font-size: 0.85rem; }

.year-overview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.year-overview .info-card { padding: 24px 18px; }
.year-overview .icon-circle { width: 48px; height: 48px; font-size: 1.2rem; }
.year-note { text-align: center; color: var(--ink-soft); font-size: 0.85rem; font-style: italic; margin-bottom: 50px; }

.event-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.event-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-gold);
}
.event-table td { padding: 16px 20px; border-bottom: 1px solid rgba(205,185,137,0.35); vertical-align: middle; font-size: 0.92rem; }
.event-table tr:last-child td { border-bottom: none; }
.date-chip {
  background: var(--green-deepest);
  color: var(--gold-light);
  border-radius: 8px;
  width: 52px;
  text-align: center;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}
.date-chip .day { display: block; font-size: 1.05rem; }
.date-chip .mon { display: block; font-size: 0.68rem; letter-spacing: 0.06em; }
.event-table .ev-title { font-weight: 700; color: var(--ink); }
.event-table .ev-desc { color: var(--ink-soft); font-size: 0.85rem; }
.event-table .btn { padding: 8px 16px; font-size: 0.8rem; }

.guest-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  margin-bottom: 56px;
}
.guest-banner .icon-circle { width: 60px; height: 60px; font-size: 1.5rem; }
.guest-banner h3 { margin-bottom: 8px; }
.guest-banner p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.guest-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.guest-list li { font-size: 0.88rem; color: var(--ink-soft); display: flex; gap: 8px; }
.guest-list li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ============================= ARCHIVE PAGE ============================= */

.archive-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.archive-cat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; filter: sepia(0.55) contrast(1.05); }
.archive-cat {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream-card);
}
.archive-cat .ac-body { padding: 18px 20px; text-align: center; position: relative; margin-top: -30px; }
.archive-cat .icon-circle { margin: 0 auto 10px; width: 44px; height: 44px; border: 3px solid var(--paper); }
.archive-cat h4 { font-size: 1rem; margin-bottom: 8px; }
.archive-cat p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }

.archive-search-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 30px;
  margin-bottom: 56px;
}
.filter-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-tab {
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  border: 1px solid var(--line-gold);
  background: var(--cream-card);
  color: var(--ink-soft);
  cursor: pointer;
}
.filter-tab.active { background: var(--green-deepest); color: var(--gold-light); border-color: var(--green-deepest); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.archive-tile { display: block; position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-gold); transition: border-color 0.25s ease; }
.archive-tile:hover { border-color: var(--gold); }
.archive-tile.is-hidden { display: none; }
.archive-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: sepia(0.55) contrast(1.05); }
.archive-tile .icon-circle { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; font-size: 0.85rem; }
.archive-tile .tile-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,34,25,0.9), transparent);
  color: var(--white);
  padding: 30px 14px 12px;
}
.archive-tile .tile-label strong { display: block; font-size: 0.95rem; }
.archive-tile .tile-label span { font-size: 0.78rem; color: var(--gold-pale); }

.sidebar-box {
  background: var(--cream-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 22px;
}
.sidebar-box h4 { font-size: 1.05rem; margin-bottom: 14px; display:flex; align-items:center; gap: 10px; }
.sidebar-box p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sidebar-box ul a { font-size: 0.88rem; color: var(--green-mid); font-weight: 700; }

/* ============================= GALERIE-ZEITLEISTE + POPUP ============================= */

.gallery-archive-section { margin: 40px 0 56px; }
.gallery-archive-intro { color: var(--ink-soft); margin-bottom: 8px; text-align: center; }

.gallery-timeline-scroll {
  overflow-x: auto;
  padding: 22px 4px 16px;
}
.gallery-timeline {
  display: flex;
  align-items: flex-start;
  position: relative;
  min-width: max-content;
  padding: 0 24px;
}
.gallery-timeline::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-gold) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.gt-node {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  flex-shrink: 0;
  padding: 0 6px;
  font-family: var(--font-body);
}
.gt-dot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-deepest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.gt-node:hover .gt-dot, .gt-node:focus-visible .gt-dot { border-color: var(--gold); transform: translateY(-3px); }
.gt-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-deepest);
  line-height: 1.2;
}
.gt-count {
  font-size: 0.7rem;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-top: 2px;
}

.gallery-grid.gallery-source { display: none; }

/* Popup-Galerie */
.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 24, 18, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}
.gallery-modal-overlay.active { display: flex; }
.gallery-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-gold);
  max-width: 1000px;
  width: 100%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-gold);
  background: var(--cream-card);
  flex-shrink: 0;
}
.gallery-modal-header h3 { font-size: 1.15rem; margin: 0; }
.gallery-modal-close {
  background: none;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green-deepest);
  flex-shrink: 0;
}
.gallery-modal-close svg { width: 18px; height: 18px; }
.gallery-modal-close:hover { background: var(--gold); border-color: var(--gold); }
.gallery-modal-body { overflow-y: auto; padding: 18px 24px 24px; }

.gm-stage {
  position: relative;
  background: var(--green-deepest);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 58vh;
  overflow: hidden;
  margin-bottom: 14px;
}
.gm-stage img {
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.gm-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.gm-prev, .gm-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 239, 227, 0.15);
  border: 1px solid var(--line-gold);
  color: var(--cream);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gm-prev:hover, .gm-next:hover { background: var(--gold); color: var(--green-deepest); }
.gm-prev { left: 10px; }
.gm-next { right: 10px; }
.gm-prev svg, .gm-next svg { width: 18px; height: 18px; }

.gm-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.gm-strip img {
  width: 70px;
  height: 56px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.gm-strip img:hover { opacity: 1; }
.gm-strip img.active { opacity: 1; border-color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  padding: 6px 22px 24px;
}
.gallery-grid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}
.gallery-grid img:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(20,34,25,0.22); }

.gallery-downloads {
  padding: 4px 22px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery-downloads a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-mid);
  background: var(--paper);
}
.gallery-downloads a:hover { background: var(--gold-pale); }
.gallery-downloads svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 24, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.55);
}
.lightbox-caption {
  color: var(--gold-pale);
  font-size: 0.85rem;
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(244,239,227,0.12);
  border: 1px solid var(--line-gold);
  color: var(--cream);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--green-deepest); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ============================= RESPONSIVE ============================= */

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 2rem; }
  .card-grid, .card-grid.cols-4, .card-grid.cols-5, .pillar-grid, .year-overview, .event-teasers, .archive-cats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .profile-panel, .bio-layout, .archive-search-layout, .next-event-panel { grid-template-columns: 1fr; }
  .timeline { flex-wrap: wrap; }
  .timeline::before { display: none; }
  .timeline-item { flex: 0 0 33%; margin-bottom: 20px; }
  .strip-grid, .mosaic-4, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .gallery-grid img { height: 90px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
  .lightbox-close { width: 38px; height: 38px; top: 14px; right: 14px; }
}
