:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #1c1b22;
  --muted: #5c5b66;
  /* Grün aus dem App-Icon (wie palette.brand in dashboard_style.dart) */
  --accent: #1f7a4d;
  --accent-soft: #e2f4ea;
  --border: #e3e2ea;
  --danger: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131318;
    --surface: #1c1c23;
    --text: #e6e5ee;
    --muted: #a3a2ad;
    --accent: #5be49b;
    --accent-soft: #1d3329;
    --border: #2d2d36;
    --danger: #ffb4ab;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.brand .name span { color: var(--accent); }
nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 1.2rem; margin: 32px 0 8px; }
h3 { font-size: 1.02rem; margin: 20px 0 4px; }
p, li { color: var(--text); }
.lead { color: var(--muted); margin-top: 0; }
a { color: var(--accent); }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0;
}
.card.note { background: var(--accent-soft); border-color: transparent; }
.card.warn { border-left: 4px solid var(--danger); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--surface);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 20px; }
.tiles a {
  display: block; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
}
.tiles a strong { display: block; margin-bottom: 2px; }
.tiles a span { color: var(--muted); font-size: .92rem; }
footer { max-width: 760px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: .88rem; }
footer a { color: var(--muted); }
address { font-style: normal; }
