/* Gemeinsame Gestaltung für Impressum und Datenschutzerklärung (Tokens wie auf der Startseite) */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --tint: #e9f3f2;
  --fg: #16302f;
  --muted: #5b6e6c;
  --line: #e4ebe9;
  --petrol: #0f6670;
  --orange: #f07a35;
  --mark: #ffd84d;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1a1b; --surface: #162425; --tint: #1b2f30; --fg: #eaf2f1; --muted: #9db3b1; --line: #26393a;
    --petrol: #4fc1c7; --orange: #ff9a5c; --mark: #e0b82e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1a1b; --surface: #162425; --tint: #1b2f30; --fg: #eaf2f1; --muted: #9db3b1; --line: #26393a;
  --petrol: #4fc1c7; --orange: #ff9a5c; --mark: #e0b82e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 1rem; line-height: 1.7;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--petrol); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 12px; }

.page { max-width: 820px; margin: 0 auto; padding-block: 24px 48px; display: grid; gap: 32px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.brand b { color: var(--orange); }
.back { font-weight: 700; text-decoration: none; color: var(--petrol); background: var(--tint); border-radius: 999px; padding: 9px 18px; font-size: .95rem; }
.back:hover { background: var(--petrol); color: var(--bg); }

.eyebrow { font-weight: 700; color: var(--orange); margin: 0 0 8px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.2rem); letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }

.legal-body {
  color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(22px, 5vw, 40px);
}
.legal-body > * { max-width: 68ch; }
.legal-body h2 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--fg); margin: 30px 0 6px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin: 0 0 12px; }
.legal-body ul { padding-left: 20px; }
.legal-date { font-size: .85rem; margin-top: 28px !important; }
.todo { background: var(--mark); color: #141a26; border-radius: 3px; padding: 0 4px; }

footer { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 8px; }
footer a { color: var(--muted); }
footer [aria-current="page"] { color: var(--fg); text-decoration: none; font-weight: 700; }
