/* Gemeinsames Aussehen für Startseite (Sprachwahl), Impressum, Datenschutz und 404 –
   gleiche Farb-Tokens wie de/index.html und en/index.html. */
:root {
  --bg: #0f1218;
  --card: #1a202b;
  --line: #2a3242;
  --text: #e9edf4;
  --muted: #a3adbf;
  --accent: #3b8cff;
  --accent-2: #62c4ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); }
a:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

main { padding: 48px 0 64px; }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 28px; letter-spacing: -.01em; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { color: var(--muted); overflow-wrap: anywhere; }
strong { color: var(--text); }
address { font-style: normal; color: var(--text); }
.note { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 14px 18px; font-size: 15px; }

/* Sprachwahl / 404 */
.center { min-height: calc(100vh - 64px - 90px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 12px; border: 1px solid var(--line);
  color: var(--text); background: var(--card); font-weight: 650; text-decoration: none;
}
.btn:hover { border-color: #43506a; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f7de9; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
