/* ============================================================
   Fonts: selbst gehostet (DSGVO) - Archivo Italic var + Space Grotesk var
   ============================================================ */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 700 900;
  font-stretch: 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 700 900;
  font-stretch: 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   FASTR Design System
   Quelle: 40 Website/Design Spec.md (2026-09-15)
   Geteilt von index / join / shop / tracker.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --black:     #0A0A0A;
  --black-2:   #070707;
  --surface:   #161616;
  --surface-2: #232323;
  --white:     #F5F5F5;
  --grey-1:    #CFCFCF;
  --grey-2:    #9A9A9A;
  --grey-3:    #636363;
  --lime:      #E3FF23;
  --error:     #FF4B33;
  --line:      rgba(255, 255, 255, 0.35);
  --grid-line: #2A2A2A;

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-ui: "Space Grotesk", "Helvetica Neue", sans-serif;

  --section-pad: clamp(96px, 14vh, 200px);
  /* Querformat mit viewport-fit=cover: nicht in Notch/Dynamic Island laufen */
  --side-pad: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --stack-gap: clamp(32px, 5vh, 64px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, figure, h1, h2, h3, p { margin: 0; padding: 0; }
ul, ol { list-style: none; }
/* hidden-Attribut gewinnt auch gegen display:flex/grid der Komponenten */
[hidden] { display: none !important; }

::selection { background: var(--lime); color: var(--black); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

/* Grain: nimmt reinen Farbflaechen die Sterilitaet */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typografie ---------- */
.display-xl,
.display,
.display-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.display-xl { font-size: clamp(56px, 11vw, 150px); }
.display { font-size: clamp(38px, 7vw, 92px); }
.display-num { font-size: clamp(28px, 4vw, 56px); font-variant-numeric: tabular-nums; }

.support {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--grey-1);
  max-width: 60ch;
}
.support em { font-style: italic; color: var(--white); }

.label {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-2);
}

.micro {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.num {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.lime { color: var(--lime); }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--side-pad);
  position: relative;
  z-index: 2;
  width: 100%;
}

.section {
  position: relative;
  padding-block: var(--section-pad);
  scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px));
}

.stack > * + * { margin-top: var(--stack-gap); }

/* Full-bleed Bild-Sections */
.bleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.bleed > .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(var(--bg-b, 0.6));
}
.bg--50 { --bg-b: 0.5; }
.bg--55 { --bg-b: 0.55; }
.bg--65 { --bg-b: 0.65; }
.bg--plain { filter: none; }
.bg--right { object-position: 72% 50%; }

.bleed > .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.veil--70 { background: rgba(10, 10, 10, 0.7); }
.veil--75 { background: rgba(10, 10, 10, 0.75); }
.veil--hero {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0) 45%),
    linear-gradient(80deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.25) 100%);
}
.veil--top { background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.35)); }

/* Zweispalter Text/Bild */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--rev > :first-child { grid-column: 2; grid-row: 1; }
.split--rev > :nth-child(2) { grid-column: 1; grid-row: 1; }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child, .split--rev > :nth-child(2) { grid-column: auto; grid-row: auto; }
}

/* ---------- Icons ---------- */
.icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
  color: var(--grey-1);
}
.icon--16 { width: 16px; height: 16px; }
.icon--32 { width: 32px; height: 32px; }
.icon--inline { display: inline-block; vertical-align: -0.2em; color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 18px 40px;
  background: var(--lime);
  color: #0A0A0A;
  border: 0;
  border-radius: 0;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--white); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease;
}
.btn--ghost:hover { background: transparent; border-color: var(--white); }

.btn--small { padding: 10px 20px; }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 6px;
}
.link .icon { color: inherit; }
.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
/* Unsichtbare Trefferflaeche (~45px hoch), die Unterstreichung bleibt, wo sie ist */
.link::before {
  content: "";
  position: absolute;
  inset: -10px -4px;
}

/* ---------- Nav ---------- */
/* Die Leiste reicht bis hinter die iPhone-Statusleiste (viewport-fit=cover),
   sonst scrollt dort sichtbar Inhalt durch. */
body { padding-top: env(safe-area-inset-top, 0px); }
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(64px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--black);
}
.nav-row {
  height: 64px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--side-pad);
}
.nav-logo { position: relative; z-index: 2; display: block; padding-block: 11px; }
.nav-logo img { height: 22px; width: auto; }

.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav-menu a {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-1);
  transition: color 0.15s ease;
}
.nav-menu a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-menu a.is-active { color: var(--lime); }
/* Unterstrich wandert zum Link unter der Maus */
.nav-menu:hover a.is-active:not(:hover) { text-decoration: none; }
/* Touch-Tablet: Trefferflaeche ~43px statt 19px, die Leiste bleibt 64px hoch */
@media (min-width: 768px) {
  .nav-menu a { padding-block: 12px; }
}

.nav-cta { position: relative; z-index: 2; }

.nav-burger {
  display: none;
  position: relative;
  z-index: 2;
  padding: 8px;
  color: var(--white);
}
.nav-burger .i-close { display: none; }
body.nav-open .nav-burger .i-menu { display: none; }
body.nav-open .nav-burger .i-close { display: block; }

@media (max-width: 767px) {
  .nav-burger { display: block; margin-left: auto; }
  .nav-cta { margin-left: 0; }
  .nav-menu {
    /* .nav ist durch backdrop-filter der Containing Block: explizite Masse statt inset */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* dvh folgt der Safari-Toolbar, 100svh liess unten einen Streifen Seite frei */
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    margin: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: calc(96px + env(safe-area-inset-top, 0px)) var(--side-pad) 96px;
    gap: clamp(32px, 6vh, 48px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  body.nav-open .nav-menu { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-menu a {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 125%;
    font-size: clamp(34px, 9vw, 56px);
    letter-spacing: -0.01em;
    line-height: 0.92;
    color: var(--white);
  }
}

/* ---------- Habit-Reihe ---------- */
.habits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 4vw, 48px);
}
.habit {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.habit .label { line-height: 1.8; }
@media (max-width: 479px) {
  .habits { grid-template-columns: repeat(6, 1fr); row-gap: 40px; }
  .habit { grid-column: span 2; }
  .habit:nth-child(-n + 2) { grid-column: span 3; }
  .habit .icon--32 { width: 24px; height: 24px; }
}

/* ---------- Tracker-Grid ---------- */
.tgrid {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  column-gap: clamp(18px, 5vw, 56px);
  row-gap: clamp(20px, 4vh, 40px);
}
.tgrid .cell {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--grey-3);
  display: grid;
  justify-items: center;
  row-gap: 6px;
}
.tgrid .cell::after {
  content: "";
  width: 2.4ch;
  height: 3px;
  background: transparent;
  transform-origin: left;
}
.tgrid .cell.is-done { color: var(--white); }
.tgrid .cell.is-done::after { background: var(--lime); }
.tgrid .cell.is-today { color: var(--white); }
.tgrid .cell.is-today::after { background: var(--white); height: 2px; }
button.cell { padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  .tgrid .cell.is-done::after { animation: underline-in 0.3s ease-out; }
  @keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Stat-Zeile (Tracker): bewusste vertikale Trenner */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.stat-row > * { padding-inline: clamp(16px, 3vw, 32px); }
.stat-row > :first-child { padding-left: 0; }
.stat-row > * + * { border-left: 1px solid var(--grid-line); }

/* ---------- Countdown bis Tag 01 (Join-Erfolg, Tracker vor dem Start) ---------- */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(24px, 4vw, 48px);
}
.cd-unit {
  display: grid;
  justify-items: start;
  row-gap: 10px;
}
.cd-n {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

/* ---------- Nummerierte Listen (01-Muster) ---------- */
.numlist li,
.steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.numlist li { padding-block: 20px; }
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 48px);
}
.numlist .n, .steps .n {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}
.numlist .t, .steps .t {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
}
/* Steps mit Zustaenden: offen grau, aktiv lime, erledigt weiss */
.steps li .n, .steps li .t { color: var(--grey-3); }
.steps li.is-done .n, .steps li.is-done .t { color: var(--white); }
.steps li.is-active .n { color: var(--lime); }
.steps li.is-active .t { color: var(--white); }

/* ---------- Formularfelder ---------- */
.field { margin-bottom: 40px; }
.field > label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 12px;
}
.field input,
.field select {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 18px;
  padding: 8px 0 9px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 8px;
}
.field input::placeholder { color: var(--grey-3); }
.field.is-error input,
.field.is-error select {
  border-bottom: 2px solid var(--error);
  padding-bottom: 8px;
}
.field-error {
  display: none;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--error);
  margin-top: 8px;
}
.field.is-error .field-error { display: block; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 28px; }
.select select option { background: var(--surface); color: var(--white); }
.select > .icon {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--grey-2);
}

/* Checkbox: leeres Quadrat, Lime-Outline, kein Fill */
.check {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
}
.check .box {
  width: 20px;
  height: 20px;
  flex: none;
  border: 1.5px solid var(--lime);
  border-radius: 0;
  display: grid;
  place-items: center;
}
.check--18 .box { width: 18px; height: 18px; }
.check .box .icon { width: 13px; height: 13px; color: var(--lime); opacity: 0; }
.check input:checked ~ .box .icon { opacity: 1; }
.check input:focus-visible ~ .box { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- Bild-Panels ---------- */
.panel {
  display: block;
  width: 100%;
  overflow: hidden;
}
.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel--34 { aspect-ratio: 3 / 4; }
.panel--45 { aspect-ratio: 4 / 5; }
a.panel img { transition: transform 0.4s ease; }
a.panel:hover img { transform: scale(1.03); }
.img-mono { filter: grayscale(1) contrast(1.05) brightness(0.85); }

/* ---------- Produkt / Preis ---------- */
.price {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.stepper { display: inline-flex; align-items: center; gap: 24px; }
.stepper button { color: var(--grey-1); padding: 8px; transition: color 0.15s ease; }
.stepper button:hover { color: var(--white); }

/* ---------- Accordion (Shop) ---------- */
.acc { border-bottom: 1px solid var(--grid-line); }
.acc details { border-top: 1px solid var(--grid-line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
  color: var(--white);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { color: var(--grey-1); flex: none; }
.acc details .i-minus { display: none; }
.acc details[open] .i-minus { display: block; }
.acc details[open] .i-plus { display: none; }
.acc-body {
  padding-bottom: 24px;
  color: var(--grey-1);
  font-size: 15px;
  line-height: 1.7;
  max-width: 60ch;
}

/* ---------- Footer ---------- */
.footer { background: var(--black-2); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(40px, 6vh, 72px);
}
.footer-logo img { height: 18px; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.footer-links a:hover { color: var(--grey-1); }

/* ---------- Reveal / Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  a.panel img, .link::after, .btn { transition: none; }
}

/* ---------- Hero / Final CTA ---------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-block: 96px clamp(96px, 14vh, 160px);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--grey-1);
  padding: 8px;
}
.hero-scroll:hover { color: var(--white); }
.final {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 85svh;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }

/* ============================================================
   Lime-Theme (Startseite)
   Additiv, komplett über body.theme-lime gescoped.
   Dunkle Seiten (join / shop / tracker) bleiben unberührt.
   ============================================================ */
.theme-lime {
  background: var(--lime);
  color: var(--black);
}
.theme-lime ::selection { background: var(--black); color: var(--lime); }
.theme-lime :focus-visible { outline-color: var(--black); }

/* Buttons auf Lime: der eine CTA ist schwarz */
.theme-lime .btn {
  background: var(--black);
  color: var(--lime);
}
.theme-lime .btn:hover { background: var(--surface-2); }

/* Micro-Text auf Lime */
.theme-lime .micro { color: rgba(10, 10, 10, 0.64); }
.theme-lime .hero-note { color: var(--black); }

/* Nav auf Lime: deckend, damit beim Scrollen nichts durchschimmert */
.theme-lime .nav {
  background: var(--lime);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Home-Bildschirm-App: Statusleiste ist "black-translucent" (weisse Uhrzeit),
   auf Lime unlesbar. Nur der Safe-Area-Streifen wird schwarz, die Leiste bleibt lime. */
@media (display-mode: standalone) {
  .theme-lime:not(.index-dark) .nav,
  .theme-lime:not(.index-dark) .nav-menu {
    background: linear-gradient(var(--black) env(safe-area-inset-top, 0px), var(--lime) 0);
  }
}
.theme-lime .nav-menu a { color: rgba(10, 10, 10, 0.64); }
.theme-lime .nav-menu a:hover {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.theme-lime .nav-menu a.is-active {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
/* Unterstrich wandert zum Link unter der Maus */
.theme-lime .nav-menu:hover a.is-active:not(:hover) { text-decoration: none; }
.theme-lime .nav-burger { color: var(--black); }
.theme-lime .nav-burger .icon { color: inherit; }

/* Hero: vollflächig Lime, alles zentriert */
.theme-lime .hero-lime {
  position: relative;
  /* body hat schon padding-top = Safe-Area-Inset, sonst ragt der Hero unten raus */
  min-height: calc(100svh - env(safe-area-inset-top, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px var(--side-pad) 120px;
  scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px));
}
.theme-lime .hero-lime > * + * { margin-top: clamp(28px, 5vh, 48px); }
.theme-lime .hero-lime .hero-note { margin-top: 20px; }

.theme-lime .hero-scroll { color: var(--black); }
.theme-lime .hero-scroll:hover { color: rgba(10, 10, 10, 0.7); }
.theme-lime .hero-scroll .icon { color: inherit; }

/* FASTR30-Lockup: Wordmark-Bild + "30" auf gemeinsamer Baseline */
.theme-lime .lockup {
  --lockup-h: clamp(34px, 8.4vw, 106px);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: calc(var(--lockup-h) * 0.12);
}
.theme-lime .lockup img {
  height: var(--lockup-h);
  width: auto;
  display: block;
}
.theme-lime .lockup-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: calc(var(--lockup-h) * 1.39);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}

/* Handy quer: Hero passt in die niedrige Hoehe, Scrollpfeil bleibt sichtbar */
@media (orientation: landscape) and (max-height: 500px) {
  .theme-lime .hero-lime { padding-block: 72px; }
  .theme-lime .lockup { --lockup-h: clamp(34px, 11svh, 106px); }
}

/* Rules: große Archivo-Zeilen, Nummern halbtransparent */
.theme-lime .rules-list {
  --rule-size: clamp(17px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.4vh, 36px);
}
.theme-lime .rule {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 2.5vw, 28px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: var(--rule-size);
  line-height: 1;
  letter-spacing: -0.01em;
}
.theme-lime .rule .rn {
  flex: none;
  color: rgba(10, 10, 10, 0.32);
  font-variant-numeric: tabular-nums;
}
.theme-lime .rule .rt {
  color: var(--black);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .theme-lime .rule .rt { white-space: normal; }
}
.theme-lime .rule .rd {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.64);
  margin-top: 8px;
  white-space: normal;
}

/* Wer-ist-FASTR: dunkler Poster-Block im Lime-Umfeld */
.theme-lime .block-dark {
  background: var(--black);
  color: var(--white);
}
.theme-lime .block-dark .display { font-size: clamp(28px, 7vw, 92px); }
.theme-lime .block-dark :focus-visible { outline-color: var(--lime); }
.theme-lime .block-dark .micro { color: var(--grey-2); }

.theme-lime .fastr-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
}

/* Footer: eine Micro-Zeile auf Lime */
.theme-lime .footer { background: transparent; }
.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding-block: clamp(32px, 5vh, 56px);
  /* Home-Bildschirm-App: Links nicht in die Wischzone des Home-Indicators */
  padding-bottom: calc(clamp(32px, 5vh, 56px) + env(safe-area-inset-bottom, 0px));
}
/* Groessere Trefferflaeche, negative Margin haelt die Zeilenhoehe gleich */
.footer-line a.micro { padding-block: 12px; margin-block: -12px; }
/* Platzhalter-Links (Instagram-Account gibt es noch nicht) ausblenden.
   Sobald das Profil steht: echte URL eintragen und data-todo entfernen. */
a[data-todo] { display: none; }
.theme-lime .footer a.micro:hover { color: var(--black); }

/* Mobile: Burger-Overlay auf Lime */
@media (max-width: 767px) {
  .theme-lime .nav-menu { background: var(--lime); }
  .theme-lime .nav-menu a { color: var(--black); }
  .theme-lime .nav-menu a.is-active {
    color: var(--black);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
  }
}

/* Nav-Autohide (Startseite): Leiste erst zeigen, wenn das Hero-Logo aus dem Bild ist */
.nav-autohide .nav {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.nav-autohide.nav-shown .nav,
.nav-autohide.nav-open .nav { transform: none; }
/* Tastatur-Fokus in der Leiste: einfahren, sonst ist der Fokus unsichtbar.
   :focus-visible statt :focus-within, damit sie nach einem Mausklick nicht stehen bleibt. */
.nav-autohide .nav:has(:focus-visible) { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-autohide .nav { transition: none; }
}

/* ============================================================
   Video-Hero (nur Startseite, Experiment 2026-09-18)
   Video steht fest hinter dem Hero und blendet beim Scrollen aus;
   die Lime-Sections schieben sich darueber. Entfernen = diesen Block
   loeschen + im HTML die Klasse hero-video und #heroVideo raus.
   ============================================================ */
.hero-video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  /* Poster als Cover-Hintergrund: iOS Safari zeichnet Poster und erste Frames
     ohne object-fit (letterboxed, schwarze Balken oben/unten), der Container
     liefert deshalb immer ein Vollbild. */
  background: var(--black) url("../img/hero-road-poster.jpg") center / cover no-repeat;
  pointer-events: none;
}
/* Video-Box selbst bildschirmfuellend (16:9 hochskaliert, mittig beschnitten),
   damit auch ein "contain"-gezeichnetes Poster den Viewport fuellt */
.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
}
/* Abdunkeln, damit Lime auf dem grauen Asphalt lesbar bleibt */
.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.64);
}
.hero-video-bg.is-gone { visibility: hidden; }

/* Alles nach dem Hero braucht eine eigene Flaeche, sonst scheint das Video durch */
.theme-lime .rules { background: var(--lime); }
.theme-lime .footer { background: var(--lime); }

/* Rules dunkel (Experiment 2026-09-21): Schwarz auf Beton wie Tracker/Shop,
   Nummern lime, Text weiss. Zurueck zu Lime = im HTML die Klasse rules--dark
   und das bg-concrete-Bild entfernen, dieser Block bleibt dann ohne Wirkung. */
.theme-lime .rules.rules--dark {
  background: var(--black);
  color: var(--white);
}
.theme-lime .rules--dark ::selection { background: var(--lime); color: var(--black); }
.theme-lime .rules--dark .rule .rn { color: var(--lime); }
.theme-lime .rules--dark .rule .rt { color: var(--white); }
.theme-lime .rules--dark .rule .rd { color: var(--grey-2); }

/* Hero-Elemente: bisher Schwarz, jetzt Lime. Der Button bleibt wie er ist. */
.theme-lime .hero-video .lockup-num { color: var(--lime); }
.theme-lime .hero-video .hero-note { color: var(--lime); }
.theme-lime .hero-video .hero-scroll { color: var(--lime); }
.theme-lime .hero-video .hero-scroll:hover { color: var(--lime); }
.theme-lime .hero-video :focus-visible { outline-color: var(--lime); }
/* Hero-Button: etwas kompakter, auf dem Handy deutlich (Tippflaeche bleibt >= 44px) */
.theme-lime .hero-lime .btn { padding: 16px 32px; letter-spacing: 0.26em; }
@media (max-width: 767px) {
  .theme-lime .hero-lime .btn { padding: 14px 22px; font-size: 11px; letter-spacing: 0.22em; }
}

/* Countdown bis zum Start: klein in der oberen rechten Ecke des Heros, eine Zeile */
.theme-lime .hero-lime .hero-countdown {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top, 0px));
  right: var(--side-pad);
  margin: 0;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.theme-lime .hero-lime .hero-countdown .cd-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.theme-lime .hero-lime .hero-countdown .cd-n {
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--lime);
  transition: color 0.35s ease;
}
.theme-lime .hero-lime .hero-countdown .micro {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(227, 255, 35, 0.72);
}
.theme-lime .hero-video.is-lit .hero-countdown .cd-n { color: var(--black); }
.theme-lime.index-dark .hero-video.is-lit .hero-countdown .cd-n { color: var(--lime); }

/* Das Video-Div ist das erste Kind im Hero und darf das Logo nicht nach unten schieben */
.theme-lime .hero-video > .hero-video-bg + * { margin-top: 0; }

/* Beim Scrollen blendet das Video in die Lime-Flaeche aus. Sobald der
   Hintergrund ueberwiegend Lime ist (Klasse is-lit), wechseln die Elemente
   auf Schwarz, damit sie lesbar bleiben. */
.theme-lime .hero-video .lockup-logo { position: relative; display: block; }
.theme-lime .hero-video .logo-on-lime {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.theme-lime .hero-video.is-lit .logo-on-lime { opacity: 1; }
.theme-lime .hero-video .logo-on-dark { transition: opacity 0.35s ease; }
.theme-lime .hero-video.is-lit .logo-on-dark { opacity: 0; }
.theme-lime .hero-video .lockup-num,
.theme-lime .hero-video .hero-note,
.theme-lime .hero-video .hero-scroll { transition: color 0.35s ease; }
.theme-lime .hero-video.is-lit .lockup-num,
.theme-lime .hero-video.is-lit .hero-note,
.theme-lime .hero-video.is-lit .hero-scroll,
.theme-lime .hero-video.is-lit .hero-scroll:hover { color: var(--black); }
.theme-lime .hero-video.is-lit :focus-visible { outline-color: var(--black); }

/* Neon-Mauszeiger (nur Geraete mit Maus/Trackpad). Schwarze Kontur,
   damit er auch auf Lime-Flaechen sichtbar bleibt. */
@media (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M2 2 2 19 6.6 14.6 9.8 21.4 12.6 20.2 9.5 13.6 16 13.6Z' fill='%23E3FF23' stroke='%230A0A0A' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto;
  }
  /* .check/.acc summary/.tgrid-Zellen haben eigene cursor-Regeln mit hoeherer Spezifitaet */
  a, button, label, summary, select, [role="button"], .cell,
  .check, .check input, .acc summary, .tgrid button.cell:not(:disabled) {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='9' fill='%23E3FF23' stroke='%230A0A0A' stroke-width='1.6'/%3E%3Ccircle cx='14' cy='14' r='2' fill='%230A0A0A'/%3E%3C/svg%3E") 14 14, pointer;
  }
  input:not([type="checkbox"]):not([type="radio"]), textarea { cursor: text; }
  button:disabled, .cell:disabled { cursor: not-allowed; }
  /* Scroll-Pfeil im Hero: normaler Lime-Pfeil statt Kreis */
  .hero-scroll { cursor: inherit; }
}

/* Groessere Tippflaechen ohne optische Aenderung: unsichtbare Flaeche um den Link
   (Menue-Links ~32px, STICK/TRACKER-Links 25px hoch waren fuer Finger zu klein) */
.nav-menu a { position: relative; }
.nav-menu a::before,
.link::before {
  content: "";
  position: absolute;
  inset: -12px -8px;
}

/* ============================================================
   Dunkle Startseite (Experiment 2026-09-21): body.index-dark, additiv ueber
   theme-lime. Hero blendet beim Scrollen ins Schwarz statt ins Lime, Leiste
   schwarz mit FASTR30-Lockup in Lime, Buttons und Footer wie auf den dunklen
   Seiten. Zurueck zu Lime: in index.html die Klasse index-dark am body
   entfernen, Logo in der Leiste wieder logo-black.png ohne "30", Nav-CTA
   ohne btn--ghost, theme-color wieder #E3FF23.
   ============================================================ */
.theme-lime.index-dark { background: var(--black); color: var(--white); }
.theme-lime.index-dark ::selection { background: var(--lime); color: var(--black); }
.theme-lime.index-dark :focus-visible { outline-color: var(--lime); }
.theme-lime.index-dark .micro { color: var(--grey-3); }

/* Buttons: der eine CTA lime, Nav-CTA Ghost */
.theme-lime.index-dark .btn { background: var(--lime); color: var(--black); }
.theme-lime.index-dark .btn:hover { background: var(--white); }
.theme-lime.index-dark .btn--ghost { background: transparent; color: var(--white); }
.theme-lime.index-dark .btn--ghost:hover { background: transparent; border-color: var(--white); }

/* Leiste: schwarz, Links hell, aktiver Link lime */
.theme-lime.index-dark .nav { background: var(--black); }
.theme-lime.index-dark .nav-menu a { color: var(--grey-1); }
.theme-lime.index-dark .nav-menu a:hover { color: var(--white); }
.theme-lime.index-dark .nav-menu a.is-active { color: var(--lime); text-decoration: none; }
.theme-lime.index-dark .nav-menu a.is-active:hover { text-decoration: underline; }
.theme-lime.index-dark .nav-burger { color: var(--white); }
@media (max-width: 767px) {
  .theme-lime.index-dark .nav-menu { background: var(--black); }
  .theme-lime.index-dark .nav-menu a { color: var(--white); }
  .theme-lime.index-dark .nav-menu a.is-active { color: var(--lime); text-decoration: none; }
}

/* FASTR30-Lockup in der Leiste: Wordmark-Bild + "30" auf gemeinsamer Baseline,
   Proportionen wie im Hero-Lockup (Zahl 1,39 x Logohoehe) */
.index-dark .nav-logo {
  flex: none; /* nie schmaler als Wordmark + Zahl, sonst rutscht die 30 unter den JOIN-Button */
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.index-dark .nav-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* Handy: kleineres Lockup und engere Leiste, damit Logo, JOIN und Burger nebeneinander passen */
@media (max-width: 767px) {
  .index-dark .nav-row { gap: 16px; }
  .index-dark .nav-logo { gap: 2px; }
  .index-dark .nav-logo img { height: 18px; }
  .index-dark .nav-num { font-size: 22px; }
}
@media (max-width: 359px) {
  .index-dark .nav-num { display: none; }
}

/* Hero: Video blendet ins Schwarz, Lockup, Zeile und Pfeil bleiben Lime */
.theme-lime.index-dark .hero-video .hero-note { color: var(--lime); }
.theme-lime.index-dark .hero-video.is-lit .logo-on-lime { opacity: 0; }
.theme-lime.index-dark .hero-video.is-lit .logo-on-dark { opacity: 1; }
.theme-lime.index-dark .hero-video.is-lit .lockup-num,
.theme-lime.index-dark .hero-video.is-lit .hero-note,
.theme-lime.index-dark .hero-video.is-lit .hero-scroll,
.theme-lime.index-dark .hero-video.is-lit .hero-scroll:hover { color: var(--lime); }
.theme-lime.index-dark .hero-video.is-lit :focus-visible { outline-color: var(--lime); }

/* Footer wie auf den dunklen Seiten */
.theme-lime.index-dark .footer { background: var(--black-2); }
.theme-lime.index-dark .footer a.micro:hover { color: var(--grey-1); }
