/* Offtimism – Website-Styles nach CI-Handbuch v1 (12.10.2026).
   Schriften: Nunito (Überschriften) und Inter (Text), selbst gehostet unter assets/fonts/ (SIL OFL, keine Anfragen an Google).
   Farben, Abstände (4-px-Raster), Radien und Schatten = CI-Tokens. Grün nur für Logo, Erfolg und den einen CTA pro Bildschirm. */

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito.woff2?v=7306d111f2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2?v=72d6b29df0") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --off-white: #F8F8F8; --white: #FFFFFF; --grey-light: #E3E5E8; --grey-dark: #4A4A4A; --night: #14181C;
  --green-light: #8FC93A; --green-dark: #2F6F2A; --orange: #E18335; --orange-text: #A95B19;
  --yellow: #E4CC37; --blue-light: #1E91D6; --blue-dark: #0072BB;
  --night-raised: #1F252B; --night-line: #2F363D; --blue-soft: #4FA8E0;

  --surface: var(--off-white); --surface-raised: var(--white); --text-strong: var(--night); --text: var(--grey-dark);
  --border: var(--grey-light); --link: var(--blue-dark); --focus: var(--blue-dark); --success: var(--green-dark);

  --font-display: "Nunito", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .06), 0 2px 8px rgba(20, 24, 28, .06);
  --shadow-md: 0 4px 16px rgba(20, 24, 28, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font-sans); font-size: 18px; line-height: 28px;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--text-strong); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.num { font-variant-numeric: tabular-nums; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 20;
  background: var(--night); color: var(--white); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: var(--white); }

.container { max-width: 1180px; margin: 0 auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-16); }
.section--white { background: var(--white); }
.section--night { background: var(--night); color: var(--grey-light); }
.section--night h2, .section--night h3 { color: var(--off-white); }
.section--night a { color: var(--blue-soft); }
.section--night :focus-visible { outline-color: var(--blue-soft); }
.stack { display: flex; flex-direction: column; gap: var(--space-12); }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: 760px; }

/* Typografie (CI: H1 48/56, H2 32/40, H3 22/30, Text 18/28 – mobil kleiner) */
.h1 { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 56px; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 40px; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 30px; }
.lead { font-size: 18px; line-height: 28px; color: var(--text); max-width: 600px; }
.small { font-size: 14px; line-height: 20px; }
.muted { color: var(--text); }

/* Badges (CI-Komponente) */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: var(--radius-pill);
  font: 600 13px/1 var(--font-sans); letter-spacing: .01em; white-space: nowrap;
}
.badge svg { width: 16px; height: 16px; margin-left: -3px; flex: none; }
.badge--neutral { background: var(--surface-raised); color: var(--text-strong); border: 1.5px solid var(--border); }
.badge--highlight { background: var(--yellow); color: var(--night); }
.badge--info { background: var(--blue-dark); color: var(--white); }
.section--night .badge--neutral { background: var(--night-raised); color: var(--off-white); border-color: var(--night-line); }

/* Buttons (CI: Pille, 48 px, Inter SemiBold 16; genau eine Hauptaktion pro Bildschirm) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font: 600 16px/20px var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--cta { background: var(--green-light); color: var(--night); }
.btn--cta:hover { box-shadow: var(--shadow-md); }
.btn--primary { background: var(--night); color: var(--white); }
.btn--primary:hover { background: var(--night-line); color: var(--white); }
.btn--secondary { background: var(--surface-raised); color: var(--text-strong); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--grey-dark); color: var(--text-strong); }
.btn:hover { text-decoration: none; }

/* Icons (CI: 24er-Raster, 2 px Strich, runde Enden) */
.icon { width: 24px; height: 24px; flex: none; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 25%; background: var(--night);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-tile .icon { width: 28px; height: 28px; }

/* Karten */
.card {
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 72px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: var(--space-6); font-size: 16px; font-weight: 500; }
.nav__links a { color: var(--text-strong); text-decoration: none; }
.nav__links a:hover { color: var(--link); }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__back { font-size: 16px; font-weight: 600; color: var(--text-strong); text-decoration: none; }
.nav__back:hover { color: var(--link); }
.lang { display: flex; padding: 3px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); }
.lang a, .lang span {
  min-width: 44px; height: 36px; display: flex; align-items: center; justify-content: center;
  font: 600 14px/1 var(--font-sans); border-radius: var(--radius-pill); text-decoration: none; color: var(--text-strong);
}
.lang [aria-current] { background: var(--night); color: var(--white); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12); padding-block: var(--space-16); }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__meta { font-size: 14px; line-height: 20px; color: var(--text); }

/* App-Vorschau im Hero */
.preview { flex: 1 1 360px; min-width: 0; max-width: 440px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-4); }
.stat-card { display: flex; flex-direction: column; gap: var(--space-2); }
.stat-card__label { font: 500 14px/20px var(--font-sans); color: var(--text); }
.stat-card__value { font: 600 40px/44px var(--font-sans); color: var(--text-strong); font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: var(--space-2); font: 600 16px/24px var(--font-sans); }
.delta--good { color: var(--success); }
.group-card { display: flex; flex-direction: column; gap: var(--space-4); }
.group-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.group-card__title { font: 700 18px/24px var(--font-display); color: var(--text-strong); }
.member { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: var(--space-3); }
.member__avatar {
  width: 32px; height: 32px; border-radius: var(--radius-pill); background: var(--night); color: var(--white);
  display: flex; align-items: center; justify-content: center; font: 800 14px/1 var(--font-display);
}
.member__name { font: 500 16px/20px var(--font-sans); color: var(--text-strong); }
.member__time { font: 600 14px/20px var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; }
.member__bar { grid-column: 2 / 4; height: 8px; border-radius: var(--radius-pill); background: var(--grey-light); overflow: hidden; }
.member__bar span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--blue-light); }
.member__bar .w-72 { width: 72%; } .member__bar .w-81 { width: 81%; } .member__bar .w-94 { width: 94%; }
.group-card__foot { display: flex; align-items: center; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--border); font: 500 16px/24px var(--font-sans); color: var(--text-strong); }
.preview__caption { text-align: center; font-size: 14px; line-height: 20px; color: var(--text); }

/* Warum */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.stat { border-top: 1px solid var(--night-line); padding-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.stat__value { font: 600 40px/44px var(--font-sans); color: var(--off-white); font-variant-numeric: tabular-nums; }
.stat__text { font-size: 16px; line-height: 26px; }
.fails { display: flex; flex-direction: column; gap: var(--space-6); }
.fails__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.fail {
  background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--radius-md);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3);
}
.fail .icon { color: var(--grey-light); }
.fail__title { font: 700 20px/28px var(--font-display); color: var(--off-white); }
.fail__text { font-size: 16px; line-height: 26px; }
.fails__intro, .fails__outro { font: 700 22px/30px var(--font-display); color: var(--off-white); }

/* Idee, So geht's, Topf, Team: Kartenraster */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.feature { display: flex; flex-direction: column; gap: var(--space-4); }
.feature p, .step p, .person p { font-size: 16px; line-height: 26px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: var(--space-4); }
.step__num {
  width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--night); color: var(--white);
  display: flex; align-items: center; justify-content: center; font: 800 22px/1 var(--font-display);
}
.pot { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: center; }
.pot__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.pot__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.note { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); font-size: 16px; line-height: 26px; }
.note .icon { color: var(--blue-dark); margin-top: 1px; }
.side-item { display: flex; gap: var(--space-4); align-items: center; }
.side-item p { font: 500 16px/24px var(--font-sans); color: var(--text-strong); }
.person { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.avatar {
  width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--night); color: var(--white);
  display: flex; align-items: center; justify-content: center; font: 800 28px/1 var(--font-display);
}

/* Fahrplan */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-6); }
.milestone { position: relative; border-top: 2px solid var(--border); padding-top: var(--space-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.milestone::before {
  content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: var(--radius-pill);
  background: var(--white); border: 2px solid var(--grey-dark);
}
.milestone--now { border-top-color: var(--night); }
.milestone--now::before { background: var(--yellow); border-color: var(--night); }
.milestone__when { font: 500 14px/20px var(--font-sans); color: var(--text); }
.milestone__what { font: 700 22px/30px var(--font-display); color: var(--text-strong); }
.milestone p { font-size: 16px; line-height: 26px; }

/* Warteliste */
.waitlist {
  background: var(--night); color: var(--grey-light); border-radius: var(--radius-lg);
  padding: var(--space-12); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12);
}
.waitlist h2 { color: var(--off-white); }
.waitlist a { color: var(--blue-soft); }
.waitlist :focus-visible { outline-color: var(--blue-soft); }
.waitlist__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.waitlist__mark { width: 56px; height: auto; }
.waitlist__action { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.waitlist__action p { font-size: 14px; line-height: 20px; }
.wl-label { font: 500 14px/20px var(--font-sans); color: var(--off-white); }
.wl-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.wl-row input {
  flex: 1 1 260px; min-width: 0; height: 48px; padding: 0 var(--space-4); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: 400 16px/20px var(--font-sans); color: var(--night); background: var(--white);
}
.wl-row input::placeholder { color: var(--grey-dark); }
.wl-device { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.wl-device legend { float: left; margin-right: var(--space-2); padding: 0; font: 500 14px/20px var(--font-sans); color: var(--off-white); }
.wl-device legend span { color: var(--grey-light); font-weight: 400; }
.wl-device label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: 16px; color: var(--off-white); cursor: pointer; }
.wl-device input { width: 20px; height: 20px; margin: 0; accent-color: var(--green-light); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Ergebnisseiten (Warteliste) und 404 */
.result, .notfound { max-width: 680px; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-4); padding-block: var(--space-16); }
.result .lead { color: var(--text-strong); }
.result .hero__cta, .notfound .hero__cta { margin-top: var(--space-4); }
.icon-tile--lg { width: 64px; height: 64px; }
.icon-tile--lg .icon { width: 36px; height: 36px; }

/* Footer */
.site-footer { background: var(--night); color: var(--grey-light); font-size: 14px; line-height: 20px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-12); }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.footer__brand img { height: 36px; width: auto; }
.footer__claim { font: 600 16px/24px var(--font-sans); color: var(--off-white); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.site-footer a { color: var(--grey-light); }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--blue-soft); }

/* Rechtstexte */
.legal { max-width: 800px; padding-block: var(--space-16); color: var(--text); }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 56px; margin-bottom: var(--space-8); }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 34px; margin: var(--space-12) 0 var(--space-3); scroll-margin-top: 96px; }
.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 28px; margin: var(--space-6) 0 var(--space-2); }
.legal p { margin: 0 0 var(--space-4); }
.legal ul { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
.legal li { margin-bottom: var(--space-2); }
.legal ul.index { columns: 2 260px; column-gap: var(--space-8); }
.legal ul.index li { break-inside: avoid; }
.legal .glossary li { margin-bottom: var(--space-3); }
.legal .seal, .legal .note { margin-top: var(--space-12); font-size: 14px; line-height: 20px; }
.legal p.note { display: block; }
.legal .lines { line-height: 30px; }
.legal-trans { font-size: 14px; line-height: 20px; margin: calc(-1 * var(--space-4)) 0 var(--space-6); }
.legal-hint {
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6); font-size: 16px; line-height: 26px; margin-bottom: var(--space-8); box-shadow: var(--shadow-sm);
}

/* Mobil (CI: H1 32/40, H2 24/32, H3 20/28, Text 16/26, Seitenrand 16, Abschnitte 48) */
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 26px; }
  .container { padding-inline: var(--space-4); }
  .section, .hero { padding-block: var(--space-12); }
  .h1, .legal h1 { font-size: 32px; line-height: 40px; }
  .h2 { font-size: 24px; line-height: 32px; }
  .h3, .milestone__what { font-size: 20px; line-height: 28px; }
  .lead { font-size: 16px; line-height: 26px; }
  .legal h2 { font-size: 22px; line-height: 30px; }
  .waitlist { padding: var(--space-8) var(--space-6); gap: var(--space-8); }
  .wl-row .btn { flex: 1 1 100%; }
  .wl-device legend { width: 100%; margin: 0; }
  .nav__actions .btn { display: none; }
  .fails__intro, .fails__outro { font-size: 20px; line-height: 28px; }
}
.milestone--now .milestone__when { font-weight: 600; color: var(--text-strong); }

/* Footer bleibt auch bei kurzen Seiten unten */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.stats__source { font-size: 14px; line-height: 20px; color: var(--grey-light); margin-top: calc(-1 * var(--space-2)); }

/* Fröhlicher Teil der CI: eigene Offtimism-Emojis (nur auf hellem Grund), Gelb für Highlights, Grün für das Positive */
.emoji { display: block; flex: none; }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.claim { font: 700 24px/32px var(--font-display); color: var(--text-strong); margin-top: calc(-1 * var(--space-2)); }
.stat-card { position: relative; }
.stat-card__emoji { position: absolute; top: calc(-1 * var(--space-4)); right: calc(-1 * var(--space-4)); width: 64px; height: 64px; }
.group-card__foot .emoji { width: 28px; height: 28px; }
.real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-6); }
.real { display: flex; flex-direction: column; gap: var(--space-3); }
.real .emoji { width: 64px; height: 64px; margin-bottom: var(--space-1); }
.real p { font-size: 16px; line-height: 26px; }
.feature .emoji { width: 56px; height: 56px; }
.step__num { background: var(--yellow); color: var(--night); }
.stat:last-child .stat__value { color: var(--green-light); }
.result__emoji { width: 80px; height: 80px; }
@media (max-width: 640px) {
  .claim { font-size: 20px; line-height: 28px; }
  .stat-card__emoji { width: 56px; height: 56px; top: calc(-1 * var(--space-3)); right: calc(-1 * var(--space-2)); }
}

/* Hero: großes Querlogo zuerst, darunter der Slogan (Schutzzone unter dem Logo ≥ Höhe des „O“) */
.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-12); }
.hero__logo { height: 128px; width: auto; }
.hero__claim { font: 800 48px/56px var(--font-display); color: var(--text-strong); max-width: 600px; }
.preview { position: relative; }
@media (max-width: 640px) {
  .hero__title { gap: var(--space-8); }
  .hero__logo { height: 72px; }
  .hero__claim { font-size: 32px; line-height: 40px; }
}

/* Bild rechts im Hero: Gruppen-Screen wie in der App (Rangliste, Heute/Woche, Aktivität) */
.preview--group { max-width: 440px; }
.group-app { display: flex; flex-direction: column; gap: var(--space-4); }
.group-app__head { display: flex; flex-direction: column; padding-right: var(--space-12); }
.group-app__name { display: block; font: 800 24px/32px var(--font-display); color: var(--text-strong); }
.group-app__sub { display: block; font-size: 14px; line-height: 20px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: var(--space-1); border-radius: var(--radius-pill); background: var(--grey-light); }
.seg__item { height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); font: 500 14px/20px var(--font-sans); color: var(--grey-dark); }
.seg__item.is-active { background: var(--white); color: var(--text-strong); font-weight: 600; box-shadow: var(--shadow-sm); }
.group-app__meta { font-size: 13px; line-height: 20px; margin-top: calc(-1 * var(--space-1)); }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rank-row { display: grid; grid-template-columns: 16px 36px 1fr auto; align-items: center; column-gap: var(--space-3); row-gap: var(--space-1); padding: var(--space-2) var(--space-3); margin-inline: calc(-1 * var(--space-3)); border-radius: var(--radius-sm); }
.rank-row.is-me { background: var(--off-white); }
.rank-row__pos { grid-row: span 2; font: 600 16px/20px var(--font-sans); color: var(--grey-dark); text-align: center; }
.rank-row:first-child .rank-row__pos { color: var(--success); }
.rank-row__avatar { grid-row: span 2; width: 36px; height: 36px; border-radius: var(--radius-pill); background: var(--grey-light); color: var(--text-strong); display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--font-sans); }
.rank-row.is-me .rank-row__avatar { background: var(--green-dark); color: var(--white); }
.rank-row__name { font: 500 16px/20px var(--font-sans); color: var(--text-strong); }
.rank-row.is-me .rank-row__name { font-weight: 600; }
.rank-row__time { font: 500 14px/20px var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; }
.rank-row .member__bar { grid-column: 3 / 5; height: 6px; }
.member__bar .w-31 { width: 31%; } .member__bar .w-46 { width: 46%; } .member__bar .w-62 { width: 62%; } .member__bar .w-100 { width: 100%; }
.week__sticker { position: absolute; top: calc(-1 * var(--space-6)); right: calc(-1 * var(--space-6)); width: 72px; height: 72px; z-index: 1; }
@media (max-width: 640px) {
  .week__sticker { right: calc(-1 * var(--space-2)); width: 56px; height: 56px; }
}

/* Footer: „Folge uns“ mit den wichtigsten Kanälen */
.footer__social { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--night-line); }
.footer__social-label { font-weight: 600; color: var(--off-white); }
.footer__social a { display: inline-flex; align-items: center; gap: var(--space-2); }
.social-logo { width: 24px; height: 24px; border-radius: 6px; }
.footer__social-all { font-weight: 600; }

/* Link-Seite (links.offtimism.com) */
.lt { width: 100%; max-width: 1000px; margin: 0 auto; padding: var(--space-12) var(--space-4) var(--space-8); display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.lt__head { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); max-width: 520px; }
.lt__avatar { width: 96px; height: 96px; border-radius: 25%; box-shadow: var(--shadow-sm); margin-bottom: var(--space-2); }
.lt__name { font: 800 32px/40px var(--font-display); color: var(--text-strong); }
.lt__claim { font: 700 20px/28px var(--font-display); color: var(--text-strong); }
.lt__bio { font-size: 16px; line-height: 26px; margin-bottom: var(--space-2); }
.lt__actions { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 520px; }
.lt__actions .btn { width: 100%; }
.lt__h2 { font: 700 22px/30px var(--font-display); color: var(--text-strong); margin-top: var(--space-4); }
/* Kacheln als umbrechende Reihe: unvollständige letzte Zeile steht mittig */
.lt-grid { --cols: 8; --gap: var(--space-4); list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.lt-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (max-width: 900px) { .lt-grid { --cols: 4; } }
.lt-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); height: 100%;
  padding: var(--space-6) var(--space-3); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text-strong); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.lt-tile:hover { border-color: var(--grey-dark); box-shadow: var(--shadow-md); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) { .lt-tile:hover { transform: translateY(-2px); } }
.lt-tile__logo { width: 56px; height: 56px; }
.lt-tile__name { font: 600 15px/20px var(--font-sans); }
@media (max-width: 760px) { .lt-grid { --gap: var(--space-3); } }
@media (max-width: 640px) { .lt-tile { padding: var(--space-4) var(--space-1); gap: var(--space-2); } .lt-tile__logo { width: 44px; height: 44px; } .lt-tile__name { font-size: 13px; line-height: 16px; } }
@media (max-width: 380px) { .lt-tile { padding-inline: 0; } .lt-tile__name { font-size: 12px; } }
@media (max-width: 350px) { .lt-grid { --cols: 3; } }
.lt-mail { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 16px; }
.lt-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); font-size: 14px; line-height: 20px; color: var(--text); padding-top: var(--space-6); border-top: 1px solid var(--border); width: 100%; }
.lt-foot a { color: var(--text); }

/* offtimism.app: Übersicht der Rechtstexte */
.legal ul.app-legal { list-style: none; padding-left: 0; margin: var(--space-6) 0 var(--space-8); display: grid; gap: var(--space-4); }
.legal ul.app-legal li { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); box-shadow: var(--shadow-sm); }
.legal ul.app-legal strong { font: 700 20px/28px var(--font-display); }
.legal .legal-date { font-size: 14px; line-height: 20px; }
.legal-toc { margin: var(--space-8) 0 var(--space-4); }
.legal .legal-toc h2 { margin-top: 0; }

/* Sprungziele in Rechtstexten (z. B. /datenschutz#social-instagram) nicht unter dem festen Header verstecken – 02.11.2026 */
.legal [id] { scroll-margin-top: 96px; }
/* Tabellen in Rechtstexten, z. B. Gewinne auf offtimism.app/freunde-werben – 02.11.2026 */
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-4); font-size: 16px; line-height: 24px; }
.legal th, .legal td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--text-strong); font-weight: 600; }
.legal ol { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
/* Beta-Seite offtimism.app/beta (QR-Code) – 05.11.2026 */
.legal .beta-hero { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-8); }
.legal .beta-hero h1 { margin-bottom: 0; }
.legal .beta-lead { font-size: 20px; line-height: 30px; color: var(--text-strong); margin: 0; max-width: 600px; }
.legal ul.beta-cards { list-style: none; padding: 0; margin: 0 0 var(--space-8); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-4); }
.legal .beta-card { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--space-6); }
.legal .beta-card p { margin: 0; }
.legal .beta-card__os, .legal .beta-raffle__kicker { display: inline-flex; align-items: center; gap: var(--space-2); font: 600 14px/20px var(--font-sans); color: var(--text); margin: 0; }
.legal .beta-card__os .icon, .legal .beta-raffle__kicker .icon { width: 20px; height: 20px; }
.legal h2.beta-card__title { margin: 0; font-size: 22px; line-height: 30px; }
.legal ol.beta-steps { margin: 0; padding-left: var(--space-6); font-size: 16px; line-height: 24px; }
.legal ol.beta-steps li { margin-bottom: var(--space-1); }
.legal .beta-card__btn { margin-top: auto; width: 100%; }
.legal .beta-card__link { font-size: 13px; line-height: 18px; color: var(--text); text-align: center; word-break: break-all; }
.legal .beta-raffle { background: var(--yellow); color: var(--night); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6); margin-bottom: var(--space-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.legal .beta-raffle h2, .legal .beta-feedback h2 { margin: 0; }
.legal .beta-raffle p, .legal .beta-feedback p { margin: 0; }
.legal .beta-raffle .beta-raffle__kicker { color: var(--night); }
.legal .beta-raffle__small { font-size: 14px; line-height: 20px; }
.legal .beta-raffle .btn { white-space: normal; height: auto; min-height: 48px; padding-block: var(--space-3); text-align: center; }
.legal .beta-feedback { display: flex; flex-direction: column; gap: var(--space-3); padding: 0 var(--space-2); }
@media (max-width: 640px) { .legal .beta-lead { font-size: 17px; line-height: 26px; } .legal .beta-raffle { padding: var(--space-6) var(--space-4); } }

/* Beta-Seite: Android in zwei Schritten – 06.11.2026 */
.legal .beta-card__btn--step { margin-top: 0; margin-bottom: var(--space-2); }
.legal .beta-card__hint { font-size: 13px; line-height: 18px; color: var(--text); text-align: center; margin: 0; }
/* Gewinnspiel-Seite offtimism.app/freunde-werben: Einstieg, Siegertreppchen, Schritte – 06.11.2026 */
.legal .raffle-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 64px; }
.legal .raffle-hero h1 { margin: 4px 0 0; }
.legal .raffle-lead { font-size: 20px; line-height: 30px; color: var(--text-strong); margin: 0; max-width: 620px; }
.legal dl.raffle-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 8px 0 0; }
.legal .raffle-fact { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 2px; align-items: start; align-content: start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.legal .raffle-fact .icon { grid-row: span 2; color: var(--text-strong); }
.legal .raffle-fact dt { font: 500 14px/20px var(--font-sans); color: var(--text); }
.legal .raffle-fact dd { margin: 0; font: 600 16px/22px var(--font-sans); color: var(--text-strong); }
.legal .raffle-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.legal .raffle-cta__link { font-weight: 600; font-size: 16px; text-decoration: none; }
.legal .raffle-cta__link:hover { text-decoration: underline; }
.legal ul.raffle-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; line-height: 20px; }
.legal ul.raffle-checks li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.legal ul.raffle-checks .icon { width: 18px; height: 18px; color: var(--green-dark); }

.legal .raffle-section { margin-bottom: 64px; }
.legal .raffle-section > h2, .legal .raffle-thanks h2 { margin-top: 0; margin-bottom: 24px; }

/* Siegertreppchen: im Code 1, 2, 3 – angezeigt 2 · 1 · 3 */
.legal ol.podium { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.legal .podium__step { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm); padding: 20px 12px; }
.legal .podium__step--1 { order: 2; min-height: 248px; background: var(--yellow); border-color: var(--yellow); color: var(--night); }
.legal .podium__step--2 { order: 1; min-height: 200px; }
.legal .podium__step--3 { order: 3; min-height: 168px; }
.legal .podium__step .icon { width: 40px; height: 40px; margin-bottom: 8px; color: var(--night); }
.legal .podium__amount { font: 800 40px/44px var(--font-display); color: var(--text-strong); font-variant-numeric: tabular-nums; }
.legal .podium__step--1 .podium__amount { font-size: 56px; line-height: 60px; }
.legal .podium__place { font: 600 16px/22px var(--font-sans); color: var(--text-strong); }
.legal .podium__kind { font-size: 14px; line-height: 20px; color: var(--text); }
.legal .podium__step--1 .podium__kind { color: var(--night); }
.legal ul.prize-more { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.legal ul.prize-more li { margin: 0; display: grid; grid-template-columns: 80px 1fr; align-items: baseline; column-gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 16px; font-size: 16px; line-height: 24px; }
.legal .prize-more__amount { font: 800 24px/28px var(--font-display); color: var(--text-strong); white-space: nowrap; }
.legal .raffle-note { font-size: 16px; line-height: 24px; margin: 0; }

/* Drei Schritte */
.legal ol.raffle-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.legal .raffle-step { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legal .raffle-step__num { width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--night);
  display: flex; align-items: center; justify-content: center; font: 800 20px/1 var(--font-display); margin-bottom: 4px; }
.legal .raffle-step h3 { margin: 0; }
.legal .raffle-step p { margin: 0; font-size: 16px; line-height: 24px; }

/* Dankeschön-Karte */
.legal .raffle-thanks { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 64px; }
.legal .raffle-thanks__icon { flex: none; width: 48px; height: 48px; border-radius: 25%; background: var(--off-white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-strong); }
.legal .raffle-thanks__icon .icon { width: 26px; height: 26px; }
.legal .raffle-thanks h2 { margin-bottom: 8px; font-size: 22px; line-height: 30px; }
.legal .raffle-thanks p { margin: 0; font-size: 16px; line-height: 26px; }

/* Bedingungen: abgesetzt durch eine Linie */
.legal .raffle-terms { border-top: 1px solid var(--border); padding-top: 40px; }
.legal .raffle-terms > h2 { margin-top: 0; }
.legal .raffle-terms nav { margin: 0 0 24px; padding: 16px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.legal .raffle-terms nav ul.index { margin: 0; padding-left: 20px; font-size: 15px; line-height: 22px; }
.legal .raffle-terms nav li { margin-bottom: 4px; }

@media (max-width: 760px) {
  .legal dl.raffle-facts { grid-template-columns: 1fr; gap: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 0 16px; }
  .legal .raffle-fact { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 12px 0; }
  .legal .raffle-fact + .raffle-fact { border-top: 1px solid var(--border); }
  .legal ol.raffle-steps { grid-template-columns: 1fr; gap: 20px; }
  .legal .raffle-step { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 4px; }
  .legal .raffle-step__num { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
  .legal .raffle-lead { font-size: 17px; line-height: 26px; }
  .legal .raffle-hero, .legal .raffle-section, .legal .raffle-thanks { margin-bottom: 40px; }
  .legal ol.podium { gap: 8px; }
  .legal .podium__step { padding: 16px 4px; }
  .legal .podium__step--1 { min-height: 200px; }
  .legal .podium__step--2 { min-height: 164px; }
  .legal .podium__step--3 { min-height: 140px; }
  .legal .podium__step .icon { width: 32px; height: 32px; margin-bottom: 4px; }
  .legal .podium__amount { font-size: 30px; line-height: 36px; }
  .legal .podium__step--1 .podium__amount { font-size: 40px; line-height: 44px; }
  .legal .podium__place { font-size: 14px; line-height: 20px; }
  .legal .podium__kind { font-size: 13px; line-height: 18px; }
  .legal .raffle-thanks { flex-direction: column; gap: 12px; padding: 20px; }
}
/* >>> Offtimism Design v2 (06.11.2026) – automatisch angehängt, nicht von Hand ändern; Quellen: Website/design/*.css >>> */

/* ---- 01-grundlage.css ---- */

/* ==========================================================================
   Design v2 – 06.11.2026 (Apple-Design-Skill, Taste-Skill, CI-Handbuch v1)
   Wird nach allen bisherigen Regeln angehängt und überschreibt sie gezielt.
   - Typografie: Größen wie apple.com (CI), Laufweite je Größe, enge Zeilen oben, lockere im Text
   - Abstände: CI-Skala 4/8/12/16/20/24/40/64/80 in rem (wächst mit der Schriftgröße mit)
   - Material: Kopfzeile als Glas mit weicher Kante statt 1-px-Linie; nur eine dunkle Fläche (Abendblau)
   - Bewegung: Feedback beim Drücken (scale .97, 100 ms), Karten heben sich 2 px; nichts bewegt sich beim Scrollen
   - Barrierefreiheit: reduced-motion, reduced-transparency, contrast: more
   Kein JavaScript (CSP default-src 'none').
   ========================================================================== */
:root {
  --evening-blue: #1E3350; --accent: #0072BB; --accent-deep: #005A94; --accent-tint: #E6F1F8; --blue-soft: #6DB8E8;
  --grey-mid: #676C72; --orange-soft: #F0A15E;
  --link: var(--accent); --focus: var(--accent);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 1.5rem; --space-10: 2.5rem; --space-12: 2.5rem; --space-16: 4rem; --space-20: 5rem;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .05), 0 4px 12px rgba(20, 24, 28, .05);
  --shadow-md: 0 2px 6px rgba(20, 24, 28, .06), 0 12px 32px rgba(20, 24, 28, .10);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Typografie ---------- */
body { font-size: 1.0625rem; line-height: 1.5625rem; font-feature-settings: "cv11", "ss01"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.h1, .legal h1, .hero__claim { font-size: 3.5rem; line-height: 1.07; letter-spacing: -.022em; }
.h2 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.legal h2 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -.015em; }
.h3, .legal h3, .milestone__what, .fail__title { font-size: 1.375rem; line-height: 1.27; letter-spacing: -.01em; }
.lead, .beta-lead, .raffle-lead { font-size: 1.3125rem; line-height: 1.38; font-weight: 500; letter-spacing: -.005em; color: var(--text); }
.small, .hero__meta, .legal-date, .stats__source, .preview__caption, .member__time, .rank-row__time { letter-spacing: .005em; }
.badge { letter-spacing: .01em; }
.stat__value, .stat-card__value, .podium__amount { letter-spacing: -.02em; }
.feature p, .step p, .person p, .real p, .fail__text, .stat__text, .milestone p { font-size: 1rem; line-height: 1.5; }

/* ---------- Raster und Rhythmus ---------- */
.container { max-width: calc(61.25rem + 2 * var(--space-5)); padding-inline: var(--space-5); }   /* Inhalt 980 px */
.section { padding-block: var(--space-20); }
.stack { gap: var(--space-10); }
.section-head { gap: var(--space-3); max-width: 42.5rem; }                                           /* Textspalte 680 px */
.grid-3, .stats, .real-grid, .fails__grid, .roadmap { gap: var(--space-5); }
.legal { max-width: calc(42.5rem + 2 * var(--space-5)); padding-block: var(--space-16) var(--space-20); }
.legal:has(.raffle-hero), .legal:has(.beta-hero) { max-width: calc(52.5rem + 2 * var(--space-5)); }   /* Aktionsseiten etwas breiter */
.legal p, .legal ul, .legal ol { margin-bottom: var(--space-4); }
.legal h2 { margin: var(--space-10) 0 var(--space-3); }
.legal h3 { margin: var(--space-6) 0 var(--space-2); }

/* ---------- Kopfzeile: Glas statt Balken ---------- */
.site-header {
  background: rgba(248, 248, 248, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0;
}
.site-header::after {                       /* weiche Kante, wo Inhalt unter die Leiste läuft */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .75rem; pointer-events: none;
  background: linear-gradient(rgba(20, 24, 28, .06), rgba(20, 24, 28, 0));
}
.nav { min-height: 3.5rem; }
.nav__logo img { height: 1.75rem; }
.nav__links { gap: var(--space-6); font-size: .875rem; font-weight: 500; letter-spacing: .005em; }
.nav__links a { color: var(--text); }
.nav__back { font-size: .9375rem; color: var(--link); }
.lang a, .lang span { height: 2rem; min-width: 2.75rem; font-size: .8125rem; }
.lang { border-width: 1px; }
.lang [aria-current] { background: var(--text-strong); }

/* ---------- Buttons (CI: Kapsel, Akzentblau, Inter SemiBold 17) ---------- */
.btn {
  height: 2.75rem; padding: 0 var(--space-5); border: 0; font-size: 1.0625rem; line-height: 1.375rem; letter-spacing: -.005em;
  transition: transform 100ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn--lg { height: 3.125rem; padding: 0 var(--space-6); }
.btn--sm { height: 2rem; padding: 0 var(--space-3); font-size: .9375rem; line-height: 1.25rem; }
.btn--primary, .btn--cta { background: var(--accent); color: var(--white); }
.btn--primary:hover, .btn--cta:hover { background: var(--accent-deep); color: var(--white); box-shadow: none; }
.btn--secondary { background: var(--accent-tint); color: var(--accent-deep); border: 0; }
.btn--secondary:hover { background: #D6E8F4; color: var(--accent-deep); }
.btn:active { transform: scale(.97); transition-duration: 100ms; }   /* Feedback beim Drücken, nicht beim Loslassen */
.link-more { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.0625rem; font-weight: 600; color: var(--link); text-decoration: none; }
.link-more:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.link-more:active { opacity: .7; }

/* ---------- Hero ---------- */
.hero { gap: var(--space-10); padding-block: var(--space-16) var(--space-20); }
.hero__text { gap: var(--space-5); }
.hero__title { gap: var(--space-10); }
.hero__logo { height: 7rem; }
.hero__cta { gap: var(--space-3) var(--space-6); align-items: center; }
.hero__meta { font-size: .875rem; line-height: 1.25rem; color: var(--grey-mid); }
.preview .card { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-color: rgba(20, 24, 28, .06); }

/* ---------- Karten: ruhig, ohne harte Linien ---------- */
.card { border-color: rgba(20, 24, 28, .06); box-shadow: var(--shadow-sm); padding: var(--space-6); }
.feature, .real, .step, .person { gap: var(--space-3); }
.step__num { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }

/* ---------- Die eine dunkle Fläche: Abendblau ---------- */
.section--night { background: var(--evening-blue); color: #DCE3EC; }
.section--night .stat { border-top-color: rgba(255, 255, 255, .16); }
.section--night .stat__value { color: var(--white); }
.section--night .stat:last-child .stat__value { color: var(--green-light); }
.section--night .stats__source { color: #B9C4D2; }
.fail { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .10); }
.fail .icon { color: var(--blue-soft); }
.fails__intro, .fails__outro { letter-spacing: -.01em; }

/* ---------- Kacheln und Avatare: Abendblau statt Nachtschwarz (CI) ---------- */
.icon-tile, .avatar, .member__avatar { background: var(--evening-blue); }

/* ---------- Fahrplan ---------- */
.milestone { border-top-color: var(--border); }
.milestone--now { border-top-color: var(--accent); }
.milestone--now::before { background: var(--yellow); border-color: var(--text-strong); }

/* ---------- Warteliste: hell, als Karte ---------- */
.waitlist { background: var(--surface); color: var(--text); border: 1px solid rgba(20, 24, 28, .06); box-shadow: var(--shadow-sm); padding: var(--space-10); gap: var(--space-10); }
.waitlist h2 { color: var(--text-strong); }
.waitlist a { color: var(--link); }
.waitlist :focus-visible { outline-color: var(--focus); }
.waitlist__mark { width: 3rem; }
.wl-label, .wl-device legend, .wl-device label { color: var(--text-strong); }
.wl-device legend span { color: var(--grey-mid); }
.wl-device input { accent-color: var(--accent); }
.wl-row input { height: 2.75rem; border: 1px solid #C9CDD2; border-radius: .75rem; font-size: 1.0625rem; }
.wl-row input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.waitlist__action p { color: var(--text); }

/* ---------- Footer hell (CI: Off-White) ---------- */
.site-footer { background: var(--white); color: var(--text); border-top: 1px solid rgba(20, 24, 28, .06); font-size: .8125rem; line-height: 1.25rem; }
.footer { padding-block: var(--space-10); gap: var(--space-5); }
.footer__brand img { height: 1.75rem; }
.footer__claim { color: var(--text-strong); font-size: .9375rem; letter-spacing: -.005em; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--text-strong); }
.site-footer :focus-visible { outline-color: var(--focus); }
.footer__social { border-top-color: var(--border); padding-top: var(--space-5); }
.footer__social-label { color: var(--text-strong); }

/* ---------- Mikro-Interaktionen (nur Zeiger mit Hover) ---------- */
@media (hover: hover) and (pointer: fine) {
  a.card, .lt-tile, .legal ul.app-legal li { transition: transform 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
  a.card:hover, .legal ul.app-legal li:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .nav__links a { transition: color 150ms ease-out; }
}

/* ---------- Rechtstexte, Beta- und Gewinnspiel-Seite an die neue Skala angleichen ---------- */
.legal ul.app-legal li { border-color: rgba(20, 24, 28, .06); border-radius: var(--radius-md); }
.legal ul.app-legal strong { letter-spacing: -.01em; }
.legal .beta-hero, .legal .raffle-hero { gap: var(--space-4); }
.legal .beta-card, .legal .raffle-fact, .legal ul.prize-more li, .legal .raffle-thanks, .legal .raffle-terms nav { border-color: rgba(20, 24, 28, .06); }
.legal h2.beta-card__title { font-size: 1.375rem; line-height: 1.27; letter-spacing: -.01em; }
.legal .beta-raffle { padding: var(--space-10) var(--space-6); border-radius: var(--radius-lg); }
.legal .beta-raffle .btn--secondary, .legal .raffle-hero .btn--secondary { background: var(--white); color: var(--accent-deep); }
.legal .podium__step { border-color: rgba(20, 24, 28, .06); box-shadow: var(--shadow-sm); }
.legal .podium__step--1 { box-shadow: var(--shadow-md); }
.legal .raffle-step__num, .legal .step__num { letter-spacing: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .h1, .legal h1, .hero__claim { font-size: 2.5rem; line-height: 1.1; }
  .h2 { font-size: 2rem; line-height: 1.125; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; line-height: 1.5625rem; }
  .container { padding-inline: var(--space-4); }
  .section { padding-block: var(--space-16); }
  .hero { padding-block: var(--space-10) var(--space-16); }
  .h1, .legal h1, .hero__claim { font-size: 2.5rem; line-height: 1.1; }
  .h2 { font-size: 2rem; line-height: 1.125; }
  .legal h2 { font-size: 1.5rem; line-height: 1.17; }
  .h3, .legal h3, .milestone__what { font-size: 1.25rem; line-height: 1.25; }
  .lead, .beta-lead, .raffle-lead { font-size: 1.1875rem; line-height: 1.42; }
  .hero__logo { height: 4.5rem; }
  .hero__title { gap: var(--space-6); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cta .link-more { margin-inline: 0; }
  .waitlist { padding: var(--space-6) var(--space-5); gap: var(--space-6); }
  .nav__actions { gap: var(--space-2); }
  .nav__actions .btn { display: inline-flex; }
  .lang a, .lang span { min-width: 2.25rem; }
  .legal .beta-raffle { padding: var(--space-6) var(--space-5); }
}

/* ---------- Die drei Signale (Apple-Skill, Regel 14) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, .lt-tile, .legal ul.app-legal li { transition: none; }
  .btn:active, a.card:hover, .lt-tile:hover, .legal ul.app-legal li:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--border); }
  .site-header::after { display: none; }
}
@media (prefers-contrast: more) {
  :root { --accent: #005A94; --link: #005A94; --focus: #005A94; --text: #2E3136; --grey-mid: #4A4A4A; }
  .site-header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid #8A8F96; }
  .site-header::after { display: none; }
  .card, .waitlist, .legal .beta-card, .legal ul.app-legal li { border-color: #8A8F96; }
}

/* ---- 02-auftakt.css ---- */

/* ==========================================================================
   Vorschlag 1 – „Auftakt“: ein einziger, ruhiger Moment beim Laden (06.11.2026)
   Story: Das Startbild erzählt in gut einer Sekunde, worum es geht – der Claim kommt,
   dann eure Gruppe, die Balken laufen auf ihren Stand, und das Party-Emoji feiert kurz.
   Nur transform und opacity, kritisch gedämpft (kein Nachwippen) – außer beim Feiern (Apple-Skill 4, 13).
   Läuft einmal, nichts wiederholt sich. Bei „Bewegung reduzieren“ steht alles sofort fertig da.
   ========================================================================== */
:root {
  --ease-settle: cubic-bezier(.2, .8, .2, 1);                     /* ≈ Feder, Dämpfung 1.0, Antwort 0.4 s */
  --ease-celebrate: linear(0, .22 8%, .62 18%, .98 30%, 1.08 40%, 1.06 48%, 1 60%, .985 72%, 1);  /* leichte Feder fürs Feiern */
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes ot-rise { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
  @keyframes ot-arrive { from { opacity: 0; transform: translateY(1.5rem) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes ot-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes ot-pop { from { opacity: 0; transform: scale(.4) rotate(-18deg); } to { opacity: 1; transform: none; } }

  .hero__logo   { animation: ot-rise 450ms var(--ease-settle) both; }
  .hero__claim  { animation: ot-rise 450ms var(--ease-settle) 80ms both; }
  .hero__badges { animation: ot-rise 450ms var(--ease-settle) 160ms both; }
  .hero .lead   { animation: ot-rise 450ms var(--ease-settle) 220ms both; }
  .hero__cta    { animation: ot-rise 450ms var(--ease-settle) 280ms both; }
  .hero__meta   { animation: ot-rise 450ms var(--ease-settle) 320ms both; }

  .preview--group .group-app { animation: ot-arrive 600ms var(--ease-settle) 200ms both; transform-origin: 50% 100%; }
  .rank-row .member__bar span { transform-origin: 0 50%; animation: ot-grow 700ms var(--ease-settle) both; }
  .rank-row:nth-child(1) .member__bar span { animation-delay: 520ms; }
  .rank-row:nth-child(2) .member__bar span { animation-delay: 600ms; }
  .rank-row:nth-child(3) .member__bar span { animation-delay: 680ms; }
  .rank-row:nth-child(4) .member__bar span { animation-delay: 760ms; }
  .week__sticker { animation: ot-pop 650ms var(--ease-celebrate) 1050ms both; transform-origin: 30% 80%; }
  .preview__caption { animation: ot-rise 450ms var(--ease-settle) 900ms both; }
}
/* Kleine Antwort auf den Zeiger: Emojis in „Zeit für was Echtes“ heben sich mit der Karte */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .real .emoji, .feature .emoji { transition: transform 200ms var(--ease-settle); }
  .real:hover .emoji, .feature:hover .emoji { transform: translateY(-3px) scale(1.04); }
}

/* ---- 03-scroll.css ---- */

/* ==========================================================================
   Vorschlag 2 – „Scroll-Erzählung“: Bewegung erzählt die Geschichte beim Scrollen (06.11.2026)
   Drei Momente, jeder erklärt etwas:
   1. Kopfzeile: oben unsichtbar, beim Scrollen wird sie zu Glas mit weicher Kante (wie apple.com, Apple-Skill 12).
   2. „Warum“: die drei Zahlen kommen nacheinander – erst das Problem, dann die Hochrechnung, dann der Gewinn.
   3. Fahrplan: die Linie füllt sich bis „Jetzt“ – man sieht, wie weit ihr seid.
   Reines CSS (scroll-driven animations), an die Scroll-Position gekoppelt, also jederzeit umkehrbar (Apple-Skill 3).
   Browser ohne Unterstützung (z. B. Firefox) zeigen alles sofort fertig. „Bewegung reduzieren“ ebenso.
   ========================================================================== */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* 1 – Kopfzeile wird beim Scrollen zu Glas */
    .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; isolation: isolate; }
    .site-header::before {
      content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
      background: rgba(248, 248, 248, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
      animation: ot-fade-in linear both; animation-timeline: scroll(root); animation-range: 0 5rem;
    }
    .site-header::after { animation: ot-fade-in linear both; animation-timeline: scroll(root); animation-range: 2rem 6rem; }
    @keyframes ot-fade-in { from { opacity: 0; } to { opacity: 1; } }

    /* 2 – „Warum“: die Zahlen kommen nacheinander */
    .section--night .stat { animation: ot-stat linear both; animation-timeline: view(); }
    .section--night .stat:nth-child(1) { animation-range: entry 15% cover 30%; }
    .section--night .stat:nth-child(2) { animation-range: entry 35% cover 38%; }
    .section--night .stat:nth-child(3) { animation-range: entry 55% cover 46%; }
    .section--night .stat:last-child .stat__value { display: inline-block; transform-origin: 0 100%; animation: ot-win linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
    @keyframes ot-stat { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }
    @keyframes ot-win { from { transform: scale(.86); } to { transform: none; } }

    /* 3 – Fahrplan: die Linie füllt sich bis „Jetzt“ */
    .milestone { border-top-color: var(--border); }
    .milestone--now { border-top-color: var(--border); }
    .milestone:nth-child(-n+2)::after {
      content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--accent);
      transform-origin: 0 50%; animation: ot-line linear both; animation-timeline: view(); animation-range: entry 30% cover 40%;
    }
    .milestone:nth-child(2)::after { --to: .5; animation-range: entry 45% cover 50%; }
    .milestone::before { z-index: 1; }
    @keyframes ot-line { from { transform: scaleX(0); } to { transform: scaleX(var(--to, 1)); } }
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header::before { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- 04-logo-und-gruppe.css ---- */

/* ==========================================================================
   Vorschlag 3 – „Logo & Produkt“ (06.11.2026)
   1. Bewegliche Bildmarke im Startbild, Ablauf wie im Logo-Video der Gründer (23.10.2026).
      Text und Buttons stehen sofort da; nur die Bildmarke erzählt (Choreografie-Skill, Regel 4).
   2. Startbild-Karte zum Antippen: Heute/Woche wechselt Rangliste, Zeiten und Balken (nur CSS).
      Übergänge sind CSS-Transitions, die von der aktuellen Position aus umkehren (Apple-Skill 3).
   3. Abschluss nach CI-Aufbau Nr. 8: Bildmarke, Claim, eine Aufforderung. Derselbe Logo-Ablauf
      läuft beim Hineinscrollen mit, an die Scroll-Position gekoppelt.
   ========================================================================== */
:root {
  --ease-settle: cubic-bezier(.2, .8, .2, 1);
  --ease-celebrate: linear(0, .22 8%, .62 18%, .98 30%, 1.08 40%, 1.06 48%, 1 60%, .985 72%, 1);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 1  Bildmarke – Ablauf wie im Logo-Video vom 23.10.2026 ----------
   Aus (dunkel, nur Ring und Power-Strich) → kurz eindrücken → geht grün an und federt nach →
   der lange Zeiger dreht sich zweimal schnell zurück (mit Nachzieh-Spur), der kurze erscheint und wandert von 12 auf 10 Uhr →
   das Lächeln zeichnet sich von links nach rechts. Alle Teile teilen sich eine Zeitachse (0–100 %),
   damit derselbe Ablauf beim Laden (3,3 s) und im Abschluss an die Scroll-Position gekoppelt laufen kann. */
.mark { display: block; height: auto; overflow: visible; --mark-off: #14181C; }
.mark__hour, .mark__power, .mark__ghost { transform-box: view-box; transform-origin: 551.7px 663.6px; }
.mark__ghost { opacity: 0; }
.hero__title--mark { gap: var(--space-6); }
.hero__mark { width: 6.5rem; transform-origin: 50% 55%; }
@media (prefers-color-scheme: dark) { .mark { --mark-off: #48484A; } }

@media (prefers-reduced-motion: no-preference) {
  /* 0–15 % aus · 13 % eingedrückt · 15 % an · 18–76 % Drehung · 76–91 % Lächeln */
  @keyframes mk-press  { 0%, 6% { transform: none; } 13% { transform: scale(.92); } 21% { transform: scale(1.04); } 29%, 100% { transform: none; } }
  @keyframes mk-ring   { 0%, 14.9% { fill: var(--mark-off); } 15%, 100% { fill: url(#otl); } }
  @keyframes mk-power  { 0%, 14.9% { fill: var(--mark-off); transform: rotate(0deg); }
                         15%, 18% { fill: #8FC93A; transform: rotate(0deg); animation-timing-function: cubic-bezier(.55, 0, .2, 1); }
                         76%, 100% { fill: #8FC93A; transform: rotate(-720deg); } }
  @keyframes mk-ghost  { 0%, 18% { transform: rotate(0deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .2, 1); }
                         32% { opacity: var(--o); } 58% { opacity: var(--o); } 72% { opacity: 0; }
                         76%, 100% { transform: rotate(-720deg); opacity: 0; } }
  @keyframes mk-hour   { 0%, 19% { opacity: 0; transform: rotate(53deg); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
                         27% { opacity: 1; } 76%, 100% { opacity: 1; transform: rotate(0deg); } }
  @keyframes mk-smile  { 0%, 76% { opacity: 0; clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.3, 0, .3, 1); }
                         77% { opacity: 1; } 91%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }

  .hero__mark { animation: mk-press 3.3s linear both; }
  .hero__mark .mark__ring  { animation: mk-ring 3.3s linear both; }
  .hero__mark .mark__power { animation: mk-power 3.3s linear both; }
  .hero__mark .mark__hour  { animation: mk-hour 3.3s linear both; }
  .hero__mark .mark__smile { animation: mk-smile 3.3s linear both; }
  .hero__mark .mark__ghost--1 { --o: .35; animation: mk-ghost 3.3s linear 60ms both; }
  .hero__mark .mark__ghost--2 { --o: .16; animation: mk-ghost 3.3s linear 120ms both; }

  @supports (animation-timeline: view()) {
    .outro__mark .mark__ring, .outro__mark .mark__power, .outro__mark .mark__hour, .outro__mark .mark__smile {
      animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: view(); animation-range: entry 0% cover 50%;
    }
    .outro__mark .mark__ring  { animation-name: mk-ring; }
    .outro__mark .mark__power { animation-name: mk-power; }
    .outro__mark .mark__hour  { animation-name: mk-hour; }
    .outro__mark .mark__smile { animation-name: mk-smile; }
  }
}

/* ---------- 2  Heute/Woche zum Antippen ---------- */
.seg--live { position: relative; isolation: isolate; }
.seg--live::before {                              /* der weiße „Schieber“ – gleitet zum gewählten Zeitraum */
  content: ""; position: absolute; z-index: -1; top: var(--space-1); bottom: var(--space-1); left: var(--space-1);
  width: calc(50% - var(--space-1)); border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 320ms var(--ease-settle);
}
.group-app--live:has(.seg__input--week:checked) .seg--live::before { transform: translateX(100%); }
.seg__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg--live .seg__item { cursor: pointer; background: none; box-shadow: none; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: color 150ms ease-out, transform 100ms ease-out; }
.seg--live .seg__item:active { transform: scale(.97); }
.seg__input:checked + .seg__item { color: var(--text-strong); font-weight: 600; }
.seg__input:focus-visible + .seg__item { outline: 2px solid var(--focus); outline-offset: 2px; }

.group-app--live .t-week { display: none; }
.group-app--live:has(.seg__input--week:checked) .t-week { display: inline; }
.group-app--live:has(.seg__input--week:checked) .t-day { display: none; }

.group-app--live .rank { position: relative; }
.group-app--live .rank-row { transition: transform 420ms var(--ease-settle); }
.group-app--live:has(.seg__input--week:checked) .mv-down { transform: translateY(100%); }
.group-app--live:has(.seg__input--week:checked) .mv-up { transform: translateY(-100%); }
.group-app--live .rank-row:first-child .rank-row__pos { color: var(--text); }
.group-app--live:not(:has(.seg__input--week:checked)) .rank-row:first-child .rank-row__pos,
.group-app--live:has(.seg__input--week:checked) .mv-up .rank-row__pos { color: var(--success); }

.group-app--live .member__bar span { width: 100%; transform-origin: 0 50%; transform: scaleX(var(--w, 1)); transition: transform 420ms var(--ease-settle); }
.group-app--live .w-31 { --w: .31; } .group-app--live .w-46 { --w: .46; } .group-app--live .w-62 { --w: .62; } .group-app--live .w-100 { --w: 1; }
.group-app--live:has(.seg__input--week:checked) .ww-41 { --w: .41; }
.group-app--live:has(.seg__input--week:checked) .ww-33 { --w: .33; }
.group-app--live:has(.seg__input--week:checked) .ww-63 { --w: .63; }
.group-app--live:has(.seg__input--week:checked) .ww-100 { --w: 1; }

/* ---------- 3  Abschluss ---------- */
.outro { background: var(--surface); }
.outro__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); padding-block: var(--space-10); }
.outro__mark { width: 6rem; margin-bottom: var(--space-3); }
.outro__claim { font: 800 3.5rem/1.07 var(--font-display); letter-spacing: -.022em; color: var(--text-strong); max-width: 14ch; margin: 0; }
.outro .lead { max-width: 34rem; }
.outro .btn { margin-top: var(--space-3); }

@media (max-width: 640px) {
  .hero__mark { width: 4.5rem; }
  .outro__claim { font-size: 2.5rem; line-height: 1.1; }
  .outro__mark { width: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .seg--live::before, .group-app--live .rank-row, .group-app--live .member__bar span, .seg--live .seg__item { transition: none; }
}

/* ---- 05-zusammenspiel.css ---- */

/* Zusammenspiel der Vorschläge 1–3 (06.11.2026)
   Die Balken laufen beim Laden ein (V1) und wechseln danach zwischen Heute und Woche (V3):
   Die Einlauf-Animation endet auf dem eigenen Wert jedes Balkens und gibt ihn danach an die Übergänge zurück. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ot-grow-to { from { transform: scaleX(0); } }
  .group-app--live .rank-row .member__bar span { animation-name: ot-grow-to; animation-fill-mode: backwards; }
}

/* ---- 06-dunkelmodus.css ---- */

/* ==========================================================================
   Dunkelmodus – 06.11.2026
   Folgt der Systemeinstellung (kein eigener Schalter), Werte aus der CI-Tabelle „Dunkelmodus (wie Apple)“:
   Hintergrund #000, Karten #1C1C1E, erhöhte Flächen #2C2C2E, Linien #38383A,
   Text #FFF / #AEAEB2 / #98989F, Akzent Blau weich #6DB8E8 (Button-Schrift #14181C), Erfolg Grün hell.
   Abendblau gehört nicht zum Dunkelmodus: Der dunkle Abschnitt wird zur Kartenfläche.
   Emojis bekommen auf dunklem Grund einen weißen Sticker-Rand. Logo-Wechsel per <picture> im HTML.
   „color-scheme“ sagt Browsern wie Samsung Internet, dass sie die Seite nicht selbst umfärben sollen.
   ========================================================================== */
:root { color-scheme: light dark; }

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #000000; --surface-raised: #1C1C1E; --surface-elevated: #2C2C2E; --border: #38383A;
    --text-strong: #FFFFFF; --text: #AEAEB2; --grey-mid: #98989F; --text-tertiary: #98989F;
    --accent: #6DB8E8; --accent-deep: #6DB8E8; --accent-tint: #16252E; --link: #6DB8E8; --focus: #6DB8E8;
    --success: #8FC93A; --fill-grey: #3A3A3C;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .5);
  }
  html, body { background: var(--surface); color: var(--text); }

  /* Flächen */
  .section, .section--white, .outro, .site-footer { background: var(--surface); }
  .card, .waitlist, .lt-tile, .group-app, .legal .beta-card, .legal ul.app-legal li, .legal ul.prize-more li,
  .legal .raffle-thanks, .legal .raffle-terms nav, .legal .podium__step, .legal .raffle-fact, .legal dl.raffle-facts {
    background: var(--surface-raised); border-color: var(--border);
  }
  .site-footer { border-top: 1px solid var(--border); }

  /* Kopfzeile: dunkles Glas */
  .site-header, .site-header::before { background: rgba(22, 22, 23, .72); }
  .site-header::after { background: linear-gradient(rgba(255, 255, 255, .08), transparent); }

  /* Der eine dunkle Abschnitt: im Dunkelmodus Kartenfläche statt Abendblau */
  .section--night { background: var(--surface-raised); }
  .section--night .fail, .section--night .badge--neutral { background: var(--surface-elevated); border-color: var(--border); }
  .section--night .stat { border-color: var(--border); }
  .icon-tile { background: var(--surface-elevated); }
  .avatar, .member__avatar { background: #3A3A3C; color: #FFFFFF; }

  /* Buttons: Blau weich mit dunkler Schrift */
  .btn--primary, .btn--cta { background: var(--accent); color: #14181C; }
  .btn--primary:hover, .btn--cta:hover { background: #8CC8EE; color: #14181C; }
  .btn--secondary, .legal .beta-raffle .btn--secondary, .legal .raffle-hero .btn--secondary { background: var(--accent-tint); color: var(--accent); }
  .btn--secondary:hover { background: #1D3240; border-color: transparent; }
  .legal .beta-raffle .btn--secondary { background: #14181C; color: #FFFFFF; }
  .badge--info { background: var(--accent); color: #14181C; }
  .lang [aria-current] { background: #FFFFFF; color: #14181C; }
  .skip-link { background: #FFFFFF; color: #14181C; }

  /* Gruppen-Karte */
  .seg { background: rgba(118, 118, 128, .24); }
  .seg__item { color: var(--text); }
  .seg__item.is-active, .seg--live::before { background: #636366; }
  .seg__input:checked + .seg__item, .seg__item.is-active { color: #FFFFFF; }
  .member__bar, .rank-row__avatar { background: #3A3A3C; }
  .rank-row__avatar { color: #FFFFFF; }
  .rank-row.is-me { background: var(--surface-elevated); }
  .rank-row__pos { color: var(--text); }
  .rank-row.is-me .rank-row__avatar { background: #2F6F2A; }

  /* Fahrplan */
  .milestone::before { background: var(--surface); border-color: #98989F; }
  .milestone--now, .milestone--now::before { border-color: #FFFFFF; }

  /* Formular */
  .wl-row input { background: var(--surface-elevated); color: #FFFFFF; border-color: #48484A; }
  .wl-row input::placeholder { color: #98989F; }
  .wl-device label, .wl-device legend, .wl-label { color: var(--text-strong); }

  /* Gelbe Flächen bleiben gelb, Schrift darauf Nachtschwarz (CI) */
  .legal .podium__step--1 { background: var(--yellow); border-color: var(--yellow); }
  .legal .beta-raffle :is(h2, h3, p, strong, li, .icon, a:not(.btn)), .legal .podium__step--1 :is(*) { color: #14181C; }

  /* Gewinnspiel */
  .legal .raffle-thanks__icon { background: var(--surface-elevated); }
  .legal ul.raffle-checks .icon { color: var(--success); }

  /* Emojis: Sticker-Version mit weißem Rand (CI: auf dunklem Grund immer Sticker) */
  .emoji { filter: drop-shadow(0 0 .75px #FFF) drop-shadow(0 0 .75px #FFF) drop-shadow(0 0 .75px #FFF) drop-shadow(0 0 .75px #FFF); }
  /* Plattform-Logos stehen auf einer hellen Plakette, damit dunkle Logos (TikTok) sichtbar bleiben */
  .social-logo { background: #FFFFFF; border-radius: var(--radius-sm); padding: 2px; }
}
@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root { --text: #E5E5EA; --grey-mid: #AEAEB2; --border: #636366; }
  .card, .waitlist, .legal .beta-card, .legal ul.app-legal li { border-color: #8E8E93; }
}
@media (prefers-color-scheme: dark) and (prefers-reduced-transparency: reduce) {
  .site-header, .site-header::before { background: var(--surface-raised); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* <<< Offtimism Design v2 <<< */
