/* Tritakt-Website als Saison: Abschnitte = Phasen des Plans bis zum Renntag, Farben aus der App, Grund wie die App (#111).
   Das einzige Auffällige sind die echten App-Videos. Hell/Dunkel nach System. Schriften liegen im Ordner, keine fremden Anfragen. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/schriften/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/schriften/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700;
  src: url(/schriften/ibm-plex-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700;
  src: url(/schriften/ibm-plex-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  /* Grund genau wie die App im dunklen Modus (#111, Karten #1a1a1a), damit Aufnahmen und Seite nicht brechen.
     Farbe nur aus den Phasen des Plans (PHASE_FARBE in der App). Immer dunkel. */
  --bg: #111111; --flaeche: #1a1a1a; --ink: #f2f2f2; --text: #c6c6c6; --muted: #8c8c8c; --line: #262626; --akzent: #f2f2f2;
  --f-display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --breite: 1200px; --kommt: #232323;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 45%, transparent); }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 650; line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -0.005em; }
h2 { font-size: clamp(26px, 3vw, 34px); text-wrap: balance; }
h3 { font-size: 19px; }
p { margin: 0; }
img, video { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 76px; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.still { color: var(--muted); }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 16px; top: 12px; background: var(--bg); padding: 8px 12px; z-index: 20; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 25; background: var(--bg); }
.kopf-zeile { display: flex; align-items: center; gap: 24px; height: 64px; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 650; font-size: 19px; color: var(--ink); text-decoration: none; }
.marke img { width: 28px; height: 28px; border-radius: 7px; }
.kopf nav { margin-left: auto; display: flex; gap: 24px; font-size: 15px; }
.kopf nav a { color: var(--text); text-decoration: none; }
.kopf nav a:hover, .kopf nav a[aria-current] { color: var(--ink); text-decoration: underline; }

/* App-Store-Knopf */
.store { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px 9px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); text-decoration: none; }
.store svg { width: 22px; height: 22px; }
.store .zwei { display: grid; line-height: 1.1; font-weight: 600; font-size: 17px; }
.store small { font-weight: 400; font-size: 11px; }
.store.demnaechst { cursor: default; }
.store.gross { gap: 13px; padding: 14px 30px 14px 22px; border-radius: 14px; }
.store.gross svg { width: 34px; height: 34px; }
.store.gross .zwei { font-size: 25px; }
.store.gross small { font-size: 14px; }
.store.klein { gap: 7px; padding: 6px 13px 6px 10px; border-radius: 8px; }
.store.klein svg { width: 18px; height: 18px; }
.store.klein .zwei { font-size: 14px; }
.store.klein small { font-size: 10px; }
.aktionen { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.preis-klein { color: var(--muted); font-size: 15px; }

/* iPhone mit echtem Video (dunkle App auf gleichem Grund) */
.telefon { width: 300px; aspect-ratio: 540 / 1168; padding: 8px; border-radius: 44px; background: #000; box-shadow: inset 0 0 0 1.5px #2c2c2c; flex: none; }
.telefon video { width: 100%; height: 100%; border-radius: 36px; object-fit: cover; background: #111; }

/* Echte Bausteine aus der App, Ecken wie die Karten der App, feiner Rand, damit sie sich vom gleichen Grund lösen */
.bausteine { display: grid; gap: 12px; }
.bausteine img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px #2a2a2a; }

/* Mitlaufender Saison-Balken oben: nur mit Scroll-Animationen; die Zukunft ist abgedunkelt und weicht beim Scrollen */
.mitlauf { display: none; }
@supports (animation-timeline: scroll()) {
  .mitlauf { display: flex; position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 5px; }
  .mitlauf span { background: var(--ph); }
  .mitlauf::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 100%; background: rgba(17, 17, 17, .78);
    animation: saison-voran linear both; animation-timeline: scroll(root); }
  @keyframes saison-voran { to { width: 0%; } }
}

/* Hero: riesige Überschrift, darunter Text und Knopf nebeneinander, dann die Saison als das eine große Bild:
   Wochensäulen (wie im Saisonplan der App) über dem Phasenbalken */
.hero { padding: 44px 0 64px; }
.hero h1 { font-size: clamp(42px, 7.9vw, 116px); font-weight: 720; line-height: .94; letter-spacing: -0.035em; text-wrap: balance; }
.hero-unten { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.hero-text { display: grid; gap: 14px; }
.hero-aktion { display: grid; gap: 18px; justify-items: start; }
.hero .auch { font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 2vw, 25px); line-height: 1.3; color: var(--ink); max-width: 30em; }
.hero .unter { max-width: 36em; font-size: 18px; }
.hero .fakten { font-size: 14.5px; color: var(--muted); max-width: 40em; }
.hero .fakten a { color: var(--text); }
.hero .aktionen { margin-top: 0; }
.saison { margin-top: 44px; }
.saison-titel { font-size: 14px; color: var(--muted); }
.saison-wochen { display: flex; gap: 4px; height: clamp(96px, 15vh, 190px); margin: 12px 0 6px; }
.saison-wochen > span { display: flex; align-items: flex-end; gap: 3px; min-width: 0; }
.saison-wochen i { flex: 1; min-width: 0; height: calc(var(--h) * 100%); background: var(--ph); border-radius: 4px 4px 2px 2px; transform-origin: bottom;
  animation: saeule-hoch .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 26ms + 150ms); }
.saison-wochen .erholung { opacity: .5; }
@keyframes saeule-hoch { from { transform: scaleY(0); } }
.saison-balken { display: flex; gap: 4px; height: 44px; }
.saison-balken span { background: var(--ph); border-radius: 8px; }
.saison-namen { display: flex; align-items: baseline; gap: 4px; margin-top: 12px; font-size: 15px; color: var(--ink); font-weight: 600; }
.saison-namen span { white-space: nowrap; min-width: 0; }
.saison-namen .klein { font-size: 13px; font-weight: 500; color: var(--text); }
.saison-enden { display: flex; justify-content: space-between; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Abschnitte = Phasen */
.abschnitt { padding: 72px 0 88px; }
.abschnitt h2 { font-size: clamp(34px, 5.4vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }

/* Kopf jedes Abschnitts: der ganze Saison-Balken, gefüllt bis hierher. Vergangene Phasen blass, die eigene voll, kommende grau.
   Wo der Browser es kann, füllt sich das eigene Segment, während der Abschnitt ins Bild scrollt. */
.etappe { margin-bottom: 56px; }
.etappe-balken { display: flex; gap: 4px; height: 30px; }
.etappe-balken span { position: relative; overflow: hidden; border-radius: 7px; background: var(--kommt); }
.etappe-balken .war { background: color-mix(in srgb, var(--f) 36%, var(--bg)); }
.etappe-balken .jetzt { background: var(--f); }
.etappe-zeile { position: relative; height: 26px; margin-top: 12px; }
.etappe-zeile p { position: absolute; top: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 15px; color: var(--muted); }
.etappe-zeile b { font-family: var(--f-display); font-weight: 650; font-size: 19px; color: var(--ink); }
@supports (animation-timeline: view()) {
  .etappe-balken .jetzt { background: var(--kommt); }
  .etappe-balken .jetzt::before { content: ""; position: absolute; inset: 0; background: var(--f); transform-origin: left;
    animation: etappe-fuellen linear both; animation-timeline: view(); animation-range: entry 100% cover 42%; }
  @keyframes etappe-fuellen { from { transform: scaleX(0); } }
}

/* Einstieg: drei Schritte nebeneinander (echte Abfolge, deshalb nummeriert) */
.schritte { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; max-width: 32em; }
.schritte li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.schritte li p { margin-top: 4px; }
.schritt { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ph); color: #101010;
  font-family: var(--f-display); font-weight: 650; font-size: 15px; }
.schritte h3 { font-size: 22px; line-height: 40px; }
.schritte p { font-size: 17px; }

/* Der Grund unter jeder Überschrift: warum man das braucht, in einem Satz, größer als der Fließtext */
.grund { margin-top: 22px; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.28; color: var(--ink); max-width: 27em; text-wrap: pretty; }
.zeile-text > p.grund { margin-top: 22px; font-size: clamp(20px, 2.1vw, 27px); max-width: 24em; }

/* Warum es die App braucht, und was sie kann: fünf Punkte in den Farben der Phasen, in denen sie weiter unten gezeigt werden */
.warum { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.warum h2 { font-size: clamp(34px, 5.4vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; max-width: 13em; }
.warum .grund { max-width: 32em; }
.ueberblick { margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 4px; }
.ueberblick div { padding-right: 20px; }
.ueberblick div::before { content: ""; display: block; height: 12px; margin: 0 -16px 16px 0; border-radius: 5px; background: var(--f); }
.ueberblick dt { font-family: var(--f-display); font-weight: 650; font-size: 20px; line-height: 1.15; color: var(--ink); }
.ueberblick dd { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; }

/* Basis, Aufbau, Tapering: Text und Bild nebeneinander */
.zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 88px; align-items: start; }
.zeile.gespiegelt { grid-template-columns: auto minmax(0, 1fr); }
.zeile.gespiegelt > .telefon, .zeile.gespiegelt > .bausteine { order: -1; }
.zeile-text { max-width: 32em; }
.zeile-text { max-width: 36em; }
.zeile-text > p { margin-top: 24px; font-size: 19px; max-width: 32em; }
.zeile > .bausteine { width: 420px; }
.kurz { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; max-width: 34em; }
.kurz div { border-top: 3px solid var(--ph); padding-top: 12px; }
.kurz dt { font-weight: 600; color: var(--ink); }
.kurz dd { margin: 4px 0 0; font-size: 15.5px; }

/* Spitze: zwei Teile nebeneinander */
.paar { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.paar-teil { display: grid; gap: 10px; align-content: start; }
.paar-teil h3 { font-size: 21px; }
.paar-teil p { font-size: 16px; max-width: 30em; min-height: 4.8em; }
.paar-teil .telefon, .paar-teil .bausteine { margin-top: 14px; }
.paar-teil .telefon { width: 250px; }
.paar-teil .bausteine { max-width: 400px; }

/* Rennwoche: das Ziel. Das letzte Segment des Balkens wird zur ganzen Fläche, darauf der Preis in dunkler Schrift. */
.renntag { padding-bottom: 0; }
.renntag .etappe { margin-bottom: 40px; }
.ziel { --tinte: #06140e; background: var(--ph); color: var(--tinte); padding: 80px 0 88px; }
.ziel h2 { color: var(--tinte); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em; }
.preis-zahl { margin: 10px 0 0 -0.04em; font-family: var(--f-display); font-weight: 750; font-size: clamp(88px, 21vw, 300px); letter-spacing: -0.05em; line-height: .86; white-space: nowrap; }
.preis-raster { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.ziel-kauf { display: grid; gap: 20px; justify-items: start; }
.preis-art { font-family: var(--f-display); font-weight: 650; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; }
.ziel-text { display: grid; gap: 16px; font-size: 18px; font-weight: 500; max-width: 34em; }
.ziel a { color: var(--tinte); text-decoration-color: color-mix(in srgb, var(--tinte) 55%, transparent); }
.ziel a:hover { text-decoration-color: var(--tinte); }
.ziel a:focus-visible { outline-color: var(--tinte); }
.ziel .aktionen { margin-top: 0; }
.ziel .store { background: var(--tinte); color: #fff; }

/* Tobi */
.tobi { padding: 112px 0 88px; }
.tobi-raster { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: center; }
.tobi img { width: 100%; height: auto; border-radius: 12px; }
.tobi h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 10px; }
.tobi-text { display: grid; gap: 16px; max-width: 34em; font-size: 19px; }

/* Fragen */
.fragen h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 700; letter-spacing: -0.025em; }
.fragen { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.faq { margin-top: 24px; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; max-width: 40em; }

/* Unterseiten (Datenschutz, Impressum, Support) */
.text-seite { padding: 56px 0 80px; }
.text-seite .huelle { max-width: 760px; }
.text-seite h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 10px; }
.text-seite h2 { font-size: 23px; margin: 36px 0 6px; }
.text-seite h3 { font-size: 18px; margin: 24px 0 6px; }
.text-seite p, .text-seite ul { margin: 0 0 10px; }
.text-seite ul { padding-left: 20px; display: grid; gap: 6px; }
.hinweis { background: var(--flaeche); border-left: 3px solid #5c9ccf; padding: 12px 16px; margin: 16px 0; }

/* Fuß */
.fuss { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.fuss a { color: var(--text); text-decoration: none; }
.fuss a:hover { color: var(--ink); text-decoration: underline; }
.fuss .rechts { margin-left: auto; color: var(--muted); }

@media (max-width: 960px) {
  .hero-unten { grid-template-columns: 1fr; align-items: start; }
  .ueberblick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ueberblick div::before { margin-right: 0; }
  .zeile, .zeile.gespiegelt { gap: 48px; }
  .zeile > .bausteine { width: 340px; }
  .tobi-raster { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
  .preis-raster { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
}
@media (max-width: 720px) {
  .huelle { padding: 0 18px; }
  body { font-size: 16px; }
  .kopf nav .nur-breit { display: none; }
  .kopf-zeile { gap: 14px; height: 58px; }
  .kopf nav { gap: 14px; font-size: 14.5px; }
  .marke { font-size: 0; gap: 0; }
  .marke img { width: 32px; height: 32px; }
  .warum { padding: 44px 0 40px; }
  .ueberblick { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .ueberblick div::before { width: 72px; height: 10px; margin-bottom: 12px; }
  .store.gross { padding: 13px 26px 13px 20px; }
  .store.gross .zwei { font-size: 23px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: clamp(38px, 11.6vw, 64px); line-height: .97; }
  .hero-unten { margin-top: 24px; }
  .hero .unter { font-size: 17px; }
  .saison { margin-top: 44px; }
  .saison-titel { font-size: 13px; }
  .saison-wochen { gap: 3px; }
  .saison-wochen > span { gap: 2px; }
  .saison-wochen i { border-radius: 2px 2px 1px 1px; }
  .saison-balken { height: 30px; gap: 3px; }
  .saison-balken span { border-radius: 6px; }
  .saison-namen { font-size: 12.5px; gap: 3px; }
  .saison-namen .klein { visibility: hidden; overflow: hidden; }
  .abschnitt, .tobi, .fragen { padding-top: 48px; padding-bottom: 56px; }
  .renntag { padding-bottom: 0; }
  .etappe { margin-bottom: 36px; }
  .etappe-balken { height: 20px; gap: 3px; }
  .etappe-balken span { border-radius: 5px; }
  .etappe-zeile { margin-top: 9px; }
  .etappe-zeile p { font-size: 14px; gap: 8px; }
  .etappe-zeile b { font-size: 17px; }
  .ziel { padding: 48px 0 56px; }
  .ziel-text { font-size: 17px; }
  .zeile, .zeile.gespiegelt { grid-template-columns: 1fr; gap: 36px; }
  .zeile.gespiegelt > .telefon, .zeile.gespiegelt > .bausteine { order: 0; }
  .zeile > .telefon { width: 240px; justify-self: center; }
  .zeile > .bausteine { width: 100%; max-width: 400px; justify-self: center; }
  .zeile-text > p { font-size: 17px; }
  .kurz { grid-template-columns: 1fr; gap: 16px; }
  .paar { grid-template-columns: 1fr; gap: 48px; }
  .paar-teil p { min-height: 0; }
  .paar-teil .telefon { width: 230px; justify-self: center; }
  .preis-raster { grid-template-columns: 1fr; gap: 20px; }
  .tobi-raster { grid-template-columns: 1fr; gap: 28px; }
  .tobi img { max-width: 320px; }
  .tobi-text { font-size: 17px; }
  .fuss .rechts { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mitlauf::after { animation: none; width: 0; }
  .saison-wochen i, .etappe-balken .jetzt::before { animation: none; }
}
