:root {
  color-scheme: dark;
  --bg: #090d18;
  --panel: #111827;
  --text: #f5f7ff;
  --muted: #a4aec4;
  --line: rgba(205, 218, 255, .13);
  --mint: #a5f2d2;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 10%, rgba(80, 93, 196, .16), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: white; }
.wrap { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
header { padding: 27px 0; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-weight: 700; text-decoration: none; }
.brand span { color: #a9c2ff; }
main { padding: 58px 0 78px; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 6vw, 48px); line-height: 1.1; letter-spacing: -.05em; }
h2 { margin: 36px 0 10px; font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
h3 { margin: 24px 0 8px; font-size: 17px; }
p, li { color: #c4ccda; }
p { margin: 10px 0; }
ul { padding-left: 23px; }
li { margin: 5px 0; }
.lead { color: var(--muted); margin: 0 0 28px; }
.draft {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 191, 102, .42);
  border-radius: 14px;
  background: rgba(255, 171, 71, .08);
  color: #ffe0ad;
}
.draft strong { display: block; margin-bottom: 6px; color: #ffce83; }
.draft p, .draft li { color: #f2d9b4; font-size: 14px; }
.card {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); font-size: 14px; }
.back { display: inline-block; margin-top: 38px; color: var(--mint); text-decoration: none; }
footer { padding: 20px 0 30px; border-top: 1px solid var(--line); color: #8995aa; font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; }
@media (max-width: 560px) {
  main { padding-top: 38px; }
  .footer-row { flex-direction: column; }
}

/* Sprachumschalter (Ergänzung) */
header .wrap { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.language-control { margin-left:auto; flex-shrink:0; }
#language-switcher { appearance:auto; background:#172238; color:#f5f7ff; border:1px solid rgba(205,218,255,.28); border-radius:10px; padding:9px 12px; font:inherit; font-size:13px; cursor:pointer; }
.translation-notice:not([hidden]) { border:1px solid rgba(165,242,210,.3); border-radius:10px; padding:12px 16px; color:#c4ccda; }
