/* RoadFitter — Landingpage
   Markentokens aus BikeFit/Report/FitPalette.swift, damit Web und App dieselbe Sprache
   sprechen. Kein Framework, keine externen Fonts, keine Tracker: die Seite laedt nichts
   von fremden Servern nach. Das ist kein Purismus, sondern haelt die Datenschutzerklaerung
   ehrlich kurz -- ohne Drittanbieter gibt es nichts zu erklaeren. */

:root {
  --steel900: #2b3440;
  --steel800: #232b36;
  --ink:      #0e131e;
  --paper:    #edf1f5;
  --muted:    #96a1b4;
  --sky:      #7bc4ff;
  --sky600:   #3a87bd;
  --green:    #22c55e;
  --line:     rgba(255, 255, 255, .11);
  --maxw:     980px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--steel900) 0%, var(--steel800) 60%, var(--ink) 100%);
  background-attachment: fixed;
  color: var(--paper);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Kopf ---------- */
header { padding: 34px 0 10px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand span { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.brand span i { color: var(--sky); font-style: normal; }

/* ---------- Aufmacher ---------- */
.hero { padding: 46px 0 8px; }
.hero h1 {
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 0 0 20px;
}
.hero .claim { color: var(--sky); display: block; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); color: #c6cfdd; margin: 0 0 30px; max-width: 40ch; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sky600); color: #fff; text-decoration: none;
  padding: 15px 26px; border-radius: 14px; font-weight: 650; font-size: 17px;
  transition: transform .15s ease, background .15s ease;
}
.cta:hover { background: #4a99d0; transform: translateY(-1px); }
.cta-note { color: var(--muted); font-size: 15px; margin-top: 14px; }

/* ---------- Bildreihe ---------- */
.shots {
  display: grid; gap: 18px; margin: 52px 0 8px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; display: block;
  border-radius: 16px; border: 1px solid var(--line);
}
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- Abschnitte ---------- */
section { padding: 52px 0; border-top: 1px solid var(--line); margin-top: 52px; }
section:first-of-type { border-top: 0; margin-top: 0; }
h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.02em; margin: 0 0 20px; }
h3 { font-size: 19px; margin: 30px 0 8px; }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.points li { padding-left: 30px; position: relative; color: #ccd5e2; }
.points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 11px; height: 11px; border-radius: 50%; background: var(--green);
}
.points b { color: var(--paper); font-weight: 650; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 74ch; }
.legal p, .legal li { color: #c6cfdd; }
.legal address { font-style: normal; margin: 6px 0 18px; line-height: 1.8; }
.legal a { color: var(--sky); }
.legal .note {
  border-left: 3px solid var(--sky600); padding: 12px 0 12px 18px;
  color: var(--muted); font-size: 15px; margin: 26px 0;
}

/* ---------- Fuss ---------- */
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 30px 0 56px; color: var(--muted); font-size: 15px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--sky); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  section { padding: 40px 0; margin-top: 40px; }
}

/* ---------- Sprachumschalter ---------- */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lang-switch { display: flex; gap: 2px; font-size: 14px; }
.lang-switch a {
  color: var(--muted); text-decoration: none; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 9px; line-height: 1;
}
.lang-switch a + a { margin-left: -1px; }
.lang-switch a[aria-current] { color: var(--paper); background: rgba(255,255,255,.08); }
.lang-switch a:hover { color: var(--paper); }
