/* Schriften lokal eingebunden: keine Verbindung zu Google oder anderen Drittanbietern */
@font-face { font-family: "Inter"; src: url("fonts/inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Layout: eine ruhige Spalte, Kennzahlen-Leiste oben, Stationen als Zeitleiste mit Datum links */
  --bg: #f5f7f8;
  --surface: #ffffff;
  --ink: #18232a;
  --muted: #5f6e75;
  --accent: #2f5566;
  --soft: #e8eff2;
  --line: #dbe3e6;
  --display: "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10171a; --surface: #172126; --ink: #e5ecee; --muted: #9aabb1;
    --accent: #82b4c8; --soft: #1d2f36; --line: #29383e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10171a; --surface: #172126; --ink: #e5ecee; --muted: #9aabb1;
  --accent: #82b4c8; --soft: #1d2f36; --line: #29383e; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 880px; margin: 0 auto; padding: 56px 24px 40px; display: grid; gap: 56px; }

/* Kopf */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 2px solid var(--accent); }
.hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.hero h1 span { font-weight: 300; color: var(--accent); }
.headline { margin: 14px 0 0; color: var(--accent); font-weight: 600; font-size: 1.08rem; }
.contact { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 0.95rem; }
.photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; }

.label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.profile { font-size: 1.12rem; line-height: 1.7; max-width: 65ch; margin: 0; }

/* Kennzahlen */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { background: var(--soft); border-radius: 10px; padding: 18px 18px 16px; }
.kpi b { display: block; font-family: var(--display); font-size: 1.75rem; font-weight: 800; color: var(--accent); line-height: 1.1; letter-spacing: -0.01em; }
.kpi span { display: block; margin-top: 6px; font-size: 0.86rem; color: var(--muted); line-height: 1.4; }

/* Stationen */
.timeline { display: grid; gap: 32px; }
.job { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
.date { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; padding-top: 3px; }
.job h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.co { color: var(--accent); font-weight: 500; font-size: 0.95rem; margin: 2px 0 10px; }
.job li, .list li { position: relative; padding-left: 18px; margin-top: 6px; }
.job li::before, .list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.job li strong { font-weight: 600; }
.current { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--accent); color: var(--bg); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 3px; }

/* Arbeitszeugnisse */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.doc { display: grid; gap: 4px; padding: 16px 18px 16px 52px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; position: relative; }
.doc::before { content: "PDF"; position: absolute; left: 14px; top: 16px; width: 28px; height: 34px; border-radius: 3px; background: var(--soft); color: var(--accent); font-size: 0.62rem; font-weight: 700; display: grid; place-items: end center; padding-bottom: 4px; }
.doc:hover { border-color: var(--accent); }
.doc b { font-weight: 600; }
.doc span { color: var(--muted); font-size: 0.86rem; }

/* Kompetenzen */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.group + .group { margin-top: 20px; }
.group h3 { font-size: 0.88rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 4px 11px; font-size: 0.88rem; }

/* Fußzeile */
footer { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--muted); font-size: 0.88rem; }
footer nav { display: flex; gap: 20px; }

/* Rechtstexte */
.legal { max-width: 70ch; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.01em; margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.legal p { margin: 0 0 12px; }
.back { font-size: 0.92rem; }

@media (max-width: 720px) {
  .wrap { padding-top: 36px; gap: 44px; }
  .hero { flex-direction: column-reverse; align-items: flex-start; }
  .photo { width: 112px; height: 112px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media print {
  body { background: #fff; }
  .kpi { background: #eef3f5; }
}
