/* Gelingendes Miteinander – Hauptseite
   Designfamilie der Haigerloch-Seite: gleiche Schriften, Leinen-Grund, Ocker als verbindende Farbe.
   Eigenes Gesicht: Moosgrün als zweite Farbe, ruhige Kacheln, Termine als klare Liste.
   Schriften lokal eingebunden (SIL Open Font License) – keine Verbindung zu Google. */
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Alegreya Sans";src:url("fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya Sans";src:url("fonts/alegreya-sans-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya Sans";src:url("fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}

:root {
  --linen: #f8f3ea;        /* Grund */
  --paper: #fffdf8;        /* Karten, Kopfzeile */
  --umber: #2f2417;        /* Text */
  --umber-soft: #5d4d3a;   /* Nebentext */
  --ochre: #d7a03c;        /* Ockergold-Fläche (verbindet mit Haigerloch) */
  --ochre-deep: #9a6a1c;   /* Akzent auf hell */
  --ochre-ink: #3a2a10;    /* Text auf Ocker */
  --moss: #56633a;         /* zweite Farbe dieser Seite */
  --moss-soft: #e7e9d8;    /* helle Moosfläche */
  --night: #241c13;        /* dunkle Fläche */
  --line: #e6dccb;

  --f-display: "Alegreya", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --gutter: clamp(16px, 5vw, 48px);
  --measure: 38rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--linen); color: var(--umber); font-family: var(--f-body); font-size: 1.2rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ochre-deep); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p, ul, ol { margin: 0; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 48rem; }
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 1.75rem; }
.eyebrow { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ochre-deep); }
.lead { font-size: clamp(1.25rem, 1.8vw, 1.45rem); max-width: var(--measure); }
.muted { color: var(--umber-soft); }
.hand { font-family: var(--f-hand); font-size: 1.6rem; line-height: 1.2; color: var(--moss); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: .6rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { max-width: var(--measure); }

/* Kopfzeile: Name oben, darunter das Menü – immer sichtbar */
.sitehead { background: var(--paper); }
.sitehead-inner { max-width: 84rem; margin-inline: auto; padding-inline: var(--gutter); padding-block: .9rem .7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--umber); min-width: 0; }
.brand img { width: clamp(46px, 6vw, 64px); height: auto; flex: none; }
.brand-text { display: grid; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.55rem, 3.6vw, 2.3rem); letter-spacing: .005em; }
.brand-claim { font-family: var(--f-hand); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--moss); margin-top: .15rem; }
.mainnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mainnav-inner { max-width: 84rem; margin-inline: auto; padding-inline: var(--gutter); padding-block: .45rem; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem clamp(.9rem, 2vw, 1.9rem); }
.mainnav a { color: var(--umber); text-decoration: none; font-weight: 500; font-size: 1.1rem; white-space: nowrap; padding-block: .25rem; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--ochre-deep); }
.mainnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.mainnav .nav-cta { margin-left: auto; background: var(--ochre); color: var(--ochre-ink); padding: .3rem .95rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) {
  .mainnav-inner { gap: .1rem 1rem; padding-block: .35rem; }
  .mainnav a { font-size: 1.02rem; }
  .mainnav .nav-cta { margin-left: 0; }
}

/* Buttons */
.btn { font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1.1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--ochre); color: var(--ochre-ink); }
.btn-gold:hover { background: #e2b04f; }
.btn-moss { background: var(--moss); color: var(--paper); }
.btn-moss:hover { background: #4a5631; }
.btn-line { color: var(--umber); border: 1.5px solid var(--umber-soft); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ext::after { content: " ↗"; font-weight: 400; }
.more { color: var(--umber); font-weight: 700; text-decoration-thickness: 1.5px; }
.more::after { content: " →"; }

/* Hero mit Bild (Startseite, Unterseiten) */
.hero { position: relative; isolation: isolate; background: var(--night); color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,28,19,.82) 0%, rgba(36,28,19,.55) 45%, rgba(36,28,19,.1) 80%), linear-gradient(180deg, rgba(36,28,19,0) 50%, rgba(36,28,19,.5) 100%); }
.hero-text { display: grid; gap: 1.1rem; justify-items: start; padding-block: clamp(5rem, 12vw, 9rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-text > * { max-width: 40rem; }
.hero .eyebrow { color: #f6e3b8; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .lead { color: #f6efe2; }
.hero-sub .hero-text { padding-block: clamp(4rem, 9vw, 6.5rem) clamp(2.25rem, 5vw, 3.5rem); }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(36,28,19,.35) 0%, rgba(36,28,19,.85) 70%); } }

/* Seitenkopf ohne Bild */
.pagehead { padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 2.5rem); }
.pagehead .stack { max-width: 46rem; }

/* Video-Vorschau (kein YouTube-Einbau) */
.video { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.video-link { position: relative; display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 22px 44px -26px rgba(47,36,23,.6); background: var(--night); }
.video-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; transition: transform .6s ease; }
.video-link:hover img { transform: scale(1.03); }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play span { width: 84px; height: 84px; border-radius: 50%; background: var(--ochre); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.video-play span::before { content: ""; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--ochre-ink); margin-left: 6px; }
.video-label { position: absolute; left: 1rem; bottom: .9rem; color: #fff; font-family: var(--f-hand); font-size: 1.5rem; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.note { font-size: 1rem; color: var(--umber-soft); }
@media (max-width: 820px) { .video { grid-template-columns: 1fr; } }

/* Ockerband: Wofür wir stehen */
.band { background: var(--ochre); color: var(--ochre-ink); }
.band .eyebrow { color: #5a3f12; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.fields { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1.5px solid rgba(58,42,16,.35); }
.fields li { display: grid; gap: .1rem; padding-block: .85rem; border-bottom: 1.5px solid rgba(58,42,16,.35); }
.fields strong { font-family: var(--f-display); font-size: 1.3rem; }
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }

/* Angebots-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.tile { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; min-width: 0; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(47,36,23,.55); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--moss-soft); }
.tile-body { display: grid; gap: .55rem; align-content: start; padding: 1.25rem 1.35rem 1.5rem; }
.tile-kind { font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.tile .more { margin-top: .35rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; max-width: 34rem; } }

/* Terminliste */
.events { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: .4rem 1.5rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.event-date { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.event-date small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 1rem; color: var(--umber-soft); }
.event-main { display: grid; gap: .15rem; min-width: 0; }
.event-title { font-weight: 700; font-size: 1.2rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: 1.02rem; color: var(--umber-soft); }
.chip { display: inline-block; font-size: .9rem; font-weight: 700; letter-spacing: .04em; padding: .05rem .6rem; border-radius: 999px; background: var(--moss-soft); color: var(--moss); }
.chip-online { background: #f3e5c6; color: var(--ochre-deep); }
.event .btn { min-height: 42px; padding: .45rem 1.1rem; font-size: 1rem; }
.events-empty { padding-block: 1.25rem; color: var(--umber-soft); }
@media (max-width: 680px) { .event { grid-template-columns: 1fr; } .event .btn { justify-self: start; } }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.filters button { font: inherit; font-size: 1rem; font-weight: 700; border: 1.5px solid var(--line); background: var(--paper); color: var(--umber); padding: .35rem 1rem; border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--umber); color: var(--paper); border-color: var(--umber); }

/* Über-uns-Kurzform und Personen */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.duo-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duo-pics figure { margin: 0; display: grid; gap: .5rem; }
.duo-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.duo-pics img.sj { object-position: 62% 30%; }
.duo-pics figcaption { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .duo-pics { max-width: 30rem; } }
.person { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.person + .person { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.person .stack { max-width: var(--measure); }
@media (max-width: 680px) { .person { grid-template-columns: 1fr; } .person img { max-width: 15rem; } }
.mini-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.mini-person { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.mini-person img { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; background: var(--moss-soft); }
.credit { font-size: .9rem; color: var(--umber-soft); }
@media (max-width: 760px) { .mini-people { grid-template-columns: 1fr; } }

/* Inhaltsbausteine */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.split img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem 1.5rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.facts li { display: grid; gap: .1rem; }
.facts strong { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--ochre-deep); font-variant-numeric: tabular-nums; }
.facts span { font-size: 1.05rem; color: var(--umber-soft); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checks { list-style: none; padding: 0; display: grid; gap: .65rem; max-width: var(--measure); }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50%; background: var(--moss); }
.quote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; max-width: 40rem; }
.quote footer { font-family: var(--f-body); font-style: normal; font-size: 1.05rem; color: var(--umber-soft); margin-top: .5rem; }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.branch { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.35rem 1.5rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.branch h3 { font-size: 1.3rem; }
.modules { list-style: none; padding: 0; display: grid; gap: .25rem; font-variant-numeric: tabular-nums; }
.modules li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .75rem; font-size: 1.05rem; }
.modules li span:first-child { color: var(--umber-soft); }
.modules li.is-past { color: var(--umber-soft); text-decoration: line-through; text-decoration-color: rgba(93,77,58,.5); }
@media (max-width: 760px) { .branches { grid-template-columns: 1fr; } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.anchor-nav a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .35rem 1rem; text-decoration: none; color: var(--umber); font-weight: 700; font-size: 1.02rem; }

/* Aufruf-Kasten */
.callout { background: var(--moss); color: #f3f1e6; border-radius: 10px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; }
.callout h2, .callout h3 { color: #fff; }
.callout .hand { color: #f6e3b8; }
.contact-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0; font-size: 1.1rem; }
.contact-list dt { opacity: .8; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { color: inherit; font-weight: 700; }
.callout .actions { margin-top: .5rem; }
@media (max-width: 820px) { .callout { grid-template-columns: 1fr; } }

/* Platzhalter */
.placeholder { border: 2px dashed var(--line); border-radius: 8px; padding: 1.4rem 1.5rem; display: grid; gap: .5rem; background: color-mix(in srgb, var(--paper) 60%, transparent); }
.tag { display: inline-block; justify-self: start; font-family: var(--f-hand); font-size: 1.4rem; line-height: 1; color: var(--paper); background: var(--moss); padding: .15rem .6rem .25rem; border-radius: 4px; transform: rotate(-2deg); }

/* Prüfhinweis für Rechtstexte (vor dem Livegang entfernen) */
.review { background: #fbecc8; border: 2px solid var(--ochre); color: var(--ochre-ink); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 1.05rem; }

/* Footer */
.footer { background: var(--night); color: #cfc2aa; font-size: 1.05rem; padding-block: 2.25rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer a { color: #f3ebdc; }
.footer .hand { color: #f6e3b8; font-size: 1.4rem; }

/* Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); font-size: 1.12rem; }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2rem 0 .5rem; }
.legal h3 { font-size: 1.15rem; margin: 1.25rem 0 .35rem; }
.legal p, .legal ul { margin-bottom: .75rem; }
.legal ul { padding-left: 1.3rem; }

/* Zweige der Führungsausbildung */
.branches-stack { grid-template-columns: 1fr; }
.branch-time { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

/* Infothek */
.media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.media-item { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; min-width: 0; }
.media-cover { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: 0 8px 18px -12px rgba(47,36,23,.6); }
.media-cover-wide { aspect-ratio: auto; object-fit: contain; background: #c4001a; }
.media-icon { width: 100%; aspect-ratio: 3 / 4; border-radius: 4px; background: var(--night); display: grid; place-items: center; }
.media-icon span { width: 54px; height: 54px; border-radius: 50%; background: var(--ochre); display: grid; place-items: center; }
.media-icon span::before { content: ""; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent var(--ochre-ink); margin-left: 4px; }
.media-item .stack { gap: .45rem; }
.media-kind { font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.media-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
@media (max-width: 860px) { .media { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .media-item { grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; } }
.toolbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tool { border: 2px dashed var(--line); border-radius: 8px; padding: 1.2rem 1.3rem; display: grid; gap: .35rem; align-content: start; background: color-mix(in srgb, var(--paper) 60%, transparent); }
.tool h3 { font-size: 1.2rem; }
@media (max-width: 860px) { .toolbox { grid-template-columns: 1fr; } }

/* Kooperationspartner */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.partner { display: grid; gap: .45rem; align-content: start; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--moss); border-radius: 8px; padding: 1.25rem 1.35rem; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; min-width: 0; }
.partner:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(47,36,23,.5); }
.partner-name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; }
.partner-role { font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-deep); }
.partner-url { font-size: 1rem; color: var(--umber-soft); }
.partner-url::after { content: " ↗"; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem; }
.partner-strip a { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--umber); text-decoration: none; }
.partner-strip a:hover { color: var(--ochre-deep); }

.duo-photo { margin: 0; }
.duo-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 36px -24px rgba(47,36,23,.55); }

/* Menü mit Untermenüs */
.mainnav-inner { flex-wrap: wrap; }
.nav-top { font: inherit; font-weight: 500; font-size: 1.1rem; color: var(--umber); background: none; border: 0; padding: .3rem 0; cursor: pointer; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.nav-top:hover, .navgroup.is-active > .nav-top, .nav-top[aria-current="page"] { color: var(--ochre-deep); }
.navgroup.is-active > .nav-top, .mainnav a.nav-top[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.caret { width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.navgroup { position: relative; }
.navgroup.is-open .caret { transform: rotate(-135deg) translateY(-1px); }
.submenu { display: none; position: absolute; left: -1rem; top: calc(100% + .45rem); min-width: 15rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 30px -18px rgba(47,36,23,.45); padding: .45rem; z-index: 30; }
.navgroup.is-open .submenu { display: grid; }
@media (hover: hover) and (min-width: 761px) {
  .navgroup:hover .submenu, .navgroup:focus-within .submenu { display: grid; }
  .navgroup:hover .caret { transform: rotate(-135deg) translateY(-1px); }
  .navgroup::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; }
}
.submenu a { display: block; padding: .5rem .75rem; border-radius: 6px; color: var(--umber); text-decoration: none; font-weight: 500; font-size: 1.05rem; white-space: nowrap; }
.submenu a:hover, .submenu a:focus-visible { background: var(--moss-soft); color: var(--umber); }
.submenu a[aria-current="page"] { color: var(--ochre-deep); text-decoration: none; }
@media (max-width: 760px) {
  .nav-top { font-size: 1.02rem; }
  .navgroup { position: static; }
  .mainnav-inner { position: relative; }
  .submenu { left: var(--gutter); right: var(--gutter); min-width: 0; }
}

/* Angebot mit Eckdaten (z. B. Essenztage Berlin) */
.offer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.4rem, 3.5vw, 2.2rem); margin-bottom: 1.5rem; }
.offer h3 { font-size: 1.7rem; }
.offer-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1rem; margin: 0; align-content: start; font-size: 1.08rem; }
.offer-facts dt { font-weight: 700; color: var(--moss); }
.offer-facts dd { margin: 0; }
.offer-facts .offer-cta { grid-column: 1 / -1; margin-top: .75rem; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }
.partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }

[id] { scroll-margin-top: 4.5rem; }

/* vier Angebotskacheln */
.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }

/* Begleiterkreis-Karte im Ockerband */
.band-card { display: grid; gap: .35rem; margin-top: 1.25rem; padding: 1.1rem 1.25rem; background: var(--paper); color: var(--umber); border-radius: 8px; text-decoration: none; box-shadow: 0 14px 28px -20px rgba(58,42,16,.6); transition: transform .2s; }
.band-card:hover { transform: translateY(-2px); }
.band-card-kind { font-family: var(--f-hand); font-size: 1.5rem; line-height: 1.1; color: var(--moss); }
.band-card .more { justify-self: start; }

/* Drei Welten (Land der Liebe) */
.worlds { border-top-color: var(--line); margin-block: .5rem; }
.worlds li { border-bottom-color: var(--line); }
.worlds strong { color: var(--moss); }

/* Stationen und PDF-Hinweis */
.stations { margin: 0; padding-left: 1.6rem; display: grid; gap: .3rem; font-variant-numeric: tabular-nums; }
.stations li::marker { font-family: var(--f-display); font-weight: 700; color: var(--ochre-deep); }
.download { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; color: var(--umber); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.download:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(47,36,23,.5); }
.download-icon { flex: none; width: 3.2rem; height: 3.8rem; border-radius: 4px; background: var(--moss); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .95rem; letter-spacing: .05em; }

/* Stationen im Kreis */
.stations-circle { position: relative; width: min(100%, 25rem); aspect-ratio: 1 / 1; margin: 1rem auto .5rem; --r: 38%; }
.stations-circle::before { content: ""; position: absolute; inset: 12%; border: 2px dashed var(--line); border-radius: 50%; }
.stations-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(.85rem, 2.4vw, 1.05rem); line-height: 1.2; color: var(--moss); }
.station { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1 / 1; margin: -15% 0 0 -15%; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: var(--umber); font: inherit; cursor: pointer; display: grid; place-content: center; gap: .1rem; padding: .3rem; text-align: center; transform: rotate(var(--a)) translate(0, calc(-1 * var(--r) * 3.333)) rotate(calc(-1 * var(--a))); transition: background .2s, border-color .2s, box-shadow .2s; box-shadow: 0 8px 18px -14px rgba(47,36,23,.5); }
.station:hover { border-color: var(--ochre); }
.station[aria-pressed="true"] { background: var(--ochre); border-color: var(--ochre); color: var(--ochre-ink); }
.station-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 3vw, 1.3rem); line-height: 1; color: var(--ochre-deep); }
.station[aria-pressed="true"] .station-num { color: var(--ochre-ink); }
.station-name { font-size: clamp(.68rem, 2vw, .86rem); line-height: 1.15; font-weight: 500; }
.s1 { --a: -60deg; } .s2 { --a: 0deg; } .s3 { --a: 60deg; } .s4 { --a: 120deg; } .s5 { --a: 180deg; } .s6 { --a: 240deg; }
.station-panel { min-height: 4rem; }
.station-text { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--ochre); border-radius: 8px; padding: 1rem 1.2rem; display: grid; gap: .35rem; }
.station-text h4 { font-family: var(--f-display); font-size: 1.25rem; margin: 0; }
.station-label { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-deep); }
.station-hint { font-size: 1rem; text-align: center; }

/* Klapptexte */
.accordion { display: grid; gap: .75rem; }
.accordion details, .more-details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.accordion summary, .more-details summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative; }
.accordion summary::-webkit-details-marker, .more-details summary::-webkit-details-marker { display: none; }
.accordion summary > span { display: grid; gap: .15rem; }
.accordion summary strong { font-family: var(--f-display); font-size: 1.25rem; }
.accordion summary .muted { font-size: 1rem; }
.accordion summary::after, .more-details summary::after { content: "Mehr dazu"; position: absolute; right: 1.2rem; top: 1.1rem; font-size: .95rem; font-weight: 700; color: var(--ochre-deep); }
.accordion summary { padding-right: 7.5rem; }
.accordion details[open] summary::after, .more-details[open] summary::after { content: "Weniger"; }
.more-details summary { font-weight: 700; color: var(--ochre-deep); padding-right: 1.2rem; }
.more-details summary::after { content: "+"; font-size: 1.3rem; top: .8rem; }
.more-details[open] summary::after { content: "–"; }
.accordion-body { padding: 0 1.2rem 1.1rem; display: grid; gap: .75rem; }
@media (max-width: 560px) { .accordion summary { padding-right: 1.2rem; padding-bottom: 2.4rem; } .accordion summary::after { top: auto; bottom: .9rem; left: 1.2rem; right: auto; } }
.station-text[hidden], .station-hint[hidden] { display: none; }

/* Karten mit Klapptext (Geld & Quelle) */
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; max-width: 40rem; } }
.card .more-details { background: var(--linen); margin-top: .5rem; }

/* Menü: Themen-Überschriften im Untermenü */
.submenu-label { display: block; padding: .6rem .75rem .2rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-deep); }
.submenu-label:not(:first-child) { margin-top: .35rem; border-top: 1px solid var(--line); padding-top: .7rem; }

/* Formate (Geld & Quelle) */
.formats { display: grid; grid-template-columns: 3fr 2fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr; } }
.format-card { background: var(--linen); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: .8rem; align-content: start; min-width: 0; }
.format-card h3 { margin: 0; }
.format-card h4 { margin: .5rem 0 0; }
.format-sub { font-size: 1.1rem; color: var(--umber); font-style: italic; }
.format-card .more-details { background: var(--paper); }
.format-card .actions { align-items: center; gap: 1rem 1.25rem; }

/* Wochenenden der Ausbildungszweige */
.branches { align-items: start; }
.we-details { background: var(--linen); }
.we-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.we-list li { display: grid; grid-template-columns: 1.6rem 10rem minmax(0, 1fr); gap: .5rem; align-items: baseline; }
.we-date { white-space: nowrap; }
.we-nr { color: var(--ochre-deep); font-weight: 700; }
.we-date { font-weight: 700; }
.we-past { opacity: .5; }
@media (max-width: 420px) { .we-list li { grid-template-columns: 1.6rem 1fr; } .we-ort { grid-column: 2; } }

/* Anmeldeformular */
.form { display: grid; gap: 1.25rem; }
.form [hidden] { display: none !important; }
.form-block { display: grid; gap: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-choice { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.form-choice legend { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin-bottom: .6rem; }
.choice { display: flex; gap: .8rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ochre); box-shadow: 0 0 0 2px var(--ochre-soft, rgba(201,150,59,.25)); }
.choice input { margin-top: .35rem; accent-color: var(--ochre-deep); }
.choice span { display: grid; gap: .1rem; }
.choice small { color: var(--muted, #6b5d4d); font-size: .95rem; }
.field { display: grid; gap: .35rem; font-weight: 700; font-size: 1rem; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1.05rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--umber); width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ochre); outline-offset: 1px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--ochre-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.form-ok { background: var(--moss-soft); border: 1px solid var(--moss); }
.form-err { background: #fbe9e4; border: 1px solid #c0573d; }

/* Breites Buchcover (Quelle-Buch) groß über dem Text */
.media-item-wide { grid-template-columns: 1fr; }
@media (max-width: 460px) { .media-item-wide { grid-template-columns: 1fr; } }
.media-item-wide .media-cover-wide { aspect-ratio: 937 / 304; background: none; }

/* Große Bild-Karte (Essenztage-Hinweis, Projekt Haigerloch) */
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--umber); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgba(47,36,23,.5); }
.feature img { width: 100%; height: 100%; min-height: 15rem; object-fit: cover; display: block; }
.feature > .stack { padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 0; gap: .6rem; }
.feature-kind { font-family: var(--f-hand); font-size: 1.5rem; line-height: 1.1; color: var(--moss); }
.feature-title { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.feature .more { justify-self: start; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature > .stack { padding: 0 1.25rem 1.4rem; } .feature img { min-height: 12rem; max-height: 16rem; } }
.tiles .tile img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.tile h3 { hyphens: manual; overflow-wrap: break-word; }
.formats-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .formats-even { grid-template-columns: 1fr; } }
.format-card .offer-facts { margin: .25rem 0 0; }
.branch-for { font-weight: 700; color: var(--ochre-deep); margin-top: -.2rem; }

/* Stationen-Kreis größer, Schrift wächst mit dem Kreis (auch am Handy) */
.stations-circle { width: min(100%, 31rem); --r: 35%; container-type: inline-size; }
.station { width: 33%; margin: -16.5% 0 0 -16.5%; padding: .4rem; transform: rotate(var(--a)) translate(0, calc(-1 * var(--r) * 3.03)) rotate(calc(-1 * var(--a))); }
.station-num { font-size: clamp(1rem, 5cqw, 1.5rem); }
.station-name { font-size: clamp(.72rem, 3.4cqw, 1.02rem); }
.stations-center { width: 30%; font-size: clamp(.85rem, 3.8cqw, 1.2rem); }

/* Begleiter:innen: eine Zeile sichtbar, Trainerprofil zum Aufklappen */
.person-tag { font-weight: 700; color: var(--ochre-deep); font-size: 1rem; line-height: 1.4; }
.person-tag.muted { color: var(--muted, #7a6c5c); font-weight: 400; }
.person-more { margin-top: .25rem; }
.person-more summary { padding: .55rem 2.5rem .55rem .9rem; font-size: .95rem; }
.person-more summary::after { top: .4rem; }
.person-more .accordion-body { padding: 0 .9rem .8rem; }
