:root {
  --bg: #0a0a0a;
  --bg-alt: #111;
  --fg: #f5f5f5;
  --fg-dim: #c8c8c8;
  --fg-muted: #8a8a8a;
  --fg-faint: #5a5a5a;
  --border: #222;
  --border-subtle: #1a1a1a;
  --accent: #e5e5e5;
  --container: 760px;
  --ff-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--fg-faint); text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
a:hover { text-decoration-color: var(--fg); }

h1, h2, h3 { font-weight: 300; letter-spacing: -.015em; line-height: 1.15; }
h1 { font-size: 2.5rem; margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 500; }
h3 { font-size: 1rem; margin: 1rem 0 .5rem; }
p { margin: 0 0 1rem; color: var(--fg-dim); }

main { flex: 1; padding: 5rem 1.5rem 3rem; }
.wrap { max-width: var(--container); margin: 0 auto; }

/* -------- Hero -------- */
.hero { display: flex; gap: 2.5rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-portrait { flex: 0 0 200px; }
.hero-portrait img { display: block; width: 100%; height: auto; border-radius: 50%; filter: grayscale(100%) contrast(1.05); border: 1px solid var(--border); }
.hero-portrait .placeholder { width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--fg-faint); font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-text { flex: 1 1 300px; }
.hero-text .role { color: var(--fg-muted); font-family: var(--ff-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: .75rem; }
.hero-text .bio { color: var(--fg-dim); font-size: 1.02rem; margin-top: 1.25rem; }
.hero-text .bio p { margin: 0 0 1rem; }
.hero-text .bio p:last-child { margin-bottom: 0; }

/* -------- Links -------- */
.links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-family: var(--ff-mono); font-size: .85rem; }
.links a { text-decoration: none; color: var(--fg-dim); padding-bottom: 2px; border-bottom: 1px solid var(--border); }
.links a:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* -------- Impressum / Datenschutz layout -------- */
.legal h1 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.legal h2 { margin-top: 2rem; }
.legal p { font-size: .95rem; }
.legal strong { color: var(--fg); font-weight: 500; }
.legal .notice { padding: .85rem 1rem; border-left: 2px solid var(--fg-faint); background: var(--bg-alt); font-size: .88rem; color: var(--fg-muted); margin: 1.25rem 0; }
.legal .back { display: inline-block; color: var(--fg-muted); font-family: var(--ff-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 2px; }
.legal .back:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
  padding: 2.25rem 1.5rem 2rem;
  color: var(--fg-muted);
  font-size: .82rem;
  font-family: var(--ff-mono);
}
.site-footer .footer-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.site-footer a { color: var(--fg-muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.site-footer .footer-copyright { color: var(--fg-faint); }
.site-footer .sep { color: var(--fg-faint); opacity: .7; }

.motto { margin-top: 2rem; padding-top: 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; color: var(--fg); letter-spacing: .005em; }
.motto em { font-style: italic; }
.motto .motto-gloss { display: block; margin-top: .35rem; font-family: var(--ff-mono, ui-monospace, monospace); font-size: .8rem; font-style: normal; color: var(--fg-muted); letter-spacing: .02em; }

@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  main { padding: 3rem 1.25rem 2rem; }
  .hero { gap: 1.5rem; }
  .hero-portrait, .hero-portrait .placeholder { flex-basis: 160px; width: 160px; height: 160px; }
  .motto { font-size: 1.1rem; }
}
