/* ==========================================================================
   Fischereiverein Germannsdorf e.V. 1964 – Design-System (style.css)
   ==========================================================================

   KURZER STYLEGUIDE
   -----------------
   Farben (Light-Theme, alle Paare auf WCAG AA geprüft, meist AAA):
     Tannengrün (Primär)   #1d5a45  – Buttons, Links, Überschriften-Akzente
     Tannengrün dunkel     #14432f  – Hover, Hero-Overlay
     Seewasser-Blau        #16354d  – Footer, Info-Boxen-Rahmen #2b6390
     Forellen-Kupfer       #a8461b  – Akzent: „Mitglied werden“, aktive Seite
     Papier (Hintergrund)  #f6f4ee  – Seitenhintergrund (warmes Off-White)
     Weiß (Flächen)        #ffffff  – Karten
     Salbei (Alt-Fläche)   #e9efe8  – abwechselnde Sektionen
     Text                  #1b2420  (14,5:1)   Text gedämpft #4b5751 (6,9:1)
   Dark-Mode: automatisch über prefers-color-scheme (siehe Abschnitt 1b).

   Schriften (lokal in assets/fonts/, SIL Open Font License, keine externen Requests):
     Überschriften: „Bitter“ (Slab-Serif, variabel 100–900)
     Fließtext:     „Source Sans 3“ (variabel 200–900, normal + kursiv)
     Grundgröße 17–19 px (fließend), Zeilenhöhe 1.6

   Komponenten-Klassen (Muster siehe _vorlage.html):
     Layout ......... .container, .container--narrow, .section, .section--alt,
                      .section__header, .grid-2, .split (Text + Bild), .stack, .prose
     Kopf/Fuß ....... .skip-link, .site-header, .brand, .nav-toggle, .site-nav,
                      .site-nav__cta, .site-footer
     Banner ......... .hero, .page-header (Unterseiten), .breadcrumb
     Buttons ........ .btn + .btn--primary | --secondary | --accent | --light,
                      .link-arrow, .btn-row
     Karten ......... .tiles > .tile (Einstiegskacheln mit Icon),
                      .news-list > .news-card (Teaser), .news-entry (ganzer Beitrag),
                      .people > .person (+ .person--square), .contact-card, .card
     Inhalte ........ .table-wrap > table.table (+ .table--compact für kleine Tabellen,
                      Zellen: .num rechtsbündig, .nowrap), .callout (--info | --warning | --success),
                      .downloads > li > a.download, .figure, .badge, .lead, .facts
     Galerie ........ .album, .gallery (Thumbnails), .album-grid > .album-card,
                      .lightbox (wird von main.js erzeugt)
     Hilfsklassen ... .visually-hidden, .text-center, .mt-0, .mb-0, .mt-l
     Icons .......... <svg class="icon" viewBox="0 0 24 24" aria-hidden="true"> (Strich-Icons)

   Inhalt dieser Datei:
     0. Schriften (@font-face)
     1. Design-Tokens (:root)  1b. Dark-Mode
     2. Basis / Reset
     3. Layout-Hilfen
     4. Skip-Link, Header, Navigation
     5. Hero & Page-Header
     6. Sektionen & Typografie-Bausteine
     7. Buttons & Links
     8. Karten: Kacheln, News, Personen, Kontakt
     9. Tabellen, Hinweis-Boxen, Downloads, Abbildungen
    10. Galerie, Album-Übersicht, Lightbox
    11. Footer
    12. Hilfsklassen
    13. Bewegung reduzieren
    14. Druck
   ========================================================================== */


/* ==========================================================================
   0. SCHRIFTEN – selbst gehostet (variabel: eine Datei enthält alle Stärken)
   ========================================================================== */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bitter";
  src: url("../fonts/bitter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   1. DESIGN-TOKENS – zentrale Stellschrauben. Farbe ändern = nur hier ändern.
   ========================================================================== */
:root {
  color-scheme: light dark;

  /* --- Markenfarben --- */
  --c-primary: #1d5a45;          /* Tannengrün (aus Vereinslogo/Vereinskleidung) */
  --c-primary-dark: #14432f;     /* Hover/Active */
  --c-primary-soft: #dce8e0;     /* sehr helles Grün für Flächen/Icons */
  --c-water: #16354d;            /* tiefes Seewasser-Blau */
  --c-accent: #a8461b;           /* Forellen-Kupfer (Bachforellen-Punkte) */
  --c-accent-dark: #8a3712;
  --c-accent-text: #a8461b;      /* Akzent als Schrift-/Linienfarbe */
  --c-on-primary: #ffffff;       /* Text auf Primärfarbe */
  --c-on-accent: #ffffff;

  /* --- Flächen & Text --- */
  --c-bg: #f6f4ee;               /* Seitenhintergrund */
  --c-surface: #ffffff;          /* Karten */
  --c-surface-alt: #e9efe8;      /* abwechselnde Sektionen (Salbei) */
  --c-text: #1b2420;
  --c-text-muted: #4b5751;
  --c-heading: #14382b;
  --c-border: #d3dad3;
  --c-border-strong: #a9b5ad;

  /* --- Hinweis-Boxen --- */
  --c-info-bg: #e6eff6;
  --c-info-border: #2b6390;
  --c-warning-bg: #fbf0d9;
  --c-warning-border: #b0700a;
  --c-success-bg: #e3f0e6;
  --c-success-border: #2f7a4b;

  /* --- Footer --- */
  --c-footer-bg: var(--c-water);
  --c-footer-text: #ffffff;
  --c-footer-muted: #c6d4de;
  --c-footer-link: #e9c79a;

  /* --- Fokus (gut sichtbar, ≥ 3:1 gegen Hintergrund) --- */
  --c-focus: #c2571f;
  --c-focus-on-dark: #f5c08e;

  /* --- Schriften --- */
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Bitter", Georgia, "Times New Roman", serif;

  /* --- Typo-Skala (fließend zwischen 320 px und ~1400 px Breite) --- */
  --fs-sm: 1rem;                                        /* 16 px – nur Metadaten */
  --fs-base: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem); /* 17–19 px */
  --fs-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);  /* Lead-Text */
  --fs-h4: clamp(1.1875rem, 1.12rem + 0.3vw, 1.3125rem);
  --fs-h3: clamp(1.3rem, 1.2rem + 0.5vw, 1.625rem);
  --fs-h2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --fs-h1: clamp(1.9rem, 1.5rem + 2vw, 3.125rem);
  --fs-display: clamp(2.1rem, 1.5rem + 3.2vw, 4rem);    /* Hero */
  --lh-body: 1.6;
  --lh-heading: 1.2;

  /* --- Abstände (4er-Raster, fließend für große Blöcke) --- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --space-2xl: clamp(3rem, 2.2rem + 4vw, 5.5rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);            /* Seitenrand */

  /* --- Breiten --- */
  --w-content: 76rem;
  --w-narrow: 46rem;                                    /* gute Zeilenlänge für Fließtext */

  /* --- Radien & Schatten --- */
  --radius-s: 0.375rem;
  --radius-m: 0.75rem;
  --radius-l: 1.25rem;
  --radius-pill: 999px;
  --shadow-s: 0 1px 2px rgb(20 40 30 / 0.08), 0 1px 3px rgb(20 40 30 / 0.06);
  --shadow-m: 0 4px 10px rgb(20 40 30 / 0.08), 0 2px 4px rgb(20 40 30 / 0.06);
  --shadow-l: 0 14px 34px rgb(20 40 30 / 0.14), 0 4px 10px rgb(20 40 30 / 0.08);

  /* --- Bewegung --- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 200ms;

  /* --- Header-Höhe (für Mobil-Menü) --- */
  --header-h: 4.75rem;
}

/* 1b. DARK-MODE – greift automatisch, wenn das Gerät auf „Dunkel“ steht */
@media (prefers-color-scheme: dark) {
  :root {
    --c-primary: #86cdb0;
    --c-primary-dark: #a5dcc5;
    --c-primary-soft: #1f3a30;
    --c-water: #0c2233;
    --c-accent: #a8461b;
    --c-accent-dark: #c0592a;
    --c-accent-text: #f2a774;
    --c-on-primary: #0f1915;
    --c-bg: #0f1915;
    --c-surface: #172520;
    --c-surface-alt: #13201b;
    --c-text: #e6ece8;
    --c-text-muted: #a9b9b0;
    --c-heading: #f1f5f2;
    --c-border: #2b3b34;
    --c-border-strong: #44574e;
    --c-info-bg: #14283a;
    --c-info-border: #6aa6d6;
    --c-warning-bg: #33280f;
    --c-warning-border: #e0a43a;
    --c-success-bg: #15301f;
    --c-success-border: #6cc08c;
    --c-focus: #f2a774;
    --shadow-s: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-m: 0 4px 12px rgb(0 0 0 / 0.4);
    --shadow-l: 0 14px 34px rgb(0 0 0 / 0.5);
  }
}


/* ==========================================================================
   2. BASIS / RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-kerning: normal;
  overflow-wrap: break-word;
}

main { flex: 1 0 auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-heading);
  line-height: var(--lh-heading);
  font-weight: 650;
  margin: 0 0 var(--space-s);
  text-wrap: balance;
  hyphens: auto;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
/* Silbentrennung in Überschriften nur auf schmalen Bildschirmen (sonst z. B. „zusam-menhalten“ im Hero) */
@media (min-width: 48em) { h1, h2, h3, h4 { hyphens: manual; } }

p, ul, ol, dl, table, figure, blockquote { margin: 0 0 var(--space-s); }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: 0.3em; }
strong, b { font-weight: 700; }

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

a {
  color: var(--c-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--c-primary-dark); text-decoration-thickness: 0.14em; }
a[href^="tel:"] { white-space: nowrap; }   /* Telefonnummern nicht umbrechen */

/* Gut sichtbarer Tastatur-Fokus für ALLE interaktiven Elemente */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--space-xl) 0; }

address { font-style: normal; }

/* Strich-Icons (inline SVG, Farbe folgt dem Text) */
.icon {
  width: 1.5em;
  height: 1.5em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==========================================================================
   3. LAYOUT-HILFEN
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--w-narrow) + 2 * var(--gutter)); }

/* .stack: gleichmäßiger Abstand zwischen direkten Kindern */
.stack > * + * { margin-top: var(--space-s); }
.stack > * { margin-bottom: 0; }

/* Zwei Spalten ab Tablet */
.grid-2 {
  display: grid;
  gap: var(--space-l);
}
@media (min-width: 48em) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* .split: Text neben Bild (auf Mobil untereinander). .split--reverse = Bild links */
.split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 52em) {
  .split { grid-template-columns: 1.1fr 1fr; gap: var(--space-xl); }
  .split--reverse .split__media { order: -1; }
  .split--reverse { grid-template-columns: 1fr 1.1fr; }
}


/* ==========================================================================
   4. SKIP-LINK, HEADER, NAVIGATION
   ========================================================================== */

/* Skip-Link: erst bei Tastatur-Fokus sichtbar */
.skip-link {
  position: absolute;
  left: var(--space-s);
  top: -10rem;
  z-index: 1000;
  padding: var(--space-xs) var(--space-m);
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-weight: 700;
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-s); color: var(--c-on-primary); }

.site-header {
  position: relative;
  z-index: 50;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-s);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-height: var(--header-h);
  padding-block: var(--space-2xs);
}

/* Logo + Vereinsname */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-width: 0;
  color: var(--c-heading);
  text-decoration: none;
}
.brand:hover { color: var(--c-primary); }
.brand__logo {
  width: clamp(3.25rem, 2.6rem + 2vw, 4.25rem);
  height: auto;
  border-radius: var(--radius-s);
  background: #fff;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem);
}
.brand__sub {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 0.15em;
  white-space: nowrap;
}
@media (max-width: 30em) {
  .brand__sub { font-size: 0.875rem; }
}
@media (max-width: 24em) {
  /* sehr schmale Handys (≤ 384 px): kompakter Kopf, Burger nur als Symbol */
  .brand { gap: var(--space-2xs); }
  .brand__logo { width: 2.75rem; }
  .brand__name { font-size: 1rem; hyphens: auto; overflow-wrap: normal; }
  .nav-toggle { padding: 0.4em 0.65em; }
}
@media (max-width: 22.4em) {
  /* ≤ 358 px: „Menü“-Text nur noch für Screenreader, Untertitel ausblenden */
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand__sub { display: none; }
}

/* Burger-Button (nur sichtbar, wenn JS aktiv UND schmaler Bildschirm) */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  align-items: center;
  gap: 0.4em;
  min-height: 3rem;
  padding: 0.4em 0.8em;
  border: 2px solid var(--c-primary);
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  color: var(--c-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--c-primary-soft); }
.nav-toggle .icon { width: 1.4em; height: 1.4em; stroke-width: 2.2; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Navigation – Grundform (gilt auch ohne JavaScript) */
.site-nav { border-top: 1px solid var(--c-border); }
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: var(--space-2xs) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs) var(--space-2xs);
}
.site-nav__list li { margin: 0; }
.site-nav__link {
  position: relative;
  display: block;
  padding: 0.55em 0.75em;
  border-radius: var(--radius-s);
  color: var(--c-text);
  font-weight: 600;
  text-decoration: none;
}
.site-nav__link:hover { color: var(--c-primary); background: var(--c-primary-soft); }
/* Aktive Seite: aria-current="page" am Link setzen */
.site-nav__link[aria-current="page"] { color: var(--c-primary); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75em;
  right: 0.75em;
  bottom: 0.2em;
  height: 3px;
  border-radius: 3px;
  background: var(--c-accent-text);
}
.site-nav__cta { margin-left: auto; }
.site-nav__cta .btn { min-height: 2.75rem; padding-block: 0.45em; }

/* --- Mobil + JS aktiv: Menü als Schublade (Drawer) von rechts --- */
@media (max-width: 63.99em) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 110;
    width: min(23rem, 88vw);
    padding-top: calc(var(--header-h) + var(--space-s));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-surface);
    border-top: 0;
    box-shadow: var(--shadow-l);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 280ms var(--ease), visibility 0s linear 280ms;
  }
  .js.nav-open .site-nav {
    transform: none;
    visibility: visible;
    transition: transform 280ms var(--ease);
  }
  .js .site-nav__list { flex-direction: column; gap: 0; padding: 0 0 var(--space-m); }
  .js .site-nav__list li + li { border-top: 1px solid var(--c-border); }
  .js .site-nav__link { padding: 0.85em var(--space-2xs); font-size: 1.125rem; border-radius: 0; }
  .js .site-nav__link[aria-current="page"]::after { left: 0; right: auto; top: 0.6em; bottom: 0.6em; width: 4px; height: auto; }
  .js .site-nav__link[aria-current="page"] { padding-left: var(--space-s); }
  .js .site-nav__cta { margin: var(--space-s) 0 0; border-top: 0 !important; }
  .js .site-nav__cta .btn { width: 100%; }
  /* Abdunkelung hinter der Schublade */
  .js.nav-open body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgb(10 20 15 / 0.55);
  }
  .js.nav-open { overflow: hidden; }
  /* Header bleibt über der Abdunkelung, damit „Schließen“ erreichbar ist */
  .js.nav-open .site-header { z-index: 105; }
}

/* --- Desktop: Navigation als Zeile unter dem Logo --- */
@media (min-width: 64em) {
  .site-nav__list { align-items: center; padding-block: var(--space-2xs); }
  .site-nav__link { font-size: 1.0625rem; }
}


/* ==========================================================================
   5. HERO (Startseite) & PAGE-HEADER (Unterseiten)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(26rem, 72vh, 42rem);
  color: #fff;
  overflow: hidden;
}
.hero__media, .page-header__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Abdunkelung, damit weiße Schrift immer lesbar bleibt */
.hero::before, .page-header--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(12 30 22 / 0.88) 0%, rgb(12 30 22 / 0.55) 45%, rgb(12 30 22 / 0.15) 100%),
    linear-gradient(to right, rgb(12 30 22 / 0.55), rgb(12 30 22 / 0) 70%);
}
.hero__content {
  padding-block: var(--space-2xl) var(--space-xl);
  max-width: 44rem;
}
.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-s);
  padding: 0.25em 0.8em;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: var(--radius-m);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgb(0 0 0 / 0.2);
}
.hero__title {
  font-size: var(--fs-display);
  color: #fff;
  margin-bottom: var(--space-s);
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.35);
}
.hero__text {
  font-size: var(--fs-lg);
  max-width: 36rem;
  margin-bottom: var(--space-l);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.4);
}
.hero :focus-visible, .page-header--image :focus-visible { outline-color: var(--c-focus-on-dark); }

/* Page-Header: kleineres Banner für Unterseiten.
   Mit Bild: class="page-header page-header--image" + <img class="page-header__media">
   Ohne Bild: nur class="page-header" */
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-xl);
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}
.page-header--image {
  display: grid;
  align-items: end;
  min-height: clamp(12rem, 30vw, 20rem);
  color: #fff;
  border-bottom: 0;
}
.page-header__title { margin-bottom: var(--space-2xs); }
.page-header--image .page-header__title { color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.35); }
.page-header__intro { font-size: var(--fs-lg); max-width: 40rem; margin-bottom: 0; }
.page-header--image .page-header__intro { text-shadow: 0 1px 8px rgb(0 0 0 / 0.4); }

/* Brotkrumen-Navigation (optional, im Page-Header) */
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  margin: 0 0 var(--space-xs);
  padding: 0;
  font-size: var(--fs-sm);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35em; opacity: 0.8; }
.breadcrumb a { color: inherit; }
.page-header--image .breadcrumb { color: #fff; }


/* ==========================================================================
   6. SEKTIONEN & TYPOGRAFIE-BAUSTEINE
   ========================================================================== */
.section { padding-block: var(--space-2xl); }
.section--alt { background: var(--c-surface-alt); }
.section--tight { padding-block: var(--space-xl); }
.section + .section:not(.section--alt) { padding-top: var(--space-xl); }
.section--alt + .section { padding-top: var(--space-2xl); }

.section__header { max-width: 44rem; margin-bottom: var(--space-l); }
.section__header--center { margin-inline: auto; text-align: center; }
.section__header > :last-child { margin-bottom: 0; }

/* Kleine Überzeile über Überschriften */
.eyebrow {
  display: block;
  margin-bottom: var(--space-2xs);
  color: var(--c-accent-text);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead { font-size: var(--fs-lg); color: var(--c-text-muted); }

/* Fließtext-Bereich: angenehme Zeilenlänge + Abstände */
.prose { max-width: var(--w-narrow); }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-l); }
.prose > :first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose li::marker { color: var(--c-primary); }
.prose blockquote {
  margin-inline: 0;
  padding: var(--space-xs) var(--space-m);
  border-left: 4px solid var(--c-primary);
  background: var(--c-surface);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-style: italic;
}

/* Kurze Fakten-Liste (z. B. „Gegründet 1964 · Mitglieder …“) */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--space-s);
  margin: 0;
}
.facts div {
  padding: var(--space-s);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
}
.facts dt { font-size: var(--fs-sm); color: var(--c-text-muted); }
.facts dd { margin: 0; font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 700; color: var(--c-heading); }

/* Kleines Etikett, z. B. Kategorie „Jugend“ */
.badge {
  display: inline-block;
  padding: 0.1em 0.65em;
  border-radius: var(--radius-pill);
  background: var(--c-primary-soft);
  color: var(--c-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
}


/* ==========================================================================
   7. BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3rem;                 /* große Klickfläche (≥ 44 px) */
  padding: 0.6em 1.4em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.25em; height: 1.25em; }

.btn--primary { background: var(--c-primary); color: var(--c-on-primary); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-on-primary); }

.btn--secondary { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--secondary:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); }

/* Akzent: nur für die wichtigste Handlung („Mitglied werden“) */
.btn--accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn--accent:hover { background: var(--c-accent-dark); color: var(--c-on-accent); }

/* Hell: auf Bildern/dunklen Flächen (Hero) */
.btn--light { background: rgb(255 255 255 / 0.08); color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: #14432f; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* Text-Link mit Pfeil (z. B. „Alle Neuigkeiten“) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .icon { width: 1.2em; height: 1.2em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }


/* ==========================================================================
   8. KARTEN: Einstiegskacheln, News, Personen, Kontakt
   ========================================================================== */

/* Allgemeine Karte */
.card {
  padding: var(--space-m);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.card > :last-child { margin-bottom: 0; }

/* --- Einstiegskacheln mit Icon (ganze Kachel klickbar) --- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-m);
  list-style: none;
  padding: 0;
  margin: 0;
}
.tiles > li { margin: 0; }
.tile {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-m);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tile:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); border-color: var(--c-border-strong); }
.tile__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-2xs);
  border-radius: var(--radius-m);
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.tile__icon .icon { width: 2rem; height: 2rem; }
.tile__title { font-size: var(--fs-h4); margin: 0; }
.tile__title a { color: var(--c-heading); text-decoration: none; }
/* Der Link deckt die ganze Kachel ab („stretched link“) */
.tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile__title a:focus-visible { outline: none; }
.tile:has(a:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.tile:hover .tile__title a { color: var(--c-primary); }
.tile__text { margin: 0; color: var(--c-text-muted); }

/* --- News: Teaser-Karten (Startseite) --- */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: var(--space-m);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-l);
}
.news-list > li { margin: 0; }
.news-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.news-card__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--c-surface-alt); }
.news-card__body { display: flex; flex-direction: column; gap: var(--space-2xs); flex: 1; padding: var(--space-m); }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs); font-size: var(--fs-sm); color: var(--c-text-muted); }
.news-card__title { font-size: var(--fs-h4); margin: 0; }
.news-card__title a { color: var(--c-heading); text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__title a:focus-visible { outline: none; }
.news-card:has(a:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.news-card:hover .news-card__title a { color: var(--c-primary); text-decoration: underline; }
.news-card__text { margin: 0; color: var(--c-text-muted); }
.news-card__more { margin-top: auto; padding-top: var(--space-2xs); font-weight: 700; color: var(--c-primary); }

/* --- News: vollständiger Beitrag (Seite „Aktuelles“) --- */
.news-entry {
  padding-block: var(--space-l);
  border-top: 1px solid var(--c-border);
  scroll-margin-top: var(--space-m);
}
.news-entry:first-of-type { border-top: 0; padding-top: 0; }
.news-entry__meta { display: flex; flex-wrap: wrap; gap: var(--space-2xs); align-items: center; margin-bottom: var(--space-2xs); color: var(--c-text-muted); font-size: var(--fs-sm); }
.news-entry__title { font-size: var(--fs-h3); }
.news-entry .gallery { margin-top: var(--space-m); }

/* --- Personen-Karten (Vorstandschaft) --- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-m);
  list-style: none;
  padding: 0;
  margin: 0;
}
.people > li { margin: 0; }
.person {
  height: 100%;
  margin: 0;
  padding: var(--space-m);
  text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.person__photo {
  width: 9rem;
  height: 9rem;
  margin: 0 auto var(--space-s);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 4px solid var(--c-primary-soft);
}
/* Ersatz, wenn kein Foto vorhanden: Initialen */
.person__photo--placeholder {
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
}
.person--square .person__photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-m); border: 0; }
.person__name { font-size: var(--fs-h4); margin: 0; hyphens: manual; }
.person__role { margin: 0.2em 0 0; color: var(--c-accent-text); font-weight: 700; }
.person__contact { margin: var(--space-xs) 0 0; font-size: var(--fs-sm); }

/* --- Kontakt-Karte --- */
.contact-card {
  padding: var(--space-l) var(--space-m);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 5px solid var(--c-primary);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
}
.contact-card > :last-child { margin-bottom: 0; }
.contact-card__title { font-size: var(--fs-h3); }
.contact-card__role { margin-top: calc(-1 * var(--space-xs)); color: var(--c-text-muted); }
.contact-list { list-style: none; padding: 0; margin: var(--space-s) 0; }
.contact-list li { display: flex; align-items: flex-start; gap: var(--space-xs); margin: 0 0 var(--space-xs); }
.contact-list .icon { margin-top: 0.05em; color: var(--c-primary); }
.contact-list a { font-weight: 600; word-break: break-word; }


/* ==========================================================================
   9. TABELLEN, HINWEIS-BOXEN, DOWNLOADS, ABBILDUNGEN
   ========================================================================== */

/* Tabelle: immer in .table-wrap packen → auf dem Handy seitlich wischbar */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: var(--space-m);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  background: var(--c-surface);
  box-shadow: var(--shadow-s);
}
.table-wrap:focus-visible { outline-offset: 2px; }
.table {
  width: 100%;
  min-width: 32rem;                  /* darunter wird gescrollt statt gequetscht */
  margin: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.table caption {
  padding: var(--space-s) var(--space-m) var(--space-xs);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 650;
  font-size: var(--fs-h4);
  color: var(--c-heading);
}
.table th, .table td {
  padding: 0.75em var(--space-m);
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--c-border);
}
.table thead th {
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-weight: 700;
  border-top: 0;
  white-space: nowrap;
}
.table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--c-surface-alt) 60%, var(--c-surface)); }
.table tbody th { font-weight: 700; }
.table .num { text-align: right; white-space: nowrap; }
.table .nowrap { white-space: nowrap; }      /* z. B. Datum, Uhrzeit */
@media (max-width: 40em) {
  .table th, .table td { padding-inline: var(--space-s); }
  .table caption { padding-inline: var(--space-s); }
}
.table--compact { min-width: 0; }          /* kleine Tabellen (2–3 Spalten) nie scrollen */
.table--compact thead th, .table--compact thead .num { white-space: normal; hyphens: auto; }  /* lange Spaltenköpfe umbrechen statt Scrollen */

/* Hinweis-Box: .callout--info (blau) | .callout--warning (gelb) | .callout--success (grün) */
.callout {
  display: flex;
  gap: var(--space-s);
  margin: 0 0 var(--space-m);
  padding: var(--space-s) var(--space-m);
  border-left: 5px solid var(--c-info-border);
  border-radius: var(--radius-s);
  background: var(--c-info-bg);
  color: var(--c-text);
}
.callout > .icon { margin-top: 0.1em; color: var(--c-info-border); }
.callout__body > :last-child { margin-bottom: 0; }
.callout__title { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; margin: 0 0 0.25em; color: var(--c-text); }
.callout--warning { border-color: var(--c-warning-border); background: var(--c-warning-bg); }
.callout--warning > .icon { color: var(--c-warning-border); }
.callout--success { border-color: var(--c-success-border); background: var(--c-success-bg); }
.callout--success > .icon { color: var(--c-success-border); }

/* Download-Liste */
.downloads { list-style: none; padding: 0; margin: 0 0 var(--space-m); display: grid; gap: var(--space-xs); }
.downloads li { margin: 0; }
.download {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  padding: var(--space-s);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  color: var(--c-text);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.download:hover { border-color: var(--c-primary); box-shadow: var(--shadow-m); color: var(--c-text); }
.download__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3.25rem;
  color: var(--c-accent-text);
}
.download__icon .icon { width: 100%; height: 100%; stroke-width: 1.4; }
.download__type {
  position: absolute;
  bottom: 0.35rem;
  padding: 0 0.25em;
  border-radius: 3px;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.download__text { display: flex; flex-direction: column; min-width: 0; }
.download__title { font-weight: 700; color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
.download__meta { font-size: var(--fs-sm); color: var(--c-text-muted); }
.download__action { margin-left: auto; color: var(--c-primary); }
@media (max-width: 25em) { .download__action { display: none; } }

/* Einzelbild mit Bildunterschrift */
.figure { margin: 0 0 var(--space-m); }
.figure img { width: 100%; border-radius: var(--radius-m); }
.figure figcaption { margin-top: var(--space-2xs); font-size: var(--fs-sm); color: var(--c-text-muted); }


/* ==========================================================================
   10. GALERIE, ALBUM-ÜBERSICHT, LIGHTBOX
   ========================================================================== */

/* Ein Album = Überschrift + Raster */
.album { margin-bottom: var(--space-xl); scroll-margin-top: var(--space-m); }
.album__header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-s); margin-bottom: var(--space-s); padding-bottom: var(--space-2xs); border-bottom: 2px solid var(--c-border); }
.album__title { font-size: var(--fs-h3); margin: 0; }
.album__meta { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Thumbnail-Raster: alle Vorschaubilder gleich hoch (4:3), Bild wird zugeschnitten */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: var(--space-2xs);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 48em) { .gallery { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: var(--space-xs); } }
.gallery li { margin: 0; }
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--c-surface-alt);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms var(--ease), opacity var(--dur);
}
.gallery a:hover img { transform: scale(1.04); }
.gallery a:focus-visible { outline-offset: 2px; }
@media (max-width: 22em) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Galerie-Übersicht: Album-Kacheln mit Titelbild */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-m);
  list-style: none;
  padding: 0;
  margin: 0;
}
.album-grid > li { margin: 0; }
.album-card {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 15rem;
  overflow: hidden;
  isolation: isolate;
  align-items: end;
  border-radius: var(--radius-m);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-m);
}
.album-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.album-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(10 28 20 / 0.9), rgb(10 28 20 / 0.1) 65%); }
.album-card__body { padding: var(--space-m); }
.album-card__title { display: block; font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; }
.album-card__meta { display: block; margin-top: 0.2em; font-size: var(--fs-sm); color: #e8efe9; }
.album-card:hover { color: #fff; }
.album-card:hover img { transform: scale(1.05); }
.album-card:focus-visible { outline-color: var(--c-focus); }

/* Lightbox (von main.js als <dialog class="lightbox"> erzeugt) */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgb(8 14 11 / 0.94); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: var(--space-xs) var(--space-s); }
.lightbox__counter { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: #e6ece8; }
.lightbox__figure { display: grid; place-items: center; min-height: 0; margin: 0; padding: 0 var(--space-s); }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-s);
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.5);
  touch-action: pan-y pinch-zoom;
}
.lightbox__caption { min-height: 3rem; padding: var(--space-xs) var(--space-s) var(--space-s); text-align: center; color: #f1f5f2; max-width: 50rem; margin-inline: auto; }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid rgb(255 255 255 / 0.6);
  border-radius: 50%;
  background: rgb(0 0 0 / 0.45);
  color: #fff;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgb(255 255 255 / 0.2); border-color: #fff; }
.lightbox__btn .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.2; }
.lightbox__btn:focus-visible { outline-color: var(--c-focus-on-dark); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--space-xs); }
.lightbox__next { right: var(--space-xs); }
.lightbox-open { overflow: hidden; }


/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  padding-top: var(--space-xl);
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  font-size: var(--fs-base);
}
.site-footer a { color: var(--c-footer-link); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--c-focus-on-dark); }
.site-footer__grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-bottom: var(--space-xl);
}
.site-footer__title { font-size: var(--fs-h4); color: #fff; margin-bottom: var(--space-xs); }
.site-footer p { color: var(--c-footer-muted); }
.site-footer address { color: var(--c-footer-muted); margin-bottom: var(--space-s); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 0.35em; }
.footer-social { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2xs) var(--space-m);
  padding-block: var(--space-s);
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: var(--fs-sm);
  color: var(--c-footer-muted);
}
.site-footer__bottom p { margin: 0; }


/* ==========================================================================
   12. HILFSKLASSEN (sparsam verwenden)
   ========================================================================== */
/* Nur für Screenreader sichtbar */
.visually-hidden:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-l { margin-top: var(--space-l) !important; }


/* ==========================================================================
   13. BEWEGUNG REDUZIEREN (Systemeinstellung respektieren)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .tile:hover, .news-card:hover { transform: none; }
  .gallery a:hover img, .album-card:hover img { transform: none; }
}


/* ==========================================================================
   14. DRUCK – sauberer Ausdruck (z. B. Beiträge, Schonzeiten, Termine)
   ========================================================================== */
@media print {
  :root { --c-text: #000; --c-heading: #000; --c-bg: #fff; --c-surface: #fff; }
  @page { margin: 1.6cm; }
  body { font-size: 11pt; background: #fff; color: #000; display: block; }
  .skip-link, .nav-toggle, .site-nav, .hero__media, .page-header__media,
  .btn, .btn-row, .gallery, .lightbox, .site-footer__grid .footer-social { display: none !important; }
  .site-header { box-shadow: none; border-bottom: 1px solid #000; }
  .hero, .page-header, .page-header--image { min-height: 0; color: #000; background: none; padding-block: 0.5cm; }
  .hero::before, .page-header--image::before, .album-card::before { display: none; }
  .hero__title, .page-header--image .page-header__title, .hero__text, .page-header--image .page-header__intro { color: #000; text-shadow: none; }
  .section, .section--alt { padding-block: 0.4cm; background: none; }
  .card, .tile, .news-card, .person, .contact-card, .table-wrap, .download, .callout {
    box-shadow: none; break-inside: avoid; border-color: #999;
  }
  .table-wrap { overflow: visible; }
  .table { min-width: 0; }
  .table thead th { background: #eee; color: #000; }
  h2, h3 { break-after: avoid; }
  /* Externe Links: Adresse hinter den Text drucken */
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
  .site-footer { background: none; color: #000; padding-top: 0.5cm; border-top: 1px solid #000; }
  .site-footer a, .site-footer p, .site-footer address, .site-footer__title, .site-footer__bottom { color: #000; }
}
