@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(outfit.woff2) format('woff2');
}

:root {
  --plum: #856186;
  --navy: #101a3c;
  --cream: #f7f3ec;
  --plum-soft: #c9aecb;   /* Plum aufgehellt, für Text auf Navy */
  --ink-muted: #5d5a6b;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--cream); }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- Kopf: Pokéball-Hälften, Logo sitzt auf dem Äquator ---------- */
.hero {
  position: relative;
  background: var(--navy);
  height: 170px;
  margin-bottom: 92px;
}
.hero::before {           /* weiches Plum-Glühen oben rechts */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px 260px at 85% 0%, rgba(133, 97, 134, .55), transparent 70%);
}
.hero::after {            /* Äquator */
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 6px;
  background: var(--plum);
}
.avatar {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translate(-50%, 50%);
  width: 172px; height: 172px;
  border-radius: 50%;
  padding: 6px;
  background: var(--navy);
  box-shadow: 0 0 0 6px var(--cream);
  z-index: 1;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; display: block; }

/* ---------- Inhalt ---------- */
main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 40px;
  flex: 1;
}
.intro { text-align: center; margin-bottom: 32px; }
h1 { font-size: 44px; font-weight: 900; letter-spacing: -.025em; line-height: 1; }
h1 .sep { font-weight: 400; color: var(--plum); opacity: .6; }
h1 .first { color: var(--plum); }
.role {
  margin-top: 10px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--plum);
}

.links { list-style: none; display: grid; gap: 12px; }
.link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  min-height: 60px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.link svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.link .name { font-weight: 700; font-size: 17px; }
.link .handle { margin-left: auto; font-size: 14px; color: var(--plum-soft); transition: color .18s ease; }
.link:hover { background: var(--plum); transform: translateY(-2px); }
.link:hover .handle { color: var(--cream); }
.link:active { transform: translateY(0); }
.link:focus-visible, .contact a:focus-visible, footer a:focus-visible {
  outline: 3px solid var(--plum); outline-offset: 3px;
}

/* ---------- Kontakt ---------- */
.contact {
  margin-top: 34px;
  padding: 26px 20px 0;
  border-top: 1px solid rgba(16, 26, 60, .12);
  text-align: center;
}
.contact h2 { font-size: 15px; font-weight: 700; color: var(--ink-muted); letter-spacing: .01em; }
.contact p { margin-top: 4px; color: var(--ink-muted); font-size: 14px; line-height: 1.45; }
.contact .mail {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(16, 26, 60, .16);
  color: var(--navy);
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .18s ease, color .18s ease;
}
.contact .mail svg { width: 18px; height: 18px; flex: none; }
.contact .mail:hover { border-color: var(--plum); color: var(--plum); }

/* ---------- Fuß ---------- */
footer {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}
footer nav { display: flex; justify-content: center; gap: 18px; margin-bottom: 6px; }
footer a { text-decoration: none; font-weight: 600; color: var(--navy); }
footer a:hover { color: var(--plum); }

/* ---------- Rechtstexte ---------- */
.legal .hero { height: 96px; margin-bottom: 36px; }
.legal main { max-width: 680px; }
.legal h1 { font-size: 36px; margin-bottom: 24px; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: #2b2f45; }
.legal ul { padding-left: 20px; }
.legal main a { color: var(--plum); font-weight: 600; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 600; text-decoration: none; color: var(--plum); }
.todo { background: #f3e39a; padding: 0 4px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (max-width: 420px) {
  .intro h1 { font-size: 36px; }
}
@media (max-width: 340px) {
  .link .handle { display: none; }
}
