/* SV Garbenteich Leichtathletik — club pages: Start, Training, Vereinschronik, Kontakt.
   Builds on site.css tokens and components. Each section maps to one editable WordPress block. */

:root { --track: #215dbb; --track-line: #ffffff; --infield: #eef6f0; --ph: #8a6d00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --track: #1d4f9e; --track-line: #e3edf2; --infield: #12232e; --ph: #ffcc33; } }
:root[data-theme="dark"] { --track: #1d4f9e; --track-line: #e3edf2; --infield: #12232e; --ph: #ffcc33; }

/* ---------- small shared bits ---------- */
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--sw, var(--logo-blue)); flex: none; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: 800 15px/1 var(--display); font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s; }
.pill-link:hover { background: var(--paper-2); border-color: var(--muted); }
.pill-link small { font: 700 13px/1 var(--text); color: var(--muted); }
.placeholder-tag { display: inline-flex; align-items: center; gap: 6px; font: 800 12px/1 var(--text); padding: 5px 9px; border-radius: 999px; border: 1.5px dashed currentColor; color: var(--ph); background: transparent; white-space: nowrap; }
.note { border: 2px dashed var(--line); border-radius: 14px; padding: 18px 20px; color: var(--muted); font-weight: 600; }
.note strong { color: var(--ink); }
.h-sec { font: 900 clamp(32px, 4vw, 52px)/1 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.sec-intro { max-width: 58ch; color: var(--muted); margin: 0 0 32px; font-size: 18px; }
.media-slot.is-filled { border: 0; padding: 0; background: var(--paper-2); }
.media-slot.is-filled > :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* portrait hall photo: keep floor and wall in frame, not the ceiling */
.media-slot[data-file="photos/sporthalle-innen.jpg"] > img { object-position: center 72%; }
.media-slot figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; text-align: left; }
.media-slot figcaption span { display: inline-block; max-width: none; background: rgb(12 24 32 / .72); color: #fff; padding: 6px 10px; border-radius: 8px; font: 700 13px/1.35 var(--text); }
.mail-link { font: 800 clamp(20px, 2.2vw, 26px)/1.2 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.mail-link:hover { text-decoration: underline; }
.mail-link .icon { width: 24px; height: 24px; }

/* ---------- START: first viewport, two strands ---------- */
.home-hero { padding-block: 36px 64px; }
.home-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px 48px; align-items: end; margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.home-top h1 { font: 900 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.025em; margin: 0; }
.home-top p { margin: 0; font: 600 19px/1.5 var(--text); max-width: 54ch; }
.strands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; }
.strands::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; border-left: 2px dashed var(--line); }
.strand { display: flex; flex-direction: column; gap: 18px; padding-inline: 0 clamp(24px, 4vw, 64px); }
.strand + .strand { padding-inline: clamp(24px, 4vw, 64px) 0; }
.strand h2 { font: 900 clamp(44px, 5vw, 68px)/.95 var(--display); letter-spacing: -.025em; margin: 0; }
.strand > p { margin: 0; max-width: 46ch; font-size: 18px; }
.strand .when { font: 800 17px/1.3 var(--display); color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.strand .when .icon { width: 20px; height: 20px; color: var(--logo-blue); }
.strand-obj { min-height: 330px; display: grid; align-items: center; justify-items: center; padding-block: 8px; }
.home-bib { width: min(100%, 400px); }
.home-bib .bib-num { font-size: clamp(84px, 9vw, 132px); padding-top: 14px; }
.home-bib .bib-num small { font-size: .26em; }
.home-bib .bib-name { margin-bottom: 14px; }
.home-bib .bib-facts dt { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.home-bib .bib-facts dd { font-size: 24px; }
/* Sportplatz Garbenteich als Perspektiv-Illustration (erzeugt mit tools/data-prep/sportplatz-3d.ps1) */
.track-3d {
  --s-grass: #e3f1e7; --s-side: #c4dccb; --s-side2: #aecbb7; --s-pitch: #d3e9d9; --s-hatch: #56676e; --s-pline: #ffffff;
  --s-edge: #16448f; --s-wall: #ffffff; --s-wall2: #dce6eb; --s-roof: #2d393e; --s-roof2: #46555c; --s-win: #cfe0ea;
  --s-tree: #8cc9ad; --s-tree-hl: #b4ddc8; --s-shadow: #2d393e; --s-mast: #56676e; --s-sand: #ecdcb4; --s-rim: #c9b78c;
  width: min(100%, 540px); height: auto; display: block; overflow: visible;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .track-3d {
  --s-grass: #12302f; --s-side: #0d2423; --s-side2: #0a1d1c; --s-pitch: #163a35; --s-hatch: #9fb4be; --s-pline: #c9d8de;
  --s-edge: #143a78; --s-wall: #4a6476; --s-wall2: #39515f; --s-roof: #a9bec8; --s-roof2: #7f97a3; --s-win: #2f5873;
  --s-tree: #22605a; --s-tree-hl: #2c776d; --s-shadow: #000000; --s-mast: #9fb4be; --s-sand: #6e6447; --s-rim: #514a35; } }
:root[data-theme="dark"] .track-3d {
  --s-grass: #12302f; --s-side: #0d2423; --s-side2: #0a1d1c; --s-pitch: #163a35; --s-hatch: #9fb4be; --s-pline: #c9d8de;
  --s-edge: #143a78; --s-wall: #4a6476; --s-wall2: #39515f; --s-roof: #a9bec8; --s-roof2: #7f97a3; --s-win: #2f5873;
  --s-tree: #22605a; --s-tree-hl: #2c776d; --s-shadow: #000000; --s-mast: #9fb4be; --s-sand: #6e6447; --s-rim: #514a35; }
.track-3d polygon, .track-3d line { stroke-linejoin: round; stroke-linecap: round; }
.track-3d .g-top { fill: var(--s-grass); }
.track-3d .g-side { fill: var(--s-side); }
.track-3d .g-side2 { fill: var(--s-side2); }
.track-3d .p-base { fill: var(--s-pitch); }
.track-3d .p-hatch { stroke: var(--s-hatch); stroke-width: .8; opacity: .28; }
.track-3d .p-line { fill: none; stroke: var(--s-pline); stroke-width: 1.1; opacity: .9; }
.track-3d .goal { stroke: var(--s-pline); stroke-width: 1.4; }
.track-3d .mast { stroke: var(--s-mast); stroke-width: 1.3; }
.track-3d .mast-head { fill: var(--s-mast); }
.track-3d .t-surf { fill: var(--track); }
.track-3d .t-edge { fill: var(--s-edge); }
.track-3d .pit-rim { fill: var(--s-rim); }
.track-3d .pit-sand { fill: var(--s-sand); }
.track-3d .t-lane { stroke: var(--track-line); stroke-width: 1; opacity: .8; }
.track-3d .t-curb { stroke: var(--track-line); stroke-width: 1.4; }
.track-3d .t-mark { stroke: var(--track-line); stroke-width: 2.2; }
.track-3d .t-lbl { fill: var(--track-line); font-family: var(--display); font-weight: 800; letter-spacing: .02em; }
.track-3d .h-shadow, .track-3d .tree-shadow { fill: var(--s-shadow); opacity: .13; }
.track-3d .h-wall { fill: var(--s-wall); stroke: var(--s-roof); stroke-width: .8; }
.track-3d .h-wall2 { fill: var(--s-wall2); stroke: var(--s-roof); stroke-width: .8; }
.track-3d .h-roof { fill: var(--s-roof); stroke: var(--s-roof); stroke-width: .8; }
.track-3d .h-roof2 { fill: var(--s-roof2); stroke: var(--s-roof2); stroke-width: .8; }
.track-3d .h-door { fill: var(--track); }
.track-3d .h-win { fill: var(--s-win); stroke: var(--s-roof); stroke-width: .6; }
.track-3d .trunk { stroke: var(--s-mast); stroke-width: 1.6; }
.track-3d .tree { fill: var(--s-tree); }
.track-3d .tree-hl { fill: var(--s-tree-hl); }
/* Startseite, Strang Training: reiner Text statt Illustration */
.train-text { width: 100%; justify-self: start; }
.train-text .tt-line { font: 900 clamp(52px, 6.4vw, 96px)/.98 var(--display); letter-spacing: -.03em; margin: 0; }
.track-cap { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.track-cap strong { color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 17px; margin-right: 4px; }
.strand .actions { margin-top: 4px; }

/* history teaser */
.since-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.since-line { font: 900 clamp(30px, 4vw, 54px)/1.08 var(--display); letter-spacing: -.02em; margin: 0 0 22px; }
.since-line .yr { color: var(--logo-blue); font-variant-numeric: tabular-nums; }
.since-grid p { max-width: 54ch; margin: 0 0 22px; }
/* homepage newspaper clippings (GAZ 1980 first Volkslauf, GAZ 2009 Marscheck): two stacked, alternating tilt from .clip */
.clip-stack { display: grid; gap: 22px; }
.since-grid .clip-photo { margin: 0; padding: 14px 14px 10px; }
.since-grid .clip-photo .clip-head { font: 900 19px/1.2 var(--display); color: #2d393e; margin: 0 0 6px; }
.since-grid .clip-photo .clip-deck { font: 600 13.5px/1.4 var(--text); color: #5d6058; margin: 0 0 12px; }
.since-grid .clip-photo a { display: block; line-height: 0; }
.since-grid .clip-photo img { display: block; width: 100%; height: auto; border-radius: 1px; }
.since-grid .clip-photo figcaption { margin-top: 8px; font: 600 14px/1.45 var(--text); color: #3f4a4e; }
.link-row { display: flex; flex-wrap: wrap; gap: 14px 32px; }




/* ---------- TRAINING ---------- */
.t-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.t-hero-grid .media-slot { aspect-ratio: 4 / 3; }
.t-hero-grid .actions { margin-top: 26px; }
.groups { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.group h3 { font: 900 clamp(26px, 2.8vw, 36px)/1.05 var(--display); margin: 0; }
.group p { margin: 0; max-width: 56ch; }
.group .meta { justify-self: end; text-align: right; color: var(--muted); font: 700 14px/1.4 var(--text); }
/* training times: day bold, time and place below, rows split by a hairline (no box) */
.times { margin: 0; display: grid; gap: 14px; align-self: start; }
.times > div + div { padding-top: 14px; border-top: 1px solid var(--line); }
.times dt { font: 900 19px/1.2 var(--display); color: var(--ink); }
.times dd { margin: 2px 0 0; font: 700 15px/1.4 var(--text); color: var(--muted); font-variant-numeric: tabular-nums; }
.times dd:first-of-type { color: var(--ink); }
/* ---------- training places: map (js/orte-map.js, palette as on the course map) + two place cards ---------- */
.orte-map {
  --m-land: var(--fade, var(--paper)); --m-field: #f1f6f8; --m-urban: #f3f5f6; --m-industry: #eceff1; --m-park: #d7ece4; --m-pitch: #a9dcb9;
  --m-forest: #9fd3c3; --m-forest-2: #7cc4c9; --m-water: #79d4f2; --m-water-edge: #2f9bff;
  --m-road: #d4dce1; --m-road-major: #c4ced4; --m-track: #a9b8bf; --m-rail: #b3bec4; --m-stream: #6cc6ee;
  --m-building: #dfe8ee; --m-building-hl: #bfe9ff; --m-place: #215dbb; --m-place-soft: #9dbcf0;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .orte-map {
  --m-field: #0f1e27; --m-urban: #112029; --m-industry: #13232c; --m-park: #12302f; --m-pitch: #1d4f3a;
  --m-forest: #22605a; --m-forest-2: #1b5a66; --m-water: #146fa8; --m-water-edge: #4ec9ff;
  --m-road: #24394a; --m-road-major: #2e4759; --m-track: #3a5262; --m-rail: #34495a; --m-stream: #1b78ad;
  --m-building: #1d3241; --m-building-hl: #1f5677; --m-place: #6f9cf0; --m-place-soft: #2e5a9e; } }
:root[data-theme="dark"] .orte-map {
  --m-field: #0f1e27; --m-urban: #112029; --m-industry: #13232c; --m-park: #12302f; --m-pitch: #1d4f3a;
  --m-forest: #22605a; --m-forest-2: #1b5a66; --m-water: #146fa8; --m-water-edge: #4ec9ff;
  --m-road: #24394a; --m-road-major: #2e4759; --m-track: #3a5262; --m-rail: #34495a; --m-stream: #1b78ad;
  --m-building: #1d3241; --m-building-hl: #1f5677; --m-place: #6f9cf0; --m-place-soft: #2e5a9e; }
/* embedded like the course map on strecke.html: no frame, bleeds to the left screen edge, watercolour edge (mask
   --orte-edge from js/orte-map.js) fading into the band; map land = band colour (--fade), so there is no visible box */
.orte { --fade: var(--paper); display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); align-items: center;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-right: max(0px, (100% - var(--container)) / 2); }
.band-tint .orte { --fade: var(--paper-2); }
.orte-map { position: relative; height: clamp(520px, 78vh, 760px); }
.orte-mask { position: absolute; inset: 0; background: var(--m-land); -webkit-mask: var(--orte-edge) center / 100% 100% no-repeat; mask: var(--orte-edge) center / 100% 100% no-repeat; }
.orte-map .orte-canvas { position: absolute; inset: 0; } /* beats .maplibregl-map { position: relative } from the MapLibre CSS */
.orte-soft { position: absolute; top: 0; bottom: 0; right: 0; width: 14%; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fade) 55%, transparent) 70%, var(--fade)); }
.orte-map .maplibregl-map { font: inherit; }
.orte-map .maplibregl-canvas:focus-visible { outline: 3px solid var(--logo-blue); outline-offset: -3px; }
/* no "Strg + Mausrad" overlay with a mouse: the wheel still scrolls the page, Strg + wheel still zooms; the two-finger hint on touch stays */
@media (hover: hover) and (pointer: fine) { .orte-map .maplibregl-cooperative-gesture-screen { display: none; } }
.orte-ctl { position: absolute; top: 46px; left: max(24px, env(safe-area-inset-left, 0px) + 8px); z-index: 2; display: flex; gap: 6px; }
.orte-ctl button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; min-width: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 800 14px/1 var(--display); cursor: pointer; box-shadow: 0 2px 10px rgb(20 40 60 / .12); transition: background-color .2s; }
.orte-ctl button:hover { background: var(--paper-2); }
.orte-ctl .icon { width: 18px; height: 18px; }
.orte-ctl .orte-all { padding: 0 14px 0 11px; }
.orte .map-attr { position: absolute; left: max(24px, env(safe-area-inset-left, 0px) + 8px); bottom: 46px; z-index: 2; margin: 0; font: 600 12px/1.4 var(--text); color: var(--muted); background: color-mix(in srgb, var(--paper) 88%, transparent); padding: 5px 12px; border-radius: 999px; }
.orte-map:not(.is-ready) .orte-ctl { visibility: hidden; }
/* training page: two map "rooms" (Garbenteich / Gießen); switching fades the map instead of flying 8 km over empty land */
.orte-ctl [data-orte-room] { padding: 0 14px 0 11px; }
.orte-ctl [data-orte-room][aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.orte-mask { transition: opacity .25s ease; }
.orte-map.is-jumping .orte-mask { opacity: 0; }
.orte.no-map { grid-template-columns: minmax(0, 1fr); margin-left: 0; padding-right: 0; max-width: var(--container); margin-inline: auto; }
.orte.no-map .orte-map { display: none; }
.orte.no-map .orte-list { padding-left: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); column-gap: 40px; }
/* pins: like the start/finish flag on the course map, but clickable */
.m-ort { display: flex; align-items: center; gap: 6px; font: 900 14px/1 var(--display); background: var(--ink); color: var(--paper); padding: 8px 11px; border: 0; border-radius: 10px; position: relative; margin-bottom: 8px; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 10px rgb(20 40 60 / .25); transition: background-color .2s; }
.m-ort .icon { width: 16px; height: 16px; }
.m-ort::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--ink); transition: border-color .2s; }
.m-ort.is-active, .m-ort.is-hover { background: var(--logo-blue); color: #fff; }
.m-ort.is-active::after, .m-ort.is-hover::after { border-top-color: var(--logo-blue); }
.m-ort:focus-visible { outline: 3px solid var(--logo-blue); outline-offset: 3px; }
/* the two places as a legend to the map, no cards: each entry starts with the same marker as its pin; pointing at
   an entry lights up its pin and its outlined area on the map, a click flies there (js/orte-map.js) */
.orte-list { list-style: none; margin: 0; padding: 0 0 0 clamp(8px, 1.6vw, 24px); display: grid; align-content: start; }
.ort { display: grid; grid-template-columns: 40px minmax(0, 1fr) clamp(104px, 9vw, 132px); gap: 0 16px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.ort:last-child { border-bottom: 1px solid var(--line); }
.ort-pin { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); margin-top: 2px; transition: background-color .2s, transform .2s; }
.ort-pin .icon { width: 19px; height: 19px; }
.ort.is-active .ort-pin, .ort.is-hover .ort-pin { background: var(--logo-blue); color: #fff; }
.ort.is-hover .ort-pin { transform: scale(1.08); }
.ort h3 { font: 900 22px/1.2 var(--display); margin: 0 0 6px; }
.ort-show { display: inline; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ort-show .icon { width: 17px; height: 17px; margin-left: 8px; vertical-align: -1px; color: var(--muted); transition: color .2s; }
.ort-show:hover, .ort.is-active .ort-show { color: var(--logo-blue); }
.ort-show:hover .icon, .ort.is-active .ort-show .icon { color: var(--logo-blue); }
.ort-show:focus-visible { outline: 3px solid var(--logo-blue); outline-offset: 3px; border-radius: 6px; }
.ort address { font-style: normal; font: 700 16px/1.45 var(--text); margin-bottom: 6px; }
.ort p { margin: 0; color: var(--muted); }
.ort .media-slot { margin: 4px 0 0; aspect-ratio: 1 / 1; min-height: 0; border-radius: 50%; }
.ort .media-slot strong { font-size: 12px; }
.ort[data-ort="halle"] .media-slot img { object-position: center 72%; }
.orte.no-map .ort-show { pointer-events: none; }
.orte.no-map .ort-show .icon { display: none; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 900 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.steps h3 { font: 900 22px/1.2 var(--display); margin: 6px 0 6px; }
.steps p { margin: 0; max-width: 56ch; }
.steps p + p, .steps .join-doc + p { margin-top: 14px; }
.join-doc { margin-top: 16px; }
.fees-cap { font: 800 17px/1.3 var(--display); margin-top: 24px !important; }
.fees { margin: 8px 0 0; max-width: 56ch; }
.fees div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.fees div:last-child { border-bottom: 1px solid var(--line); }
.fees dt { margin: 0; }
.fees dd { margin: 0; font-weight: 800; white-space: nowrap; }
.fees-note { margin-top: 12px !important; font-size: 15px; color: var(--muted); }
.join-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.join-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.join-card p { margin: 0 0 12px; }

/* ---------- VEREINSCHRONIK (read mode) ---------- */
.chron-hero .t-lead { max-width: 52ch; }
.chron { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.chron-nav { position: sticky; top: calc(var(--head-h) + 28px); }
.chron-nav h2 { font: 900 16px/1.2 var(--display); margin: 0 0 10px; }
.chron-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.chron-nav a { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font: 800 15px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.chron-nav a b { font-weight: 900; color: var(--logo-blue); min-width: 3.2em; }
.chron-nav a:hover, .chron-nav a[aria-current] { background: var(--paper-2); color: var(--ink); }
.chron-body { max-width: 720px; }
.chapter { padding-block: 8px 48px; scroll-margin-top: calc(var(--head-h) + 20px); }
.chapter + .chapter { border-top: 1px solid var(--line); padding-top: 48px; }
.chapter h2 { font: 900 clamp(32px, 4vw, 50px)/1 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.chapter .span { font: 800 17px/1 var(--display); color: var(--logo-blue); font-variant-numeric: tabular-nums; margin: 0 0 24px; }
.chapter > p { margin: 0 0 18px; font-size: 18px; line-height: 1.7; max-width: 62ch; }
/* entries like the km marks on the course page: year right-aligned on a rail that breaks at each year, no boxes */
.chapter { --tl-col: 96px; --tl-gap: 24px; }
.entry { position: relative; display: grid; grid-template-columns: var(--tl-col) minmax(0, 1fr); gap: 0 var(--tl-gap); align-items: start; margin: 0; padding: 4px 0 34px; }
.entry::after, .entry-clip::after { content: ""; position: absolute; left: calc(var(--tl-col) + var(--tl-gap) / 2 - 1.5px); top: 48px; bottom: 0; width: 3px; border-radius: 2px; background: var(--line); }
.chapter > p + .entry, .chapter > .span + .entry { margin-top: 8px; }
.entry .yr { display: block; text-align: right; font: 900 34px/1 var(--display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.entry .yr small { display: block; font: 700 13px/1.3 var(--text); letter-spacing: 0; color: var(--muted); }
.entry .yr.yr-long { font-size: 26px; padding-top: 5px; }
.entry h3 { font: 900 21px/1.25 var(--display); margin: 2px 0 6px; }
/* Zeitungsausschnitte zwischen den Einträgen: in der Textspalte, die Schiene läuft daneben durch */
.entry-clip { position: relative; padding: 4px 0 38px calc(var(--tl-col) + var(--tl-gap)); }
.entry-clip::after { top: 0; }
.chron .entry-clip .clip { margin: 0; }
@media (max-width: 600px) {
  .chapter { --tl-col: 52px; --tl-gap: 16px; }
  .entry .yr { font-size: 24px; }
  .entry .yr.yr-long { font-size: 17px; padding-top: 6px; }
  .entry::after { top: 36px; }
}
.entry p { margin: 0 0 10px; font-size: 17.5px; line-height: 1.7; max-width: 60ch; }
.entry .person { font-weight: 800; }
.chron .clip { margin: 28px 0; max-width: 560px; }
.chron .clip h3 { font: 900 18px/1.25 var(--display); margin: 0 0 6px; }
.chron .clip p { margin: 0; color: #5d6058; font-size: 15.5px; }
.chron figure { margin: 28px 0; }
.chron figure .media-slot { aspect-ratio: 3 / 2; }
.chron figcaption.cap { margin-top: 8px; font: 600 14px/1.4 var(--text); color: var(--muted); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pair .clip { margin: 0; }
/* Archiv-Ausschnitte (Zeitungsfotos), Paper Object Rule */
.chron .clip-photo { padding: 10px 10px 8px; max-width: 520px; }
.chron .clip-photo a { display: block; line-height: 0; }
.chron .clip-photo img { display: block; width: 100%; height: auto; }
.chron .clip-photo figcaption { margin-top: 8px; font: 600 14px/1.45 var(--text); color: #3f4a4e; }
.chron .clip-photo.narrow { max-width: 360px; }
.chron .clip-photo.wide { max-width: 720px; }
/* Abteilungsleitung als Zeitstrahl: am Desktop waagerecht (Beschriftung abwechselnd unten/oben), schmal senkrecht */
.chapter .honor-h { font: 900 24px/1.2 var(--display); margin: 40px 0 10px; }
.leads { list-style: none; margin: 22px 0 0; padding: 0; position: relative; }
.leads li { position: relative; padding: 0 0 18px 32px; }
.leads li:last-child { padding-bottom: 0; }
.leads li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: -5px; width: 2px; background: var(--line); }
.leads li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--logo-blue); box-sizing: border-box; }
.leads li.long { padding-bottom: 34px; }
.leads li.now::before { background: var(--logo-blue); }
.leads .lbl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; }
.leads .when { font: 800 16px/1.5 var(--display); color: var(--logo-blue); font-variant-numeric: tabular-nums; }
.leads .who { line-height: 1.5; }
.leads li.now .who { font-weight: 800; }
@media (max-width: 480px) { .leads .lbl { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media (min-width: 901px) {
  .leads { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: auto 2px auto; margin-top: 30px; }
  .leads::before { content: ""; grid-column: 1 / 7; grid-row: 2; background: var(--line); }
  .leads li { display: contents; }
  .leads li::before, .leads li:not(:last-child)::after { content: none; }
  .leads .lbl { display: block; position: relative; grid-row: 3; align-self: start; border-left: 2px solid var(--line); padding: 22px 10px 0 12px; }
  .leads li:nth-child(even) .lbl { grid-row: 1; align-self: end; padding: 0 10px 22px 12px; }
  .leads .lbl::before { content: ""; position: absolute; left: -8px; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--logo-blue); box-sizing: border-box; }
  .leads li:nth-child(even) .lbl::before { top: auto; bottom: -8px; }
  .leads li.now .lbl::before { background: var(--logo-blue); }
  .leads .when { display: block; }
  .leads .who { display: block; font-size: 15.5px; }
  .leads li:nth-child(1) .lbl { grid-column: 1 / span 2; }
  .leads li:nth-child(2) .lbl { grid-column: 2 / span 2; }
  .leads li:nth-child(3) .lbl { grid-column: 3 / span 2; }
  .leads li:nth-child(4) .lbl { grid-column: 4 / span 2; }
  .leads li:nth-child(5) .lbl { grid-column: 5 / span 2; }
  .leads li:nth-child(6) .lbl { grid-column: 6 / span 2; }
  .leads li:nth-child(7) .lbl { grid-column: 7 / span 2; }
}
.to-vl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.to-vl h2 { margin-bottom: 8px; }
.to-vl p { margin: 0; max-width: 56ch; }

/* ---------- KONTAKT ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.people { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.people li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.people h3 { font: 900 24px/1.15 var(--display); margin: 0; }
.people p { margin: 2px 0 0; color: var(--muted); font-weight: 600; }
.mail-box { background: var(--paper-2); border-radius: 14px; padding: 22px 24px; }
.mail-box p { margin: 0 0 8px; color: var(--muted); }
.addr-list { display: grid; gap: 18px; margin-top: 28px; }
.addr-list h3 { font: 900 19px/1.2 var(--display); margin: 0 0 4px; }
.addr-list address { font-style: normal; color: var(--muted); }
.form { display: grid; gap: 18px; }
.form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font: 800 15px/1.2 var(--display); }
.field .hint { font: 600 13px/1.4 var(--text); color: var(--muted); }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; caret-color: var(--logo-blue); transition: border-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--logo-blue); outline-offset: 1px; border-radius: 10px; }
.field [aria-invalid="true"] { border-color: var(--r-line); }
.field .err { color: var(--r-line); font: 700 13px/1.3 var(--text); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--logo-blue); }
.form-note { border-radius: 14px; padding: 16px 18px; background: var(--paper-2); border: 1.5px solid var(--logo-blue); font-weight: 600; }
.form-note[hidden] { display: none; }
.legal > * { max-width: 760px; }
.legal h2 { scroll-margin-top: calc(var(--head-h) + 20px); }
.legal h3 { font: 900 20px/1.2 var(--display); margin: 28px 0 6px; }
.legal p, .legal address { margin: 0 0 10px; font-style: normal; }
.legal dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.legal dt { font: 800 15px/1.5 var(--display); }
.legal dd { margin: 0; }
.ph-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .home-top, .since-grid, .t-hero-grid, .join-grid, .contact-grid, .to-vl { grid-template-columns: minmax(0, 1fr); }
  .strands { grid-template-columns: minmax(0, 1fr); }
  .strands::before { display: none; }
  .strand, .strand + .strand { padding-inline: 0; }
  .strand + .strand { margin-top: 44px; padding-top: 40px; border-top: 2px dashed var(--line); }
  .strand-obj { min-height: 0; }
  /* narrow: the map runs edge to edge, ragged only at top and bottom (--orte-edge-m) */
  .orte { grid-template-columns: minmax(0, 1fr); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-right: 0; }
  .orte-map { height: auto; aspect-ratio: 4 / 3; }
  .orte-mask { -webkit-mask-image: var(--orte-edge-m); mask-image: var(--orte-edge-m); }
  .orte-soft { display: none; }
  .orte-ctl { left: max(16px, env(safe-area-inset-left, 0px)); top: 30px; }
  .orte .map-attr { left: max(16px, env(safe-area-inset-left, 0px)); bottom: 30px; }
  .orte-list { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); margin-top: 8px; }
  .orte.no-map { margin-inline: 0; }
  .orte.no-map .orte-list { padding-inline: 0; }
  .ort { grid-template-columns: 40px minmax(0, 1fr) 88px; gap: 0 14px; }
  .group { grid-template-columns: minmax(0, 1fr); }
  .group .meta { justify-self: start; text-align: left; }
  .chron { grid-template-columns: minmax(0, 1fr); }
  .chron-nav { position: static; }
  .chron-nav ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .chron-nav a { border: 1px solid var(--line); padding: 8px 12px; }
  .chron-nav a b { min-width: 0; }
}
@media (max-width: 640px) {
  .orte-map { aspect-ratio: 1 / 1; }
  .orte-ctl button { height: 36px; min-width: 36px; }
  .ort { grid-template-columns: 36px minmax(0, 1fr) 64px; gap: 0 12px; }
  .ort-pin { width: 36px; height: 36px; }
  .ort h3 { font-size: 20px; }
  .home-hero { padding-top: 24px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .form .row-2 { grid-template-columns: minmax(0, 1fr); }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .band[data-splash="right"] img.splash-right { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pill-link, .field input, .field select, .field textarea, .orte-ctl button, .m-ort, .m-ort::after, .ort-pin, .ort-show .icon { transition: none; } }

/* ---------- training: aerial photo of the Sportplatz behind the intro (like the drone film on volkslauf.html):
   a paper wash keeps the copy legible on the left, the photo fades into the paper at the bottom ---------- */
.t-hero-has-photo { --fade: clamp(110px, 12vw, 200px); padding-block: clamp(56px, 8vw, 112px) calc(var(--fade) * .7); }
.t-hero-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade)), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade)), transparent); }
.t-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.t-hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, color-mix(in srgb, var(--paper) 92%, transparent) 0%,
                                        color-mix(in srgb, var(--paper) 82%, transparent) 40%,
                                        color-mix(in srgb, var(--paper) 30%, transparent) 72%,
                                        color-mix(in srgb, var(--paper) 8%, transparent) 100%); }
.t-hero-copy { max-width: 620px; }
.t-hero-copy .actions { margin-top: 26px; }
@media (max-width: 900px) {
  .t-hero-photo::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--paper) 86%, transparent) 0%,
                                                               color-mix(in srgb, var(--paper) 78%, transparent) 65%,
                                                               color-mix(in srgb, var(--paper) 40%, transparent) 100%); }
}

/* ---------- Vereinschronik: Einordnung vor den Kapiteln ---------- */
.chron-intro { padding-block: 8px 56px; }
.chron-intro .container { padding-top: 40px; border-top: 1px solid var(--line); }
.chron-intro .t-title { margin: 0; max-width: 14ch; }
.chron-intro .person { font-weight: 800; }
