/* Schriften lokal eingebunden (keine Verbindung zu Google) */
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/figtree-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/figtree-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/figtree-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.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;
}

/* Layout: schmale Leserspalte, Hero mit Porträt rechts, Werdegang als Zeitstrahl, Projekte als Karten mit Dateilisten */
:root {
  --bg: #F4F7FC;
  --surface: #FFFFFF;
  --fg: #0D1628;
  --muted: #56627A;
  --line: #DCE3EF;
  --accent: #1A4FD6;
  --accent-2: #3B82F6;
  --accent-soft: #E4ECFD;
  --on-accent: #FFFFFF;
  --gold: #A86A00;
  --shadow: 0 1px 2px rgba(13,22,40,.05), 0 8px 28px -12px rgba(26,79,214,.22);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.25rem; --step-2: 1.75rem; --step-3: clamp(2.6rem, 6vw + 1rem, 4.6rem);
  --radius: 14px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080D18; --surface: #0F1728; --fg: #E7ECF6; --muted: #93A0B9; --line: #1F2B44;
    --accent: #6F9BFF; --accent-2: #4F7DF0; --accent-soft: #14223F; --on-accent: #07101F; --gold: #E5B04A;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #080D18; --surface: #0F1728; --fg: #E7ECF6; --muted: #93A0B9; --line: #1F2B44;
  --accent: #6F9BFF; --accent-2: #4F7DF0; --accent-soft: #14223F; --on-accent: #07101F; --gold: #E5B04A;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--fg); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); display: grid; place-items: center; font-size: .8rem; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .93rem; padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); background: var(--accent-soft); text-decoration: none; }
.toggles { display: flex; gap: 6px; }
.tbtn {
  height: 36px; min-width: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--fg); font: 600 .8rem var(--font-mono); cursor: pointer;
  display: inline-grid; place-items: center; transition: border-color .2s, transform .2s;
}
.tbtn:hover { border-color: var(--accent); }
.tbtn:active { transform: scale(.94); }
.tbtn svg { width: 17px; height: 17px; }
/* Handy-Menü */
.menu-btn { display: none; }
.burger { position: relative; width: 16px; height: 12px; display: block; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .2s, top .3s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5px; } .burger i:nth-child(3) { top: 10px; }
.menu-open .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu ul { list-style: none; margin: 0; padding-block: 8px 16px; display: grid; }
.mobile-menu li { animation: rise .35s cubic-bezier(.2,.7,.2,1) both; }
.mobile-menu li:nth-child(2) { animation-delay: .03s } .mobile-menu li:nth-child(3) { animation-delay: .06s }
.mobile-menu li:nth-child(4) { animation-delay: .09s } .mobile-menu li:nth-child(5) { animation-delay: .12s } .mobile-menu li:nth-child(6) { animation-delay: .15s }
.mobile-menu a { display: block; padding: 13px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--fg); border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child a { border-bottom: 0; }
.mobile-menu a:hover { color: var(--accent); text-decoration: none; }
.nav.menu-open { border-bottom-color: var(--line); }
@media (max-width: 900px) { .nav-links { display: none; } .toggles { margin-left: auto; } .menu-btn { display: inline-grid; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding-block: 72px 88px; }
.glow { position: absolute; inset: -20% -10% auto auto; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%);
  filter: blur(10px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.08); } }
.hero-text { position: relative; min-width: 0; display: grid; gap: 22px; }
.status { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); box-shadow: var(--shadow); }
.status b { color: var(--fg); font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22C55E; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }
.hero h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .last { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 34ch; line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts svg { width: 16px; height: 16px; color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg); transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn svg { width: 17px; height: 17px; }

.portrait { position: relative; width: 260px; aspect-ratio: 1; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid var(--surface); box-shadow: var(--shadow); position: relative; z-index: 1; }
.orbit { position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); animation: spin 40s linear infinite; }
.orbit::before { content: ""; position: absolute; top: 50%; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-float { position: absolute; z-index: 2; right: -14px; bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; font-size: .78rem; box-shadow: var(--shadow); display: grid; line-height: 1.3; }
.badge-float b { font-family: var(--font-display); font-size: .95rem; }
.badge-float span { color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 56px; gap: 36px; }
  .portrait { order: -1; width: 168px; margin-left: 18px; }
  .badge-float { right: -90px; bottom: 10px; }
}

/* Einlauf-Animation des Hero */
.in { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.in:nth-child(2) { animation-delay: .08s } .in:nth-child(3) { animation-delay: .16s }
.in:nth-child(4) { animation-delay: .24s } .in:nth-child(5) { animation-delay: .32s }
.portrait.in { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Abschnitte ---------- */
section.block { padding-block: 72px; }
section.block + section.block { border-top: 1px solid var(--line); }
.head { display: grid; gap: 8px; margin-bottom: 36px; }
.eyebrow { font: 500 .75rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.head h2 { font-size: var(--step-2); font-weight: 700; letter-spacing: -.02em; }
.head p { color: var(--muted); max-width: 60ch; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about p { font-size: 1.08rem; max-width: 62ch; }
.about p + p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--fg); font-size: .85rem; font-weight: 500; transition: transform .2s; }
.chip:hover { transform: translateY(-2px); }
.chip.sm { padding: 3px 10px; font-size: .78rem; background: transparent; border: 1px solid var(--line); color: var(--muted); }
.about h3 { font-size: .8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* Zeitstrahl */
.timeline { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); transform-origin: top; animation: draw 1.4s .3s cubic-bezier(.6,0,.2,1) both; }
@keyframes draw { from { transform: scaleY(0); } }
.tl-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.tl-item:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateX(4px); box-shadow: var(--shadow); }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-item.now::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-org { font-size: var(--step--1); font-weight: 600; color: var(--accent); }
.tl-role { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; min-width: 0; }
.tl-meta { color: var(--muted); font-size: .9rem; grid-column: 1; }
.tl-date { grid-column: 2; grid-row: 1 / span 2; text-align: right; font: 500 .82rem var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-date b { display: block; color: var(--fg); font-weight: 500; }
.tl-item .chips { grid-column: 1 / -1; margin-top: 10px; }
/* Praxisphasen innerhalb einer Station */
.phases { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.phase { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  margin-left: 18px; padding: 12px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.phase:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateX(3px); }
.phase::before { content: ""; position: absolute; left: -18px; top: 50%; width: 12px; height: 2px; background: var(--line); }
.phase::after { content: ""; position: absolute; left: -22px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.phase.now::after { background: var(--accent); }
.ph-main { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; }
.ph-main b { font-weight: 600; font-size: .98rem; }
.ph-main .flag { margin-right: 4px; }
.ph-main > span:last-child { flex-basis: 100%; color: var(--muted); font-size: .85rem; }
.ph-date { text-align: right; font: 500 .78rem var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-date b { display: block; color: var(--fg); font-weight: 500; }
@media (max-width: 560px) { .tl-item { grid-template-columns: 1fr; } .tl-date { grid-column: 1; grid-row: auto; text-align: left; order: -1; } .tl-date b { display: inline; margin-right: 8px; }
  .phase { grid-template-columns: 1fr; } .ph-date { text-align: left; order: -1; } .ph-date b { display: inline; margin-right: 8px; } }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.p-cover { aspect-ratio: 16 / 7; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); display: flex; align-items: flex-end; padding: 16px 20px; }
.p-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-cover .mono { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: .8; opacity: .9; letter-spacing: -.04em; position: relative; }
.p-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--on-accent) 35%, transparent) 1px, transparent 1.4px); background-size: 14px 14px; opacity: .35; transition: transform 6s linear; }
.project:hover .p-cover::after { transform: translate(-14px, -14px); }
.project.example .p-cover { background: repeating-linear-gradient(-45deg, var(--accent-soft) 0 12px, transparent 12px 24px), var(--bg); color: var(--accent); }
.p-body { padding: 20px; display: grid; gap: 12px; flex: 1; align-content: start; }
.p-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-top h3 { font-size: 1.2rem; font-weight: 700; min-width: 0; }
.p-date { font: 500 .78rem var(--font-mono); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.p-body > p { color: var(--muted); font-size: .95rem; }
.flag { font: 600 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); margin-left: 8px; vertical-align: middle; }
.files { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; display: grid; gap: 6px; }
.files-label { font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.file { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--fg); transition: background .2s, border-color .2s; }
.file:hover { text-decoration: none; background: var(--accent-soft); border-color: transparent; }
.ext { flex: none; width: 38px; height: 38px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 .66rem var(--font-mono); text-transform: uppercase; }
.file:hover .ext { background: var(--accent); color: var(--on-accent); }
.f-name { min-width: 0; flex: 1; display: grid; line-height: 1.3; }
.f-name b { font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.f-name span { font-size: .78rem; color: var(--muted); font-family: var(--font-mono); }
.file svg { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .2s, color .2s; }
.file:hover svg { transform: translateY(2px); color: var(--accent); }
.nofiles { font-size: .85rem; color: var(--muted); font-style: italic; }

/* Nachweise */
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.award { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; transition: transform .25s, box-shadow .25s; }
.award:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.a-type { display: flex; align-items: center; gap: 8px; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.a-type svg { width: 18px; height: 18px; }
.award.preis .a-type { color: var(--gold); }
.award.preis { border-color: color-mix(in srgb, var(--gold) 35%, var(--line)); }
.award h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.a-meta { color: var(--muted); font-size: .88rem; }

/* Kontakt */
.contact { position: relative; overflow: hidden; border-radius: 22px; padding: 48px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.contact::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid color-mix(in srgb, var(--on-accent) 12%, transparent); animation: drift 14s ease-in-out infinite alternate; }
.contact h2 { font-size: var(--step-2); }
.contact p { opacity: .85; margin-top: 8px; max-width: 46ch; }
.contact .btn { background: var(--on-accent); color: var(--accent); border-color: transparent; position: relative; z-index: 1; }
.contact .btn.ghost { background: transparent; color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }
.c-text { min-width: 0; position: relative; z-index: 1; }
.c-actions { display: grid; gap: 10px; position: relative; z-index: 1; }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.mail { font: 500 1.05rem var(--font-mono); user-select: all; overflow-wrap: anywhere; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--on-accent) 40%, transparent); background: color-mix(in srgb, var(--on-accent) 12%, transparent);
  color: var(--on-accent); font: 600 .78rem var(--font-body); transition: background .2s; }
.copy:hover { background: color-mix(in srgb, var(--on-accent) 22%, transparent); }
.copy svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; padding: 32px 24px; } }

footer { padding-block: 40px; color: var(--muted); font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer .legal { display: flex; gap: 18px; }
footer .legal a { color: var(--muted); }
footer .legal a:hover { color: var(--accent); }

/* Rechtliche Seiten */
.nav .back { margin-left: auto; padding: 8px 14px; font-size: .88rem; }
.legal-page .wrap { max-width: 760px; padding-block: 56px 72px; display: grid; gap: 14px; }
.legal-page h1 { font-size: var(--step-2); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.legal-page h2 { font-size: 1.1rem; font-weight: 700; margin-top: 18px; }
.legal-page p { color: var(--fg); max-width: 68ch; }
.legal-page .note { color: var(--muted); font-size: .9rem; }

/* Studiendetails im Werdegang */
.tl-role small { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 500; font-size: .88rem; color: var(--muted); }
.facts-dl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 12px 0 0; }
.facts-dl dt { font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts-dl dd { margin: 2px 0 0; font-weight: 600; font-size: .93rem; }

/* Persönlich */
.interests { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.interest { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; transition: transform .3s, box-shadow .3s, border-color .3s; }
.interest::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent-soft); transition: transform .5s cubic-bezier(.2,.7,.2,1); z-index: 0; }
.interest:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.interest:hover::after { transform: scale(1.6); }
.interest > * { position: relative; z-index: 1; }
.i-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.i-icon svg { width: 22px; height: 22px; }
.interest h3 { font-size: 1.1rem; font-weight: 700; }
.interest p { color: var(--muted); font-size: .95rem; }

/* Scroll-Einblendung: nur für Elemente unterhalb des ersten Bildschirms */
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }

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