/*
Theme Name: Projekt Lejo
Theme URI: https://projekt-lejo.ch
Author: Projekt Lejo / Verein Gentle Dog Options
Description: Schlankes Theme aus dem Website-Prototyp von Projekt Lejo. Seiteninhalte liegen als HTML-Block im Editor; Kopf, Navigation und Fuss kommen aus dem Theme.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: projekt-lejo
*/

/* ==========================================================================
   LEJOS OASE — Design-System
   --------------------------------------------------------------------------
   Übernommen vom Verein Gentle Dog Options (gentledog.ch/verein, Stand
   09.10.2026): warme Flächen in Creme und Sand, Überschriften in Erdbraun,
   Kleintitel in Honig, Blau #3a5164 als Akzent für Kopf, Titelbild und
   Fuss. Karten mit farbiger Oberkante, abwechselnd Hellblau und Honig.
   Schriften wie beim Verein: Dosis, Open Sans, Caveat — lokal eingebunden,
   damit nichts von Google geladen wird und kein Cookie-Banner nötig ist.

   Alle Farben, Schriften und Abstände stehen als Variablen ganz oben.
   Willst du das Aussehen der ganzen Website ändern, änderst du nur diesen
   ersten Block.
   ========================================================================== */


/* --- SCHRIFTEN (lokal, Ordner fonts/) ------------------------------------ */

@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/dosis-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/dosis-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/dosis-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/open-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/caveat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/caveat-latin-600-normal.woff2') format('woff2'); }


:root {

  /* --- FARBEN (wie Vereinsseite) ----------------------------------------- */

  --c-bg:            #fdf6ea;   /* Creme — Grundfläche                     */
  --c-bg-soft:       #f2e7d6;   /* Sand — jede zweite Fläche               */
  --c-bg-honey:      #fbefda;   /* Honighell — Zitate, Wunschkasten        */
  --c-surface:       #ffffff;   /* Karten                                  */

  --c-blue:          #3a5164;   /* Akzent: Kopf, Titelbild, Fuss, Links    */
  --c-blue-mid:      #55738b;   /* zweiter Knopf, Verläufe                 */
  --c-blue-light:    #6F8EA6;   /* Kartenkante, Fokusrahmen                */
  --c-blue-pale:     #e4ebf0;   /* Symbolkreise                            */
  --c-blue-deep:     #2c3f50;   /* Ende des Fussverlaufs                   */

  --c-honey:         #E0A458;   /* Kartenkante, Zitatlinie, Punkte         */
  --c-honey-dark:    #9a6b1a;   /* Hauptknopf «Jetzt spenden»              */
  --c-honey-text:    #855c17;   /* Kleintitel                              */
  --c-honey-ink:     #6b4c12;   /* Zitattext                               */
  --c-honey-on-dark: #f3ddbd;   /* Kleintitel auf Blau                     */

  --c-terra:         #a94f2a;   /* einzelnes Signalwort in Überschriften   */
  --c-terra-on-dark: #f2b48f;

  --c-heading:       #6d5c4a;   /* Überschriften, warmes Erdbraun          */
  --c-ink:           #2e2b27;   /* Fliesstext                              */
  --c-ink-soft:      #5e554b;
  --c-ink-invert:    #f5efe4;
  --c-line:          #e3d6c2;

  /* --- TYPOGRAFIE -------------------------------------------------------- */

  --font-display: 'Dosis', 'Open Sans', sans-serif;
  --font-body:    'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-hand:    'Caveat', 'Segoe Print', cursive;

  --fs-hero:  clamp(2.1rem, 5.2vw, 3.9rem);
  --fs-h1:    clamp(1.9rem, 4.2vw, 3.1rem);
  --fs-h2:    clamp(1.55rem, 3vw, 2.3rem);
  --fs-h3:    clamp(1.15rem, 1.9vw, 1.4rem);
  --fs-lead:  clamp(1.08rem, 1.5vw, 1.25rem);
  --fs-body:  1.0625rem;
  --fs-small: 0.93rem;

  /* --- ABSTÄNDE & FORMEN ------------------------------------------------- */

  --space-section: clamp(3.5rem, 7vw, 6rem);
  --width-page:    1180px;
  --width-text:    680px;

  --radius:      16px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  --shadow-card:  0 10px 30px rgba(70, 60, 48, .12);
  --shadow-hover: 0 22px 50px rgba(70, 60, 48, .20);
  --shadow-btn:   0 6px 18px rgba(45, 58, 68, .18);
}


/* ==========================================================================
   GRUNDLAGEN
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-blue); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--c-honey-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--c-heading);
  margin: 0 0 0.6em;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

/* Ein Wort in Terracotta — wie die Bildtexte auf Social Media */
.hl { color: var(--c-terra); }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--c-ink-soft);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-honey-text);
  margin-bottom: 0.9rem;
}

.center { text-align: center; }
.center p { margin-inline: auto; }
.narrow { max-width: var(--width-text); margin-inline: auto; }


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.wrap {
  width: min(100% - 2.5rem, var(--width-page));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); background: var(--c-bg); }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: var(--c-bg-honey); }

/* Blaues Band — wie Titelbild und Fuss der Vereinsseite */
.section--deep {
  background: linear-gradient(140deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  color: var(--c-ink-invert);
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p, .section--deep .lead { color: rgba(245, 239, 228, 0.86); }
.section--deep .eyebrow { color: var(--c-honey-on-dark); }
.section--deep .hl { color: var(--c-terra-on-dark); }
.section--deep a { color: var(--c-honey-on-dark); }

.section-head { max-width: var(--width-text); margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}


/* ==========================================================================
   BUTTONS — Pillen mit leichtem Schatten, heben sich beim Überfahren
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(45, 58, 68, .28); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-blue-light); outline-offset: 3px; }

.btn--primary { background: var(--c-honey-dark); color: #fff; }
.btn--primary:hover { background: #7f5814; color: #fff; }

.btn--secondary { background: var(--c-blue-mid); color: #fff; }
.btn--secondary:hover { background: var(--c-blue); color: #fff; }

.btn--ghost { border-color: var(--c-blue-mid); color: var(--c-blue); background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--c-blue-mid); color: #fff; }

.btn--light { background: #fff; color: var(--c-blue); }
.btn--light:hover { background: #fff; color: var(--c-honey-dark); }

.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.14); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

/* Auf Blau färbt .section--deep a alle Links ein — die Buttons müssen
   ihre eigene Textfarbe behalten, sonst bricht der Kontrast ein.
   (Gleiches gilt für .nav a im Kopfbereich.) Nicht entfernen. */
.section--deep .btn--primary, .section--deep .btn--primary:hover,
.section--deep .btn--secondary, .section--deep .btn--secondary:hover,
.section--deep .btn--outline-light, .section--deep .btn--outline-light:hover,
.hero .btn--primary, .hero .btn--outline-light,
.pagehead .btn--primary, .pagehead .btn--outline-light { color: #fff; }
.section--deep .btn--light, .pagehead .btn--light { color: var(--c-blue); }
.section--deep .btn--light:hover { color: var(--c-honey-dark); }
.section--deep .btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.section--deep .btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.cta .btn--primary, .cta .btn--primary:hover,
.cta .btn--secondary, .cta .btn--secondary:hover { color: #fff; }


/* ==========================================================================
   HEADER / NAVIGATION — blauer Balken wie beim Verein
   ========================================================================== */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: var(--c-blue);
  box-shadow: 0 2px 14px rgba(28, 42, 52, .18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  line-height: 1.1;
}
.logo:hover { color: #fff; }
.logo__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-blue);
  display: grid; place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-honey-on-dark);
}

.nav { display: flex; align-items: center; gap: 0.1rem; }
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.nav .btn { margin-left: 0.6rem; padding: 0.55rem 1.3rem; }
.nav .btn--primary,
.nav .btn--primary:hover,
.nav .btn--primary[aria-current="page"] { background: var(--c-honey-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0;
  font-size: 1.7rem; line-height: 1;
  color: #fff;
  cursor: pointer; padding: 0.25rem 0.5rem;
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem 1.25rem 1.5rem;
    background: var(--c-blue);
    box-shadow: 0 14px 30px rgba(28, 42, 52, .25);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.8rem 0.9rem; border-radius: var(--radius); }
  .nav .btn { margin-left: 0; margin-top: 0.75rem; }
}


/* ==========================================================================
   HERO — Titelbild mit blauem Schleier, Text unten links
   ========================================================================== */

.hero {
  position: relative;
  background: var(--c-blue);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 75% 15%, #7c95a8 0%, transparent 60%),
    linear-gradient(160deg, #55738b 0%, #3a5164 55%, #2c3f50 100%);
}
/* Später einfach das Foto einsetzen:
   .hero__media { background-image: url('bilder/hero.jpg'); background-size: cover; background-position: center; } */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 42, 52, .62), rgba(58, 81, 100, .35) 70%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(5.5rem, 14vw, 10rem) clamp(4rem, 9vw, 6.5rem);
  max-width: 780px;
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .3);
}
.hero .hl { color: var(--c-honey); }
.hero .lead { color: rgba(255, 255, 255, 0.92); font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.hero .eyebrow { color: var(--c-honey-on-dark); }

/* Kopfbereich der Unterseiten — schmaleres blaues Band */
.pagehead {
  background: linear-gradient(140deg, var(--c-blue-mid) 0%, var(--c-blue) 100%);
  color: #fff;
  padding-block: clamp(3.25rem, 7vw, 5.25rem);
}
.pagehead h1 { color: #fff; }
.pagehead .eyebrow { color: var(--c-honey-on-dark); }
.pagehead .lead { max-width: var(--width-text); color: rgba(255,255,255,.92); }
.pagehead .hl { color: var(--c-honey-on-dark); }


/* ==========================================================================
   KARTEN — weiss, runde Ecken, farbige Oberkante (Blau / Honig im Wechsel)
   ========================================================================== */

.card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--c-blue-light);
  padding: 1.7rem 1.7rem 1.9rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.grid > .card:nth-child(even) { border-top-color: var(--c-honey); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--c-ink-soft); }
.card .btn-row { margin-top: 1.4rem; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--c-blue-pale);
  color: var(--c-blue);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.grid > .card:nth-child(even) .card__icon { background: var(--c-bg-honey); color: var(--c-honey-dark); }

/* Karten auf blauem Grund: Text bleibt dunkel */
.section--deep .card p { color: var(--c-ink-soft); }
.section--deep .card h3 { color: var(--c-heading); }
.section--deep .card a:not(.btn) { color: var(--c-blue); }

/* Nummer über dem Kartentitel, wie «01» auf der Vereinsseite */
.card__num {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--c-honey-text);
  margin-bottom: 0.35rem;
}

/* Karte mit Bild oben — Tierporträts, Beiträge */
.card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card--media .card__body { padding: 1.6rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.card--media .card__body .btn { align-self: flex-start; margin-top: auto; }
.card--media .media { border-radius: 0; }

/* Bildflächen (Platzhalter, bis Fotos da sind) */
.media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-bg-soft) 0%, var(--c-blue-pale) 100%);
  display: grid; place-items: center;
  color: var(--c-ink-soft);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 1.5rem;
}
.media--wide  { aspect-ratio: 16 / 10; }
.media--square{ aspect-ratio: 1 / 1; }
.media--tall  { aspect-ratio: 3 / 4; }
.media--round { border-radius: 50%; aspect-ratio: 1/1; }
.split > .media { box-shadow: var(--shadow-card); }

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-mid);
  margin-bottom: 0.7rem;
}
.tag--accent { color: var(--c-honey-text); }


/* ==========================================================================
   ZITAT — Honiglinie links, wie «Warum es uns gibt» beim Verein
   ========================================================================== */

.zitat {
  border-left: 5px solid var(--c-honey);
  background: var(--c-bg-honey);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 0;
  max-width: 62ch;
}
.zitat p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-honey-ink);
  margin: 0;
  max-width: none;
}
.zitat .hand {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--c-honey-text);
}
.center .zitat, .zitat.center { margin-inline: auto; text-align: left; }

/* Handschrift für kurze persönliche Zeilen */
.hand { font-family: var(--font-hand); font-weight: 500; font-size: 1.5em; line-height: 1.2; }


/* ==========================================================================
   ENTWICKLUNGSREISE — «Von Tag 1 bis heute»
   ========================================================================== */

.journey { counter-reset: none; }
.journey .card { position: relative; }
.journey .card__step {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-blue-mid);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.9rem;
  margin-bottom: 1rem;
}
.journey .card:nth-child(2) .card__step { background: var(--c-honey-dark); }
.journey .card:nth-child(3) .card__step { background: var(--c-blue); }


/* ==========================================================================
   WUNSCH — ein konkreter Wunsch statt allgemeinem Spendenaufruf
   ========================================================================== */

.wish {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 2rem;
  align-items: center;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--c-honey);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-card);
}
.wish__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-bg-honey);
  color: var(--c-honey-dark);
  display: grid; place-items: center;
  font-size: 1.8rem;
}
.wish h3 { margin-bottom: 0.3em; }
.wish p { color: var(--c-ink-soft); margin: 0; }
.wish .btn-row { margin-top: 0; }
@media (max-width: 760px) {
  .wish { grid-template-columns: 1fr; text-align: left; }
}


/* ==========================================================================
   FORTSCHRITTSBALKEN
   --------------------------------------------------------------------------
   EIN Baustein für Ausbildungsstand und Bauphasen. Gesteuert wird er über
   genau eine Zahl: data-value="45" am .progress-Element. Breite und
   Prozentangabe setzt das Skript daraus selbst.
   ========================================================================== */

.progress-list { display: grid; gap: 1.9rem; }

.progress__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.progress__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-heading);
}
.progress__note {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--c-ink-soft);
  margin-top: 0.15rem;
  line-height: 1.5;
}
.progress__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-honey-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.progress__track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: #eadcc6;
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: var(--value, 0%);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--c-blue-light), var(--c-blue-mid));
  transition: width 0.8s ease;
}
.progress--done .progress__bar { background: var(--c-blue); }
.progress--done .progress__value { color: var(--c-blue); }

.section--soft .progress__track { background: #e3d2b8; }

.section--deep .progress__label { color: #fff; }
.section--deep .progress__note  { color: rgba(245,239,228,0.68); }
.section--deep .progress__track { background: rgba(255,255,255,0.18); }
.section--deep .progress__value { color: var(--c-honey-on-dark); }
.section--deep .progress__bar   { background: var(--c-honey); }


/* ==========================================================================
   ZAHLEN
   ========================================================================== */

.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-honey-dark);
  display: block;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-small); color: var(--c-ink-soft); }
.section--deep .stat__label { color: rgba(245,239,228,0.78); }
.section--deep .stat__num { color: var(--c-honey-on-dark); }
.card .stat__num { font-size: clamp(1.75rem, 2.6vw, 2.15rem); }


/* ==========================================================================
   LISTEN
   ========================================================================== */

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--c-ink-soft); line-height: 1.65; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-honey);
}
.section--deep .ticks li { color: rgba(245,239,228,0.86); }


/* ==========================================================================
   CTA-BAND
   ========================================================================== */

.cta {
  background: var(--c-bg-honey);
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--c-honey);
  padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cta h2 { color: var(--c-heading); }
.cta p { color: var(--c-ink-soft); max-width: 54ch; margin-inline: auto; }
.section--soft .cta { background: var(--c-surface); }


/* ==========================================================================
   INFOBOX / ANGABEN
   ========================================================================== */

.infobox {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--c-blue-light);
  padding: 1.9rem 2rem;
  box-shadow: var(--shadow-card);
}
.grid > .infobox:nth-child(even) { border-top-color: var(--c-honey); }
.infobox h3 { margin-bottom: 0.5em; }

.datalist { display: grid; gap: 0.6rem; margin: 0; }
.datalist div { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; }
.datalist dt {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-honey-text);
  min-width: 145px;
  margin: 0;
  padding-top: 0.2rem;
}
.datalist dd { margin: 0; color: var(--c-ink); }


/* ==========================================================================
   FORMULAR
   ========================================================================== */

.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-heading);
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid var(--c-blue-light);
  outline-offset: 1px;
  border-color: var(--c-blue-light);
}
.field textarea { min-height: 160px; resize: vertical; }
.field--check { display: flex; align-items: flex-start; gap: 0.7rem; }
.field--check input { width: auto; margin-top: 0.45rem; }
.field--check label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-ink-soft);
}


/* ==========================================================================
   FOOTER — blauer Verlauf wie beim Verein
   ========================================================================== */

.site-footer {
  background: linear-gradient(140deg, var(--c-blue-mid) 0%, var(--c-blue) 45%, var(--c-blue-deep) 100%);
  color: #f2ece1;
  padding-block: 4.5rem 2.25rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.site-footer a { color: #f5efe4; text-decoration: none; }
.site-footer a:hover { color: var(--c-honey-on-dark); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; font-size: 0.97rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 2.75rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); } }
.site-footer .logo { margin-bottom: 1.1rem; }
.site-footer p { color: rgba(242,236,225,0.88); }
.site-footer .small { color: rgba(242,236,225,0.88); }
.footer-claim { font-family: var(--font-hand); font-size: 1.7rem; line-height: 1.2; color: #fff; margin-bottom: 0.6rem; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(242,236,225,0.8);
}
.footer-bottom a { color: rgba(242,236,225,0.9); }


/* ==========================================================================
   AUSBILDUNGEN — gruppiert nach abgeschlossen / laufend / geplant
   ========================================================================== */

.training { align-items: start; }
.training__person h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.2em; }
.training__person:hover { transform: none; }
.progress-group { margin: 1.8rem 0 1.1rem; font-size: 1rem; }
.status {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
}
.status--done    { background: var(--c-blue); color: #fff; }
.status--running { background: var(--c-honey-dark); color: #fff; }
.status--planned { background: transparent; color: var(--c-blue); box-shadow: inset 0 0 0 2px var(--c-blue-light); }
.training .progress-list { gap: 1.25rem; }


/* ==========================================================================
   GESCHICHTE — schmale Lesespalte
   ========================================================================== */

.story > p { font-size: 1.08rem; }
.story .lead { font-size: var(--fs-lead); color: var(--c-heading); font-weight: 600; }


/* ==========================================================================
   SEPARATES KONTO — zweckgebundene Spenden klar abgrenzen
   ========================================================================== */

.konto {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 2rem;
  align-items: start;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--c-blue);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
  max-width: 900px;
}
.konto__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-blue-pale);
  color: var(--c-blue);
  display: grid; place-items: center;
  font-size: 1.7rem;
}
.konto p { color: var(--c-ink-soft); }
.konto > div { min-width: 0; }
@media (max-width: 640px) { .konto { grid-template-columns: 1fr; } }


/* Symbole: einfarbige Linien-Icons in der Farbe ihres Kreises */
.ico { width: 1.5rem; height: 1.5rem; display: block; flex-shrink: 0; }
.logo__mark .ico { width: 1.4rem; height: 1.4rem; }
.wish__icon .ico, .konto__icon .ico { width: 1.75rem; height: 1.75rem; }


/* Formular: Hinweistext, Sicherheitsfrage, Lockfeld und Rückmeldung */
.field__hint { font-size: var(--fs-small); color: var(--c-ink-soft); line-height: 1.5; }
.field--quiz input { max-width: 12rem; }
.field input[aria-invalid="true"] { border-color: #a3401f; outline-color: #a3401f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 0.85rem 1.1rem; border-radius: var(--radius); font-size: 0.97rem; }
.form-msg--error { background: #f8e3dc; color: #7a2c12; }
.form-msg--ok { background: var(--c-blue-pale); color: var(--c-blue); }


/* ==========================================================================
   PLATZHALTER
   --------------------------------------------------------------------------
   Markierte Stellen = hier fehlen noch eure Angaben.
   Sind alle ausgefüllt, kann dieser Block gelöscht werden.
   ========================================================================== */

.ph {
  background: #F6EBC9;
  color: #705818;
  padding: 0.1em 0.45em;
  border-radius: 4px;
  font-size: 0.95em;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}
h1 .ph, h2 .ph, h3 .ph { font-family: var(--font-body); font-weight: 600; font-size: 0.7em; }
.ph-block {
  background: #FCF6E6;
  border: 1px dashed #DCC489;
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  color: #705818;
  font-size: 0.95rem;
  line-height: 1.7;
}
.ph-block strong { color: #55430F; font-weight: 600; }
.ph-block code {
  background: rgba(112,88,24,0.1);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.92em;
}


/* ==========================================================================
   HILFSKLASSEN
   ========================================================================== */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1.25rem; }
.mt-2 { margin-top: 2.25rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.small { font-size: var(--fs-small); color: var(--c-ink-soft); }

:focus-visible { outline: 3px solid var(--c-blue-light); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card:hover, .btn:hover { transform: none; }
}

/* --- Logo-Bilder ---------------------------------------------------------- */
.logo__mark--img { overflow: hidden; width: 52px; height: 52px; }
.logo__mark--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-logo { display: block; width: 150px; height: auto; border-radius: 14px; margin-bottom: 1.1rem; box-shadow: 0 4px 14px rgba(0,0,0,.18); }

/* --- WordPress-Ergänzungen ------------------------------------------------ */
/* Die Admin-Leiste soll den Kopfbereich nicht verdecken */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
/* Block-Wrapper neutralisieren, damit das Prototyp-Layout gilt */
main > .wp-block-html, main > p:empty { margin: 0; padding: 0; }

/* --- Kontaktformular (Contact Form 7) ------------------------------------- */
.wpcf7 { min-width: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 .field input, .wpcf7 .field select, .wpcf7 .field textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.wpcf7-quiz-label { display: block; margin-bottom: 0.45rem; font-size: var(--fs-small); color: var(--c-ink); }
.wpcf7 .field--check { display: block; }
.wpcf7 .field--check .wpcf7-list-item { margin: 0; }
.wpcf7 .field--check label { display: flex; align-items: flex-start; gap: 0.7rem; }
.wpcf7 .field--check input { width: auto; margin-top: 0.45rem; flex-shrink: 0; }
.wpcf7-not-valid-tip { display: block; margin-top: 0.35rem; font-size: var(--fs-small); color: #7a2c12; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 0.85rem 1.1rem; border: 0; border-radius: var(--radius); font-size: 0.97rem; background: #f8e3dc; color: #7a2c12; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--c-blue-pale); color: var(--c-blue); }
.wpcf7 form.init .wpcf7-response-output { display: none; }
.wpcf7-spinner { margin: 0 0 0 0.8rem; vertical-align: middle; }
.wpcf7 .cf7apps-honeypot-wrap { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }
