/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* Layout: der Name als Plakat oben und unten wie im PDF, dazwischen ein ruhiges Raster aus Zeitspalte und Inhalt */
  --blue: #0042FF;
  --ink: #0B1026;
  --muted: #4B5375;
  --mist: #EEF2FF;
  --line: #D6DDF7;
  --paper: #FFFFFF;
  --on-blue-soft: #DCE4FF;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --meta-col: 220px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.band :focus-visible { outline-color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Riesenname ---------- */
.giant {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 112%;
  font-size: 17vw;
  line-height: .8;
  letter-spacing: -.035em;
  color: var(--blue);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  padding-top: .06em;
}
.fit-inner { display: inline-block; }
.ch { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes rise { from { transform: translateY(90%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ch { animation: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(10px, 2vw, 22px); }
.hero-grid {
  display: grid;
  grid-template-columns: var(--meta-col) minmax(0, 1fr) 300px;
  gap: 32px 48px;
  margin-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(36px, 5vw, 60px);
  align-items: start;
}
.portrait { width: 100%; aspect-ratio: 307 / 368; object-fit: cover; }
.eyebrow {
  margin: 0 0 14px;
  font-style: italic;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--blue);
  font-size: .95rem;
}
.lede {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.38;
  max-width: 34ch;
  text-wrap: pretty;
}
.skills-line {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 108%;
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .02em;
}
.skills-line li { display: flex; align-items: center; gap: 8px; }
.skills-line li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.ico {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: var(--paper);
  display: grid; place-items: center;
}
.ico svg { width: 16px; height: 16px; }
.contact-list .k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list .v { display: block; font-weight: 600; overflow-wrap: anywhere; }
.contact-head { margin: 0 0 14px; font-style: italic; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--blue); font-size: .95rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--blue);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
.brand { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; color: var(--blue); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a.lnk {
  display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; color: var(--ink);
}
.nav a.lnk:hover { color: var(--blue); }
.nav a.lnk.is-active { background: var(--blue); color: var(--paper); }

/* ---------- Sektionen ---------- */
.sec { padding: clamp(52px, 7vw, 92px) 0; scroll-margin-top: 58px; }
.sec-h {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 clamp(26px, 3.5vw, 40px);
  font-family: var(--f-body); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  text-transform: uppercase; letter-spacing: .02em; color: var(--blue);
}
.sec-h::after { content: ""; flex: 1; height: 1.5px; background: currentColor; }
.sec-sub { margin: -18px 0 28px; color: var(--muted); font-size: .95rem; }

/* ---------- Überblick ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-bottom: clamp(44px, 6vw, 72px); }
.fact { border-top: 2px solid var(--blue); padding-top: 18px; }
.fact-num {
  display: block;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: .95; letter-spacing: -.02em;
  color: var(--blue); font-variant-numeric: tabular-nums;
}
.fact p { margin: 12px 0 0; color: var(--muted); max-width: 34ch; }
.fact p strong { color: var(--ink); font-weight: 600; }

.tl { display: grid; gap: 6px; }
.tl-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: center; }
.tl-label { line-height: 1.25; }
.tl-label b { display: block; font-weight: 600; font-size: .98rem; }
.tl-label span { font-size: .84rem; color: var(--muted); }
.tl-track {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  height: 40px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  border-right: 1px solid var(--line);
}
.tl-years .tl-track { height: auto; background: none; border: 0; }
.tl-years .tl-track span {
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%;
  font-size: .9rem; color: var(--blue); padding-left: 6px; font-variant-numeric: tabular-nums;
}
.tl-years .tl-track span .short { display: none; }
.bar {
  grid-row: 1; margin: 5px 3px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 10px; border-radius: 3px;
  background: var(--blue); color: var(--paper);
  font-size: .8rem; font-weight: 600; white-space: nowrap; text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color .15s ease, transform .15s ease;
}
.bar:hover { background: var(--ink); color: var(--paper); }
.bar.study { background: var(--mist); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.bar.study:hover { background: var(--blue); color: var(--paper); }
.bar .arrow { font-weight: 700; }
.tl-note { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------- Stationen ---------- */
.job, .edu {
  display: grid; grid-template-columns: var(--meta-col) minmax(0, 1fr);
  gap: 14px 48px; padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 70px;
}
.job:first-of-type { border-top: 0; padding-top: 0; }
.job:target, .edu:target { background: linear-gradient(to right, var(--mist), transparent 70%); }
.years {
  font-family: var(--f-display); font-weight: 800; font-stretch: 110%;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.05; color: var(--blue);
  font-variant-numeric: tabular-nums; margin: 0;
}
.place { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.role {
  margin: 0;
  font-family: var(--f-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.22;
  text-transform: uppercase; letter-spacing: .005em; text-wrap: balance;
}
.org { margin: 6px 0 0; color: var(--muted); }
.org a { color: var(--ink); font-weight: 600; }
.tasks {
  list-style: none; padding: 0; margin: 20px 0 -10px;
  columns: 2; column-gap: 36px;
}
.tasks li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.45; break-inside: avoid; margin-bottom: 10px; }
.tasks li::before { content: ""; position: absolute; left: 0; top: .66em; width: 9px; height: 2px; background: var(--blue); }
.artists { margin: 20px 0 0; color: var(--muted); font-style: italic; line-height: 1.5; }
.artists b {
  font-style: normal; color: var(--ink); font-weight: 700;
  text-transform: uppercase; font-size: .76rem; letter-spacing: .1em; margin-right: 10px;
}

/* ---------- Projekte (blaues Band) ---------- */
.band { background: var(--blue); color: var(--paper); }
.band .sec-h { color: var(--paper); }
.band a { text-decoration-color: var(--paper); }
.band a:hover { color: var(--on-blue-soft); }
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.proj { border-top: 2px solid var(--paper); padding-top: 18px; }
.proj-k { margin: 0; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; color: var(--on-blue-soft); }
.proj-t {
  margin: 10px 0 12px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance;
}
.proj p.txt { margin: 0; max-width: 46ch; color: var(--on-blue-soft); font-size: 1.05rem; }

/* ---------- Bildung ---------- */
.edu { border-top: 0; padding-top: 0; }
.degree { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 106%; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.12; text-transform: uppercase; }
.school { margin: 6px 0 0; font-style: italic; color: var(--muted); font-size: 1.05rem; }
.edu-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; margin-top: 24px; }
.edu-item { background: var(--mist); padding: 20px 22px; border-left: 3px solid var(--blue); }
.edu-item h4 { margin: 0 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); display: flex; align-items: baseline; gap: 10px; }
.grade { font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: 1.5rem; letter-spacing: 0; color: var(--blue); }
.edu-item p { margin: 0; }

/* ---------- Skills ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 40px; }
.skill-grid h3 { margin: 0 0 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.skill-grid h4 { margin: 0 0 8px; font-size: .9rem; font-style: italic; font-weight: 600; }
.big-words { list-style: none; padding: 0; margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--blue); color: var(--blue); border-radius: 999px; padding: 3px 12px; font-size: .88rem; font-weight: 600; }
.langs { margin: 0; display: grid; gap: 10px; }
.langs div { display: grid; gap: 1px; }
.langs dt { font-weight: 600; }
.langs dd { margin: 0; color: var(--muted); font-size: .94rem; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plain li { padding-left: 20px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: var(--blue); }

/* ---------- Kontakt + Fuß ---------- */
.contact { padding-bottom: 0; overflow: hidden; }
.mail-big {
  display: inline-block;
  font-family: var(--f-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(1.35rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em;
  overflow-wrap: anywhere; color: var(--paper);
}
.contact-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; margin-top: 26px; }
.contact-row p { margin: 0; color: var(--on-blue-soft); }
.contact-row p b { display: block; color: var(--paper); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.btn {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  background: var(--paper); color: var(--blue); border: 0; border-radius: 999px; padding: 10px 18px;
}
.btn:hover { background: var(--on-blue-soft); }
a.btn { display: inline-block; text-decoration: none; }
.giant-foot { color: var(--paper); margin-top: clamp(28px, 5vw, 64px); margin-bottom: -.1em; padding-top: .26em; line-height: .86; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .contact-card { grid-column: 1 / -1; }
  .contact-card .contact-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --meta-col: 170px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 200px; }
  .facts { grid-template-columns: 1fr; gap: 26px; }
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
  .tl-row + .tl-row { margin-top: 6px; }
  .tl-years .tl-label { display: none; }
  .tl-years .tl-track span .long { display: none; }
  .tl-years .tl-track span .short { display: inline; }
  .bar { padding: 0 6px; font-size: .74rem; margin: 4px 2px; }
  .job, .edu { grid-template-columns: 1fr; gap: 10px; }
  .edu-items, .proj-grid { grid-template-columns: 1fr; }
  .tasks { columns: 1; }
  .skill-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav .brand { display: none; }
}

/* ---------- 404-Seite ---------- */
.notfound { min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.notfound .msg { padding: clamp(40px, 8vw, 96px) 0; }
.notfound .msg p { margin: 0 0 28px; font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.38; max-width: 34ch; }
