/* ── Methodik & FAQ ───────────────────────────────────────────────────────────
   Gemeinsame Optik fuer info.html (DE) und info.en.html (EN). Bewusst eigene,
   schlanke Datei statt Wiederverwendung des App-CSS: die App-Styles sind auf das
   Panel-/Karten-Layout zugeschnitten, hier ist es eine Lesespalte. Tokens, Schrift,
   Theme-Mechanik (html[data-theme]) und Kopfzeile sind identisch zur App
   (web/index.html) — bei Aenderungen dort hier mitziehen. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-700.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --bg: #f6f5f0; --surface: #ffffff; --surface-2: #edece5;
  --ink: #1c2220; --ink-2: #48514d; --ink-3: #7a827d;
  --line: #d9d7ce; --bike: #1a8a3a; --bike-ink: #15672e; --bike-soft: #e2f0e4; --rail: #1c2220; --radler: #e6b92e;
  --miss-ink: #8a4b0f; --miss-soft: #fbe8d2;
  --r-sm: 4px; --r: 8px;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121514; --surface: #1a1e1c; --surface-2: #232826;
  --ink: #e8ebe7; --ink-2: #b3bbb6; --ink-3: #868f8a;
  --line: #323936; --bike: #3fbf6e; --bike-ink: #74d69a; --bike-soft: #183022; --rail: #c9cfcb; --radler: #dcb03a;
  --miss-ink: #f0b878; --miss-soft: #3a2a17;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }

header { position: relative; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 16px 7px; background: var(--surface); }
/* Unterkante = Gleis (Schiene + Schwellen), wie in der App. */
header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background: linear-gradient(var(--rail), var(--rail)) 0 0 / 100% 2.5px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 13px) 0 100% / 100% 4.5px no-repeat; }
header .top-bar { display: contents; }
/* Marke = Link zur Startseite (wie in der App): Bildmarke, Wortmarke + Beta, Unterzeile. */
.brand-home { display: flex; align-items: center; gap: 9px; min-width: 0; color: inherit; text-decoration: none;
  border-radius: var(--r); }
.brand-home:focus-visible { outline: 2px solid var(--bike); outline-offset: 3px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.brand-line { display: flex; align-items: center; gap: 7px; }
.wordmark { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.beta { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 4px; line-height: 1.5; }
.tagline { font-size: 12.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; margin-top: 3px; }
.brand-home:hover .tagline { color: var(--ink-2); }
@media (max-width: 600px) { .tagline { display: none; } }
/* Bildmarke „Umstieg": Schiene endet am Umstiegsring, gruene Radlinie steigt zum Zielpunkt. */
.brand-mark .bm-rail { fill: var(--rail); }
.brand-mark .bm-ties { fill: none; stroke: var(--surface); stroke-width: 1.7; }
.brand-mark .bm-ride { fill: none; stroke: var(--bike); stroke-width: 3.4; stroke-linecap: round; }
.brand-mark .bm-dot { fill: var(--bike); }
.brand-mark .bm-ring { fill: var(--surface); stroke: var(--rail); stroke-width: 2.6; }
.page-title { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; color: var(--ink); margin: 0 0 14px; }
.head-controls { display: flex; gap: 6px; flex: none; }
.head-btn { min-width: 34px; height: 32px; padding: 0 9px; font: 600 13px var(--font); background: transparent;
  color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.head-btn:hover { background: var(--surface-2); color: var(--ink); }
.head-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

main { max-width: 720px; margin: 0 auto; padding: 32px 18px 48px; }
.lead { font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--ink); margin: 0 0 30px; }
h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 40px 0 12px;
  padding-top: 18px; border-top: 1px solid var(--line); }
h2:first-of-type { border-top: none; padding-top: 0; }
h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); margin: 26px 0 6px; scroll-margin-top: 12px; }
p { margin: 0 0 12px; font-size: 16px; color: var(--ink-2); }
main p:last-child { margin-bottom: 0; }
.method p { margin-bottom: 16px; }
.method strong { color: var(--ink); font-weight: 600; }
/* Inhaltsverzeichnis der FAQ — auf einer langen Seite die schnellste Abkuerzung. */
.toc { margin: 0 0 8px; padding: 2px 0 2px 16px; border-left: 2px solid var(--line); }
.toc ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.85; }
.toc li::marker { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.note { margin: 20px 0 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--bike); font-size: 15px; color: var(--ink-2); }
code { background: var(--surface-2); border-radius: var(--r-sm); padding: 0 4px; font-size: 14px; }
/* Beispiel-Tags wie in der App (gleiche Farben/Form), damit die Erklaerung zur Optik passt. */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; line-height: 1.5;
  padding: 0 6px; border-radius: var(--r-sm); white-space: nowrap; vertical-align: 1px; }
.tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tag-good { background: var(--bike-soft); color: var(--bike-ink); }
.tag-miss { background: var(--miss-soft); color: var(--miss-ink); }

/* Werkstatt: Aenderungsliste, Datum links in fester Spalte. */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 6.8em 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line);
  font-size: 16px; color: var(--ink-2); }
.log li:first-child { border-top: none; padding-top: 2px; }
.log time { color: var(--ink-3); font-size: 14.5px; font-variant-numeric: tabular-nums; padding-top: 1px; }
@media (max-width: 480px) { .log li { grid-template-columns: 1fr; gap: 2px; } }

/* 404: der Wagen steht am Prellbock, der Krug ist leer. */
.nf { text-align: center; padding-top: 24px; }
.nf-art { width: min(300px, 80vw); height: auto; display: block; margin: 0 auto 22px; }
.nf-art .rail { fill: var(--rail); }
.nf-art .tie { fill: var(--line); }
.nf-art .car, .nf-art .stop { fill: var(--ink-2); }
.nf-art .wheel { fill: var(--bg); stroke: var(--ink-2); stroke-width: .9; }
.nf-art .spoke, .nf-art .glass { fill: none; stroke: var(--ink-2); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.nf-art .gbody { fill: var(--surface); }
.nf-art .drop { fill: var(--radler); }
.nf h1 { font-size: 24px; margin: 0 0 10px; }
.nf p { margin-left: auto; margin-right: auto; max-width: 30em; }

.site-foot { padding: 16px 18px; background: var(--bg); color: var(--ink-3); font-size: 12.5px; line-height: 1.6;
  border-top: 1px solid var(--line); }
.site-foot .inner { max-width: 720px; margin: 0 auto; }
.site-foot a { color: var(--ink-2); }
.site-foot strong { color: var(--ink-2); font-weight: 600; }
.site-foot p { margin: 5px 0; font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 760px) {
  main { padding: 22px 16px 36px; }
  h2 { font-size: 20px; }
  header h1 { font-size: 16px; }
  .lead { font-size: 17px; }
}
