@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-variable.woff2") format("woff2"),
       url("assets/fonts/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --bg: #f1efea;
  --fg: #111111;
  --muted: #6b6a66;
  --line: rgba(17, 17, 17, 0.08);
  --surface: #ffffff;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--body);
  min-height: 100svh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, .logo { font-family: var(--display); text-transform: uppercase; line-height: 1; font-weight: 500; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Hintergrund-Rasterlinien */
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px);
}
.grid-lines span { border-left: 1px solid var(--line); }
.grid-lines span:last-child { position: absolute; right: clamp(16px, 4vw, 48px); top: 0; bottom: 0; }

/* Karte */
.card {
  position: relative; z-index: 1;
  max-width: 560px; margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  display: grid; gap: 40px;
  animation: rise .6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.profile { text-align: center; display: grid; justify-items: center; gap: 10px; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--fg);
}
.profile h1 { font-size: clamp(36px, 9vw, 48px); }
.tagline { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--muted); }
.bio { max-width: 42ch; color: #333; }
.availability { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

h2 {
  font-size: 14px; letter-spacing: .14em; color: var(--muted); font-family: var(--body);
  text-align: center; margin-bottom: 14px;
}

/* Link-Buttons */
.links { display: grid; gap: 12px; }
.link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 14px 22px;
  background: var(--surface); border: 1px solid var(--fg); border-radius: 999px;
  text-decoration: none; font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease, background .15s, color .15s;
}
.link::after { content: "↗"; font-size: 18px; flex: none; }
.link span { flex: 1; }
.link small { color: var(--muted); font-weight: 400; font-size: 13px; white-space: nowrap; }
.link:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--fg); }
.link:active { transform: none; box-shadow: none; }
.link.primary { background: var(--fg); color: var(--bg); }
.link.primary small { color: #b9b7b0; }
.link.primary:hover { box-shadow: 4px 4px 0 var(--muted); }
@media (max-width: 420px) { .link small { display: none; } }

.services { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.services li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); font-size: 14px; }

.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--muted);
}

/* Unterseiten (Impressum, Datenschutz) */
.nav { position: relative; z-index: 2; padding: 16px clamp(16px, 4vw, 48px); }
.logo { font-size: 26px; text-decoration: none; }
.legal { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 96px; }
.legal h1 { font-size: clamp(40px, 8vw, 72px); margin-bottom: 32px; }
.legal h2 { font-family: var(--display); font-size: 26px; color: var(--fg); letter-spacing: 0; text-align: left; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { margin-bottom: 12px; color: #333; }
.back { display: inline-block; margin-bottom: 28px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
