/* FF Rettenschöss – Globale Styles (1:1 wie Astro-Original) */

:root {
  --ff-red: #c8102e;
  --ff-red-dark: #8b0a1f;
  --ff-gold: #6c757d; /* now neutral grey */
  --ff-cream: #faf6ee;
  --ff-cream-dark: #f3ece0;
  --ff-dark: #1a1a1a;
  --ff-stone: #2a2a2a;
  --ff-text: #2a2a2a;
  --ff-muted: #666;
  --ff-light-muted: #888;
  --ff-border: #e2e2e2;
  --ff-success: #2d6a4f;
  --ff-radius: 8px;
  --ff-radius-lg: 12px;
  --ff-shadow: 0 2px 6px rgba(0,0,0,0.05);
  --ff-shadow-hover: 0 6px 16px rgba(0,0,0,0.1);
  --ff-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --ff-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-font);
  color: var(--ff-text);
  line-height: 1.7;
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--ff-red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ff-red-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
main { min-height: 50vh; }

/* === NOTFALL-BAR === */
.notfall-bar {
  background: var(--ff-red);
  color: white;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 3px solid var(--ff-gold);
  position: sticky;
  top: 0;
  z-index: 200;
}
.notfall-bar a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
  margin: 0 0.2rem;
}

/* === NAV (Header) === */
.site-header {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 5px solid var(--ff-red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 100%;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0;
  font-weight: 700;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-header .brand:hover { text-decoration: none; }
.site-header .logo-mark {
  width: 36px; height: 36px;
  background: var(--ff-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  border: 2px solid var(--ff-gold);
  color: white;
}
.site-header .brand-wappen {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}
/* Breites Header-Logo (z.B. logo-header.png) */
.site-header .brand-logo-header {
  height: 48px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

/* === Text-Glanz (deaktiviert — per User-Feedback) === */

/* Logo-FF-Fallback hat keinen Shine mehr (zu aufdringlich) */
.site-header .logo-mark {
  position: relative;
  overflow: hidden;
}
.brand-text { color: white; font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.2; }
.site-header h1.brand-text { font-size: 1.9rem; }
.brand-ff { color: var(--ff-red); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.75rem;
  align-self: center;
}
.nav-toggle span {
  display: block;
  width: 32px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.site-header .site-nav {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  position: static;
  background: transparent;
  padding: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  flex-direction: row;
  backdrop-filter: none;
}
.site-header .site-nav a {
  color: rgba(255,255,255,0.75);
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  border-radius: 5px;
}
.site-header .site-nav a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}
.site-header .site-nav a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-header .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.98);
    flex-direction: column;
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
  }
  body.nav-open .site-header .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
}

/* === ALT: site-nav auf der ganzen Breite (für Kompatibilität) === */
.site-nav.site-nav-bar {
  background: rgba(26,26,26,0.97);
  color: white;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 5px solid var(--ff-red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--ff-font);
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ff-red); color: white; }
.btn-primary:hover {
  background: var(--ff-red-dark);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 12px rgba(200,16,46,0.3);
}
.btn-ghost { background: transparent; color: var(--ff-red); border-color: var(--ff-red); }
.btn-ghost:hover {
  background: var(--ff-red);
  color: white;
  text-decoration: none;
}
.btn-gold { background: var(--ff-gold); color: white; }
.btn-gold:hover { background: #5a6268; text-decoration: none; color: white; }

/* === TYPOGRAFIE === */
h1, h2, h3, h4 {
  color: var(--ff-dark);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 0.6rem;
  font-family: var(--ff-font-display);
  font-weight: 800;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
.lead-text {
  font-size: 1.05rem;
  color: var(--ff-muted);
  max-width: 700px;
  margin-bottom: 1.5rem;
}

/* === SECTIONS === */
section { padding: 4.5rem 0; }
section.section { padding: 4rem 0; }
section.section-cream { background: var(--ff-cream); }

/* Stylische Listen in Section-Inhalten (Impressum, Datenschutz, Kontakt)
   WICHTIG: Nur generische ul/ol — KEINE Listen mit eigenen Klassen (aufgaben-liste, fahrzeug-daten, etc.) */
section.section > ul:not([class]),
section.section > ol:not([class]),
section.section ul:not([class]):not(.aufgaben-liste):not(.fahrzeug-daten):not(.social-links):not(.jugend-checkliste),
section.section ol:not([class]) {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}
section.section ul:not([class]):not(.aufgaben-liste):not(.fahrzeug-daten):not(.social-links):not(.jugend-checkliste) li,
section.section ol:not([class]) li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    border-bottom: 1px dashed #e8e8e8;
}
section.section ul:not([class]):not(.aufgaben-liste):not(.fahrzeug-daten):not(.social-links):not(.jugend-checkliste) li:last-child,
section.section ol:not([class]) li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
section.section ul:not([class]):not(.aufgaben-liste):not(.fahrzeug-daten):not(.social-links):not(.jugend-checkliste) li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 0.75rem;
    height: 2px;
    background: linear-gradient(90deg, var(--ff-red, #c8102e), var(--ff-gold, #6c757d));
    border-radius: 2px;
}
section.section ol:not([class]) {
    counter-reset: section-counter;
}
section.section ol:not([class]) li {
    counter-increment: section-counter;
    padding-left: 2.25rem;
}
section.section ol:not([class]) li::before {
    content: counter(section-counter);
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--ff-red, #c8102e);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* h3 in Sections (Impressum/Datenschutz) */
section.section h3 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    color: var(--ff-red-dark, #8b0a1f);
    font-weight: 700;
}
section.section h3:first-of-type {
    margin-top: 0;
}

/* Tabellen in Sections (Datenschutz) — gestreift, ohne harte Linien */
section.section table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 1rem 0 1.5rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
section.section table th,
section.section table td {
    padding: 0.7rem 0.9rem;
    text-align: left;
    background: white;
}
section.section table th {
    background: #fafafa;
    color: var(--ff-red-dark, #8b0a1f);
    font-weight: 600;
    font-size: 0.9rem;
}
section.section table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--ff-red);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--ff-dark);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-actions {
  margin-top: 2.5rem;
  text-align: left;
}

/* === HERO (mit Bild) === */
.hero {
  color: white;
  padding: 13rem 1.5rem 9rem;
  text-align: center;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-image {
  background-color: var(--ff-red);
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1,
.hero h2 {
  color: white;
  font-size: 3.6rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.hero h1 span,
.hero h2 span { color: #d4a017; font-weight: 800; }
.hero .lead, .hero p.lead {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.97;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  line-height: 1.6;
}
.hero-actions, .hero-cta {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn-ghost,
.hero-cta .btn-ghost {
  color: white;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}
.hero-actions .btn-ghost:hover,
.hero-cta .btn-ghost:hover {
  background: white;
  color: var(--ff-red);
  border-color: white;
}

/* === EINSATZ-GRID (2 Spalten: Einsätze + Termine Sidebar) === */
.einsatz-section { padding: 5rem 0 3rem; }
.einsatz-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.einsatz-main { min-width: 0; }
.einsatz-sidebar { min-width: 0; }

.einsatz-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.einsatz-card {
  background: white;
  border-radius: var(--ff-radius-lg);
  overflow: hidden;
  box-shadow: var(--ff-shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--ff-border);
}
.einsatz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ff-shadow-hover);
  text-decoration: none;
  color: inherit;
}
.einsatz-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e8e8e8;
}
.einsatz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.einsatz-card:hover .einsatz-thumb img { transform: scale(1.05); }
.einsatz-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.einsatz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--ff-muted);
}
.einsatz-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.3; }
.einsatz-body p { color: var(--ff-muted); font-size: 0.9rem; flex: 1; }
.einsatz-more {
  margin-top: 0.8rem;
  color: var(--ff-red);
  font-weight: 600;
  font-size: 0.9rem;
}

/* === SIDEBAR (Termine) === */
.sidebar-card {
  background: white;
  border-radius: var(--ff-radius-lg);
  padding: 1.8rem;
  box-shadow: var(--ff-shadow-md);
  border: 1px solid var(--ff-border);
  border-top: 4px solid var(--ff-gold);
}
.sidebar-title { font-size: 1.5rem; margin-bottom: 0.4rem; }
.sidebar-card .lead-text { font-size: 0.95rem; margin-bottom: 1rem; }

.termin-list { display: flex; flex-direction: column; gap: 0.8rem; }
.termin-row {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: var(--ff-radius);
  background: var(--ff-cream);
  border-left: 3px solid var(--ff-red);
  align-items: center;
}
.termin-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  min-width: 56px;
  border: 1px solid var(--ff-border);
}
.termin-day {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ff-red);
  line-height: 1;
}
.termin-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--ff-muted);
  font-weight: 600;
  margin-top: 0.15rem;
}
.termin-year {
  font-size: 0.65rem;
  color: var(--ff-light-muted);
  margin-top: 0.1rem;
}
.termin-info { flex: 1; min-width: 0; }
.termin-time {
  font-size: 0.85rem;
  color: var(--ff-red);
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.termin-info h4 { font-size: 0.95rem; margin-bottom: 0.15rem; line-height: 1.3; }
.termin-location { font-size: 0.8rem; color: var(--ff-muted); }

/* === BEITRÄGE GRID (Startseite) === */
.beitraege-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.beitrag-card {
  background: white;
  border-radius: var(--ff-radius-lg);
  overflow: hidden;
  box-shadow: var(--ff-shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid var(--ff-border);
  border-top: 4px solid var(--ff-border);
}
.beitrag-card.beitrag-kat-einsatz { border-top-color: #c8102e; }
.beitrag-card.beitrag-kat-einsatz:hover { box-shadow: 0 6px 20px rgba(200,16,46,0.15); }

.beitrag-card.beitrag-kat-bericht { border-top-color: #6c757d; }
.beitrag-card.beitrag-kat-bericht:hover { box-shadow: 0 6px 20px rgba(212,160,23,0.2); }

.beitrag-card.beitrag-kat-news { border-top-color: #2a2a2a; }
.beitrag-card.beitrag-kat-news:hover { box-shadow: 0 6px 20px rgba(42,42,42,0.15); }

.beitrag-card.beitrag-kat-jugend { border-top-color: #2d6a4f; }
.beitrag-card.beitrag-kat-jugend:hover { box-shadow: 0 6px 20px rgba(45,106,79,0.18); }

.beitrag-row[data-kategorie="Einsatz"] { border-left: 4px solid #c8102e; }
.beitrag-row[data-kategorie="Bericht"] { border-left: 4px solid #6c757d; }
.beitrag-row[data-kategorie="News"]    { border-left: 4px solid #2a2a2a; }
.beitrag-row[data-kategorie="Jugend"]  { border-left: 4px solid #2d6a4f; }
  color: inherit;
}
.beitrag-thumb-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e8e8e8;
}
.beitrag-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.beitrag-card:hover .beitrag-thumb-wrap img { transform: scale(1.05); }
.beitrag-card-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--ff-red), var(--ff-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.beitrag-card-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.beitrag-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--ff-muted);
}
.beitrag-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; line-height: 1.3; }
.beitrag-card-body p { color: var(--ff-muted); font-size: 0.92rem; flex: 1; }
.beitrag-more {
  margin-top: 0.8rem;
  color: var(--ff-red);
  font-weight: 600;
  font-size: 0.9rem;
}

/* === MITMACHEN === */
.leitbild-quote {
  text-align: center;
  font-size: 1.6rem;
  color: var(--ff-dark);
  padding: 2rem 1rem;
  margin: 0;
  border: none;
  background: transparent;
}
.leitbild-quote p {
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.leitbild-quote p strong {
  color: var(--ff-red);
  font-style: normal;
}
.leitbild-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ff-muted);
  font-weight: 400;
  margin-top: 0.5rem;
}

.ausbildung-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.ausbildung-step {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.3rem;
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow);
  border-left: 4px solid var(--ff-red);
  align-items: flex-start;
}
.ausbildung-step .step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ff-red);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}
.ausbildung-step .step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.ausbildung-step .step-content p {
  font-size: 0.92rem;
  color: var(--ff-muted);
  line-height: 1.5;
}

.jugend-section .jugend-checkliste {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.6rem;
}
.jugend-section .jugend-checkliste li {
  padding: 0.8rem 1rem;
  background: var(--ff-cream);
  border-radius: var(--ff-radius);
  border-left: 3px solid var(--ff-red);
  font-size: 0.95rem;
}
.jugend-section .jugend-checkliste li strong {
  color: var(--ff-red);
  font-weight: 800;
}
.jugend-call {
  font-size: 1.15rem;
  color: var(--ff-dark);
  margin: 1.5rem 0;
  text-align: center;
  padding: 1rem;
  background: var(--ff-cream);
  border-radius: var(--ff-radius);
  border: 2px dashed var(--ff-red);
}

.mitmachen-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.mitmachen-cta {
  background: white;
  padding: 1.8rem;
  border-radius: var(--ff-radius-lg);
  box-shadow: var(--ff-shadow);
  text-align: center;
  border-top: 4px solid var(--ff-red);
}
.mitmachen-cta:nth-child(2) { border-top-color: var(--ff-gold); }
.mitmachen-cta h3 { margin-bottom: 0.5rem; padding-left: 0; }
.mitmachen-cta h3::before { content: none; }
.mitmachen-cta p { color: var(--ff-muted); margin-bottom: 1rem; }

@media (max-width: 640px) {
  .leitbild-quote { font-size: 1.3rem; }
  .mitmachen-cta-grid { grid-template-columns: 1fr; }
}

/* === AUSRÜSTUNG (Feuerwehrhaus, Geräte) === */
.feuerwehrhaus-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.feuerwehrhaus-info .info-box { margin: 0; }
.feuerwehrhaus-info .info-box ul {
  margin-top: 0.5rem;
  padding-left: 0;
  list-style: none;
  color: var(--ff-muted);
}
.feuerwehrhaus-info .info-box ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin-bottom: 0.3rem;
  line-height: 1.5;
  border-bottom: 1px dashed #e8e8e8;
}
.feuerwehrhaus-info .info-box ul li:last-child {
  border-bottom: none;
}
.feuerwehrhaus-info .info-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ff-red, #c8102e), var(--ff-gold, #6c757d));
  border-radius: 2px;
}

.ausruestung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.ausruestung-item {
  background: white;
  border-radius: var(--ff-radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--ff-shadow);
  border-left: 3px solid var(--ff-red);
}
.ausruestung-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--ff-dark);
}
.ausruestung-item p {
  font-size: 0.9rem;
  color: var(--ff-muted);
  line-height: 1.6;
}
.ausruestung-item ul {
  margin-top: 0.5rem;
  padding-left: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ff-muted);
}
.ausruestung-item ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin-bottom: 0.3rem;
  line-height: 1.5;
  border-bottom: 1px dashed #e8e8e8;
}
.ausruestung-item ul li:last-child {
  border-bottom: none;
}
.ausruestung-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ff-red, #c8102e), var(--ff-gold, #6c757d));
  border-radius: 2px;
}

@media (max-width: 640px) {
  .feuerwehrhaus-info { grid-template-columns: 1fr; }
}

/* === KATEGORIE-BADGE === */
.kategorie-badge {
  display: inline-block;
  background-color: var(--ff-red);
  background-image: none;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.4;
}
span.kategorie-badge.kategorie-einsatz {
  background-color: #c8102e;
  background-image: none;
  color: white;
}
.kategorie-bericht {
  background-color: #6c757d;
  background-image: none;
  color: #ffffff;
}
span.kategorie-badge.kategorie-news {
  background-color: #2a2a2a;
  background-image: none;
  color: white;
}
span.kategorie-badge.kategorie-jugend {
  background-color: #2d6a4f;
  background-image: none;
  color: white;
}

/* === FILTER-PILLS (Kategorie-Filter) === */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 2px solid var(--ff-border);
  color: var(--ff-text);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--ff-font);
  transition: all 0.2s;
  line-height: 1.2;
}
.filter-pill:hover {
  border-color: var(--ff-red);
  color: var(--ff-red);
}
.filter-pill.active {
  background: var(--ff-red);
  color: white;
  border-color: var(--ff-red);
}
.filter-pill .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  background: rgba(0,0,0,0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.filter-pill.active .count {
  background: rgba(255,255,255,0.25);
}
/* Farbige Pill-Varianten (auch inaktiv) */
.filter-pill.filter-pill-einsatz { border-color: #c8102e; color: #c8102e; }
.filter-pill.filter-pill-einsatz:hover { background: #c8102e; color: white; }
.filter-pill.filter-pill-einsatz.active { background: #c8102e; border-color: #c8102e; color: white; }

.filter-pill.filter-pill-bericht { border-color: #6c757d; color: #6c757d; }
.filter-pill.filter-pill-bericht:hover { background: #6c757d; color: var(--ff-dark); }
.filter-pill.filter-pill-bericht.active { background: #6c757d; border-color: #6c757d; color: var(--ff-dark); }

.filter-pill.filter-pill-news { border-color: #2a2a2a; color: #2a2a2a; }
.filter-pill.filter-pill-news:hover { background: #2a2a2a; color: white; }
.filter-pill.filter-pill-news.active { background: #2a2a2a; border-color: #2a2a2a; color: white; }

.filter-pill.filter-pill-jugend { border-color: #2d6a4f; color: #2d6a4f; }
.filter-pill.filter-pill-jugend:hover { background: #2d6a4f; color: white; }
.filter-pill.filter-pill-jugend.active { background: #2d6a4f; border-color: #2d6a4f; color: white; }

/* === STATS SECTION === */
.stats-section {
  background: white;
  text-align: left;
}
.stats-section .section-title {
  font-size: 2.3rem;
  max-width: 800px;
}
.stats-section .lead-text {
  max-width: 800px;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.stats-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* === FÖRDERER === */
.foerderer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2rem 0 1.5rem;
}
.foerderer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: white;
  padding: 1.5rem 1rem;
  border-radius: var(--ff-radius-lg);
  box-shadow: var(--ff-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--ff-border);
  min-height: 140px;
}
.foerderer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ff-shadow-hover);
  text-decoration: none;
  color: inherit;
}
.foerderer-card img {
  max-width: 80%;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 0.6rem;
}
.foerderer-name { font-weight: 600; color: var(--ff-dark); font-size: 0.9rem; }
.foerderer-cta {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--ff-muted);
  font-size: 0.95rem;
}

/* === BEITRÄGE (Liste) === */
.beitraege-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.beitrag-row {
  display: flex;
  gap: 1.5rem;
  background: white;
  border-radius: var(--ff-radius);
  overflow: hidden;
  box-shadow: var(--ff-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  border: 1px solid var(--ff-border);
}
.beitrag-row:hover { transform: translateX(4px); text-decoration: none; color: inherit; }
.beitrag-thumb {
  width: 200px;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  align-self: stretch;
  display: block;
  background: #2a2a2a; /* Fallback BG falls Bild fehlt */
}
.beitrag-row-body { padding: 1rem 1.5rem; flex: 1; }
.beitrag-row-body h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.beitrag-row-body time { color: var(--ff-muted); font-size: 0.85rem; }
.beitrag-row-body p { margin-top: 0.5rem; color: var(--ff-muted); font-size: 0.9rem; }

@media (max-width: 600px) {
  .beitrag-row { flex-direction: column; }
  .beitrag-thumb { width: 100%; height: 180px; }
}

/* Mobile-Optimierungen für Beiträge-Liste, Impressum, Kontakt */
@media (max-width: 768px) {
  /* Filter-Bar wrappen */
  .filter-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .filter-bar input,
  .filter-bar select { font-size: 0.9rem; }

  /* Beitrag-Header-Grid stacken */
  .beitrag-detail-header { flex-direction: column; }
  .beitrag-detail .galerie-grid { gap: 6px; }

  /* Hero-Texte kleiner */
  .hero h1, .page-header h1 { font-size: 1.7rem !important; }

  /* Section-Padding reduzieren */
  section.section { padding: 2.5rem 0; }

  /* Footer kompakter */
  .site-footer .container { padding: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Tables responsive */
  .data-table { font-size: 0.85rem; }
  .data-table th, .data-table td { padding: 0.5rem 0.4rem; }
}

@media (max-width: 480px) {
  /* Beiträge-Liste: Bild + Text stacken */
  .beitrag-row .beitrag-thumb { height: 160px; }
  .beitrag-row .beitrag-info h3 { font-size: 1.1rem; }
  .beitrag-row .beitrag-actions { flex-direction: column; gap: 0.3rem; }
  .beitrag-row .beitrag-actions a,
  .beitrag-row .beitrag-actions button { width: 100%; }

  /* Beiträge-Grid: 1 Spalte */
  .beitraege-grid { grid-template-columns: 1fr; }

  /* Hero-Buttons stacken */
  .hero-actions { flex-direction: column; }
  .hero-actions a, .hero-actions button { width: 100%; }

  /* Brand-Text noch kleiner + Logo schmaler damit nichts überlappt */
  .site-header h1.brand-text { font-size: 0.95rem; line-height: 1; }
  .site-header .brand-wappen { width: 36px; height: 36px; }
  .site-header .brand-logo-header { height: 38px; max-width: 160px; }
  .nav-toggle { padding: 0.75rem; }
}

/* === BEITRAG DETAIL === */
.beitrag-detail { padding: 2rem 0 4rem; }
.beitrag-detail .container { max-width: 1100px; }
.back-link {
  display: inline-block;
  color: var(--ff-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-decoration: none;
}
.back-link:hover { color: var(--ff-red); text-decoration: none; }
.beitrag-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--ff-muted);
}
.beitrag-detail h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.beitrag-hero {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin-bottom: 2rem;
  border-radius: 8px;
  background: #f0f0f0;
}
.beitrag-kurztext {
  font-size: 1.15rem;
  color: var(--ff-muted);
  font-style: italic;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--ff-gold);
}
.beitrag-content { font-size: 1.05rem; line-height: 1.8; max-width: 760px; }
.beitrag-content h2 { margin-top: 2rem; }
.beitrag-content h3 { margin-top: 1.5rem; }
.beitrag-content p { margin-bottom: 1rem; }
.beitrag-content img { margin: 1.5rem 0; border-radius: 6px; }
.beitrag-content ul, .beitrag-content ol { margin: 1rem 0 1rem 1.5rem; }
.beitrag-content li { margin-bottom: 0.4rem; }
.beitrag-content strong { color: var(--ff-dark); }
.beitrag-content blockquote {
  border-left: 3px solid var(--ff-red);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--ff-muted);
  font-style: italic;
}
.beitrag-content code {
  background: #f4f4f4;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.9em;
}
.beitrag-content pre {
  background: #2a2a2a;
  color: #f0f0f0;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.beitrag-content pre code { background: transparent; color: inherit; padding: 0; }
.beitrag-autor {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ff-border);
  color: var(--ff-muted);
  font-style: italic;
}

/* === GALERIE === */
.galerie, .galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}
@media (max-width: 1024px) {
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .galerie-grid { grid-template-columns: 1fr; }
}
.galerie a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.galerie img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.2s;
}
.galerie a:hover img {
  transform: scale(1.05);
}

/* === TERMINE (Seite) === */
.termine-grid, .termine-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.termin-card {
  display: flex;
  gap: 1rem;
  background: white;
  border-radius: var(--ff-radius);
  padding: 1.2rem;
  box-shadow: var(--ff-shadow);
  border-left: 4px solid var(--ff-red);
  align-items: center;
}
.termin-datum {
  text-align: center;
  background: var(--ff-cream);
  border-radius: 6px;
  padding: 0.8rem;
  min-width: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.termin-datum strong {
  display: block;
  font-size: 2rem;
  color: var(--ff-red);
  line-height: 1;
}
.termin-datum span {
  display: block;
  font-size: 0.8rem;
  color: var(--ff-muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.termin-body { flex: 1; }
.termin-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.termin-ort, .termin-zeit, .termin-beschreibung {
  color: var(--ff-muted);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

/* === FAHRZEUGE === */
.fahrzeuge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.fahrzeug-card {
  background: white;
  border-radius: var(--ff-radius);
  overflow: hidden;
  box-shadow: var(--ff-shadow);
  border-top: 3px solid var(--ff-red);
}
.fahrzeug-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e0e0e0;
}
.fahrzeug-body { padding: 1.2rem; }
.fahrzeug-body h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.fahrzeug-daten { list-style: none; }
.fahrzeug-daten li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}
.fahrzeug-daten li:last-child { border-bottom: none; }

/* === KONTAKT === */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.kontakt-grid h2 { margin-top: 1rem; }
.kontakt-grid h2:first-child { margin-top: 0; }
.kontakt-grid h3 { font-size: 0.95rem; color: var(--ff-muted); margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.kontakt-grid p { margin: 0.5rem 0; }
.notruf {
  background: var(--ff-red);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  display: inline-block;
}
.notruf strong { font-size: 1.5rem; margin-left: 0.3rem; }
.social-links { list-style: none; padding: 0; }
.social-links li { margin: 0.4rem 0; }
.social-links a { display: inline-block; padding: 0.4rem 0.8rem; background: var(--ff-cream); border-radius: 4px; }

/* === INFO-BOX === */
.info-box {
  background: white;
  border-left: 4px solid var(--ff-gold);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}
.info-box p + p { margin-top: 0.6rem; }
.info-box strong { color: var(--ff-dark); }

/* === PAGE HEADER === */
.page-header {
  background: var(--ff-cream);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--ff-border);
  text-align: center;
}
.page-header-tagline {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  background: white;
  border-left: 4px solid var(--ff-red);
  border-radius: 0 6px 6px 0;
  font-size: 1.1rem;
  color: #2a2a2a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.page-header h1,
.page-header h2 { color: var(--ff-dark); font-size: 2.2rem; margin: 0 0 0.5rem; }
.page-header p { color: var(--ff-muted); max-width: 600px; margin: 0 auto; }

/* === FOOTER === */
.site-footer {
  background: var(--ff-dark);
  color: #aaa;
  padding: 4rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  margin-top: 0;
  font-family: var(--ff-font);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0;
  border-top: 1px solid #2a2a2a;
  margin-top: 1.5rem;
}
.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #2a2a2a;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.footer-social .social-link:hover {
  background: #c8102e;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand h3 {
  color: #d4a017;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-wappen {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.8rem;
  display: block;
}
.footer-logo-header {
  height: 64px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
  display: block;
}
}
.footer-brand p { color: #aaa; font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.3rem; }
.footer-brand a { color: #ccc; }
.footer-brand a:hover { color: white; }
.site-footer h4 {
  color: #d4a017;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a { color: #ccc; transition: color 0.2s; }
.site-footer a:hover { color: white; }
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.6;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .einsatz-grid { grid-template-columns: 1fr; gap: 2rem; }
  .einsatz-cards { grid-template-columns: 1fr; }
  .beitraege-grid { grid-template-columns: 1fr 1fr; }
  .foerderer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  /* Burger rechts neben Logo, Nav-Links darunter (gestapelt) */
  .nav-container { flex-wrap: wrap; align-items: center; padding: 0 1rem; }
  .site-header .brand { flex: 1; min-width: 0; }
  .site-header h1.brand-text { font-size: 1.2rem; }
  .site-header .brand-text { line-height: 1.1; }
  .nav-toggle { order: 2; padding: 1rem; flex-shrink: 0; }
  .site-header .site-nav {
    order: 3;
    flex-basis: 100%;
    padding: 0.5rem 0;
    justify-content: center;
    gap: 0.5rem;
  }
  .site-header .site-nav a { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 5rem 1rem 4rem; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 1.05rem; }
  section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .container { padding: 0 1rem; }
  .beitraege-grid { grid-template-columns: 1fr; }
  .beitrag-detail h1 { font-size: 1.8rem; }
  .termin-card { flex-direction: column; text-align: center; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .stats-actions { flex-direction: column; align-items: stretch; }
  .stats-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* === UTILITIES === */
.empty { color: var(--ff-muted); padding: 2rem; text-align: center; font-style: italic; background: var(--ff-cream); border-radius: var(--ff-radius); }
.notfall-bar + .site-header { position: sticky; top: 41px; }

/* === Galerie im Beitrag === */
.beitrag-galerie {
    margin-top: 3rem;
    padding: 2rem 0 3rem;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.beitrag-galerie h2 {
    margin-bottom: 1.5rem;
    color: #c0392b;
}
.beitrag-galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}
@media (max-width: 600px) {
    .beitrag-galerie-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .beitrag-galerie { padding: 1.5rem 0 2rem; }
}
.galerie-thumb-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #f4f6f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: zoom-in;
}
.galerie-thumb-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.galerie-thumb {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
}
.lightbox.open {
    display: flex;
}
.lightbox-img {
    /* Bild auf Viewport beschränken (nicht größer als Bildschirm) */
    max-width: calc(100vw - 80px);   /* abzüglich padding links+rechts */
    max-height: calc(100vh - 120px);  /* abzüglich padding oben+unten */
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    border-radius: 4px;
    flex-shrink: 1;
}
.lightbox-content {
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-close {
    top: 16px;
    right: 16px;
    font-size: 2rem;
}
.lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.5);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
    .beitrag-detail .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
}

/* === Share-Buttons === */
.beitrag-share {
    margin: 2rem 0 1rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: var(--ff-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    border: 1px solid var(--ff-border);
}
.share-label {
    font-weight: 600;
    color: var(--ff-dark);
    font-size: 0.95rem;
    margin-right: 0.5rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s, opacity 0.15s, background 0.15s;
    background: white;
    color: var(--ff-dark);
}
.share-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}
.share-btn svg {
    flex-shrink: 0;
}
.share-fb {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}
.share-fb:hover {
    background: #166fe5;
    color: white;
}
.share-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}
.share-ig:hover {
    color: white;
    opacity: 0.9;
}
.share-native {
    background: white;
    color: var(--ff-dark);
    border-color: var(--ff-border);
}
.share-native:hover {
    background: #f0f0f0;
}
.share-hint {
    font-size: 0.8rem;
    color: #2d6a4f;
    font-style: italic;
    margin-left: auto;
}
.share-copy {
    background: white;
    color: var(--ff-dark);
    border-color: var(--ff-border);
}
.share-copy:hover {
    background: #f0f0f0;
}
.share-copy.copied {
    background: #2d6a4f;
    color: white;
    border-color: #2d6a4f;
}
@media (max-width: 500px) {
    .beitrag-share {
        flex-direction: column;
        align-items: stretch;
    }
    .share-btn {
        justify-content: center;
    }
}

.einsatz-cards .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 2rem;
    font-style: italic;
}

/* === Geschichte / Chronik === */
.geschichte-einleitung {
    max-width: 800px;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #c0392b;
}
.geschichte-einleitung p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
}
.geschichte-einleitung h3 {
    margin-top: 1.5rem;
    color: #c0392b;
}
.geschichte-einleitung blockquote {
    font-style: italic;
    color: #555;
    border-left: 3px solid #ddd;
    padding-left: 1rem;
    margin: 1rem 0;
}
.geschichte-einleitung .chronist {
    text-align: right;
    color: #c0392b;
    font-weight: 600;
}
.geschichte-danke {
    text-align: center;
    color: #888;
    font-style: italic;
    margin-top: 3rem;
}
.chronik-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.chronik-block > summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #c0392b, #8b1a1a);
    color: white;
    transition: background 0.2s;
}
.chronik-block > summary:hover {
    background: linear-gradient(135deg, #a93226, #6e1414);
}
.chronik-block > summary::-webkit-details-marker {
    display: none;
}
.chronik-block > summary::before {
    content: "▶";
    display: inline-block;
    margin-right: 0.75rem;
    transition: transform 0.2s;
    color: rgba(255,255,255,0.7);
}
.chronik-block[open] > summary::before {
    transform: rotate(90deg);
}
.chronik-title {
    display: inline-block;
    margin: 0;
    color: white;
    font-size: 1.4rem;
}
.chronik-eintraege {
    padding: 1.5rem;
}
.chronik-eintrag {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
    transition: border-color 0.2s, background 0.2s;
}
.chronik-eintrag:hover {
    border-left-color: #c0392b;
    background: #fafafa;
}
.chronik-eintrag:last-child {
    border-bottom: none;
}
.chronik-eintrag h4 {
    margin: 0 0 0.5rem;
    color: #c0392b;
    font-size: 1rem;
    font-weight: 600;
}
.chronik-eintrag p {
    margin: 0 0 0.5rem;
    line-height: 1.6;
    color: #333;
}
.chronik-eintrag p:last-child {
    margin-bottom: 0;
}
.chronik-eintrag ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}
.chronik-eintrag li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}
.chronik-eintrag blockquote {
    font-style: italic;
    color: #555;
    border-left: 3px solid #ddd;
    padding-left: 1rem;
    margin: 0.5rem 0;
}
/* chronik-eintrag-gruendung removed — no gold highlights */

.chronik-einleitung-im-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #888;
    margin-bottom: 1rem;
}
.chronik-einleitung-im-block p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
}
.chronik-einleitung-im-block p:last-child {
    margin-bottom: 0;
}

/* === Über uns / Geschichte Redesign === */
.ueber-hero {
    background: linear-gradient(135deg, #c0392b 0%, #8b1a1a 100%);
    color: white;
    padding: 5rem 0 4rem;
    margin-bottom: 2rem;
    text-align: center;
}
.ueber-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.ueber-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}
.ueber-hero h1,
.ueber-hero h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.ueber-hero-lead {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Eckdaten-Grid */
.eckdaten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.eckdaten-item {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.eckdaten-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.eckdaten-zahl {
    font-size: 2.5rem;
    font-weight: 800;
    color: #c0392b;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.eckdaten-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Chronist-Box */
.chronist-box {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left: 5px solid #6c757d;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.1);
}
.chronist-icon {
    font-size: 4rem;
    line-height: 1;
    flex-shrink: 0;
}
.chronist-content h2 {
    margin-top: 0;
    color: #8b6f00;
}
.chronist-content p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

/* Quellen-Grid */
.quellen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.quellen-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    border-left: 3px solid #c0392b;
    transition: background 0.2s, transform 0.2s;
}
.quellen-item:hover {
    background: #fff;
    transform: translateX(4px);
}
.quellen-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.quellen-text {
    font-size: 0.95rem;
    color: #333;
}

/* Verfasser-Box */
.verfasser-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 2.5rem;
    border-top: 4px solid #c0392b;
}
.verfasser-box h2 {
    margin-top: 0;
}
.verfasser-box blockquote {
    border-left: 4px solid #c0392b;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #444;
}
.verfasser-box blockquote p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
}
.schriftfuehrer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.schriftfuehrer-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}
.schriftfuehrer-name {
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 0.25rem;
}
.schriftfuehrer-zeit {
    color: #666;
    font-size: 0.9rem;
}
.chronist-signature {
    text-align: right;
    color: #c0392b;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Aktuell-Grid */
.aktuell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.aktuell-block {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.aktuell-block h2 {
    margin-top: 0;
    color: #c0392b;
    font-size: 1.4rem;
}
.aufgaben-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aufgaben-liste li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: static;
    padding-left: 0;
}
.aufgaben-liste li::before {
    content: none !important;
}
.aufgaben-liste li:last-child {
    border-bottom: none;
}
.aufgabe-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

/* chronik-hinweis removed */

@media (max-width: 700px) {
    .ueber-hero h1,
    .ueber-hero h2 { font-size: 1.8rem; }
    .ueber-hero-lead { font-size: 1rem; }
    .chronist-box { flex-direction: column; padding: 1.5rem; }
    .chronist-icon { font-size: 3rem; }
    .verfasser-box { padding: 1.5rem; }
}

@media (max-width: 700px) {
  .site-header .brand {
    flex: 1;
    min-width: 0;
  }
  .brand-text {
    font-size: 1.3rem;
    line-height: 1.1;
  }
  .brand-ff { margin-right: 0.15em; }
  .nav-container { gap: 0.5rem; }
}

.termin-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    background: var(--ff-red);
    color: white;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
    vertical-align: middle;
    letter-spacing: 0.5px;
}
.termin-pdf:hover {
    background: var(--ff-red-dark, #8b0a1f);
    color: white;
    transform: translateY(-1px);
}
.pdf-arrow {
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
}

/* === MOBILE: mehr Abstand zum Bildschirmrand === */
@media (max-width: 768px) {
    .container { padding: 0 2rem; }
    section.section { padding-left: 1.5rem; padding-right: 1.5rem; }
    .page-header { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    section.section { padding-left: 1rem; padding-right: 1rem; }
    .page-header { padding: 2.5rem 1.5rem 1.5rem; }
}

/* === AUSSCHUSS === */
.ausschuss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.ausschuss-card {
    background: white;
    border-radius: var(--ff-radius);
    overflow: hidden;
    box-shadow: var(--ff-shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ausschuss-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.ausschuss-portrait {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.ausschuss-portrait-placeholder {
    width: 100%;
    height: 260px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #aaa;
}
.ausschuss-body {
    padding: 1.2rem 1rem;
}
.ausschuss-name {
    font-size: 1.15rem;
    margin: 0 0 0.3rem;
    color: var(--ff-dark);
}
.ausschuss-funktion {
    color: #c8102e;
    font-weight: 500;
    margin: 0;
    font-size: 0.95rem;
}
@media (max-width: 600px) {
    .ausschuss-grid { grid-template-columns: 1fr; }
    .ausschuss-portrait, .ausschuss-portrait-placeholder { height: 220px; }
}
