/* ==========================================================================
   Freiwillige Feuerwehr Weiskirchen e.V. — Stylesheet
   Mobile-First, ein einziges Stylesheet, keine externen Abhängigkeiten.
   ========================================================================== */

/* ---------- Design-Tokens ------------------------------------------------ */
:root {
  --c-red: #c8102e;
  --c-red-dark: #9a0c24;
  --c-red-soft: #fbeaed;
  --c-ink: #1a1a1f;
  --c-ink-2: #3a3a42;
  --c-ink-3: #6a6a75;
  --c-line: #e5e5ea;
  --c-line-2: #f0f0f3;
  --c-bg: #ffffff;
  --c-bg-alt: #f7f7f8;
  --c-bg-dark: #15161a;

  --ff-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --ff-mono:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --fs-base: 1.0625rem; /* 17px */
  --lh-base: 1.65;
  --fs-h1: clamp(2rem, 4vw + 1rem, 3.25rem);
  --fs-h2: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-small: 0.875rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 24px rgba(0, 0, 0, 0.04);

  --container: 1100px;
  --header-h: 72px;
}

/* ---------- Reset / Base ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--c-ink);
}
h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.02em;
}
h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.015em;
}
h3 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--c-red);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover,
a:focus-visible {
  color: var(--c-red-dark);
  text-decoration: underline;
}

ul,
ol {
  padding-left: 1.25rem;
}
li {
  margin: 0.25em 0;
}

dl {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.muted {
  color: var(--c-ink-3);
  font-weight: 400;
}
.mono {
  font-family: var(--ff-mono);
}

/* ---------- Accessibility utilities -------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--r-md) 0;
}
.skip:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.05s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--c-red);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--c-red-dark);
  color: #fff;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--c-line-2);
  color: var(--c-ink);
  text-decoration: none;
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.primary-nav a.is-active {
  color: var(--c-red);
  background: var(--c-red-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}
.brand-logo {
  width: 75px;
  height: 75px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--c-ink-3);
}

.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.25rem;
}
.primary-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink-2);
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--c-line-2);
  color: var(--c-red);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-ink);
  margin: 5px 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .primary-nav.open {
    max-height: 70vh;
  }
  .primary-nav ul {
    flex-direction: column;
    padding: 0.5rem 1.25rem 1rem;
  }
  .primary-nav a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  background-color: #15161a;
  background-image:
    linear-gradient(
      180deg,
      rgba(21, 22, 26, 0.78) 0%,
      rgba(21, 22, 26, 0.62) 60%,
      rgba(21, 22, 26, 0.85) 100%
    ),
    url("../images/hero/index1.jpg");
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(5rem, 12vw, 9rem);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  max-width: 720px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-red);
  display: inline-block;
}
.hero-title {
  color: #fff;
  font-size: clamp(2rem, 3.5vw + 1rem, 3rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-claim {
  font-size: clamp(1.0625rem, 1vw + 0.75rem, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2.5rem;
  max-width: 42ch;
  font-weight: 400;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Generic Section --------------------------------------------- */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section-alt {
  background: var(--c-bg-alt);
}
.section-title {
  position: relative;
  margin: 0 0 1rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--c-red);
  margin-top: 1rem;
  border-radius: 2px;
}
.section-lead {
  color: var(--c-ink-3);
  margin: 0 0 3rem;
  font-size: 1.0625rem;
  max-width: 60ch;
  line-height: 1.6;
}

/* ---------- Verein ------------------------------------------------------- */
.verein-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 820px) {
  .verein-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    align-items: start;
    gap: 4rem;
  }
}
.verein-text p {
  color: var(--c-ink-2);
}
.verein-eckdaten {
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1.75rem;
}
.verein-eckdaten dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.verein-eckdaten dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-ink-3);
  margin: 0;
  font-weight: 500;
}
.verein-eckdaten dd {
  margin: 0.25rem 0 0;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.125rem;
}

/* ---------- Chronik / Timeline ------------------------------------------ */
.chronik-intro {
  margin-top: 1.5rem;
  color: var(--c-ink-3);
  max-width: 60ch;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-line);
}
@media (min-width: 760px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-1px);
  }
}
.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
  margin: 0;
}
@media (min-width: 760px) {
  .timeline-item {
    width: 50%;
    padding: 0 3rem 2.5rem 0;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 2.5rem 3rem;
  }
}
.timeline-marker {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 5px var(--c-line);
}
@media (min-width: 760px) {
  .timeline-item .timeline-marker {
    left: auto;
    right: -8px;
  }
  .timeline-item:nth-child(even) .timeline-marker {
    left: -8px;
    right: auto;
  }
  .section-alt .timeline-marker {
    box-shadow:
      0 0 0 4px var(--c-bg-alt),
      0 0 0 5px var(--c-line);
  }
}
.timeline-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.section-alt .timeline-content {
  background: transparent;
}
.timeline-year {
  display: block;
  font-weight: 700;
  color: var(--c-red);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.timeline-title {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
}
.timeline-text {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Abteilungen ------------------------------------------------- */
.abteilungen-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 760px) {
  .abteilungen-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.abteilung-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}
.abteilung-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}
.abteilung-bild {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-line-2);
}
.abteilung-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.abteilung-card:hover .abteilung-bild img {
  transform: scale(1.03);
}

.abteilung-head {
  padding: 1.75rem 1.75rem 0;
}
.abteilung-head h3 {
  margin: 0 0 0.375rem;
  font-size: 1.375rem;
}
.abteilung-meta {
  color: var(--c-red);
  font-weight: 600;
  font-size: 0.75rem;
  margin: 0 1.75rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.abteilung-body {
  margin: 0 1.75rem 1.25rem;
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.65;
}
.abteilung-body p:last-child {
  margin-bottom: 0;
}
.abteilung-gruppen {
  list-style: none;
  padding: 0;
  margin: 0 1.75rem 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.abteilung-gruppen li {
  padding: 0.5rem 0;
  margin: 0;
  border-bottom: 1px dashed var(--c-line);
}
.abteilung-gruppen li:last-child {
  border-bottom: 0;
}
.abteilung-gruppen strong {
  font-size: 0.9375rem;
}
.abteilung-gruppen .muted {
  margin-left: 0.5rem;
  font-size: 0.875rem;
}
.abteilung-gruppen p {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: var(--c-ink-2);
}
.abteilung-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.375rem 1.25rem;
  font-size: 0.9375rem;
  padding: 1.25rem 1.75rem 1.5rem;
  border-top: 1px solid var(--c-line);
  margin-top: auto;
  background: var(--c-bg-alt);
}
.abteilung-facts dt {
  color: var(--c-ink-3);
  font-weight: 500;
}
.abteilung-facts dd {
  margin: 0;
  color: var(--c-ink);
}
.abteilung-kontakt-link {
  color: var(--c-red);
  font-weight: 500;
}
.abteilung-kontakt-link:hover,
.abteilung-kontakt-link:focus-visible {
  color: var(--c-red-dark);
  text-decoration: underline;
}

/* ---------- Termine ----------------------------------------------------- */
.termine-intro {
  margin: 1.5rem 0 2.5rem;
  color: var(--c-ink-3);
  max-width: 60ch;
}
.termine-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 760px) {
  .termine-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}
.termine-spalte h3 {
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
  color: var(--c-ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.termine-liste,
.termine-regelmaessig {
  list-style: none;
  padding: 0;
  margin: 0;
}
.termine-liste li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
}
.termine-liste li:last-child {
  border-bottom: 0;
}
.termin-datum {
  font-weight: 700;
  color: var(--c-red);
  font-size: 0.9375rem;
}
.termin-titel {
  font-weight: 600;
}
.termin-text {
  color: var(--c-ink-2);
  font-size: 0.9375rem;
}
.termine-regelmaessig li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--c-line);
  margin: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.termin-gruppe {
  font-weight: 600;
}
.termin-zeit {
  color: var(--c-ink-2);
  font-size: 0.9375rem;
}

/* ---------- Vorstand --------------------------------------------------- */
.vorstand-intro {
  margin-top: 1.5rem;
  max-width: 60ch;
  color: var(--c-ink-2);
  margin-bottom: 2.5rem;
}
.vorstand-gruppe {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  margin-bottom: 1.5rem;
}
.vorstand-gruppe:last-child {
  margin-bottom: 0;
}
@media (min-width: 760px) {
  .vorstand-gruppe {
    padding: 2.5rem 2.5rem 2.25rem;
  }
}
.vorstand-gruppe-titel {
  margin: 0 0 2rem;
  font-size: 0.8125rem;
  color: var(--c-ink-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
}
.vorstand-gruppe-titel::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c-red);
  display: inline-block;
  margin-right: 0.875rem;
}
.vorstand-grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 500px) {
  .vorstand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 760px) {
  .vorstand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 980px) {
  .vorstand-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.vorstand-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-align: center;
}
.vorstand-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  background: var(--c-line-2);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--c-line);
}
.vorstand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vorstand-initialen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 2rem;
  color: var(--c-ink-3);
  background: var(--c-line-2);
}
.vorstand-funktion {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--c-red);
  margin: 0 0 0.25rem;
}
.vorstand-name {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--c-ink);
}
.vorstand-kontakt {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vorstand-kontakt li {
  margin: 0.125rem 0;
  font-size: 0.8125rem;
  word-break: break-word;
  line-height: 1.4;
}
.vorstand-kontakt a {
  color: var(--c-ink-3);
}
.vorstand-kontakt a:hover,
.vorstand-kontakt a:focus-visible {
  color: var(--c-red);
}

/* ---------- Mitglied werden -------------------------------------------- */
.mitglied-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  align-items: start;
}
@media (min-width: 820px) {
  .mitglied-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    gap: 4rem;
  }
}
.mitglied-box {
  background: var(--c-red);
  color: #fff;
  border-radius: var(--r-md);
  padding: 2.5rem 1.75rem;
  text-align: center;
}
.mitglied-box-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  opacity: 0.85;
}
.mitglied-box-wert {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0.25rem 0;
  line-height: 1.1;
}
.mitglied-box-zeit {
  display: block;
  opacity: 0.85;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.mitglied-cta {
  background: #fff;
  color: var(--c-red);
  border-color: #fff;
}
.mitglied-cta:hover,
.mitglied-cta:focus-visible {
  background: var(--c-bg-alt);
  color: var(--c-red);
}

/* ---------- Spenden ---------------------------------------------------- */
.spenden-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  align-items: start;
}
@media (min-width: 820px) {
  .spenden-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 4rem;
  }
}
.spenden-box {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1.75rem;
}
.spenden-box h3 {
  margin-top: 0;
}
.spenden-box dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
}
.spenden-box dt {
  color: var(--c-ink-3);
  font-size: 0.875rem;
}
.spenden-box dd {
  margin: 0;
  font-weight: 500;
  word-break: break-word;
}

/* ---------- Kontakt ---------------------------------------------------- */
.kontakt-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  align-items: start;
}
@media (min-width: 820px) {
  .kontakt-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.kontakt-box {
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  padding: 1.75rem;
}
.kontakt-box address {
  font-style: normal;
}
.kontakt-box p {
  margin: 0 0 1em;
}
.kontakt-box p:last-child {
  margin-bottom: 0;
}
.notruf {
  margin-top: 1em !important;
  padding-top: 1em;
  border-top: 1px solid var(--c-line);
}
.notruf-zahl {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-family: var(--ff-mono);
  margin-left: 0.25rem;
}

/* ---------- Footer ----------------------------------------------------- */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.subpage .site-footer {
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer-col h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 0.75rem;
}
.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.footer-text {
  font-size: 0.9375rem;
  max-width: 40ch;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin: 0.25rem 0;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Subpages (Impressum, Datenschutz, 404) --------------------- */
.subpage-main {
  padding: clamp(2rem, 5vw, 4rem) 0;
  min-height: 60vh;
}
.prose {
  max-width: 70ch;
  margin: 0 auto;
}
.prose h1 {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-line);
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}
.prose h3 {
  font-size: 1.125rem;
  margin-top: 2rem;
}
.prose p,
.prose ul,
.prose ol {
  font-size: 1.0625rem;
}
.prose a {
  text-decoration: underline;
}
.back-link {
  margin-top: 3rem;
}

/* ---------- Animations (sparsam) -------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ------------------------------------------------------ */
@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .nav-toggle {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
}
