/* ============================================
   BAD KÖNIG ATTRAKTIV — Stylesheet
   Redesign 2026-05-21 (Editorial Serif + Bricolage Grotesque)
   Mobile-First. CI Sabine Böck (Dunkelblau dominant, Orange Akzent).
   ============================================ */


/* --- 1. CI-Variablen --- */
:root {
  /* Palette Sabine 2026-05-21 */
  --c-primary:        #1F4C87;     /* Dunkelblau — Hauptfarbe */
  --c-primary-deep:   #15355f;     /* abgedunkelt für Layering */
  --c-primary-soft:   #e6ecf5;     /* zarter Blauschleier */
  --c-primary-100:    #c9d6e8;
  --c-primary-700:    #163766;

  --c-accent:         #F08C22;     /* Orange — Akzent / CTA */
  --c-accent-deep:    #c87011;
  --c-accent-soft:    #fdebd5;

  --c-nature:         #9DBA23;     /* CI-Grün (Limette) — als Akzent, helle Flächen */
  --c-nature-deep:    #5e7414;     /* gedämpftes Sattgrün — für Bühnen mit weißer Schrift (WCAG-tauglich) */
  --c-nature-700:     #4a5d0f;     /* sehr dunkel — für Layering */
  --c-nature-soft:    #f0f4dc;     /* zarter Grün-Schleier — Icon-Bubbles etc. */
  --c-support:        #5A91C8;     /* Hellblau — nur unterstützend (kleine Akzente) */

  --c-ink:            #1c2530;     /* Tieftext */
  --c-text:           #2a3441;
  --c-muted:          #6B6B6B;     /* Sabines 75 % Schwarz */
  --c-quiet:          #9aa3ac;

  --c-paper:          #fdfcf8;     /* warmes Off-White als Bühne (kein steriles Weiß) */
  --c-paper-alt:      #f3f1e9;     /* alternierende Sektionsfläche, Papier-Crème */
  --c-card:           #ffffff;     /* Karten reinweiß für klare Kante */
  --c-border:         #e4e1d4;     /* warmer Rahmen passend zu Papier */
  --c-rule:           rgba(31,76,135,.15);

  /* Schriften — bewusst kein Inter/Roboto/Open Sans (KI-Standard).
     Fraunces (Display Serif, charaktervoll) + Newsreader (Lesetext-Serif)
     + Bricolage Grotesque (UI/Labels, eigenwillige Sans). Alle Variable Fonts. */
  --font-display: 'Fraunces', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body:    'Newsreader', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-ui:      'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;

  /* Spacing — leicht großzügiger Rhythmus für viel Weißraum */
  --s-xs: .5rem;
  --s-sm: 1rem;
  --s-md: 1.75rem;
  --s-lg: 3.25rem;
  --s-xl: 5.5rem;
  --s-2xl: 8rem;

  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Schatten — gerichtet, nicht symmetrisch */
  --sh-soft:  0 1px 2px rgba(28,37,48,.05), 0 8px 24px -12px rgba(31,76,135,.22);
  --sh-card:  0 1px 0 rgba(28,37,48,.04), 0 14px 40px -18px rgba(31,76,135,.28);
  --sh-deep:  0 24px 60px -24px rgba(21,53,95,.55);

  --container-max: 1240px;
  --container-narrow: 880px;

  /* feines SVG-Noise als Textur (data-URI) — gibt allem etwas Körnung statt CGI-Glätte */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/></svg>");
}


/* --- 2. Fonts ---
   Schriften werden aktuell per <link rel="stylesheet"> aus Bunny Fonts geladen
   (siehe assets/includes/header.php). Bunny ist DSGVO-konform (EU-Hosting,
   keine Cookies, kein Tracking) — daher kein Cookie-Banner-Bedarf in Phase 1.

   Sobald die WOFF2-Dateien lokal in assets/fonts/ liegen, kann der Bunny-Link
   in header.php entfernt und stattdessen folgender Block aktiviert werden:

   @font-face { font-family: 'Fraunces';
     src: url('/assets/fonts/fraunces-variable.woff2') format('woff2-variations');
     font-weight: 100 900; font-style: normal; font-display: swap; }
   @font-face { font-family: 'Fraunces';
     src: url('/assets/fonts/fraunces-italic-variable.woff2') format('woff2-variations');
     font-weight: 100 900; font-style: italic; font-display: swap; }
   @font-face { font-family: 'Newsreader';
     src: url('/assets/fonts/newsreader-variable.woff2') format('woff2-variations');
     font-weight: 200 800; font-style: normal; font-display: swap; }
   @font-face { font-family: 'Bricolage Grotesque';
     src: url('/assets/fonts/bricolage-grotesque-variable.woff2') format('woff2-variations');
     font-weight: 200 800; font-style: normal; font-display: swap; }
*/


/* --- 3. Reset & Basis --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, .25vw + 1rem, 1.1875rem);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern', 'liga', 'onum';
  font-optical-sizing: auto;
}

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

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-primary-100);
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}
a:hover { color: var(--c-accent-deep); text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  line-height: 1.05;
  color: var(--c-ink);
  margin: 0 0 .65em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.5rem, 5.5vw + .5rem, 5rem); font-weight: 500; }
h2 { font-size: clamp(1.875rem, 2.5vw + 1rem, 3.25rem); }
h3 { font-size: clamp(1.3125rem, .9vw + 1rem, 1.75rem); }
h4 { font-size: 1.125rem; font-family: var(--font-ui); font-weight: 600; letter-spacing: .01em; }

p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--c-ink); }
em { font-style: italic; }

::selection { background: var(--c-accent); color: #fff; }

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

.lead { font-size: clamp(1.125rem, .5vw + 1rem, 1.375rem); color: var(--c-text); line-height: 1.55; }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--c-ink); color: #fff; padding: .75rem 1rem; z-index: 100;
  font-family: var(--font-ui);
}
.skip-link:focus { top: 0; }


/* --- 4. Eyebrow (Sektion-Vorzeile) --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-ui);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-accent-deep);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 2.5rem; height: 2px;
  background: var(--c-accent);
  flex-shrink: 0;
}
/* Limetten-Variante — thematisch für Natur-/Projekt-/Mitmach-Sektionen.
   Strich UND Textfarbe wechseln auf CI-Grün; Limette als Headlinefarbe ist
   bei kurzem Bold-Eyebrow-Text auf Crème/Weiß noch lesbar (Kontrast ~3.1:1). */
.eyebrow--nature { color: var(--c-nature-700); }
.eyebrow--nature::before { background: var(--c-nature); }


/* --- 5. Buttons (eckig + kantig statt pill-Standard) --- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  background: var(--c-primary); color: #fff;
  font-family: var(--font-ui); font-weight: 600;
  font-size: 1rem; line-height: 1;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .12s, box-shadow .2s, border-color .2s, color .2s;
  min-height: 48px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 20px -10px rgba(31,76,135,.45);
}
.btn:hover { background: var(--c-primary-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(31,76,135,.6); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 20px -10px rgba(240,140,34,.55); }
.btn--accent:hover { background: var(--c-accent-deep); box-shadow: 0 14px 30px -14px rgba(240,140,34,.7); }

.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); box-shadow: none; }
.btn--outline:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; }
.btn--ghost:hover { background: #fff; color: var(--c-primary); border-color: #fff; }

.btn--sm { padding: .55rem 1rem; font-size: .9375rem; min-height: 40px; }
.btn--lg { padding: 1.1rem 1.75rem; font-size: 1.0625rem; }


/* --- 6. Header / Navigation --- */
.site-header {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 52px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent; border: 0; cursor: pointer; color: var(--c-ink);
}
.nav-toggle__icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon-close { display: inline-flex; }

.nav-main { display: none; }
.nav-main[data-open="true"] {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-card);
}
.nav-main ul {
  list-style: none; margin: 0; padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: .25rem;
  font-family: var(--font-ui);
}
.nav-main a {
  display: block; padding: .85rem 1rem;
  color: var(--c-ink); text-decoration: none; font-weight: 500;
  font-size: 1rem;
  border-radius: var(--r-sm);
  min-height: 44px;
  border-left: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.nav-main a:hover { background: var(--c-paper-alt); color: var(--c-primary); border-left-color: var(--c-accent); }
.nav-main a[aria-current="page"] {
  color: var(--c-primary);
  border-left-color: var(--c-accent);
}
.nav-main .btn { display: inline-flex; margin-top: .75rem; min-height: 44px; }


/* --- 7. Sektionen Allgemein --- */
section { padding: var(--s-xl) 0; position: relative; }
/* Alternierender Hintergrund — :where() reduziert Spezifität auf 0,
   damit jede explizite Klassen-Regel (.cta-strip, .about, .projects …)
   ohne !important gewinnt. Sonst zieht :nth-of-type(even) das Crème
   über z.B. die grüne CTA-Strip-Bühne. */
section:where(:nth-of-type(even)) { background: var(--c-paper-alt); }

.section-heading { max-width: 60ch; margin-bottom: var(--s-md); }
/* Backward-compat: alte Eyebrow-Klasse für übrige Pages */
.section-heading__eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-ui);
  font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-accent-deep); margin-bottom: .9rem;
}
.section-heading__eyebrow::before {
  content: ""; width: 2.5rem; height: 2px; background: var(--c-accent); flex-shrink: 0;
}


/* --- 8. Hero (großes Stadt-Bild + dunkler Editorial-Layer) --- */
.hero {
  position: relative;
  padding: 0;
  background: var(--c-primary-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
/* <picture> ist per Default inline und gibt height: 100% nicht an das img weiter,
   ohne diesen Block würde das Bild nur seine intrinsische Höhe einnehmen. */
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Park-Vordergrund im Blick — Schloss + Wiese bleiben sichtbar, zu heller
     Himmel oben wird weggeschnitten. */
  object-position: 50% 70%;
  /* leichte Tonierung, damit das Bild zur dunkelblauen Marke kippt */
  filter: saturate(.9) contrast(1.02);
}
.hero__media::after {
  /* zweistufiges Overlay: dunkel + farbig zur Marke */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,53,95,.35) 0%, rgba(21,53,95,.78) 70%, rgba(21,53,95,.92) 100%),
    linear-gradient(115deg, rgba(31,76,135,.55) 0%, rgba(31,76,135,0) 55%);
}
.hero__noise {
  position: absolute; inset: 0; z-index: 1;
  background-image: var(--noise);
  background-size: 220px 220px;
  opacity: .35;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* Wellenförmiger unterer Rand der Hero-Sektion. Das Stadt-Foto + Blau-Overlay
   reichen bis in die Wellenform hinein. Im transparenten Wellenbereich
   schimmert die nachfolgende About-Sektion (paper) durch — beide nutzen den
   gleichen Background, daher nahtloser Übergang ohne Layout-Tricks.
   padding-bottom enthält den Wellen-Höhenanteil + Content-Atemraum. */
.hero--wave-bottom {
  -webkit-clip-path: url(#hero-wave-bottom);
  clip-path: url(#hero-wave-bottom);
  padding-bottom: var(--s-lg);
}

.hero__content {
  position: relative; z-index: 2;
  /* Mobile-First: knapper vertikaler Rhythmus, damit Content nicht so viel
     Leerraum zur Welle nach unten produziert. Desktop überschreibt mit
     min-height + align-content unten. */
  padding: var(--s-md) 0 var(--s-lg);
  display: grid; gap: 1rem;
}
/* Mobile-spezifisch: Logo aus (Querformat wirkt klein zwischen Bild und Welle),
   stattdessen Claim als Headline. Hero bekommt min-height, damit das Stadt-Bild
   als ganze Bühne wirkt. Content sitzt unten, knapp vor der Welle.
   Etwas mehr horizontale Luft, damit nichts an der Bildschirmkante klebt. */
@media (max-width: 767px) {
  .hero .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
  .hero__title--logo img { display: none; }
  .hero__title--logo { margin: 0; }

  .hero__claim {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 8vw, 2.75rem);
    color: #fff;
    text-transform: none;
    letter-spacing: -.01em;
    line-height: 1.05;
    font-weight: 500;
    margin: 0 0 .75rem;
  }

  .hero__content {
    min-height: 72vh;
    align-content: end;
    padding: var(--s-md) 0;
  }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-ui);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.hero__eyebrow::before {
  content: ""; width: 2.5rem; height: 2px; background: var(--c-accent); flex-shrink: 0;
}
.hero__title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw + .5rem, 6.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero__title em {
  font-style: italic;
  color: var(--c-accent);
  display: inline-block;
  position: relative;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
/* Logo-Variante der Hero-Headline — sieht wie ein klassisches Wortbildmarken-
   Heading aus, bleibt aber als <h1> mit visually-hidden Text semantisch sauber. */
.hero__title--logo {
  margin: 0 0 1rem;
  line-height: 1;
}
.hero__title--logo img {
  width: clamp(15rem, 50vw, 32rem);
  height: auto;
  display: block;
}
.hero__claim {
  margin: 0 0 1.25rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(.95rem, .5vw + .8rem, 1.125rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.hero__lead {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, .6vw + 1rem, 1.4375rem);
  line-height: 1.5;
  max-width: 42ch;
  color: rgba(255,255,255,.92);
  margin: 0 0 1.5rem;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin-top: .5rem;
}
.hero__meta {
  margin-top: 2rem;
  display: inline-flex; gap: .75rem; align-items: baseline;
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero__meta strong { color: #fff; font-weight: 600; }


/* organischer SVG-Trenner unter Hero (kein clip-path-Wave-Cliché — eine Linie als Akzent) */
.hero-rule {
  position: relative;
  height: 0;
  margin: 0;
  z-index: 3;
}
.hero-rule__svg {
  display: block;
  width: 100%;
  height: 80px;
  transform: translateY(-1px);
}


/* --- 9. Über uns (asymmetrisches Grid mit Bild) --- */
.about {
  background: var(--c-paper);
}
.about__layout {
  display: grid;
  gap: var(--s-md);
}
.about__text { display: grid; gap: 1.25rem; }
.about__text h2 { margin-bottom: .25rem; }
.about__text p { font-size: 1.0625rem; line-height: 1.7; }
.about__pull {
  border-left: 3px solid var(--c-accent);
  padding: .25rem 0 .25rem 1.25rem;
  margin: .75rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--c-ink);
}
.about__pull cite {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: .8125rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.about__visual {
  position: relative;
  margin-top: 1rem;
}
.about__visual img {
  width: 100%; height: auto;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
}
.about__visual::before {
  /* dekorativer Block-Akzent — CI-Limette (#9DBA23) als großflächiger Anker */
  content: "";
  position: absolute;
  inset: auto -8px -16px auto;
  width: 60%; height: 70%;
  background: var(--c-nature);
  z-index: -1;
}
.about__caption {
  margin-top: .85rem;
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* alte .about__card / .about__grid bleiben für Kompatibilität nutzbar */
.about__grid { display: grid; gap: var(--s-md); margin-top: var(--s-md); }
.about__card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-md);
  position: relative;
}
.about__card::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 3px; background: var(--c-primary);
}
.about__card h3 { color: var(--c-primary); margin-top: 0; }
.about__card .lucide,
.about__card .icon { color: var(--c-accent); margin-bottom: .75rem; }


/* --- 10. Projekte (Featured + Standard-Karten) --- */
.projects {
  background: var(--c-paper-alt);
  position: relative;
  overflow: hidden;
}
.projects::before {
  /* sehr dezente Wellen-Anspielung an Bad-König-Quellwasser-Tradition */
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 240px 240px;
  opacity: .25;
  pointer-events: none;
}
.projects__inner { position: relative; }
.projects__head {
  display: grid; gap: 1rem;
  margin-bottom: var(--s-md);
  max-width: 70ch;
}
.projects__grid {
  display: grid; gap: 1.5rem;
}
.project-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: var(--sh-soft);
}
.project-card::before {
  /* farbiger Akzent-Streifen — Grün im Standard (Natur/Outdoor-Themen), Orange im Hover */
  content: "";
  position: absolute; left: 0; top: 1.75rem; bottom: 1.75rem;
  width: 3px;
  background: var(--c-nature);
  transition: background .2s, top .2s, bottom .2s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: var(--c-nature); }
.project-card:hover::before { background: var(--c-accent); top: 1rem; bottom: 1rem; }
.project-card__icon {
  /* Flyer-Stil Seite 2: runde CI-Limetten-Bubble mit weißem Icon.
     Limette (#9DBA23) + weiß = visuell knackig, Icon-Kontrast ~2.4 reicht
     für non-text Symbole (WCAG-Empfehlung 3:1 wird durch 52px-Bubble +
     2px stroke-width angenähert; bei Bedarf später deep verwenden). */
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--c-nature);
  color: #fff;
  border-radius: 999px;
}
.project-card__icon .icon { width: 28px; height: 28px; }
.project-card h3 { margin: .15rem 0 .1rem; color: var(--c-ink); font-size: 1.375rem; }
.project-card__kurz {
  margin: 0;
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
.project-card p { font-size: 1rem; line-height: 1.6; color: var(--c-text); margin: 0; }

/* Featured-Projekt — der erste Eintrag bricht aus dem Grid; sattes Grün als
   thematischer Anker (Natur / Outdoor: Rosenweg, Wandern, Trailcenter) */
.project-card--featured {
  background: var(--c-nature-deep);
  border-color: var(--c-nature-deep);
  color: #fff;
}
.project-card--featured::before { background: var(--c-accent); }
.project-card--featured h3 { color: #fff; }
.project-card--featured p { color: rgba(255,255,255,.92); }
.project-card--featured .project-card__kurz { color: var(--c-accent); }
.project-card--featured .project-card__icon { background: rgba(255,255,255,.15); color: #fff; }
.project-card--featured:hover { transform: translateY(-4px); border-color: var(--c-nature-700); }


/* --- 11. CTA-Strip (großer Mitglied/Spenden-Aufruf) --- */
.cta-strip {
  background: var(--c-nature-deep);
  color: #fff;
  padding: var(--s-xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 220px 220px;
  opacity: .25;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta-strip::after {
  /* großer Buchstabe als Hintergrund-Akzent */
  content: "B";
  position: absolute;
  right: -.05em; bottom: -.35em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20rem, 50vw, 44rem);
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  user-select: none;
}
.cta-strip__inner { position: relative; z-index: 1; }

/* Variante mit Bühnen-Foto (Hände im Kreis aus dem Flyer) — Grün-Layering
   darüber, damit weiße Schrift durchgängig lesbar bleibt. Spiegelt die
   gleiche Bild-Logik wie im Hero (Stadtbild + Blau-Overlay). */
.cta-strip--with-image .cta-strip__media {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cta-strip--with-image .cta-strip__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.cta-strip--with-image .cta-strip__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Mobile zeigt das Bild zentriert. Auf größeren Schirmen kippt der Fokus
     nach unten, damit die Hände im Bildausschnitt sichtbar bleiben. */
  object-position: 50% 50%;
  filter: saturate(.95) contrast(1.02);
}
@media (min-width: 768px) {
  .cta-strip--with-image .cta-strip__media img { object-position: 50% 80%; }
}
.cta-strip--with-image .cta-strip__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(74, 93, 15, .82) 0%, rgba(74, 93, 15, .92) 100%),
    linear-gradient(115deg, rgba(94, 116, 20, .65) 0%, rgba(94, 116, 20, 0) 55%);
}
/* "B"-Akzent ausblenden, wenn Bild kommt — sonst kämpfen Foto + Buchstabe */
.cta-strip--with-image::after { display: none; }

/* Wellenförmiger oberer Sektion-Rand. Section-Overlap-Pattern:
   - clip-path schneidet die obere Kante zur Welle aus.
   - margin-top: -var(--wave-height) zieht die Sektion in die vorherige hinein,
     damit das Bild + Grün-Overlay innerhalb der Welle sichtbar bleiben.
   - padding-top kompensiert den negativen Margin und addiert reguläres
     Sektion-Padding, sodass der Content (Headline + Karten) unterhalb der
     Welle anfängt.
   Im transparenten Bereich oberhalb der Welle schimmert die vorherige Sektion
   (Projects mit paper-alt) durch — der Übergang erbt deren Background. */
.cta-strip--wave-top {
  --wave-height: 6rem;
  position: relative;
  z-index: 1;
  margin-top: calc(var(--wave-height) * -1);
  padding-top: calc(var(--s-xl) + var(--wave-height));
  -webkit-clip-path: url(#cta-wave-top);
  clip-path: url(#cta-wave-top);
}
.cta-strip .section-heading,
.cta-strip__head { max-width: 56ch; margin-bottom: var(--s-md); }
.cta-strip h2 { color: #fff; }
.cta-strip h2 em { color: var(--c-accent); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.cta-strip .lead { color: rgba(255,255,255,.9); }
.cta-strip .section-heading__eyebrow,
.cta-strip .eyebrow { color: #fff; }
.cta-strip .section-heading__eyebrow::before,
.cta-strip .eyebrow::before { background: var(--c-accent); }

.cta-strip__grid {
  display: grid; gap: 1.5rem;
  position: relative;
}
.cta-card {
  /* Deckendes Tief-Grün als Layering auf der Sektions-Bühne (cta-strip = nature-deep).
     Halbtransparente Schleier sehen mit Noise-Textur und großem "B"-Akzent darunter
     unsauber aus, daher feste Farbe. */
  background: var(--c-nature-700);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-md);
  padding: var(--s-md);
  display: flex; flex-direction: column; gap: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;  /* über das große "B" im Hintergrund heben */
}
.cta-card h3 { color: #fff; margin: 0; font-size: 1.625rem; }
.cta-card p { color: #fff; margin: 0; }
.cta-card p strong { color: #fff; }
.cta-card .btn { align-self: flex-start; margin-top: auto; }

/* Akzent-Karte (Mitglied werden) — satte Orange-Fläche, weißer Text */
.cta-card--primary {
  background: var(--c-accent);
  border-color: var(--c-accent-deep);
  box-shadow: 0 14px 40px -18px rgba(240, 140, 34, .65);
}
.cta-card--primary h3 { color: #fff; }
.cta-card--primary .btn { background: #fff; color: var(--c-accent-deep); border-color: #fff; }
.cta-card--primary .btn:hover { background: var(--c-primary-deep); color: #fff; border-color: var(--c-primary-deep); }


/* --- 12. Formulare --- */
.form-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  box-shadow: var(--sh-card);
  /* Auf großen Screens nicht endlos breit werden — lesbare Formularbreite,
     aber innerhalb eines vollen 1240er-Containers für luftige Bühne. */
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
/* Begleit-Alerts ebenfalls auf Form-Breite begrenzen, damit nichts unkoordiniert flackert */
.form-card + .alert,
section > .container > .alert {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--c-ink);
  font-size: .9375rem;
}
.form-row .hint {
  display: block; font-size: .85rem; color: var(--c-muted); margin-top: .35rem;
  font-family: var(--font-ui);
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font: inherit;
  background: #fff;
  color: var(--c-ink);
  min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(31,76,135,.18);
}
.form-row.is-error input,
.form-row.is-error select { border-color: #b3261e; }
.form-row .error-msg { color: #b3261e; font-size: .875rem; margin-top: .35rem; font-family: var(--font-ui); }
.form-row__grid { display: grid; gap: 1rem; }

.beitrag-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (max-width: 600px) {
  .beitrag-options { grid-template-columns: 1fr; }
}
.beitrag-option {
  display: flex; align-items: flex-start; gap: .85rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.beitrag-option:hover { border-color: var(--c-primary); }
.beitrag-option input { margin-top: .3rem; }
.beitrag-option__label { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.beitrag-option__name { font-family: var(--font-ui); font-weight: 600; color: var(--c-ink); }
.beitrag-option__price { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-primary); font-weight: 600; }
.beitrag-option__hint { font-family: var(--font-ui); font-size: .85rem; color: var(--c-muted); }
.beitrag-option:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-soft); }

/* ============================================
   Custom Checkboxen — modern, größer, barrierefrei.
   Funktionsweise: native input visuell unsichtbar (aber screenreader-erreichbar),
   ::before des span rendert die sichtbare Box, ::after den Haken.
   ============================================ */
.form-checkbox {
  display: flex; align-items: flex-start; gap: .85rem;
  font-size: 1rem; font-family: var(--font-ui); color: var(--c-text);
  line-height: 1.45;
  cursor: pointer;
  padding: .25rem 0;
}
.form-checkbox input[type="checkbox"],
.form-checkbox input[type="radio"] {
  /* visuell verstecken, aber für Screenreader und Tastatur erreichbar */
  position: absolute;
  opacity: 0;
  width: 1.5rem; height: 1.5rem;
  margin: 0;
  cursor: pointer;
}
.form-checkbox > span {
  display: block;
  position: relative;
  padding-left: 2.25rem;  /* Platz für die Box links */
  flex: 1;
  min-height: 1.5rem;
}
/* Box */
.form-checkbox > span::before {
  content: "";
  position: absolute;
  left: 0; top: -.05rem;
  width: 1.5rem; height: 1.5rem;
  border: 2px solid var(--c-border);
  border-radius: 6px;
  background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
  box-sizing: border-box;
}
/* Haken (Checkbox) */
.form-checkbox input[type="checkbox"] + span::after {
  content: "";
  position: absolute;
  left: .42rem; top: .25rem;
  width: .55rem; height: .95rem;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .15s ease-out;
}
/* Dot (Radio) */
.form-checkbox > span::before { border-radius: 6px; }
.form-checkbox input[type="radio"] + span::before { border-radius: 50%; }
.form-checkbox input[type="radio"] + span::after {
  content: "";
  position: absolute;
  left: .375rem; top: .325rem;
  width: .75rem; height: .75rem;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform .15s ease-out;
}
.form-checkbox:hover > span::before { border-color: var(--c-primary); }
.form-checkbox input:focus-visible + span::before {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
.form-checkbox input:checked + span::before {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.form-checkbox input:checked + span::after {
  transform: rotate(45deg) scale(1);
}
.form-checkbox input[type="radio"]:checked + span::after {
  transform: scale(1);
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Mitmachen-Optionen — Karten-Checkbox-Liste.
   Standardmäßig 2er-Grid (für engagement-Auswahl), passt auf 1 Spalte unter 600px. */
.mitmachen-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (max-width: 600px) {
  .mitmachen-options { grid-template-columns: 1fr; }
}
.form-checkbox--card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  align-items: flex-start;
}
.form-checkbox--card:hover { border-color: var(--c-primary); }
.form-checkbox--card:has(input:checked) { border-color: var(--c-accent); background: var(--c-accent-soft); }

/* SEPA-Mandat-Text-Block — vom Rest abgesetzt mit Akzent-Strich links */
.sepa-mandat-text {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--c-paper-alt);
  border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .92rem;
  line-height: 1.55;
}
.sepa-mandat-text p { margin: 0 0 .5rem; }
.sepa-mandat-text p:last-child { margin-bottom: 0; }

/* Engagement-conditional: Mobile-Feld erst zeigen, wenn "aktiv" gewählt ist.
   Wird per JS gesteuert (hidden-Attribut). */
.engagement-aktiv-only[hidden] { display: none; }

/* Kontakt-Seite: Formular + Aside nebeneinander ab Tablet */
.kontakt-layout {
  display: grid; gap: var(--s-md);
}
.kontakt-aside {
  background: var(--c-paper-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.5rem;
  align-self: start;
}
.kontakt-aside h2 { font-size: 1.375rem; }
.kontakt-aside .icon { vertical-align: -.2em; margin-right: .35rem; color: var(--c-accent); }
.kontakt-aside__address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
@media (min-width: 768px) {
  .kontakt-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--s-md);
    align-items: start;
  }
}

.alert {
  padding: 1rem 1.25rem;
  border-left: 4px solid;
  border-radius: var(--r-sm);
  margin-bottom: 1.25rem;
  font-family: var(--font-ui);
  font-size: .95rem;
  line-height: 1.5;
}
.alert--success { background: #f3f8e3; color: #4f6310; border-color: var(--c-nature); }
.alert--error   { background: #fdecea; color: #b3261e; border-color: #b3261e; }
.alert--info    { background: var(--c-primary-soft); color: var(--c-primary-700); border-color: var(--c-primary); }


/* --- 12b. Page-Header (kompakter Hero für Unterseiten — saubere Kontraste) --- */
.page-header {
  background: var(--c-primary);
  color: #fff;
  padding: var(--s-lg) 0 var(--s-md);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 220px 220px;
  opacity: .22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-header__inner { position: relative; z-index: 1; max-width: 60ch; }
.page-header__eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-ui);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 1rem;
}
.page-header__eyebrow::before {
  content: ""; width: 2.5rem; height: 2px; background: var(--c-accent); flex-shrink: 0;
}
.page-header h1 {
  color: #fff;
  margin: 0 0 .65rem;
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
}
.page-header__lead {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
  margin: 0;
}
.page-header__lead strong { color: #fff; }
.page-header__lead a { color: var(--c-accent); text-decoration-color: rgba(240, 140, 34, .5); }
.page-header__lead a:hover { color: #fff; }


/* --- 13. Spenden-Block ---
   Alle Spenden-Bausteine auf einheitliche Lese-Breite, damit Stiftung-Vorstellung,
   IBAN-Karte, Stiftungs-Link-Block und Mitgliedschaft-Hinweis nicht in unterschiedlichen
   Breiten flackern (Container ist 1240px, aber Spenden-Inhalt soll lesbar bleiben). */
.spende-card,
.spende-block,
.stiftung-vorstellung,
.spende-section > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.spende-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  display: grid; gap: 1.25rem;
  box-shadow: var(--sh-card);
}
.spende-iban {
  background: var(--c-primary-soft);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  font-family: 'Source Code Pro', ui-monospace, 'Consolas', monospace;
  letter-spacing: .03em;
  word-break: break-all;
  font-size: 1rem;
  color: var(--c-primary-700);
}
.spende-iban strong {
  display: block;
  font-family: var(--font-ui);
  margin-bottom: .35rem;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-muted);
}
.spende-qr {
  display: grid; gap: .65rem; text-align: center; max-width: 260px;
  justify-self: center;
}
.spende-qr img {
  background: #fff;
  padding: .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  width: 100%;
  height: auto;
}
.spende-qr__caption {
  font-family: var(--font-ui);
  font-size: .85rem;
  line-height: 1.4;
  color: var(--c-muted);
}
.spende-qr__caption strong { color: var(--c-ink); }

/* Stiftungs-Vorstellung auf Spenden-Seite */
.stiftung-vorstellung {
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  margin: 0 auto var(--s-md);
  max-width: 960px;
  box-shadow: var(--sh-soft);
}
.stiftung-vorstellung__head {
  display: flex; gap: 1.5rem; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.stiftung-vorstellung__logo {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}
.stiftung-vorstellung__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--c-nature-deep);
  margin: 0;
}
.stiftung-vorstellung__sub {
  font-size: 1.125rem;
  color: var(--c-primary);
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}
.stiftung-bereiche {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.stiftung-bereiche__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas: "icon title" "icon desc";
  column-gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--c-paper-alt);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--c-nature);
}
.stiftung-bereiche__icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--c-nature-deep);
  border-radius: 999px;
}
.stiftung-bereiche__item strong { grid-area: title; color: var(--c-ink); }
.stiftung-bereiche__item .muted { grid-area: desc; font-size: .9rem; }
@media (min-width: 768px) {
  .stiftung-bereiche { grid-template-columns: repeat(3, 1fr); }
}


/* --- 13a. Wellen-Trenner zwischen Sektionen (Flyer-Stil) --- */
.wave-divider {
  position: relative;
  display: block;
  line-height: 0;
  /* Keine eigene Höhe — Hintergrund + SVG übernehmen die 80px */
}
.wave-divider__svg {
  display: block;
  width: 100%;
  height: 80px;
}


/* --- 13b. Newsletter-Widget (Footer + Inline auf Kontakt-Seite) ---
   Grün statt Blau — passt zu „mitwachsen / dranbleiben" und löst die Stimmung
   vom dunkelblauen Footer ab. Sattgrün, weil die helle Limette zu wenig
   Kontrast zu weißer Schrift hat. */
.newsletter {
  background: var(--c-nature-deep);
  color: #fff;
  padding: var(--s-md) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 220px 220px;
  opacity: .18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.newsletter__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--s-sm);
}
.newsletter__head { max-width: 48ch; }
.newsletter__eyebrow {
  font-family: var(--font-ui);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 .35rem;
}
.newsletter h2,
.newsletter h3 {
  color: #fff;
  margin: 0 0 .35rem;
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
}
.newsletter p {
  color: rgba(255, 255, 255, .85);
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}
.newsletter__form {
  display: grid; gap: .65rem;
}
.newsletter__form-row {
  display: flex; flex-wrap: wrap; gap: .65rem;
}
.newsletter__form input[type="email"],
.newsletter__form input[type="text"] {
  flex: 1 1 16rem;
  min-height: 48px;
  padding: .85rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter__form input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .14);
}
.newsletter__form .btn { min-height: 48px; }
.newsletter__form .form-checkbox {
  color: rgba(255, 255, 255, .85);
  font-size: .875rem;
}
.newsletter__form .form-checkbox a { color: var(--c-accent); }
.newsletter__form .form-checkbox a:hover { color: #fff; }
@media (min-width: 768px) {
  .newsletter__inner {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: var(--s-md);
  }
}


/* --- 13bb. Aktuelles (Listen-Grid + Detail + Startseiten-Teaser) --- */
.news-grid {
  display: grid;
  gap: var(--s-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-soft);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card);
  border-color: var(--c-nature);
}
.news-card__link {
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.news-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-paper-alt);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--c-nature-deep);
}
.news-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.news-card__meta {
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
  margin: 0;
}
.news-card__title {
  font-size: 1.375rem;
  margin: 0;
  color: var(--c-ink);
  line-height: 1.2;
}
.news-card__teaser {
  color: var(--c-text);
  line-height: 1.55;
  margin: 0;
  font-size: 1rem;
}
.news-card__more {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-ui); font-weight: 600;
  color: var(--c-primary);
  font-size: .9rem;
  margin-top: auto;
}
.news-card:hover .news-card__more { color: var(--c-accent-deep); }

/* News-Detail */
.news-detail {
  max-width: 760px;
  margin: 0 auto;
}
.news-detail__media {
  margin: 0 0 var(--s-md);
  border-radius: var(--r-md);
  overflow: hidden;
}
.news-detail__media img { width: 100%; height: auto; display: block; }
.news-detail__body p { font-size: 1.0625rem; line-height: 1.7; }
.news-detail__back { margin-top: var(--s-md); text-align: center; }

/* News-Bildergalerie (mehrere Bilder unter dem Volltext) */
.news-gallery { margin-top: var(--s-md); }
.news-gallery__title {
  font-size: 1.25rem;
  margin: 0 0 .75rem;
  color: var(--c-primary);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.news-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 600px) {
  .news-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
.news-gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--c-paper-alt);
  box-shadow: var(--sh-soft);
  transition: transform .2s, box-shadow .2s;
}
.news-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.news-gallery__item:hover { transform: translateY(-2px); box-shadow: var(--sh-card); }
.news-gallery__item:hover img { transform: scale(1.05); }

/* ============================================
   News-Liste auf /aktuelles — kompakte einzeilige Darstellung
   (klein-Thumbnail links, Text mittig, Pfeil rechts)
   ============================================ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.news-list__item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.news-list__item:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-soft);
  transform: translateY(-1px);
}
.news-list__link {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: .65rem .9rem .65rem .65rem;
  text-decoration: none;
  color: inherit;
}
.news-list__thumb {
  width: 140px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--r-md) - 4px);
  background: var(--c-paper-alt);
}
.news-list__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.news-list__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted);
}
.news-list__body { min-width: 0; }
.news-list__meta {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: var(--c-muted);
  margin: 0 0 .15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.news-list__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 .2rem;
  color: var(--c-ink);
  line-height: 1.3;
}
.news-list__teaser {
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--c-text);
  margin: 0;
  line-height: 1.45;
  /* Auf eine Zeile begrenzen, mit Ellipsis */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-list__more {
  color: var(--c-primary);
  display: inline-flex; align-items: center;
  transition: transform .15s;
}
.news-list__item:hover .news-list__more {
  color: var(--c-accent);
  transform: translateX(3px);
}

/* Mobile: Thumbnail kleiner, Pfeil entfällt */
@media (max-width: 600px) {
  .news-list__link {
    grid-template-columns: 84px 1fr;
    gap: .75rem;
    padding: .55rem .75rem .55rem .55rem;
  }
  .news-list__thumb { width: 84px; }
  .news-list__title { font-size: 1rem; }
  .news-list__teaser { -webkit-line-clamp: 2; font-size: .85rem; }
  .news-list__more { display: none; }
}

/* ============================================
   Lightbox (Vanilla-JS, kein externes Lib)
   ============================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 20, 30, .92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: lightbox-fade .2s ease-out;
}
.lightbox.is-open { display: flex; }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

body.lightbox-open { overflow: hidden; }

.lightbox__stage {
  margin: 0;
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem;
}
.lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  border-radius: 4px;
  background: #000;
}
.lightbox__caption {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  text-align: center;
  max-width: 80ch;
  margin: 0;
  padding: 0 1rem;
}

/* Buttons (Close + Nav-Pfeile) — gleiches Grundstyle */
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s, border-color .15s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .5);
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lightbox__close {
  top: 1rem; right: 1rem;
  width: 3rem; height: 3rem;
}

.lightbox__nav {
  top: 50%; transform: translateY(-50%);
  width: 3.5rem; height: 3.5rem;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }

.lightbox__counter {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  letter-spacing: .05em;
  padding: .4rem .9rem;
  background: rgba(0, 0, 0, .35);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Mobile: Buttons etwas kompakter, näher am Rand */
@media (max-width: 600px) {
  .lightbox__close { width: 2.5rem; height: 2.5rem; top: .5rem; right: .5rem; }
  .lightbox__nav   { width: 2.75rem; height: 2.75rem; }
  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
  .lightbox__img { max-height: 75vh; }
}

/* Startseiten-Teaser („Aktuelles") — kompaktere Variante.
   Background bewusst paper-alt, damit der CTA-Strip-Wave-Cut darunter
   den gleichen Untergrund hat wie die Projects-Sektion (Farbkontinuität). */
.news-teaser {
  background: var(--c-paper-alt);
}
.news-teaser__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--s-sm);
  margin-bottom: var(--s-md);
  flex-wrap: wrap;
}
.news-teaser__head h2 { margin: 0; }
.news-teaser__head .btn { white-space: nowrap; }
.news-teaser__grid {
  display: grid; gap: var(--s-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .news-teaser__grid { grid-template-columns: repeat(3, 1fr); } }


/* --- 13c. Satzungs-Seite — Dokument-Layout mit Sticky-TOC ab Tablet --- */
.satzung-layout { display: grid; gap: var(--s-md); }
.satzung-document { min-width: 0; }
.satzung-meta { margin-bottom: var(--s-md); }

.satzung-preamble {
  font-size: clamp(1.5rem, 1vw + 1.25rem, 2rem);
  text-align: center;
  margin: var(--s-lg) 0 var(--s-md);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--c-nature);
}
.satzung-section {
  font-size: clamp(1.4rem, .8vw + 1.2rem, 1.875rem);
  margin: var(--s-lg) 0 var(--s-sm);
  padding-left: 1rem;
  border-left: 4px solid var(--c-primary);
  color: var(--c-primary);
}
.satzung-paragraph {
  margin: var(--s-md) 0;
  scroll-margin-top: 90px;
}
.satzung-paragraph h3 {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  color: var(--c-accent-deep);
  margin: 0 0 .5rem;
  letter-spacing: .01em;
}
.satzung-paragraph p { line-height: 1.65; }
.satzung-paragraph ol,
.satzung-paragraph ul { padding-left: 1.5rem; line-height: 1.65; }
.satzung-paragraph ol > li,
.satzung-paragraph ul > li { margin-bottom: .5rem; }
.satzung-paragraph ol ol,
.satzung-paragraph ul ul { margin-top: .35rem; }

.satzung-signatur {
  margin-top: var(--s-xl);
  padding-top: var(--s-md);
  border-top: 1px solid var(--c-border);
  text-align: center;
  font-family: var(--font-body);
}
.satzung-signatur__names {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-md);
  margin-top: var(--s-sm);
}
.satzung-signatur__names span { line-height: 1.4; }

.satzung-toc {
  background: var(--c-paper-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  align-self: start;
}
.satzung-toc h2 {
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 1rem;
}
.satzung-toc__list { list-style: none; padding: 0; margin: 0; }
.satzung-toc__list strong {
  display: block;
  color: var(--c-primary);
  margin: 1rem 0 .35rem;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.satzung-toc__list > li:first-child strong { margin-top: 0; }
.satzung-toc__list ol {
  list-style: none; padding: 0; margin: 0 0 .5rem;
  display: grid; gap: .15rem;
}
.satzung-toc__list a {
  color: var(--c-ink);
  text-decoration: none;
  padding: .2rem 0;
  display: block;
  border-left: 2px solid transparent;
  padding-left: .5rem;
  transition: color .15s, border-color .15s;
}
.satzung-toc__list a:hover {
  color: var(--c-accent-deep);
  border-left-color: var(--c-accent);
}

@media (min-width: 900px) {
  .satzung-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: var(--s-lg);
    align-items: start;
  }
  .satzung-toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}


/* --- 14. Footer --- */
.site-footer {
  background: var(--c-primary-deep);
  color: rgba(255,255,255,.78);
  padding-top: var(--s-lg);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 220px 220px;
  opacity: .22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.site-footer h3 {
  color: #fff;
  font-family: var(--font-ui);
  font-size: .8125rem;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .9rem;
  font-weight: 600;
}
.site-footer__grid {
  display: grid; gap: var(--s-md);
  padding-bottom: var(--s-md);
  position: relative;
}
.site-footer p { color: rgba(255, 255, 255, .82); }
.site-footer p strong,
.site-footer address strong,
.site-footer strong { color: #fff; }
.site-footer__col--brand p { font-size: .9375rem; line-height: 1.6; max-width: 32ch; }
.site-footer__col--brand .brand--footer img { height: 60px; width: auto; }
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .4rem;
  font-family: var(--font-ui);
  font-size: .9375rem;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
}
.site-footer a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.site-footer address {
  font-style: normal; line-height: 1.7;
  font-family: var(--font-body);
}
.site-footer .link--white,
.site-footer .mail-protect { color: #fff; }
.site-footer__base {
  background: rgba(0,0,0,.22);
  padding: 1rem 0;
  position: relative;
}
.site-footer__base-inner {
  display: flex; flex-direction: column; gap: .35rem;
  font-family: var(--font-ui);
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.site-footer__base-inner a { color: var(--c-accent); border-bottom-color: transparent; }
.site-footer__base-inner a:hover { color: #fff; }


/* --- 15. Utility --- */
.is-hidden { display: none !important; }
.text-center { text-align: center; }
.muted { color: var(--c-muted); }
.stack > * + * { margin-top: var(--s-sm); }
.stack-md > * + * { margin-top: var(--s-md); }
.print-only { display: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
/* Inline-Akzent in CI-Limette für einzelne Wörter (Jahreszahlen, Stichwörter).
   In Display-Headlines lesbar, weil großer Bold-Text 3:1 schon mit weißem
   Background erreicht. NICHT für Fließtext nutzen. */
.text-nature { color: var(--c-nature); font-style: normal; }


/* --- 16. Tablet (ab 768px) --- */
@media (min-width: 768px) {
  section { padding: var(--s-2xl) 0; }

  .nav-toggle { display: none; }
  .nav-main {
    display: block !important;
    position: static !important;
    background: transparent;
    box-shadow: none;
    border: 0;
  }
  .nav-main ul {
    flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0;
  }
  .nav-main a { padding: .5rem 0; border-left: 0; border-bottom: 2px solid transparent; min-height: auto; }
  .nav-main a:hover { background: transparent; color: var(--c-primary); border-bottom-color: var(--c-accent); border-left-color: transparent; }
  .nav-main a[aria-current="page"] { color: var(--c-primary); border-bottom-color: var(--c-accent); border-left-color: transparent; }
  .nav-main .btn { margin-top: 0; padding: .65rem 1.2rem; }

  .hero__content { padding: var(--s-2xl) 0; min-height: 75vh; align-content: center; }
  .hero__title { max-width: 14ch; }

  .about__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--s-lg);
    align-items: start;
  }
  .about__text { padding-top: 1.5rem; }
  .about__visual { margin-top: 0; transform: translateY(-2rem); }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }

  .cta-strip__grid { grid-template-columns: 1.2fr 1fr; align-items: stretch; gap: 1.75rem; }

  .form-row__grid { grid-template-columns: 1fr 1fr; }
  .spende-card { grid-template-columns: 1fr auto; align-items: center; }

  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; }
  .site-footer__base-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}


/* --- 17. Desktop (ab 1024px) --- */
@media (min-width: 1024px) {
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Featured-Karte spannt zwei Spalten */
  .project-card--featured { grid-column: span 2; }
  .project-card--featured h3 { font-size: 1.75rem; max-width: 24ch; }
  .project-card--featured p { font-size: 1.0625rem; }

  .hero__content { min-height: 82vh; }
}


/* --- 18. Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* --- 19. Print --- */
@media print {
  .site-header, .site-footer, .nav-main, .nav-toggle, .btn, .skip-link, .hero__media, .hero__noise { display: none !important; }
  .hero { background: #fff; color: #000; padding: 1rem 0; }
  .hero__content { padding: 0; }
  .hero__title, .hero__lead, .hero__eyebrow { color: #000; }
  body { background: #fff; color: #000; }
  .print-only { display: block; }
}
