/* ============================================================
   Blasorchester TSV Braunshardt — Design-System „Herz & Heimat"
   Ein gemeinsames Stylesheet für alle Seiten.
   Generalisiert aus entwuerfe/konzept-b-herz-und-heimat.html
   Mobile-first · Breakpoint ~860px
   ============================================================ */

/* ---------- 0. Self-hosted Fonts (Fraunces, Nunito — latin + latin-ext, DSGVO) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fraunces-italic-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fraunces-italic-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fraunces-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fraunces-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/nunito-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/nunito-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/nunito-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/nunito-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/nunito-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/nunito-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/nunito-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/nunito-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Custom Properties (Farben & Typo, SPEC §2) ---------- */
:root {
  --cream: #faf6ef;      /* Grundfläche */
  --paper: #fffdf8;      /* helle Karten/Sections */
  --terra: #d96c47;      /* Primär-CTA */
  --terra-dark: #b9502e;
  --green: #4a7c59;      /* Sekundär */
  --green-dark: #386144;
  --sun: #f2b950;        /* Akzent */
  --ink: #33302b;        /* Text */
  --muted: #6d675c;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1100px;
  --radius-sm: 14px;
  --radius: 18px;
  --radius-lg: 24px;
}

/* ---------- 2. Reset & Basis ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* Sticky-Header (72px) wuerde Anker-Ziele verdecken -> Sprungziele landen darunter */
[id] { scroll-margin-top: 92px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }

img { max-width: 100%; display: block; }
/* <picture> ist nur ein Container fuer die Formatauswahl (astro:assets liefert
   AVIF/WebP/JPEG). display:contents nimmt ihn aus dem Layout, damit das <img>
   sein Elternelement behaelt — sonst laufen Regeln wie `.hero-photo img
   { height:100% }` ins Leere und die Kacheln werden unterschiedlich hoch. */
picture { display: contents; }
/* Die <source>-Elemente wuerden durch display:contents sonst selbst zu Grid-/
   Flex-Items (mit 0 px Hoehe, aber vollem gap) — sie rendern ohnehin nichts.
   Auf die Formatauswahl des Browsers hat das keinen Einfluss. */
picture > source { display: none; }

/* Anfahrt-Zeile mit drei Kartenanbietern (components/Anfahrt.astro).
   Bewusst als Textlinks statt Buttons: drei gleichwertige Schaltflaechen
   wuerden den Abschnitt erschlagen. */
.karten-links {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
  margin: 0 0 22px;
}
.karten-links .karten-label { color: var(--muted); }
.karten-links a { font-weight: 600; }
/* Bewusst ohne Trennzeichen zwischen den Links: als eigenes Element bleibt es
   beim Umbruch allein am Zeilenende stehen, als ::after gehoert es zum Link
   (unterstrichen und klickbar). Abstand trennt gut genug. */

a { color: var(--terra-dark); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; } /* Ziel des Skip-Links, kein Rahmen um den ganzen Inhalt */

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 800;
  font-size: 15px; text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease; font-family: var(--font-body);
}
.btn-terra { background: var(--terra-dark); color: #fff; box-shadow: 0 4px 0 #8f3c20; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 4. Header / Navigation (sticky, CSS-only Mobile-Menü) ---------- */
header.site {
  background: var(--cream); position: sticky; top: 0; z-index: 50;
  border-bottom: 2px solid #eee4d2;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
/* TSV-Wappen (farbig, transparent) — 2x-PNG fuer scharfe Darstellung auf Retina */
.logo-mark { width: auto; height: 50px; flex-shrink: 0; }
.logo b { font-family: var(--font-head); font-size: 18px; display: block; line-height: 1.1; }
.logo span { font-size: 12px; color: var(--muted); font-weight: 700; }

/* Mobile-Menü: Checkbox-Hack (kein JS nötig) */
.nav-toggle { position: absolute; left: -9999px; }
.nav-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 2px solid #eee4d2;
  background: var(--paper); font-size: 22px; cursor: pointer; color: var(--ink);
}
.nav-toggle-btn:hover { border-color: var(--terra); }
.nav-toggle-btn .x { display: none; }
.nav-toggle:checked ~ .nav-toggle-btn .burger { display: none; }
.nav-toggle:checked ~ .nav-toggle-btn .x { display: inline; }

.nav-links {
  list-style: none; display: none; flex-direction: column; gap: 4px;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 2px solid #eee4d2;
  padding: 12px 20px 18px; box-shadow: 0 12px 24px rgba(51,48,43,.08);
}
.nav-toggle:checked ~ .nav-links { display: flex; }
.nav-links a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 10px 6px; border-radius: 8px; display: block;
}
.nav-links a:not(.btn):hover { color: var(--terra); background: var(--cream); }
.nav-links a[aria-current="page"] { color: var(--terra-dark); }
.nav-cta { margin-top: 8px; }

/* Untermenü "Orchester": mobil eingerückte Liste, Desktop Aufklapp-Panel (siehe unten) */
.nav-item-has-sub { position: relative; }
.nav-caret { font-size: 11px; }
.nav-links a.nav-parent-active { color: var(--terra-dark); }

.nav-submenu {
  list-style: none; margin: 2px 0 8px; padding-left: 16px;
  border-left: 2px solid #eee4d2;
}
.nav-links .nav-submenu a:not(.btn) {
  font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 6px;
}
.nav-links .nav-submenu a:not(.btn)::before { content: "– "; }
.nav-links .nav-submenu a:not(.btn):hover { color: var(--terra); background: var(--cream); }
.nav-links .nav-submenu a[aria-current="page"] { color: var(--terra-dark); }

/* ---------- 5. Hero (Startseite) ---------- */
.hero { padding: 44px 0 30px; overflow: hidden; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.badge {
  display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800;
  font-size: 13px; padding: 7px 16px; border-radius: 999px; transform: rotate(-2deg); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 8vw, 60px); line-height: 1.06; margin-bottom: 18px; }
.hero h1 .hl { color: var(--terra); font-style: italic; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); position: relative;
  background: linear-gradient(140deg, #f6d9a8, #e8a877 55%, #d96c47);
  box-shadow: 8px 8px 0 rgba(74,124,89,.25); overflow: hidden;
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Trennwelle zwischen Sektionen */
.wave { display: block; width: 100%; height: 48px; }

/* ---------- 6. Page-Hero (Unterseiten): Kicker-Badge + h1 + Intro ---------- */
.page-hero { padding: 40px 0 26px; }
.page-hero .kicker {
  display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800;
  font-size: 12.5px; letter-spacing: .3px; padding: 6px 15px; border-radius: 999px;
  transform: rotate(-2deg); margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(32px, 6.5vw, 50px); margin-bottom: 16px; }
.page-hero h1 .hl { color: var(--terra); font-style: italic; }
.page-hero .intro { font-size: 18px; color: var(--muted); max-width: 60ch; }

/* ---------- 7. Sections & Section-Heads ---------- */
section { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-green { background: var(--green); color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-green .section-head p { color: rgba(255,255,255,.85); }

/* ---------- 8. Karten (Zielgruppen etc.) ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
.card {
  border-radius: 22px; padding: 32px 28px; position: relative; transition: transform .18s ease;
  background: var(--paper); border: 2px solid #eee4d2;
}
.card:hover { transform: translateY(-5px) rotate(-.5deg); }
/* Ganze Karte als Link (404-Seite) */
a.card { display: block; color: inherit; text-decoration: none; }
a.card p { margin-bottom: 0; }
.card.c1 { background: #fdeee7; border-color: #f3cdbd; }
.card.c2 { background: #eaf2ec; border-color: #c9dccf; }
.card.c3 { background: #fdf3dd; border-color: #f0dcb0; }
.card .emoji { font-size: 38px; margin-bottom: 12px; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card .card-link { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 15px; }
.card.c1 .card-link { color: #b24d2c; }   /* terra, abgedunkelt für 4.5:1 auf #fdeee7 */
.card.c2 .card-link { color: var(--green-dark); }
.card.c3 .card-link { color: #906327; }   /* ocker, abgedunkelt für 4.5:1 auf #fdf3dd */
.card .card-link:hover { text-decoration: underline; }

/* ---------- 9. Ausbildungsweg (Stufen) ---------- */
.path-track {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; margin-top: 40px; counter-reset: step;
}
.pstep { text-align: center; position: relative; }
.pstep::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -10px; left: 50%; transform: translateX(24px) rotate(8deg);
  background: var(--sun); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; z-index: 2;
}
.pstep .bubble {
  width: 82px; height: 82px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 32px; background: #fff;
  border: 3px solid var(--green); box-shadow: 0 5px 0 rgba(74,124,89,.3);
}
.pstep h3 { font-size: 16px; margin-bottom: 4px; }
.pstep small { color: var(--muted); font-size: 13px; font-weight: 700; }
.journey-cta { text-align: center; margin-top: 40px; }
.parent-note {
  max-width: 580px; margin: 36px auto 0; background: #eaf2ec; border-radius: var(--radius);
  padding: 22px 26px; font-size: 15px; color: var(--green-dark); text-align: center;
}
.parent-note b { display: block; font-size: 16px; margin-bottom: 4px; }

/* Zeitstrahl (ausbildung.html): Alter → Stufe → Dauer auf einen Blick, verlinkt auf die Stufen-Karten.
   Mobil senkrecht mit Linie links, ab 860px waagerecht mit fuenf Spalten. */
.zeitstrahl { list-style: none; display: grid; gap: 18px; margin: 34px 0 6px; position: relative; padding-left: 34px; }
.zeitstrahl::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: #c9dccf; }
.zs-item { position: relative; }
.zs-item::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--green);
}
.zs-alter { display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #b24d2c; background: #fdeee7; border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.zs-item h3 { font-size: 17px; margin: 0 0 2px; }
.zs-item h3 a { color: inherit; text-decoration: none; }
.zs-item h3 a:hover { text-decoration: underline; }
.zs-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* "Für Eltern" (ausbildung.html): zwei helle Karten auf gruenem Grund */
.eltern-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.eltern-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px 30px; }
.eltern-card h3 { font-size: 22px; margin-bottom: 12px; }
.eltern-card p, .eltern-card li { color: var(--muted); font-size: 15px; }
.eltern-card p { margin-bottom: 10px; }
.eltern-card p:last-child { margin-bottom: 0; }
.eltern-card ul { list-style: none; display: grid; gap: 10px; }
.eltern-card li { padding-left: 26px; position: relative; }
.eltern-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.eltern-card b { color: var(--ink); }
.eltern-card a { color: var(--terra-dark); }

/* Ausführliche Stufen-Variante für ausbildung.html (Liste mit Details) */
.stufen { display: grid; gap: 20px; margin-top: 28px; }
.stufe {
  background: var(--paper); border: 2px solid #eee4d2; border-radius: var(--radius);
  padding: 26px 26px 26px 30px; position: relative; border-left: 6px solid var(--green);
}
.stufe .stufe-emoji { font-size: 30px; float: right; margin-left: 12px; }
.stufe h3 { font-size: 21px; margin-bottom: 4px; }
.stufe .stufe-meta { font-size: 13px; font-weight: 800; color: var(--terra-dark); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 12px; }
.stufe p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.stufe .stufe-contact { font-size: 14px; }

/* ---------- 10. Stimmen / Zitat-Karten ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.quote { background: rgba(0,0,0,.15); border-radius: 20px; padding: 26px; font-size: 15.5px; }
.section-green .quote { color: #fff; }
.quote p { font-style: italic; margin-bottom: 16px; }
.quote footer { font-weight: 800; font-size: 14px; color: #ffe6ae; line-height: 1.6; }
.section-green .quote a { color: #ffe6ae; } /* Kontrast 5.2:1 auf dem Kasten (WCAG AA) */
/* Heller Kasten auf gruenem Grund: Spezifitaet muss .section-green .quote schlagen */
.section-green .quote-light { color: var(--ink); }
.section-green .quote-light a { color: var(--terra-dark); }
/* Zitat-Karte hell (auf Cream-Hintergrund) */
.quote-light { background: var(--paper); border: 2px solid #eee4d2; color: var(--ink); }
.quote-light footer { color: var(--terra-dark); }
.quote-todo { border-style: dashed; border-color: var(--terra); background: #fdeee7; color: var(--muted); }

/* ---------- 11. Termine / Event-Listen ---------- */
.event-list { display: grid; gap: 4px; }
.event { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 2px dashed #e5dcc9; }
.event .date {
  min-width: 64px; height: 64px; background: #fff; border: 2px solid var(--terra);
  border-radius: var(--radius-sm); display: grid; place-items: center; text-align: center; line-height: 1.1; flex-shrink: 0;
}
.event .date b { font-size: 20px; color: var(--terra-dark); display: block; }
.event .date span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.event .event-body h3 { font-size: 17px; }
.event .event-link { color: inherit; text-decoration: none; }
.event .event-link:hover { color: var(--terra-dark); text-decoration: underline; }
.event .event-body p { font-size: 14px; color: var(--muted); }
.event .event-body .where { font-weight: 700; color: var(--ink); }

/* Orchester-/Ausrichter-Badges bei Terminen (termine.html, index.html, jugendorchester.html) */
.event-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.event-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; line-height: 1.4; white-space: nowrap; flex-shrink: 0;
}
.event-badge-jugend { background: var(--green); color: #fff; }
.event-badge-beide { background: var(--green-dark); color: #fff; }

/* ---------- 12. Sponsor-Box ---------- */
.sponsor-box { background: #fff; border-radius: 22px; padding: 32px; border: 2px solid #eee4d2; }
.sponsor-box h2, .sponsor-box h3 { font-size: 23px; margin-bottom: 8px; }
.sponsor-box p { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.mini-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.sponsor-tile {
  height: 76px; border-radius: 12px; background: #fff; border: 2px solid #eee4d2;
  display: grid; place-items: center; font-size: 12px; color: #665d4c; font-weight: 800;
  text-align: center; padding: 8px; line-height: 1.2; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
/* Explizite Hoehe (Kachel 76px - 2x8 Padding - 2x2 Border): Prozentwerte
   kollabieren in der auto-Row der Grid-Kachel zirkulaer zu auto. */
.sponsor-tile img { width: 100%; height: 56px; object-fit: contain; }
a.sponsor-tile:hover, a.sponsor-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(51,48,43,.14); }
.sponsor-tile-placeholder { background: var(--cream); border: 2px dashed #ddd2ba; color: #665d4c; }

/* Kurzprofil auf der Startseite: knapper Faktenabsatz, weniger Sektions-Padding */
.kurzprofil-section { padding: 36px 0 0; }
.kurzprofil { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.65; text-align: center; }

/* ---------- 13. FAQ (details/summary) ---------- */
.faq { display: grid; gap: 12px; margin-top: 26px; max-width: 780px; }
.faq details {
  background: var(--paper); border: 2px solid #eee4d2; border-radius: var(--radius);
  padding: 4px 22px; overflow: hidden;
}
.faq details[open] { border-color: var(--green); }
.faq summary {
  list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 700;
  font-size: 18px; padding: 16px 30px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--terra); font-family: var(--font-body); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* ---------- 14. Zeitleiste (Chronik) ---------- */
.timeline { position: relative; margin-top: 30px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px;
  background: #e5dcc9; border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 30px 8px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--terra); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--terra);
}
.tl-item .tl-year { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--terra-dark); }
.tl-item h2 { font-size: 18px; margin: 2px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- 15. Photo-Placeholder ---------- */
.photo-placeholder {
  background: repeating-linear-gradient(45deg, #f1e7d4, #f1e7d4 12px, #ece0c9 12px, #ece0c9 24px);
  border: 2px dashed #d8cbae; border-radius: var(--radius); min-height: 200px;
  display: grid; place-items: center; text-align: center; padding: 24px;
  color: #665d4c; font-weight: 700; font-size: 14px;
}
.photo-note {
  position: absolute; bottom: 12px; left: 12px; font-size: 11px; color: rgba(51,48,43,.6);
  background: rgba(255,253,248,.75); padding: 4px 10px; border-radius: 999px;
}

/* ---------- 16. Prose (Fließtext auf Inhaltsseiten) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 4vw, 32px); margin: 40px 0 14px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--terra-dark); font-weight: 700; }
.prose a:hover { text-decoration: none; }
.prose strong { color: var(--ink); }

/* Sichtbare TODO-Marker (fehlende Fakten, SPEC §Regeln) */
.todo {
  display: inline-block; background: #fff4d6; border: 1px dashed var(--sun);
  color: #8a6a10; font-weight: 700; font-size: .92em; padding: 1px 8px; border-radius: 6px;
}

/* Info-/Hinweis-Box */
.note-box {
  background: #eaf2ec; border: 2px solid #c9dccf; border-radius: var(--radius);
  padding: 20px 24px; color: var(--green-dark); font-size: 15px; margin: 22px 0;
}
.note-box.warn { background: #fdeee7; border-color: #f3cdbd; color: #b24d2c; }
.note-box a:not(.btn) { color: #b24d2c; }   /* Links auf Pastell-Hintergrund: 4.5:1 gegen #eaf2ec und #fdeee7 */

/* ---------- 17. Footer ---------- */
footer.site { background: var(--ink); color: #cfc9bf; padding: 46px 0 28px; font-size: 14px; }
.fgrid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
footer.site .footer-head { font-family: var(--font-head); line-height: 1.15; color: var(--sun); font-size: 15px; margin-bottom: 12px; font-weight: 700; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-brand img { width: auto; height: 64px; flex-shrink: 0; }
footer.site .footer-brand .footer-head { margin-bottom: 0; }
.footer-brand .footer-head span { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: #e8e2d6; margin-top: 4px; }
footer.site p { margin-bottom: 8px; }
footer.site a { color: #e8e2d6; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.fbottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 12.5px;
}
footer.site .fbottom a { display: inline; margin-bottom: 0; } /* schlaegt footer.site a (display:block) */

/* ---------- 18. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.grid-2 { display: grid; gap: 26px; grid-template-columns: 1fr; }

/* ============================================================
   Desktop ab 860px
   ============================================================ */
@media (min-width: 860px) {
  .container { padding: 0 24px; }
  .nav { min-height: 76px; }

  /* Navigation horizontal, Mobile-Toggle ausblenden */
  .nav-toggle-btn { display: none; }
  .nav-links {
    display: flex; flex-direction: row; align-items: center; gap: 24px;
    position: static; background: none; border: none; padding: 0; box-shadow: none;
  }
  .nav-links a:not(.btn) { font-size: 14.5px; padding: 4px 0; }
  .nav-links a:not(.btn):hover { background: none; }
  .nav-cta { margin-top: 0; }

  /* Untermenü "Orchester": Aufklapp-Panel bei :hover/:focus-within (kein JS) */
  .nav-submenu {
    position: absolute; top: 100%; left: 0; margin-top: 10px; padding-left: 0;
    min-width: 230px; border-left: none;
    background: var(--paper); border: 2px solid #eee4d2; border-radius: var(--radius-sm);
    box-shadow: 0 12px 24px rgba(51,48,43,.14);
    padding: 8px; z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    /* Schließen mit Gnadenfrist: erst nach .3s unsichtbar/unklickbar, damit die
       Maus diagonal zu den Untereinträgen wandern kann, ohne dass das Menü zuklappt.
       (visibility statt pointer-events: blockiert zu UND ist per Transition verzögerbar) */
    transition: opacity .15s ease .15s, transform .15s ease .15s, visibility 0s linear .3s;
  }
  /* Hover-Brücke: unsichtbarer Steg über die Lücke zwischen Link und Panel,
     damit das Menü beim direkten Weg nach unten nicht zuklappt */
  .nav-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav-item-has-sub:hover .nav-submenu,
  .nav-item-has-sub:focus-within .nav-submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition-delay: 0s; /* Öffnen sofort, nur das Schließen ist verzögert */
  }
  .nav-links .nav-submenu a:not(.btn) {
    font-size: 14.5px; padding: 9px 10px; border-radius: 8px; white-space: nowrap;
  }
  .nav-links .nav-submenu a:not(.btn)::before { content: none; }

  .hero { padding: 72px 0 40px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .wave { height: 60px; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .cards.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } /* zwei Pakete zentriert statt Luecke */
  .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .quote-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .path-track { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .mini-logos { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  .fgrid { grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
  .zeitstrahl { grid-template-columns: repeat(5, 1fr); gap: 16px; padding-left: 0; padding-top: 34px; }
  .zeitstrahl::before { left: 10%; right: 10%; top: 8px; bottom: auto; width: auto; height: 4px; }
  .zs-item { text-align: center; }
  .zs-item::before { left: 50%; top: -32px; transform: translateX(-50%); }
  .eltern-grid { grid-template-columns: 1fr 1fr; }

  section { padding: 80px 0; }
  .page-hero { padding: 56px 0 34px; }
}
