/* Fitness Coach — Landing Page, Design „Modern" (Split)
   Einziges Design der Seite: legt sich über style.css (Layout), jede Regel
   greift über `<html class="modern">`, das alle Seiten fest tragen.
   Tokens = Modern-Palette „Gold" der App (lib/ui/theme/modern_colors.dart),
   hell oder dunkel nach Systemeinstellung. */

/* Archivo, selbst gehostet (SIL OFL, assets/fonts/ARCHIVO-OFL.txt) — kein
   Abruf bei Google. Variabel: Stärke 100–900, Breite 62–125 %. Der Browser
   lädt die Datei nur, wenn Modern aktiv ist. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, 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;
}

/* ---------- Tokens ---------- */

.modern {
  --bg: #F1EEE7;
  --surface: #FFFFFF;
  --surface-2: #F7F4EE;
  --surface-3: #E8E3D8;
  --line: rgba(40, 32, 12, 0.11);
  --line-2: rgba(40, 32, 12, 0.06);
  --text: #1B1812;
  --text-2: #686253;
  --text-3: #9D9684;
  --accent: #D9A21F;
  --accent-ink: #8A6508;
  --on-accent: #1C1504;
  --accent-soft: #F7EBC8;
  --score-bg: #1B1812;
  --score-text: #F7F2E4;
  --score-2: #A9A08A;
  --score-line: rgba(255, 240, 200, 0.13);
  --score-accent: #F2BE2E;
  --pos: #23874D;
  --pos-soft: #DDF0E3;
  --m-protein: #E0602A;
  --m-carb: #6F9A14;
  --m-fat: #7A55D6;
  --water: #12857E;
  --e1: 0 1px 2px rgba(20, 18, 12, 0.05), 0 10px 28px -16px rgba(20, 18, 12, 0.22);
  --edge: 0 0 0 0 transparent;

  /* Classic-Namen, die style.css noch liest */
  --background: var(--bg);
  --surface-variant: var(--surface-2);
  --surface-sunken: var(--surface-3);
  --hairline: var(--line);
  --text-secondary: var(--text-2);
  --text-tertiary: var(--text-3);
  --accent-strong: #B8861A;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  .modern {
    --bg: #0E0D0B;
    --surface: #181714;
    --surface-2: #211F1B;
    --surface-3: #2B2924;
    --line: rgba(255, 240, 205, 0.11);
    --line-2: rgba(255, 240, 205, 0.06);
    --text: #F4F0E6;
    --text-2: #A8A191;
    --text-3: #6E685B;
    --accent: #F2BE2E;
    --accent-ink: #F2BE2E;
    --on-accent: #171103;
    --accent-soft: rgba(242, 190, 46, 0.14);
    --score-bg: #201E1A;
    --score-text: #F4F0E6;
    --score-2: #A8A191;
    --score-line: rgba(255, 240, 205, 0.1);
    --score-accent: #F2BE2E;
    --pos: #5FD08F;
    --pos-soft: rgba(95, 208, 143, 0.14);
    --m-protein: #FF8A55;
    --m-carb: #B5DB55;
    --m-fat: #B08CFF;
    --water: #42DDD3;
    --e1: none;
    --edge: inset 0 0 0 1px var(--line-2);
    --accent-strong: #D9A81A;
    color-scheme: dark;
  }
}

/* ---------- Grundlagen ---------- */

.modern body {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
.modern a { color: var(--accent-ink); }
.modern ::selection { background: var(--accent); color: var(--on-accent); }

/* Schmal und schwer: Zahlen und Titel. Breit und gesperrt: Labels. */
.modern .hero h1,
.modern .section-head h2,
.modern .cta h2,
.modern .detail-row h3,
.modern .feature-card h3,
.modern .legal h1,
.modern .legal h2,
.modern .num {
  font-stretch: 70%;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.modern .eyebrow,
.modern .label,
.modern .main-nav > a,
.modern .hero-kicker {
  font-stretch: 118%;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.modern .num { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */

.modern .site-header {
  background: color-mix(in oklab, var(--bg), transparent 12%);
  border-bottom: 1px solid var(--line);
}
.modern .brand img { height: 34px; }
.modern .main-nav { gap: 24px; }
.modern .main-nav > a { color: var(--text-2); }
.modern .main-nav > a:hover { color: var(--text); }

.modern .lang-switch {
  border: 0;
  background: var(--surface-3);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.modern .lang-switch a,
.modern .lang-switch span {
  border-radius: 7px;
  padding: 4px 10px;
  font-stretch: 110%;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.modern .lang-switch a { color: var(--text-2); }
.modern .lang-switch a:hover { color: var(--text); }
.modern .lang-switch .active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.modern .store-btn {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--e1);
  padding: 12px 20px;
}
.modern .store-btn:hover { border-color: var(--text-3); transform: translateY(-2px); }
.modern .store-btn svg { fill: var(--text); }
.modern .store-btn .small { color: var(--text-2); font-stretch: 110%; letter-spacing: 0.04em; }
.modern .store-btn .big { font-weight: 700; }
.modern .store-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}
.modern .store-btn.primary:hover { background: var(--accent-strong); }
.modern .store-btn.primary svg { fill: var(--on-accent); }
.modern .store-btn.primary .small,
.modern .store-btn.primary .big { color: var(--on-accent); }

/* ---------- Hero ---------- */

.modern .hero {
  text-align: left;
  background: var(--bg);
  padding: 72px 0 56px;
}
.modern .hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "kicker phone"
    "title  phone"
    "lead   phone"
    "store  phone";
  grid-template-rows: auto auto auto 1fr;
  column-gap: 56px;
  align-items: start;
}
.modern .hero-kicker {
  grid-area: kicker;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
  margin: 24px 0 18px;
}
.modern .hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.modern .hero h1 {
  grid-area: title;
  font-size: clamp(3rem, 7.2vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 850;
  margin: 0 0 26px;
  max-width: none;
}
.modern .hero h1 em { color: var(--accent); }
.modern .hero p.lead {
  grid-area: lead;
  margin: 0 0 34px;
  color: var(--text-2);
  font-size: 1.14rem;
  max-width: 560px;
}
.modern .hero .store-buttons {
  grid-area: store;
  justify-content: flex-start;
}
.modern .hero-phone {
  grid-area: phone;
  display: block;
  justify-self: center;
}

/* Lauflinie unter dem Hero: Skala mit Strichen alle 10 und 100 px. */
.modern .hero::after {
  content: "";
  display: block;
  max-width: var(--max-width);
  height: 14px;
  margin: 64px auto 0;
  background:
    linear-gradient(var(--text-3), var(--text-3)) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--text-3) 0 1px, transparent 1px 100px) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat;
  width: calc(100% - 48px);
}

/* ---------- Telefon im Hero ---------- */

.phone {
  width: 300px;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(145deg, #2a2a2a, #0c0c0c 40%, #1b1b1b);
  box-shadow: 0 0 0 1.5px #3a3a3a, 0 40px 80px -30px rgba(0, 0, 0, 0.45), 0 18px 30px -18px rgba(0, 0, 0, 0.35);
}
.phone-screen {
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  padding: 44px 16px 0;
  position: relative;
  font-size: 13px;
  line-height: 1.35;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: #000;
}
.app-kicker { color: var(--accent-ink); font-size: 0.6rem; }
.app-title {
  font-stretch: 70%;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  margin: 4px 0 12px;
}
.lanes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; }
.lanes i {
  display: block;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(to top, var(--accent) var(--h, 0%), var(--surface-3) var(--h, 0%));
}
.lanes i.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lanes i.future { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* Anzeigetafel */
.board {
  background: var(--score-bg);
  color: var(--score-text);
  border-radius: 20px;
  padding: 14px;
  position: relative;
}
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 39px, var(--score-line) 39px 40px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.board .label { color: var(--score-2); font-size: 0.56rem; }
.board-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; position: relative; }
.bezel { position: relative; width: 96px; height: 96px; flex: none; }
.bezel svg { width: 100%; height: 100%; display: block; overflow: visible; }
.bezel line { stroke: var(--score-line); stroke-width: 2.4; stroke-linecap: round; }
.bezel line.on { stroke: var(--score-accent); }
.bezel .mid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bezel .mid .num { font-size: 22px; line-height: 1; }
.bezel .mid .label { font-size: 0.5rem; letter-spacing: 0.08em; margin-top: 2px; }
.metrics { flex: 1; display: grid; gap: 8px; }
.metric .row { display: flex; justify-content: space-between; align-items: baseline; }
.metric .num { font-size: 11px; font-stretch: 82%; font-weight: 700; }
.metric .of { color: var(--score-2); }
.tape { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); margin-top: 4px; overflow: hidden; }
.tape i { display: block; height: 100%; width: var(--v); background: var(--c, var(--score-accent)); }

/* Tagesfahrplan */
.plan { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.plan::before { content: ""; position: absolute; left: 45px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.plan li { display: grid; grid-template-columns: 36px 18px 1fr; column-gap: 6px; align-items: center; padding: 4px 0; }
.plan time { font-stretch: 84%; font-weight: 650; font-size: 10.5px; color: var(--text-3); text-align: right; }
.plan .node { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); justify-self: center; position: relative; z-index: 1; box-shadow: 0 0 0 3px var(--bg); }
.plan .node.open { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--text-3), 0 0 0 3px var(--bg); }
.plan .node.now { width: 11px; height: 11px; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan .c { display: flex; justify-content: space-between; color: var(--text-2); }
.plan .c .num { font-size: 11px; font-stretch: 82%; font-weight: 700; color: var(--text-3); }
.plan .now-card {
  background: var(--surface);
  box-shadow: var(--e1), var(--edge);
  border-radius: 14px;
  padding: 10px 12px;
}
.now-card .label { color: var(--accent-ink); font-size: 0.55rem; }
.now-card .title { font-stretch: 70%; font-weight: 800; font-size: 20px; line-height: 1.1; }
.mini-btn {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 11.5px;
}
.mini-btn svg { width: 12px; height: 12px; }

/* Tab-Leiste */
.tabbar {
  margin: 12px -16px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 56px;
  padding-bottom: 6px;
  color: var(--text-3);
}
.tabbar span { display: flex; justify-content: center; }
.tabbar span.on { color: var(--text); }
.tabbar .plus {
  width: 40px;
  height: 32px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  align-items: center;
  margin: 0 auto;
}
.glyph {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Abschnitte ---------- */

.modern section { padding: 96px 0; }
.modern .section-alt { background: var(--surface-2); }
/* Im Dunkeln trennt eine zweite Fläche kaum — die Tafel verschwände darin.
   Dort gliedern nur die Linien. */
@media (prefers-color-scheme: dark) {
  .modern .section-alt { background: var(--bg); border-block: 1px solid var(--line); }
}
.modern .section-head {
  text-align: left;
  max-width: 820px;
  margin: 0 0 48px;
}
.modern .section-head h2 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 0.95;
  margin-bottom: 14px;
}
.modern .section-head p { color: var(--text-2); font-size: 1.05rem; max-width: 620px; }
.modern .eyebrow { color: var(--accent-ink); margin-bottom: 14px; }

/* Funktionen: Linien statt Karten, nummeriert */
.modern .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: feature;
  border-top: 1px solid var(--line);
}
.modern .feature-card {
  counter-increment: feature;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 28px 34px 0;
  position: relative;
}
.modern .feature-card:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.modern .feature-card::after {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 26px;
  right: 24px;
  font-stretch: 62%;
  font-weight: 850;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-3);
}
.modern .feature-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  margin-bottom: 20px;
}
.modern .feature-card .icon .glyph { display: block; width: 22px; height: 22px; }
.modern .feature-card h3 { font-size: 1.55rem; line-height: 1.05; margin-bottom: 10px; }
.modern .feature-card p { color: var(--text-2); font-size: 0.95rem; }

/* Im Detail */
.modern .detail-row {
  border-bottom: 1px solid var(--line);
  gap: 64px;
  padding: 56px 0;
}
.modern .detail-row h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1; margin-bottom: 14px; }
.modern .detail-row p { color: var(--text-2); }
.modern .detail-row ul li { color: var(--text-2); padding-left: 30px; }
.modern .detail-row ul li::before {
  content: "";
  top: 0.8em;
  width: 16px;
  height: 2px;
  background: var(--accent);
}
.modern .detail-visual {
  background: none;
  border: 0;
  min-height: 0;
  display: block;
  font-size: inherit;
}

/* Miniaturen der App in „Im Detail" */
.mock {
  display: block;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--e1), var(--edge);
  padding: 24px;
  color: var(--text);
}
.mock .label { color: var(--text-3); font-size: 0.62rem; }
.mock-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mock .hero-num { font-stretch: 62%; font-weight: 850; font-size: 64px; line-height: 0.9; }
.mock .unit { font-stretch: 112%; font-weight: 600; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--text-3); margin-left: 4px; }
.mock .kv { display: grid; gap: 8px; text-align: right; }
.mock .kv .num { font-size: 18px; display: block; line-height: 1; font-stretch: 78%; }
.rail {
  display: flex;
  height: 12px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-3);
  margin: 20px 0 16px;
  position: relative;
}
.rail i { display: block; width: var(--w); background: var(--c); }
.rail i + i { box-shadow: inset 2px 0 0 var(--surface); }
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.macros .mk { display: block; width: 16px; height: 3px; border-radius: 2px; background: var(--c); margin-bottom: 8px; }
.macros .num { font-size: 22px; line-height: 1.1; display: block; margin-top: 4px; font-stretch: 72%; }
.macros .of { color: var(--text-3); font-size: 0.72em; }
.macros small { color: var(--text-2); font-size: 0.78rem; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-stretch: 110%;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pos-soft);
  color: var(--pos);
}
.chart { display: block; width: 100%; height: auto; margin-top: 16px; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; }
.chart .goal { stroke: var(--text); stroke-width: 1.2; stroke-dasharray: 2 3; opacity: 0.6; }
.chart .cone { fill: var(--accent-soft); }
.chart .fc { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 3 4; fill: none; }
.chart .area { fill: var(--accent); opacity: 0.08; }
.chart .trend { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chart .now { fill: var(--surface); stroke: var(--accent); stroke-width: 2.6; }
.chart text { fill: var(--text-3); font: 600 10px "Archivo", sans-serif; font-stretch: 90%; }
.mock.board-mock { background: var(--score-bg); color: var(--score-text); box-shadow: none; }
.board-mock .label { color: var(--score-2); }
.board-mock .title { font-stretch: 70%; font-weight: 850; font-size: 46px; line-height: 1; margin: 8px 0 14px; }
.ledger { display: grid; }
.ledger div {
  display: grid;
  grid-template-columns: 1fr 52px 84px;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--score-line);
  font-size: 0.95rem;
  align-items: baseline;
}
.ledger div > :nth-child(n+2) { text-align: right; font-stretch: 82%; font-weight: 700; font-variant-numeric: tabular-nums; }
.ledger .up { color: var(--score-accent); }
.ledger em { font-style: normal; font-size: 0.7rem; margin-left: 4px; padding: 1px 4px; border-radius: 4px; background: color-mix(in oklab, var(--score-accent), transparent 78%); }
.board-mock .mini-btn { height: 46px; font-size: 0.95rem; margin-top: 18px; background: var(--score-accent); color: var(--score-bg); }
.board-mock .mini-btn svg { width: 16px; height: 16px; }

/* Gemeinsam stärker: Startnummern */
.modern #community .feature-grid { gap: 16px; border: 0; counter-reset: none; }
.modern #community .feature-card {
  counter-increment: none;
  background: var(--surface);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--e1), var(--edge);
  padding: 34px 28px 30px;
}
.modern #community .feature-card:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 0; }
.modern #community .feature-card::after { content: none; }
/* Vier Stanzlöcher, wie auf dem Lauf-Bib */
.modern #community .feature-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--bg) 3.5px, transparent 4px) top left / 8px 8px no-repeat,
    radial-gradient(circle, var(--bg) 3.5px, transparent 4px) top right / 8px 8px no-repeat,
    radial-gradient(circle, var(--bg) 3.5px, transparent 4px) bottom left / 8px 8px no-repeat,
    radial-gradient(circle, var(--bg) 3.5px, transparent 4px) bottom right / 8px 8px no-repeat;
}
.modern #community .feature-card .icon { background: var(--accent); color: var(--on-accent); }

/* CTA als Anzeigetafel */
.modern .cta { background: var(--bg); text-align: left; padding: 40px 0 96px; }
.modern .cta .container {
  background: var(--score-bg);
  color: var(--score-text);
  border-radius: 30px;
  padding: 64px 56px;
  position: relative;
  max-width: calc(var(--max-width) - 48px);
}
.modern .cta .container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 63px, var(--score-line) 63px 64px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.modern .cta h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 0.95; position: relative; }
.modern .cta p { color: var(--score-2); margin: 0 0 32px; position: relative; }
.modern .cta .store-buttons { justify-content: flex-start; position: relative; }
.modern .cta .store-btn:not(.primary) {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--score-line);
  box-shadow: none;
  color: var(--score-text);
}
.modern .cta .store-btn:not(.primary) svg { fill: var(--score-text); }
.modern .cta .store-btn:not(.primary) .small { color: var(--score-2); }
.modern .cta .store-btn.primary { background: var(--score-accent); border-color: var(--score-accent); }
.modern .cta .store-btn.primary svg { fill: var(--score-bg); }
.modern .cta .store-btn.primary .small,
.modern .cta .store-btn.primary .big { color: var(--score-bg); }

/* Footer */
.modern .site-footer { border-top: 1px solid var(--line); color: var(--text-3); }
.modern .footer-links a { color: var(--text-2); }

/* Rechtstexte */
.modern .legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 0.95; margin-bottom: 28px; }
.modern .legal h2 { font-size: 1.7rem; line-height: 1.05; }
.modern .legal h3 { font-weight: 700; }
.modern .legal p,
.modern .legal li { color: var(--text-2); }
.modern .legal .placeholder { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Schmal ---------- */

@media (max-width: 900px) {
  .modern .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas: "kicker" "title" "lead" "store" "phone";
  }
  .modern .hero-phone { margin-top: 56px; }
  .modern .feature-grid { grid-template-columns: 1fr; }
  .modern .feature-card:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .modern .feature-card { padding-right: 64px; }
  .modern #community .feature-card:not(:nth-child(3n + 1)) { padding-left: 28px; }
}

@media (max-width: 760px) {
  .modern .main-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .modern .nav-toggle { border-color: var(--line); color: var(--text); }
  .modern section { padding: 64px 0; }
  .modern .hero { padding: 40px 0 40px; }
  .modern .cta .container { padding: 44px 26px; }
  .modern .mock { padding: 20px; }
  .modern .mock .hero-num { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .modern .store-btn { transition: none; }
}
