/* Farb-Tokens: tokens.css */

/* Karten: ein Radius und eine Hover-Wirkung für alle (Entscheidung 26.10.2026). */
:root {
  --card-radius: 14px;
  --card-shadow-hover: 0 15px 40px rgba(66, 103, 139, 0.10);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-weight: 800; }

.italic-accent {
  font-style: italic;
  font-weight: 700;
  color: var(--primary);
}

/* Navbar */
.navbar-fcp {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding-top: 0;
  padding-bottom: 0;
  transition: box-shadow 0.25s ease;
}
.navbar-fcp.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.navbar-fcp .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: 'Nunito', sans-serif;
  color: var(--primary-dark);
  line-height: 1.1;
  text-decoration: none;
}
.navbar-fcp .navbar-brand img {
  height: 88px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: height 0.25s ease;
}
.navbar-fcp.scrolled .navbar-brand img {
  height: 69px;
}
.navbar-fcp .navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0.85rem;
  border-left: 1px solid var(--primary-light);
}
.navbar-fcp .navbar-brand .brand-text .line-1 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
}
.navbar-fcp .navbar-brand .brand-text .line-2 {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em; /* Schreibweise „e.V. — Seit 2011“, keine Versalien */
  line-height: 1.3;
  margin-top: 1px;
}
.navbar-fcp .nav-link {
  color: var(--text);
  font-weight: 600;
  padding: 0.42rem 1.1rem !important;
  font-size: 1.05rem;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
}
.navbar-fcp .nav-link:hover {
  color: var(--primary-dark);
  background: rgba(145,170,191,0.18);
}
/* Aktiver Menüpunkt: dauerhaft hervorgehoben (zeigt die aktuelle Seite) */
.navbar-fcp .nav-link.active {
  color: var(--primary-dark);
  background: rgba(145,170,191,0.18);
}
/* Abmelden ist ein Knopf im Stil der Menüpunkte: Browser-Vorgaben für
   Rahmen und Hintergrund zurücksetzen. */
.navbar-fcp .btn-logout { border: 0; background: none; }
/* Konto-Links (Verwaltung, Mein Profil, Abmelden): im Handy-Menü mit Text,
   ab Desktop-Breite nur Symbol + Tooltip, damit die Kopfleiste einzeilig
   bleibt (23.11.2026). Der Text bleibt für Screenreader lesbar. */
.navbar-fcp .konto-text { margin-left: 0.4rem; }
@media (min-width: 992px) {
  .navbar-fcp .konto-links { flex-wrap: nowrap; }
  .navbar-fcp .konto-link { padding: 0.42rem 0.6rem !important; font-size: 1.15rem; line-height: 1.5; }
  .navbar-fcp .konto-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
}
/* Hauptmenü: Polster nur dort voll, wo der Platz reicht. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar-fcp .navbar-nav .nav-link { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-fcp .navbar-nav .nav-link { padding-left: 0.5rem !important; padding-right: 0.5rem !important; font-size: 0.98rem; }
}
/* Untermenü „Mitgliedschaft“: Vereinsfarben statt Bootstrap-Blau. */
.navbar-fcp .dropdown-menu { border-color: var(--primary-light); }
.navbar-fcp .dropdown-item.active,
.navbar-fcp .dropdown-item:active {
  color: var(--primary-dark);
  background: var(--primary-pale);
}

/* Hero — Variante 4: Full-Width Foto-Hintergrund */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/home/hero.jpg') center 85% / cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Dezenter Marken-Blau-Overlay (Alaskan Winter): links dunkler für Textkontrast,
     nach rechts ausblendend — färbt das Bild in den kühlen Markenton. */
  background: linear-gradient(100deg,
    rgba(20,40,64,0.62) 0%,
    rgba(28,55,82,0.42) 55%,
    rgba(36,70,103,0.12) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #fff;
}
.hero h1 .italic-accent {
  color: #fff;
  opacity: 0.9;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 2.25rem;
  font-weight: 400;
}
.hero-stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  color: #fff;
  text-align: center;
}
.hero-stat-card .stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.25rem;
}
.hero-stat-card .stat-num .accent { color: var(--accent); }
.hero-stat-card .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  /* --primary statt --accent: Weiß auf --accent hatte nur 2,87:1 (Lighthouse 21.11.2026), jetzt 5,92:1 */
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Buttons */
/* Hover wird dunkler — wie .btn-fcp im Admin (Entscheidung 26.10.2026). */
.btn-fcp-primary {
  background: var(--primary);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-fcp-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-fcp-outline {
  background: transparent;
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
}
.btn-fcp-outline:hover { background: var(--primary-dark); color: #fff; }
.btn-hero-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

/* Stats */
.stats-bar {
  padding: 4rem 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.stat { text-align: center; padding: 1rem; position: relative; }
.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}
.stat-num .accent { color: var(--accent); }
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Full-width Symbolband */
.photo-band {
  position: relative;
  height: 340px;
  background: url('../img/home/band.jpg') center 20% / cover no-repeat;
  display: flex;
  align-items: center;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,18,15,0.80) 0%, rgba(30,25,18,0.58) 55%, rgba(30,25,18,0.25) 100%);
}
.photo-band .container {
  position: relative;
  z-index: 2;
  color: #fff;
}
.photo-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
  max-width: 600px;
}
.photo-band p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin-bottom: 0;
}
.photo-band-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);   /* wie .hero-tag: Weiß 5,92:1 statt 2,87:1 */
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* Sections */
section.block { padding: 6rem 0; }
section.block-alt { background: var(--bg-alt); }
/* Erster Block direkt unter der Navigation (Übersichts- & Detailseiten):
   Abstand Navigation→Überschrift um 25 % reduziert (6rem → 4.5rem). */
main > section.block:first-child { padding-top: 4.5rem; }

.section-label {
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
}
/* Seitenkopf öffentlicher Seiten (helpers.php: seitenkopf()) */
.page-head .section-subtitle { max-width: 720px; margin-bottom: 0; }

/* Ruhiger Kasten für Zusatzangaben neben dem Inhalt (Mitgliederbereich) */
.info-box {
  background: #fff;
  border: 1px solid var(--primary-pale);
  border-radius: var(--card-radius);
  padding: 1.25rem;
}

/* Kurs-Kategorien */
.course-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 2.25rem 1.75rem;
  height: 100%;
  border: 1px solid #eee;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.course-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
  color: inherit;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card.highlight::before {
  background: var(--accent);
  transform: scaleX(1);
}
/* Icons in Rahmen exakt mittig — einzige Stelle dieser Regel für alle
   gerahmten Icons. Bootstrap Icons senken das Glyph per vertical-align: -.125em
   auf die Text-Grundlinie ab; im per Flex zentrierten Rahmen rutscht es dadurch
   nach unten. Als Block mit line-height 1 ist die Icon-Box genau 1em hoch und
   wird geometrisch zentriert. Neuer gerahmter Icon-Typ → Selektor hier ergänzen. */
.course-card .icon-wrap .bi,
.about-feature .icon-wrap .bi,
footer .social-icons .bi,
.team-photo-empty .bi,
.lightbox-close .bi, .lightbox-prev .bi, .lightbox-next .bi {
  display: block;
  line-height: 1;
}
.course-card .icon-wrap .bi::before,
.about-feature .icon-wrap .bi::before,
footer .social-icons .bi::before,
.team-photo-empty .bi::before,
.lightbox-close .bi::before, .lightbox-prev .bi::before, .lightbox-next .bi::before {
  display: block;
  vertical-align: 0;
}
/* Optischer Ausgleich: Das Haus-Motiv endet mit einer breiten, flachen
   Grundlinie und wirkt dadurch tiefer als Herz und Schild darüber, die spitz
   zulaufen — obwohl es geometrisch fast mittig sitzt. */
.about-feature .icon-wrap .bi-house-heart-fill::before {
  transform: translateY(-1px);
}
.course-card .icon-wrap {
  width: 64px; height: 64px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.course-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.course-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.course-card .more {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  margin-top: auto;
}
.course-card.highlight .more {
  color: var(--primary);   /* 5,92:1; --accent hatte auf Weiß nur 2,87:1 */
}

/* News */
.news-card {
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  position: relative;
}
/* Gleiche Hover-Wirkung wie .course-card */
.news-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}
/* Zoom beim Überfahren — gemeinsamer Baustein für News-Karten und Galerie.
   .media-zoom      am Element, das auf :hover reagiert (Karte, Link, Button)
   .media-zoom-inner die zoomende Ebene in einem Rahmen mit overflow: hidden
   Gezoomt wird die Ebene, nicht das <img>; will-change hält ihre Grafikebene
   dauerhaft, sonst wird sie nach dem Zurückzoomen neu gezeichnet und ruckt.
   Werte aus dem v9-Entwurf (0.4s, 1.05). */
.media-zoom-inner {
  display: block;
  width: 100%; height: 100%;
  transition: transform 0.4s;
  will-change: transform;
}
.media-zoom:hover .media-zoom-inner { transform: scale(1.05); }

.news-img {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.news-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.news-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--text);
  line-height: 1.3;
}
.news-teaser {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.25rem;
}
.news-more {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

/* ─────────────────────────────────────────────────────────────────
   Gemeinsamer Detailseiten-Stil (.detail-*)
   Gilt für ALLE Detailseiten (Aktuelles, später Kurse usw.).
   Änderungen hier wirken überall.
   ───────────────────────────────────────────────────────────────── */
.detail-card {
  max-width: 760px;
  background: #fff;
  border: 1px solid #eee;
  border-right: none;
  border-bottom: none;
  border-radius: var(--card-radius) 0 0 0;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
@media (max-width: 575.98px) {
  .detail-card { padding: 1.5rem 1.25rem; }
}

/* Detailseite: kleines, umflossenes Bild (editorial) */
.detail-card-img {
  float: right;
  width: 180px;
  height: auto;
  border: 1px solid #eee;   /* weißer Bildhintergrund auf weißer Karte */
  margin: 0.35rem 0 0.75rem 1.5rem;
}
@media (max-width: 575.98px) {
  .detail-card-img { width: 130px; margin-left: 1rem; }
}

/* Detailseite: Links unter dem Text auf einer leicht getönten Fläche, ohne
   Linien und ohne eigene Überschrift — abgesetzt, aber leiser als der Text.
   Steht neben dem umflossenen Bild, nicht erst darunter (als Flex-Container
   weicht die Fläche dem Float aus). Abstand nach oben ergänzt den
   Absatzabstand des letzten Textabsatzes (1rem) auf rund 2,25rem.
   Tönung: --bg-alt zu 70 % mit Weiß (≈ #F5F8FC); Radius kleiner als der
   der Karte, weil die Fläche in ihr liegt. */
.detail-links {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.15rem;
  background: var(--bg-alt);
  background: color-mix(in srgb, var(--bg-alt) 70%, #fff);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
/* .news-more ist fett für das einzelne „Weiterlesen“ der Karte; als Liste
   wiegt 600 genug (wie .doc-title). Symbol in --accent, Text bleibt dunkel. */
.detail-links .news-more { font-weight: 600; }
.detail-links .news-more .bi { color: var(--accent); }
.detail-links a:hover,
.detail-links a:hover .bi { color: var(--primary); }

/* Detailseite: Teilen-Leiste, Icons ohne Rahmen und ohne Beschriftung (kopieren.js).
   Steht rechts gegenüber dem Zurück-Button; die Statusmeldung wächst nach
   links, damit die Icons am Rand stehen bleiben. */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.share-btn {
  background: none;
  border: 0;
  padding: 0.3rem 0.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  border-radius: 6px;
  text-decoration: none;
}
.share-btn:hover,
.share-btn:focus-visible { color: var(--primary); }
/* Teilen-Dialog: das Symbol füllt seine ganze Fläche (16×16, Punkte in den
   Ecken) und wirkt neben Umschlag (16×12) und Link (11×11) zu groß. Skaliert
   statt kleinerer Schrift: Klickfläche und Grundlinie bleiben gleich.
   Das Verkleinern lässt links Luft, und zwei der drei Punkte liegen rechts —
   der Knopf rückt deshalb optisch näher an „Link kopieren“. */
.share-btn[data-share-system] { margin-left: -0.4rem; }
.share-btn[data-share-system] .bi::before { transform: scale(0.8); }
.share-status { font-size: 0.85rem; color: var(--muted); }
.share-status:not(:empty) { margin-right: 0.5rem; }

/* Über uns */
.about-img {
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  object-position: 40% center;
}
/* Dokument (z. B. Urkunde): ganz zeigen, nicht auf 4:5 zuschneiden */
.about-img--dokument { aspect-ratio: 1200 / 1178; }
.about-img--dokument img { object-position: center; }

/* Sanftes Einblenden von Übersichts-/Inhaltsbildern.
   Bei Galerie nur die Album-Cover, nicht die eigentlichen Galeriebilder. */
.about-img img,
article img,
.prose img,
img.team-photo,
img.facility-img,
.gallery-album-cover img {
  animation: img-fade-in 1.1s ease-out both;
}
@keyframes img-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-img img,
  article img,
  .prose img,
  img.team-photo,
  img.facility-img,
  .gallery-album-cover img { animation: none; }
}
.about-img-badge {
  position: absolute;
  z-index: 2;
  top: 1.25rem; left: 1.25rem;
  background: var(--primary);   /* Kontrast wie .hero-tag (5,92:1 statt 2,87:1) */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-feature {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8e8e5;
}
.about-feature:last-child { border-bottom: none; }
.about-feature .icon-wrap {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: #fff;
  border: 1.5px solid var(--primary-light);
  color: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  padding: 1px 0px 0px 1px;
}
.about-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.about-feature p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* Vereinsgeschichte (Über uns): Zeitpunkt links, Text rechts; mobil untereinander */
.chronik { list-style: none; padding: 0; margin: 0; }
.chronik li {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e5;   /* wie .about-feature */
}
.chronik li:last-child { border-bottom: none; }
.chronik-zeit {
  flex: 0 0 7.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--primary-dark);
}
.chronik p { margin: 0; }
@media (max-width: 575.98px) {
  .chronik li { flex-direction: column; gap: 0.25rem; }
  .chronik-zeit { flex-basis: auto; }
}

/* ─────────────────────────────────────────────────────────────────
   Verein-Bereich (Über uns / Vorstand / Sportstätten)
   ───────────────────────────────────────────────────────────────── */

/* Sub-Navigation (Pills) — wiederverwendbar für weitere Modulbereiche */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.subnav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  border: 1.5px solid var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.subnav-link:hover { background: var(--primary-pale); border-color: var(--primary); }
.subnav-link.active { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* Personen-Karten (Vorstand, Kursleiter). Name und Funktion stehen wie jede
   Bildunterschrift links, bündig mit der Fotokante (Designrichtlinie). */
.team-card { text-align: left; }
.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #eee;   /* wie die Karten: grenzt Fotos mit weißem Hintergrund ab */
  border-radius: var(--card-radius);
  margin-bottom: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.team-photo-empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-pale);
  color: var(--primary-light);
  font-size: 3rem;
}
.team-name { margin-bottom: 0.1rem; font-size: 1.1rem; color: var(--primary-dark); }
.team-role { margin: 0; font-size: 0.92rem; color: var(--primary); font-weight: 600; }   /* 5,92:1 statt 2,87:1 */

/* Kursleiter: Bio + aktuelle Kurse als Dropdown */
.team-bio {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.team-courses { margin-top: 0.85rem; }
.team-courses-toggle {
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-pale);
  border: 1px solid transparent;
  border-radius: var(--bs-border-radius);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.team-courses-toggle:hover,
.team-courses-toggle:focus,
.team-courses .dropdown.show .team-courses-toggle {
  background: var(--primary);   /* Weiß 5,92:1 statt 2,87:1 auf --accent */
  color: #fff;
}
.team-courses .dropdown-menu {
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  padding: 0.35rem;
  min-width: 13rem;
}
.team-courses .dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  white-space: normal;
}
.team-courses .dropdown-item:hover,
.team-courses .dropdown-item:focus {
  background: var(--primary-pale);
  color: var(--primary-dark);
}
.team-courses .course-title { font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); }
.team-courses .course-meta { font-size: 0.78rem; color: var(--muted); }

/* Sportstätten: Karten mit Bild (3:2) */
.facility-card {
  height: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.facility-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.facility-img-empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-pale);
  color: var(--primary-light);
  font-size: 3rem;
}
.facility-body { padding: 1.5rem 1.75rem; }
.facility-name { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--primary-dark); }
.facility-address {
  display: inline-block;
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0.65rem;
  text-decoration: none;
  transition: color .15s;
}
a.facility-address:hover { color: var(--primary-dark); }
a.facility-address:hover .bi { color: var(--primary); }
.facility-desc { color: var(--text); font-size: 0.95rem; margin-bottom: 0; }

/* ─────────────────────────────────────────────────────────────────
   Kurse (Übersicht / Reha / Detail)
   ───────────────────────────────────────────────────────────────── */
/* Wochenplan (_kursplan.php): Gruppen je Wochentag, Kurs = eine Zeile mit
   Uhrzeit als Anker links. Abstand zwischen Gruppen > Abstand der Zeilen. */
.kursplan-gruppe + .kursplan-gruppe { margin-top: 2.25rem; }
.kursplan-gruppe-titel {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--primary-light);
}
.kursplan-anzahl { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.kursplan-liste { list-style: none; margin: 0; padding: 0; }
.kursplan-liste li + li { border-top: 1px solid #eef0f2; }
.kursplan-kurs {
  position: relative;   /* Bezug für .stretched-link am Titel: ganze Zeile klickbar */
  display: flex;
  /* Grundlinie statt Mitte: Die Startzeit steht immer auf der Zeile des Kurstitels.
     Mit „center“ rutschte sie mobil je nach Umbruch rechts um bis zu 38 px nach unten
     (Messung Staging 21.11.2026). Chips und Pfeil bleiben mittig (align-self). */
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.85rem 0.75rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: background-color .15s;
}
.kursplan-kurs:hover { background: var(--bg-alt); }
.kursplan-zeit {
  flex: 0 0 6.5rem;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.kursplan-zeit-von { font-family: 'Nunito', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.kursplan-zeit-bis { font-size: 0.8rem; color: var(--muted); }
.kursplan-inhalt { flex: 1 1 auto; min-width: 0; }
.kursplan-titel { font-weight: 600; font-size: 1.02rem; }
.kursplan-titel a { color: var(--primary-dark); text-decoration: none; }
.kursplan-kurs:hover .kursplan-titel a { color: var(--primary); }
.kursplan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.kursplan-meta .bi { color: var(--primary-light); margin-right: 0.15rem; }
/* Ort/Kursleiter-Links liegen über dem Stretched-Link der Zeile */
.kursplan-meta a { position: relative; z-index: 2; }
/* Ort/Kursleiter-Links (Kursplan + Kursdetail) in Textfarbe, Unterstreichung erst beim Überfahren */
.kursplan-meta a, .kurs-meta a { color: inherit; text-decoration: none; }
.kursplan-meta a:hover, .kurs-meta a:hover { color: var(--primary-dark); text-decoration: underline; }
.kursplan-meta a:hover .bi { color: var(--primary); }
/* Sprungziele aus dem Kursplan: nicht unter dem Sticky-Header verstecken und
   die angesprungene Karte kurz umranden (Outline verschiebt kein Layout). */
.team-card[id], .facility-card[id] { scroll-margin-top: 8rem; }
.team-card:target, .facility-card:target {
  border-radius: var(--card-radius);
  outline: 3px solid var(--primary);
  outline-offset: 6px;
  animation: sprungziel-aus 1s ease-out 2.5s forwards;
}
@keyframes sprungziel-aus { to { outline-color: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .team-card:target, .facility-card:target { animation: none; }
}
.kursplan-kategorien { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; align-self: center; }
.kursplan-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-pale);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}
.kursplan-pfeil { color: var(--primary-light); transition: transform .15s, color .15s; align-self: center; }
.kursplan-kurs:hover .kursplan-pfeil { color: var(--primary); transform: translateX(3px); }
@media (max-width: 575.98px) {
  .kursplan-kurs { flex-wrap: wrap; gap: 0.3rem 0.9rem; padding: 0.8rem 0.25rem; }
  .kursplan-zeit { flex-basis: 4.5rem; }
  .kursplan-inhalt { flex-basis: calc(100% - 5.4rem - 1.5rem); }
  .kursplan-kategorien { order: 3; flex-basis: 100%; justify-content: flex-start; padding-left: 5.4rem; }
  .kursplan-pfeil { display: none; }
}

/* Kategorie-Filter (Dropdown) */
.kurs-filter { max-width: 280px; }
.kurs-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
}
/* Badge-Farben (Reha, Ferienprogramm, angepinnt) — statt Inline-Styles */
.badge-akzent { background: var(--primary); }   /* Weiß 5,92:1 (auf --accent nur 2,87:1, 21.11.2026) */
.badge-hell { background: var(--primary-pale); color: var(--primary-dark); }   /* 7,8:1 (Weiß auf --primary-light nur 2,41:1, 22.11.2026) */
.kurs-badge-fee { background: none; color: var(--muted); }
/* Ohne Rahmen und Fläche trägt das Symbol allein — etwa Textgröße statt Badge-Schrift */
.kurs-badge-fee .bi { font-size: 1.35em; }
/* Im Kursplan liegt der .stretched-link des Titels über der ganzen Zeile und
   verdeckt die Badges — ohne Anheben erscheint ihr title-Tooltip nie. */
.kursplan-titel .kurs-badge[title] { position: relative; z-index: 2; }

/* Detail: Meta-Liste */
.kurs-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.kurs-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0f0ee;
  font-size: 0.98rem;
}
.kurs-meta li:last-child { border-bottom: none; }
.kurs-meta .bi { color: var(--primary); font-size: 1.05rem; margin-top: 0.15rem; }
.kurs-desc { color: var(--text); line-height: 1.7; }

/* Hinweis-Box (Reha) */
.kurs-reha-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--primary-pale);
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  color: var(--text);
}
.kurs-reha-note > .bi { color: var(--primary-dark); font-size: 1.5rem; flex-shrink: 0; }
.kurs-reha-note a { color: var(--primary-dark); font-weight: 600; }
@media (max-width: 575.98px) {
  .kurs-reha-note { flex-wrap: wrap; }
  .kurs-reha-note .btn { margin-left: 0 !important; }
}

/* CTA Banner */
.cta-banner {
  background: var(--text);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(66,103,139,0.45) 0%, transparent 55%),
              radial-gradient(circle at 15% 80%, rgba(121,156,191,0.18) 0%, transparent 45%);
}
.cta-banner .section-label { color: var(--accent-light); }
.cta-banner .italic-accent { color: var(--primary-light); }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: #ccc;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 580px;
}
.cta-banner .btn-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: none;
  font-size: 1.05rem;
}
.cta-banner .btn-cta:hover { background: var(--primary-light); color: var(--primary-dark); }
.cta-secondary {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: none;
  margin-left: 1.5rem;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 2px;
}
.cta-secondary:hover { color: #fff; border-color: #fff; }
.cta-watermark {
  display: block;
  height: 640px;
  width: auto;
  opacity: 1;
  pointer-events: none;
  filter: none;
  margin-top: -120px;
  margin-bottom: -120px;
}

/* Footer */
/* Footer-Raster: Logo und Kontakt-Icons teilen sich eine Spalte, danach derselbe
   Abstand — so beginnen Schriftzug und Kontaktzeilen auf derselben Einzugslinie.
   Spaltenbreite = Logobreite bei 44 px Höhe (viewBox 328 × 560 → 25,8 px). */
footer {
  background: var(--bg-alt);
  color: #555;
  --footer-muted: #5F6673; /* Nebentexte: 5,3:1 auf --bg-alt (--muted: 4,8:1) */
  padding: 4rem 0 1.5rem;
  --footer-col: 26px;
  --footer-gap: 0.75rem;
}
footer .footer-brand {
  display: flex;
  align-items: center;
  gap: var(--footer-gap);
  margin-bottom: 1.25rem;
}
footer .footer-brand img {
  width: var(--footer-col);
  height: auto;
  flex-shrink: 0;
}
footer .footer-brand .brand-text .line-1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--primary-dark); /* wie Navbar-Schriftzug und Logo */
  font-size: 1rem;
  line-height: 1.15;
}
footer .footer-brand .brand-text .line-2 {
  font-size: 0.72rem;
  color: var(--footer-muted);
  font-weight: 600;
  letter-spacing: 0.02em; /* wie Navbar: „e.V. — Seit 2011“, keine Versalien */
}
/* Spaltenköpfe sind h2 (Folge nach dem h1 der Seite), sehen aus wie zuvor als h6. */
footer .footer-titel {
  letter-spacing: normal;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
footer a {
  color: #555;
  text-decoration: none;
  font-size: 0.93rem;
  display: block;
  padding: 0.3rem 0;
}
footer a:hover { color: var(--primary-dark); }
footer .contact-line {
  display: flex;
  align-items: baseline;
  gap: var(--footer-gap);
  font-size: 0.93rem;
  color: #555;
  margin-bottom: 0.5rem;
}
footer .contact-line i {
  flex: 0 0 var(--footer-col);
  text-align: center;
  color: var(--primary-dark);
}
/* Links in Kontaktzeilen bleiben inline — das Block-Layout gilt nur den Link-Spalten. */
footer .contact-line a { display: inline; padding: 0; font-size: inherit; }
/* Ganze Kontaktzeile als Link (Icon + Text klickbar): der Link übernimmt das
   Raster der Zeile, damit die Einzugslinie mit dem Schriftzug erhalten bleibt. */
footer .contact-line a.contact-link {
  display: flex;
  align-items: baseline;
  gap: var(--footer-gap);
}
footer .contact-line a.contact-link:hover i { color: var(--primary); }
footer .social-icons { display: flex; gap: 0.75rem; margin-top: 1rem; }
footer .social-icons a {
  width: 40px; height: 40px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 1px 0px 0px 1px;
  font-size: 1.05rem;
}
footer .social-icons a:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
footer hr { border-color: #ddd; margin: 2.5rem 0 1.25rem; }
footer .copyright {
  font-size: 0.85rem;
  color: var(--footer-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero .container { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  section.block { padding: 4rem 0; }
  main > section.block:first-child { padding-top: 3rem; }
  .photo-band { height: 280px; }
}

/* ─────────────────────────────────────────────────────────────────
   Galerie (Album-Übersicht / Detail / Lightbox)
   ───────────────────────────────────────────────────────────────── */
.gallery-album { display: block; text-decoration: none; color: inherit; }
.gallery-album-cover {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--primary-pale);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.gallery-album-cover img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gallery-album-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--primary-light);
  font-size: 2.5rem;
}
.gallery-album-count {
  position: absolute;
  bottom: 0.6rem; right: 0.6rem;
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.55rem;
  font-size: 0.78rem; font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
}
.gallery-album-title {
  display: block;
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.gallery-album-year { display: block; font-size: 0.88rem; color: var(--muted); }
.gallery-detail-year { color: var(--muted); font-weight: 600; font-size: 0.7em; margin-left: 0.4rem; }

/* Bild-Raster (gleichmäßige Quadrate) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.gallery-thumb {
  padding: 0; border: 0; background: none; cursor: pointer;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Lightbox-Overlay */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1080;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: flex-start;
}
.lightbox-img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
/* Bildunterschriften links ausgerichtet (Designrichtlinie), bündig mit der
   linken Bildkante. width 0 + min-width 100 %: die Unterschrift nimmt die Breite
   des Bildes an, verbreitert die Figur aber nicht — ein langer Text bricht um,
   statt das Bild aus der Mitte zu schieben. */
.lightbox-caption {
  margin-top: 0.75rem; color: #eee; font-size: 0.9rem; text-align: left;
  width: 0; min-width: 100%;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close { top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; font-size: 1.2rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; font-size: 1.4rem; line-height: 1; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 575.98px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.5rem; }
  .lightbox-prev, .lightbox-next { width: 2.4rem; height: 2.4rem; font-size: 1.15rem; }
}

/* Kontaktseite: Infospalte */
.kontakt-info { list-style: none; padding: 0; margin: 0; }
.kontakt-info li { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; color: var(--text); }
.kontakt-info .bi { color: var(--primary); font-size: 1.15rem; margin-top: 0.1rem; }
.kontakt-info a { color: var(--primary-dark); text-decoration: none; }
.kontakt-info a:hover { color: var(--primary); text-decoration: underline; }
/* Variante: Kontaktinfos horizontal (über dem Formular) */
.kontakt-info-row { display: flex; flex-wrap: wrap; gap: 0.25rem 2.25rem; }
.kontakt-info-row li { align-items: center; }
@media (max-width: 575.98px) { .kontakt-info-row { gap: 0.25rem 0; } }

/* Prosa-Container (Pflichtseiten: Impressum, Datenschutz …) */
.prose { color: var(--text); line-height: 1.7; }
.prose h2 { font-size: 1.3rem; color: var(--primary-dark); margin: 2rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--primary-dark); margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose a:hover { color: var(--primary-dark); }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

/* Beitragstabelle: /beitraege und Anlage der Satzung ({{beitragstabelle}}) */
.beitragstabelle { width: 100%; max-width: 560px; border-collapse: collapse; margin: 0 0 1.25rem; }
.beitragstabelle td { padding: 0.55rem 0; border-bottom: 1px solid var(--primary-pale); vertical-align: top; }
.beitragstabelle td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; font-variant-numeric: tabular-nums; }

/* Dokumente: nach Kategorie gruppierte Liste */
.doc-group { margin-bottom: 2.5rem; }
.doc-group-title {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--primary-light);
}
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { margin-bottom: 0.6rem; }
.doc-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--card-radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.doc-link:hover { border-color: var(--primary-light); background: var(--bg-alt); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05); }
.doc-icon { font-size: 1.6rem; color: var(--primary); flex-shrink: 0; }
.doc-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.doc-title { font-weight: 600; color: var(--primary-dark); }
.doc-desc { font-size: 0.88rem; color: var(--muted); }
.doc-action { color: var(--primary-light); flex-shrink: 0; }
.doc-link:hover .doc-action { color: var(--primary); }

/* Off-screen A4-Render für den Client-PDF-Export (Satzung etc.) */
.pdf-page {
  width: 210mm;
  padding: 18mm 16mm 32mm;
  box-sizing: border-box;
  background: #fff;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 11pt;
  line-height: 1.6;
}
/* Vereinsname und Titel bilden den Dokumentkopf: eng aneinander, deutlicher
   Abstand zum Inhalt darunter. */
.pdf-page .pdf-page-org { font-family: 'Nunito', sans-serif; font-size: 11pt; font-weight: 600; color: var(--accent); letter-spacing: .03em; margin: 0 0 .15rem; }
.pdf-page .pdf-page-title { font-family: 'Nunito', sans-serif; font-size: 22pt; font-weight: 800; color: var(--primary-dark); margin: 0 0 1.2rem; }
.pdf-page h2 { font-family: 'Nunito', sans-serif; font-size: 14pt; color: var(--primary-dark); margin: 1.3rem 0 0.4rem; }
.pdf-page h3 { font-size: 12pt; color: var(--primary-dark); margin: 1rem 0 0.3rem; }
.pdf-page p { margin: 0 0 0.6rem; }
.pdf-page ul, .pdf-page ol { margin: 0 0 0.6rem 1.2rem; }
.pdf-page li { margin-bottom: 0.25rem; }
.pdf-page a { color: var(--primary-dark); text-decoration: underline; }

/* Beitrittsformular: weitere Personen als eigene Karten */
.person-karte {
  background: var(--bg-alt);
  border: 1px solid var(--primary-pale);
  border-radius: var(--card-radius);
  padding: 1rem 1.25rem 1.25rem;
  margin-bottom: 1rem;
}
.person-karte-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.person-karte-kopf h3 { font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--primary-dark); }
.person-entfernen {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.person-entfernen:hover, .person-entfernen:focus-visible { color: var(--primary-dark); text-decoration: underline; }
