/* built by werkzeuge/homepage.py: the hub's tokens, then homepage/stil.css */
/* hub-tokens { colours by role, the type scale and the card padding: the same on handbuch.html,
   import-api.html and wissen.html, which werkzeuge/handbuch.py and werkzeuge/wissen.py build with this
   block (D103) */
:root {
  --bg: #f3f4f5;
  --surface: #ffffff;
  --surface-2: #e9ecee;
  --ink: #0b1924;
  --muted: #56636d;
  --line: #e2e6e9;
  --band: #07141c;
  --band-ink: #e8eef2;
  --band-muted: #93a6b3;
  /* on the band (dark in both themes) and the header photo: the strongest text and marks, the photo's
     secondary text, hover and an outline, the verdicts lighter */
  --on-fill: #ffffff;
  --band-soft: #c9d6de;
  --band-hover: rgb(255 255 255 / 0.06);
  --band-edge: rgb(255 255 255 / 0.14);
  --band-warn: #f0c060;
  --band-crit: #ffc2b4;
  --band-crit-tint: rgb(234 119 95 / 0.22);
  /* the routes on the dark course map: the swim lighter, the run nearly white */
  --map-swim: #7fd3e2;
  --map-run: #dfe8ee;
  --cyan: #00c4dc;
  --cyan-ink: #00778a;
  --cyan-soft: #dcf4f8;
  --key: #8b5cf6;
  --key-ink: #6d3fd8;
  --key-soft: #eee8fd;
  --key-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%238b5cf6' fill-opacity='.3' d='M6.0 2.9L6.9 5.3L9.4 5.4L7.4 7.0L8.1 9.4L6.0 8.0L3.9 9.4L4.6 7.0L2.6 5.4L5.1 5.3ZM18.0 14.9L18.9 17.3L21.4 17.4L19.4 19.0L20.1 21.4L18.0 20.0L15.9 21.4L16.6 19.0L14.6 17.4L17.1 17.3Z'/%3E%3C/svg%3E");
  /* sport colours: identity of a sport, nothing else (validated: blue, cyan, magenta) */
  --swim: #2a78d6;
  --ride: #00c4dc;
  --run: #c2477f;
  --strength: #a4afb6;
  /* data that is neither a sport nor a verdict: one neutral series, a second one dashed */
  --series: #4a6272;
  --series-2: #8a9aa5;
  /* heart-rate zones in Garmin's colours, the one deliberate exception to "a colour means one thing"
     (D117, Dome: everybody knows them): below zone 1, then zones 1-5 gray, blue, green, orange, red */
  --hrz-0: #dde2e5; --hrz-1: #9aa4ab; --hrz-2: #2f86d8; --hrz-3: #3ba55c; --hrz-4: #f08c1e; --hrz-5: #d93a2b;
  /* power zones in Garmin's colours too (D135, Dome): seven zones gray, blue, green, yellow, orange,
     red, purple - the heart rate's with these two -, five as the heart rate's */
  --pwz-4: #e3b30b; --pwz-7: #8e4fc6;
  /* a target range looks the same everywhere: a soft band in the "good" colour */
  --target: var(--good);
  /* one type scale (body text 15px, titles of cards and tiles 1rem, the page's name fluid), one card
     padding, two button sizes, one hatching */
  --fs-xs: 0.72rem; --fs-sm: 0.8rem; --fs-md: 0.9rem; --fs-body: 15px; --fs-base: 1rem; --fs-lg: 1.3rem; --fs-xl: 1.9rem;
  --fs-h1: clamp(1.8rem, 4.4vw, 2.6rem);
  --fs-hero: clamp(2.6rem, 5vw, 3.8rem);  /* the countdown in Home's hero (D154), as the homepage's */
  --pad-card: 18px 20px;
  --btn-pad: 7px 14px; --btn-pad-sm: 4px 10px;
  --hatch: 3px;
  --good: #23855a;
  --warn: #a7700b;
  --crit: #b33a2a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 0;  /* angular, like the Privacy Hub and the Wissensdatenbank (Dome, 2026-10-24) */
  --band-h: 64px;
  --on-cyan: #04202a;  /* text on cyan, in both themes */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08111a; --surface: #0f1c27; --surface-2: #142533; --ink: #e6edf2; --muted: #93a3ae; --line: #1c2d3a;
    --cyan-ink: #3fd6ec; --cyan-soft: #0b2f3a; --swim: #6272ea; --ride: #00a7bd; --run: #e0608f; --strength: #5c6d79; --series: #9bb3c3; --series-2: #5f7381;
    --hrz-0: #2a3946; --hrz-1: #7d8a94; --hrz-2: #4ea3f0; --hrz-3: #4fc17a; --hrz-4: #f5a03c; --hrz-5: #f0604f;
    --pwz-4: #f0cb4a; --pwz-7: #b386e8;
    --good: #55c08a; --warn: #d8a640; --crit: #ea775f; --key: #a684f5; --key-ink: #c2a9fa; --key-soft: #251c40;
    --key-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23a684f5' fill-opacity='.3' d='M6.0 2.9L6.9 5.3L9.4 5.4L7.4 7.0L8.1 9.4L6.0 8.0L3.9 9.4L4.6 7.0L2.6 5.4L5.1 5.3ZM18.0 14.9L18.9 17.3L21.4 17.4L19.4 19.0L20.1 21.4L18.0 20.0L15.9 21.4L16.6 19.0L14.6 17.4L17.1 17.3Z'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08111a; --surface: #0f1c27; --surface-2: #142533; --ink: #e6edf2; --muted: #93a3ae; --line: #1c2d3a;
  --cyan-ink: #3fd6ec; --cyan-soft: #0b2f3a; --swim: #6272ea; --ride: #00a7bd; --run: #e0608f; --strength: #5c6d79; --series: #9bb3c3; --series-2: #5f7381;
  --hrz-0: #2a3946; --hrz-1: #7d8a94; --hrz-2: #4ea3f0; --hrz-3: #4fc17a; --hrz-4: #f5a03c; --hrz-5: #f0604f;
  --pwz-4: #f0cb4a; --pwz-7: #b386e8;
  --good: #55c08a; --warn: #d8a640; --crit: #ea775f; --key: #a684f5; --key-ink: #c2a9fa; --key-soft: #251c40;
  --key-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23a684f5' fill-opacity='.3' d='M6.0 2.9L6.9 5.3L9.4 5.4L7.4 7.0L8.1 9.4L6.0 8.0L3.9 9.4L4.6 7.0L2.6 5.4L5.1 5.3ZM18.0 14.9L18.9 17.3L21.4 17.4L19.4 19.0L20.1 21.4L18.0 20.0L15.9 21.4L16.6 19.0L14.6 17.4L17.1 17.3Z'/%3E%3C/svg%3E");
  color-scheme: dark;
}
/* } hub-tokens */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-wght.woff2) format("woff2-variations"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext-wght.woff2) format("woff2-variations"); }
/* The public homepage (D150): flat and angular, the hub's colours - the tokens above come from
   site/index.html. The slanted bars are the logo's; every colour is a token or a color-mix() of one,
   the sport colours mark a discipline only, cyan is the accent (links, buttons, the countdown). */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }  /* seite.js hides a race gone by, a leg the race has not */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--band-h) + 8px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--cyan-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, .knopf:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 0.45em; font-weight: 800; }
h1 { font-size: clamp(3rem, 8.4vw, 7.4rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.breite { width: min(1240px, 100% - 48px); margin: 0 auto; }
.schmal { width: min(760px, 100% - 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-ink); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sprung { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--cyan); color: var(--on-cyan); padding: 8px 14px; font-weight: 600; }
.sprung:focus { left: 12px; }
.platzhalter { color: var(--muted); font-style: italic; }
.leer { color: var(--muted); margin: 0; }
.klein { font-size: var(--fs-sm); }

/* buttons: flat fills, slanted like the logo's bars */
.knopf { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; text-decoration: none; background: var(--cyan); color: var(--on-cyan); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background-color .2s, color .2s, transform .2s; }
.knopf::after { content: "→"; transition: transform .2s; }
.knopf:hover { background: var(--on-fill); color: var(--band); }
.knopf:hover::after { transform: translateX(4px); }
.knopf-zwei { background: color-mix(in srgb, var(--on-fill) 10%, transparent); color: var(--on-fill); }
.knopf-zwei:hover { background: var(--on-fill); color: var(--band); }
.knopf-dunkel { background: var(--band); color: var(--on-fill); }
.knopf-dunkel:hover { background: var(--on-fill); color: var(--band); }
.mehr { display: inline-flex; gap: 8px; margin-top: 4px; font-weight: 700; text-decoration: none; }
.mehr::after { content: "→"; transition: transform .2s; }
.mehr:hover::after { transform: translateX(4px); }

/* the band: translucent over the page, the hub's band */
.kopf { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--band) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--band-edge); color: var(--band-ink); }
.kopf-in { height: var(--band-h); display: flex; align-items: center; gap: 36px; }
.marke img { height: 36px; width: auto; }
.navi { display: flex; gap: 30px; margin-left: auto; }
.navi a { position: relative; color: var(--band-soft); text-decoration: none; font-size: 0.92rem; font-weight: 600; padding: 6px 0; }
.navi a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--cyan); transition: right .25s; }
.navi a:hover { color: var(--on-fill); }
.navi a:hover::after { right: 0; }

/* the hero: the whole first screen, big type, the logo's three bars in the sport colours */
.held { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); min-height: calc(100svh - var(--band-h)); display: grid; grid-template-rows: 1fr auto; margin-top: calc(-1 * var(--band-h)); padding-top: var(--band-h); }
/* the photo behind it (inhalt.json heldbild, its image set by the build): below the band, down to the
   disciplines, as faint as the hub's header */
.held::before { content: ""; position: absolute; inset: var(--band-h) 0 0; background: center 42% / cover no-repeat; pointer-events: none; }
/* the slanted bars, sized and placed as on a window of up to 1320 px (Dome: half a screen looks right):
   on a wider one they stay at the column, the hero keeps its picture instead of stretching */
/* slanted as one group, so the three stay parallel and apart on a window of any height (each one
   slanted about its own middle let the shorter ones slide into each other on tall windows) */
.held-deko { position: absolute; top: -10%; right: calc((100% - min(100%, 1320px)) / 2 - min(1.5vw, 20px)); height: 120%; width: min(46%, 607px); display: flex; gap: min(3.4vw, 45px); justify-content: flex-end; pointer-events: none; transform: skewX(-20deg); }
.held-deko i { flex: 0 0 min(9vw, 119px); animation: ein 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.held-deko .swim { background: var(--swim); animation-delay: .05s; }
.held-deko .ride { background: var(--ride); animation-delay: .18s; height: 82%; margin-top: auto; }
.held-deko .run { background: var(--run); animation-delay: .31s; height: 64%; }
@keyframes ein { from { transform: translateY(30%); opacity: 0; } }
.held-in { position: relative; align-self: center; padding: clamp(56px, 9vw, 120px) 0 48px; max-width: 900px; margin-left: max(24px, calc((100% - 1240px) / 2)); }
.held .eyebrow { color: var(--cyan); margin-bottom: 26px; }
.held h1 { color: var(--on-fill); margin-bottom: 28px; }
.held h1 em { font-style: normal; color: var(--cyan); }
.held h1 .punkt { color: var(--run); }  /* the logo's pink, in the claim (Dome) */
.lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.55; color: var(--band-soft); max-width: 34em; margin-bottom: 36px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.held-leiste { position: relative; isolation: isolate; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
/* the strip on the band's dark of its own (Dome): the slanted bars do not show through its words; a
   little wider than the column, so the words stay where they are */
.held-leiste::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--band); border-top: 1px solid var(--band-edge); }  /* the window's whole width */
.held-leiste > * { padding: 26px 28px 30px 0; }
.leiste-feld { padding-left: 28px; border-left: 1px solid var(--band-edge); display: grid; align-content: center; gap: 4px; }
.leiste-feld > span, .countdown > span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-muted); }
.leiste-feld b { color: var(--on-fill); font-size: 1.05rem; }
.countdown { display: flex; align-items: baseline; gap: 14px; padding-right: 36px; }
.countdown b { font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9; color: var(--cyan); font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }

/* the three legs: slanted blocks across the page */
.beine { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--band); }
.bein { position: relative; padding: 34px 48px 36px; color: var(--on-fill); display: grid; gap: 2px; clip-path: polygon(0 0, 100% 0, calc(100% - 36px) 100%, 0 100%); margin-right: -36px; }
.bein:first-child { padding-left: max(24px, calc((100vw - 1240px) / 2)); }
.bein:last-child { clip-path: none; margin-right: 0; padding-left: 72px; }
.bein:nth-child(2) { padding-left: 72px; }
.bein .bein-was, .bein .bein-wer { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: .85; }
.bein b { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin: 6px 0; }
a.bein { text-decoration: none; transition: filter .2s; }
a.bein:hover { filter: brightness(1.12); }
a.bein:focus-visible { outline: 3px solid var(--on-fill); outline-offset: -8px; }
a.bein .bein-wer::after { content: " →"; }  /* the way to the athlete's page */
.bein.swim { background: var(--swim); z-index: 3; }
.bein.ride { background: var(--ride); color: var(--on-cyan); z-index: 2; }
.bein.run { background: var(--run); z-index: 1; }

/* sections */
.teil { padding: clamp(80px, 11vw, 150px) 0; }
.teil-flaeche { background: var(--surface); }
.teil-dunkel { background: var(--band); color: var(--band-ink); }
.teil-dunkel h2 { color: var(--on-fill); }
.teil-dunkel .eyebrow { color: var(--cyan); }
.kopfzeile { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.kopfzeile .nr { font-size: var(--fs-sm); font-weight: 800; color: var(--run); opacity: .75; font-variant-numeric: tabular-nums; }  /* pink, a little held back (Dome) */

/* the team */
.team-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.athlet { background: var(--surface); display: grid; grid-template-rows: auto 1fr; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.athlet:hover { transform: translateY(-6px); }
a.athlet { color: inherit; text-decoration: none; }
a.athlet h3 { color: var(--ink); }
a.athlet .mehr { color: var(--cyan-ink); margin-top: 6px; }
a.athlet:hover .mehr::after { transform: translateX(4px); }
.athlet .foto { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.foto.platz { position: relative; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--band); color: var(--band-muted); }
.foto.platz i { position: absolute; top: -10%; bottom: -10%; right: 18%; width: 34%; transform: skewX(-20deg); opacity: .9; }
.swim .foto.platz i { background: var(--swim); }
.ride .foto.platz i { background: var(--ride); }
.run .foto.platz i { background: var(--run); }
/* a cut-out photo: the silhouette alone (Dome) - on a card on the tile's dark, on the athlete's page
   on the head itself, standing on the disciplines' bar */
.foto.frei { position: relative; overflow: hidden; background: var(--band); }
.foto.frei .frei-bild { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profil .foto.frei { background: transparent; }
.profil .foto.frei .frei-bild { object-fit: contain; object-position: center bottom; }
.foto.platz span { position: relative; font-size: clamp(4.4rem, 9vw, 7rem); font-weight: 800; line-height: 1; color: var(--on-fill); letter-spacing: -0.05em; }
.foto.platz small { position: relative; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.athlet-text { padding: 26px 28px 30px; border-bottom: 4px solid var(--line); }
.athlet.swim .athlet-text { border-bottom-color: var(--swim); }
.athlet.ride .athlet-text { border-bottom-color: var(--ride); }
.athlet.run .athlet-text { border-bottom-color: var(--run); }
.athlet-was { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.athlet.swim .athlet-was { color: var(--swim); }
.athlet.ride .athlet-was { color: var(--cyan-ink); }
.athlet.run .athlet-was { color: var(--run); }
.athlet h3 { font-size: 2rem; letter-spacing: -0.03em; }

/* the goal: dark, the facts as a grid of tiles */
.ziel-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.ziel-in p { color: var(--band-soft); font-size: 1.1rem; max-width: 34em; }
.gesamt { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; }
.gesamt b { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.05em; color: var(--cyan); line-height: 1; }
.gesamt > span { color: var(--band-muted); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.fakten { margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--band-edge); border: 1px solid var(--band-edge); }
.fakten .f-halb { grid-column: span 3; }  /* start and place side by side */
.fakten .f-ganz { grid-column: 1 / -1; }  /* the format across */
.fakten .f-leg { grid-column: span 2; }   /* the three legs side by side (Dome) */
.fakten div { background: var(--band); padding: 22px 24px; transition: background-color .2s; }
.fakten div:hover { background: color-mix(in srgb, var(--on-fill) 5%, var(--band)); }
.fakten dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-muted); }
.fakten dd { margin: 6px 0 0; font-weight: 700; font-size: 1.2rem; color: var(--on-fill); }
/* the main race's name: the way to the organiser's site (↗ as every way out) */
a.hw-titel { color: inherit; text-decoration: none; }
a.hw-titel[href]:hover { color: var(--cyan); }
.hw-pfeil { color: var(--cyan); font-size: .7em; vertical-align: .12em; }

/* the news */
.news-in { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr); gap: 56px; align-items: start; }
.news-raster { display: grid; gap: 18px; margin: 40px 0 26px; }
.news-karte { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; padding: 28px; background: var(--surface); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.news-karte:hover { transform: translateX(6px); }
.tag { display: grid; align-content: start; border-right: 2px solid var(--cyan); padding-right: 20px; }
.tag b { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tag span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.news-karte h3 { font-size: 1.45rem; margin: 12px 0 8px; }
.news-karte h3 a { color: var(--ink); text-decoration: none; }
.news-karte h3 a:hover { color: var(--cyan-ink); }
.news-karte p { color: var(--muted); }
.news-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--muted); }
.chip { display: inline-block; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; background: var(--cyan-soft); color: var(--cyan-ink); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.termin { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.news-termine { background: var(--band); color: var(--band-ink); padding: 30px 30px 32px; margin-top: 40px; position: sticky; top: calc(var(--band-h) + 24px); border: 1px solid var(--band-edge); }  /* the edge: dark on dark in the dark theme */
.news-termine h3 { color: var(--on-fill); font-size: 1.3rem; margin-bottom: 18px; }
.news-termine .leer { color: var(--band-muted); }
.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.termine li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; padding: 16px 0; border-top: 1px solid var(--band-edge); }
.termine li:first-child { border-top: 0; padding-top: 0; }
.termine time { grid-row: span 3; display: grid; align-content: start; color: var(--cyan); }
.termine time b { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.termine time span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-muted); margin-top: 4px; }
.termine .t-name { color: var(--on-fill); font-weight: 700; line-height: 1.3; }
.termine a.t-name { text-decoration: none; }
.termine a.t-name span { color: var(--cyan); }  /* ↗: the way out, as in the hub */
.termine a.t-name:hover { color: var(--cyan); }
.termine .t-wer, .termine .t-ort { font-size: var(--fs-sm); color: var(--band-soft); }
.termine .haupt .t-wer { color: var(--cyan); font-weight: 700; }  /* the main race, as its countdown */
.news-eintrag { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--band-h) + 12px); }
.news-eintrag h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 14px 0 10px; }

/* the community: the channels, the whole tile the way out; a placeholder hatched as a sponsor's */
.kanaele { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--band-edge); border: 1px solid var(--band-edge); }
.kanal { min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px; background: var(--band); color: var(--band-soft); text-decoration: none; transition: background-color .2s; }
a.kanal:hover { background: color-mix(in srgb, var(--on-fill) 7%, var(--band)); }
.kanal svg { width: 40px; height: 40px; margin-bottom: 6px; color: var(--on-fill); }
.kanal b { color: var(--on-fill); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; }
.ziel-in .kanal p { margin: 0 0 12px; color: inherit; font-size: 1rem; line-height: 1.5; }
.kanal .knopf, .kanal .stufe { margin-top: auto; }
.kanal .knopf::after { content: "↗"; }  /* out of the page, as everywhere */
a.kanal:hover .knopf { background: var(--on-fill); color: var(--band); }
.kanal.platz { background: repeating-linear-gradient(135deg, var(--band) 0 var(--hatch), color-mix(in srgb, var(--on-fill) 5%, var(--band)) var(--hatch) calc(var(--hatch) * 2)); color: var(--band-muted); }
.kanal.platz svg, .kanal.platz b, .kanal.platz .stufe { color: var(--band-muted); }

/* the sponsors, then the call on cyan */
.sponsor-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.sponsor { min-height: 190px; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 28px; background: var(--surface); color: var(--ink); text-decoration: none; text-align: center; transition: background-color .2s; }
a.sponsor:hover { background: var(--cyan-soft); }
.sponsor .logo { max-height: 80px; width: auto; }
.sponsor-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.sponsor.platz { background: repeating-linear-gradient(135deg, var(--surface) 0 var(--hatch), color-mix(in srgb, var(--surface-2) 70%, var(--surface)) var(--hatch) calc(var(--hatch) * 2)); color: var(--muted); }
.stufe { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.werben { background: var(--cyan); color: var(--on-cyan); padding: clamp(64px, 9vw, 112px) 0; }
.werben-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.werben h2 { color: var(--on-cyan); margin-bottom: 18px; }
.werben p { margin: 0; max-width: 40em; font-size: 1.1rem; }

/* an athlete's own page (/team/<seite>): the dark head as the start page's, then the text beside the profile */
.profil { background: var(--band); color: var(--band-ink); margin-top: calc(-1 * var(--band-h)); padding-top: var(--band-h); }
.profil-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding-top: clamp(40px, 7vw, 96px); }
.profil-kopf { padding-bottom: clamp(40px, 6vw, 80px); }
.zurueck { display: flex; width: max-content; gap: 8px; margin-bottom: 40px; color: var(--band-soft); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.zurueck::before { content: "←"; transition: transform .2s; }
.zurueck:hover { color: var(--on-fill); }
.zurueck:hover::before { transform: translateX(-4px); }
.profil .eyebrow { color: var(--cyan); margin-bottom: 22px; }
.profil h1 { color: var(--on-fill); margin-bottom: 26px; }
.profil .lead { margin-bottom: 0; }
.profil .platzhalter { color: var(--band-muted); }
.profil-foto { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.profil .foto.platz { background: color-mix(in srgb, var(--on-fill) 7%, var(--band)); }  /* the placeholder apart from the dark head */
.profil-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.profil-text { max-width: 44em; }
.profil-text h2:first-child { margin-top: 0; }
.profil-text.platzhalter h2 { color: var(--ink); font-style: normal; }  /* the sections stay, their text is the placeholder */
.steckbrief { background: var(--band); color: var(--band-ink); padding: 30px 30px 18px; position: sticky; top: calc(var(--band-h) + 24px); border: 1px solid var(--band-edge); }
.steckbrief h3 { color: var(--on-fill); font-size: 1.3rem; margin-bottom: 10px; }
.steckbrief dl { margin: 0; }
.steckbrief dl div { padding: 14px 0; border-top: 1px solid var(--band-edge); }
.steckbrief dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-muted); }
.steckbrief dd { margin: 4px 0 0; font-weight: 700; color: var(--on-fill); }
.st-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.st-liste li { display: grid; gap: 1px; }
.st-wann { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.st-liste a.st-name { color: var(--on-fill); text-decoration: none; }
.st-liste a.st-name span { color: var(--cyan); }  /* ↗: the way out, as in the hub */
.st-liste a.st-name:hover { color: var(--cyan); }
.st-was { font-size: var(--fs-sm); font-weight: 500; color: var(--band-soft); }
.st-links { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.steckbrief dd a.st-name { color: var(--on-fill); text-decoration: none; }
.steckbrief dd a.st-name span { color: var(--cyan); }
.steckbrief dd a.st-name:hover { color: var(--cyan); }

/* text pages: imprint, privacy, all news */
.text h2 { font-size: 1.45rem; margin-top: 1.7em; letter-spacing: -0.02em; }
.text h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.text ul { padding-left: 1.2em; }
main.teil { padding-top: clamp(64px, 9vw, 120px); }

/* the foot: one line (Dome) */
.fuss { background: var(--band); color: var(--band-muted); font-size: var(--fs-sm); }
.fuss-in { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding: 14px 0; }
.fuss nav { display: flex; gap: 24px; }
.fuss nav a { color: var(--band-ink); text-decoration: none; font-weight: 600; }
.fuss-in > span, .fuss nav a { white-space: nowrap; }
.fuss nav a:hover { color: var(--cyan); }

/* reveal on scroll: only with the script (the class js), never for reduced motion */
.js .zeig { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .zeig.sichtbar { opacity: 1; transform: none; }

/* phones and narrow windows */
@media (max-width: 980px) {
  .ziel-in, .news-in { grid-template-columns: 1fr; gap: 40px; }
  .team-raster { grid-template-columns: 1fr; max-width: 520px; }
  .sponsor-raster { grid-template-columns: 1fr; }
  .news-termine { position: static; margin-top: 0; }
  .navi { display: none; }
  .kopf-in { justify-content: space-between; }
  .werben-in { grid-template-columns: 1fr; align-items: start; }
  .held-leiste { grid-template-columns: 1fr 1fr; }
  .held-leiste .countdown { grid-column: 1 / -1; border-bottom: 1px solid var(--band-edge); }
  .leiste-feld:nth-child(2) { border-left: 0; padding-left: 0; }
  .leiste-feld:nth-child(4) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--band-edge); }
  .held-deko { width: 70%; opacity: .32; }
  .profil-in, .profil-raster { grid-template-columns: 1fr; }
  .profil-in { gap: 0; }
  .profil-foto { max-width: 480px; }
  .steckbrief { position: static; }
}
@media (max-width: 640px) {
  .beine { grid-template-columns: 1fr; }
  .bein, .bein:first-child, .bein:nth-child(2), .bein:last-child { clip-path: none; margin-right: 0; padding: 22px 24px; }
  .fakten .f-halb { grid-column: 1 / -1; }
  .fakten .f-leg div, .fakten .f-leg { padding: 18px 12px; }
  .fakten .f-leg dt { letter-spacing: .06em; }
  .fakten .f-leg dd { font-size: 1.05rem; }
  .news-karte { grid-template-columns: 1fr; gap: 14px; }
  .tag { border-right: 0; border-bottom: 2px solid var(--cyan); padding: 0 0 10px; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; }
  .athlet .foto, .profil-foto { aspect-ratio: 16 / 10; }
  .profil .profil-foto.frei { aspect-ratio: 4 / 5; max-width: 340px; width: 100%; justify-self: center; }  /* the whole silhouette on a phone too */
  /* the foot one line on phones too (Dome): without the kind and the year, smaller, closer */
  .fuss { font-size: 0.8rem; }
  .fuss-in { min-height: 56px; flex-wrap: nowrap; gap: 12px; }
  .fuss-art, .fuss-jahr { display: none; }
  .fuss nav { gap: 12px; }
  .kanaele { grid-template-columns: 1fr; }
  .kanal { min-height: 0; padding: 26px 24px; }
}
@media (max-width: 385px) {
  .fuss { font-size: 0.72rem; }
  .fuss-in, .fuss nav { gap: 10px; }
}
@media (max-width: 350px) {
  .fuss-in > span { display: none; }  /* the links alone still fit in the line, without a sideways scroll */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .zeig { opacity: 1; transform: none; }
}
