/* ---------- 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;
}

/* =====================================================================
   Antonio Böttner – Bewerbungsseite
   Farben und Schriften wie im Lebenslauf-PDF.
   ===================================================================== */
:root {
  --blue: #0042FF;
  --ink: #0A1240;
  --muted: #4B5375;
  --quiet: #7186DD;
  --mist: #EEF2FF;
  --line: #CCD6FB;
  --paper: #FFFFFF;
  --on-blue: #DCE4FF;

  /* Textmarker */
  --m-social: #FFE94D;
  --m-campaign: #FF8AD4;
  --m-design: #8BF5B0;
  --m-events: #FFB15C;
  --m-deal: #C6A6FF;
  --mark: transparent;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --meta: 210px;
  color-scheme: light;
}
body[data-mark="social"]   { --mark: var(--m-social); }
body[data-mark="campaign"] { --mark: var(--m-campaign); }
body[data-mark="design"]   { --mark: var(--m-design); }
body[data-mark="events"]   { --mark: var(--m-events); }
body[data-mark="deal"]     { --mark: var(--m-deal); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
@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); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.contact :focus-visible { outline-color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: var(--paper); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }
html:not(.js) .js-only { display: none !important; }

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

/* ---------- Pillen (Buttons und Links) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 2px solid var(--blue); border-radius: 999px;
  background: var(--paper); color: var(--blue);
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.pill:hover { background: var(--mist); color: var(--blue); }
.pill-solid { background: var(--blue); color: var(--paper); }
.pill-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill-white { border-color: var(--paper); background: var(--paper); color: var(--blue); }
.pill-white:hover { background: var(--on-blue); border-color: var(--on-blue); }
.pill[disabled] { opacity: .35; cursor: default; }
.pill[disabled]:hover { background: var(--paper); }

/* ---------- 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; padding-top: .06em;
}
.hero .giant { overflow: hidden; }
.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; } }

/* ---------- Schmale Leiste ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%); transition: transform .25s ease;
}
.bar.is-on { transform: none; }
html:not(.js) .bar { display: none; }
.bar-in { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.bar-name { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; color: var(--blue); text-decoration: none; white-space: nowrap; }
.bar nav { flex: 1; min-width: 0; }
.bar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.bar ul::-webkit-scrollbar { display: none; }
.bar-lnk { display: block; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.bar-lnk.is-active { background: var(--blue); color: var(--paper); }
.bar-cv { min-height: 38px; font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }

/* ---------- Kopf ---------- */
.hero { padding-top: clamp(10px, 2vw, 22px); }
.hero-grid {
  display: grid;
  grid-template-columns: var(--meta) minmax(0, 1fr) 260px;
  gap: 32px 48px;
  margin-top: clamp(24px, 4vw, 44px);
  align-items: start;
}
.portrait { width: 100%; height: auto; aspect-ratio: 307 / 368; object-fit: cover; }
.lede { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.34; max-width: 32ch; text-wrap: pretty; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; max-width: 54ch; color: var(--muted); }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.facts b { font-family: var(--f-display); font-weight: 900; font-stretch: 110%; color: var(--blue); }
.quick { display: grid; gap: 10px; justify-items: start; }
.quick-place { margin: 4px 0 0 4px; color: var(--muted); }

/* Große Wörter als Inhaltsverzeichnis */
.bignav {
  display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 3vw, 44px);
  margin-top: clamp(36px, 5vw, 64px); padding: 18px 0 22px;
  border-top: 2px solid var(--blue); border-bottom: 1px solid var(--line);
}
.bignav a {
  font-family: var(--f-display); font-weight: 800; font-stretch: 100%;
  font-size: clamp(1.6rem, 3.9vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em;
  color: var(--quiet); text-decoration: none;
  transition: color .15s ease;
}
.bignav a:hover, .bignav a:focus-visible { color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .bignav a { transition: none; } }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-top { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-h {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--blue);
}
.sec-top .sec-h { margin-bottom: 0; }
.hint { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }

/* Ansicht umschalten */
.views { display: inline-flex; padding: 4px; border: 2px solid var(--blue); border-radius: 999px; }
.view-btn { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--blue); cursor: pointer; }
.view-btn[aria-pressed="true"] { background: var(--blue); color: var(--paper); }

/* ---------- Textmarker ---------- */
.markers { margin: 28px 0 30px; }
.markers-q { margin: 0 0 14px; max-width: 60ch; }
.markers-row { display: flex; flex-wrap: wrap; gap: 10px; }
.marker {
  --c: var(--m-social);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 14px 0 8px;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--paper); cursor: pointer; font-weight: 600; font-size: .95rem;
  transition: background-color .15s ease, transform .15s ease;
}
.marker[data-mark="campaign"] { --c: var(--m-campaign); }
.marker[data-mark="design"]   { --c: var(--m-design); }
.marker[data-mark="events"]   { --c: var(--m-events); }
.marker[data-mark="deal"]     { --c: var(--m-deal); }
.marker:hover { background: color-mix(in srgb, var(--c) 30%, white); }
.marker[aria-pressed="true"] { background: var(--c); transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.marker-n { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }
.marker[aria-pressed="true"] .marker-n { color: var(--ink); }

/* Stift: Textmarker mit schräger Spitze */
.pen {
  position: relative; width: 34px; height: 14px; flex: none;
  transform: rotate(-24deg); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.pen::before { /* Körper */
  content: ""; position: absolute; left: 0; top: 0; width: 25px; height: 14px;
  background: var(--c); border: 2px solid var(--ink); border-radius: 3px 2px 2px 3px;
}
.pen::after { /* Spitze */
  content: ""; position: absolute; left: 23px; top: 2px; width: 10px; height: 10px;
  background: var(--c); border: 2px solid var(--ink); border-left: 0;
  clip-path: polygon(0 0, 100% 35%, 100% 100%, 0 100%);
}
.marker[aria-pressed="true"] .pen { transform: rotate(-8deg) translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .pen, .marker { transition: none; } }

/* Markierte Aufgaben */
.tasks li > span, .tasks-inline > span {
  background-image: linear-gradient(var(--mark), var(--mark));
  background-repeat: no-repeat; background-position: 0 85%; background-size: 0% 88%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 2px; margin: 0 -2px;
  transition: background-size .45s cubic-bezier(.4, 0, .2, 1);
}
.tasks li.is-marked > span, .tasks-inline.is-marked > span { background-size: 100% 88%; }
@media (prefers-reduced-motion: reduce) { .tasks li > span, .tasks-inline > span { transition: none; } }

/* Statuspille unten */
.markpill {
  position: fixed; left: 50%; bottom: 16px; z-index: 40;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 24px);
  padding: 8px 8px 8px 14px; border-radius: 16px;
  background: var(--ink); color: var(--paper); font-size: .92rem;
  box-shadow: 0 10px 30px rgba(10, 18, 64, .28);
}
.markpill[hidden] { display: none; }
.markpill-pen { width: 14px; height: 14px; border-radius: 3px; background: var(--mark); flex: none; }
.markpill-btn { border: 0; background: rgba(255, 255, 255, .14); color: var(--paper); border-radius: 10px; padding: 7px 12px; cursor: pointer; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.markpill-btn:hover { background: rgba(255, 255, 255, .26); }
.markpill :focus-visible { outline-color: var(--paper); }
.ms { display: none; }
@media (max-width: 760px) { .ms { display: inline; } }

/* ---------- Zeitleiste ---------- */
.tl {
  --lab: 250px; --row: 46px;
  position: relative;
  display: grid; grid-template-columns: var(--lab) minmax(0, 1fr);
  border: 2px solid var(--blue); border-radius: 10px;
  background: var(--paper);
  user-select: none; -webkit-user-select: none;
}
.tl-corner { grid-column: 1; border-bottom: 1px solid var(--line); background: var(--mist); border-top-left-radius: 8px; }
.tl-ruler {
  grid-column: 2; position: relative;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  height: 42px; background: var(--mist); border-bottom: 1px solid var(--line); border-top-right-radius: 8px;
  cursor: pointer; touch-action: pan-y;
}
.tl-ruler span {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: .9rem;
  color: var(--blue); border-left: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.tl-ruler .short { display: none; }
.tl-lab {
  grid-column: 1; display: flex; flex-direction: column; justify-content: center;
  height: var(--row); padding: 0 14px; border-bottom: 1px solid var(--line);
  line-height: 1.15; min-width: 0;
}
.tl-lab b { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-lab small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-lane {
  grid-column: 2; position: relative; height: var(--row);
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.tl-lab:nth-last-child(3), .tl-lane:nth-last-child(2) { border-bottom: 0; }

.clip {
  position: absolute; top: 7px; bottom: 7px;
  container-type: inline-size;
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
  border: 2px solid var(--blue); border-radius: 6px;
  background: var(--blue); color: var(--paper);
  font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: .8rem;
  text-align: left; cursor: pointer; overflow: visible;
  transition: transform .15s ease, opacity .2s ease, box-shadow .15s ease;
}
.clip-t { white-space: nowrap; overflow: hidden; text-overflow: clip; font-variant-numeric: tabular-nums; }
@container (max-width: 90px) { .clip-t { font-stretch: 62%; font-size: .74rem; letter-spacing: -.01em; } }
@container (max-width: 52px) { .clip-t { display: none; } }
.clip:hover { transform: translateY(-2px); }
.clip[data-kind="events"] { background: var(--paper); color: var(--blue); }
.clip[data-kind="study"] {
  background-color: var(--mist); color: var(--blue); border-style: solid;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28' viewBox='0 0 48 28'%3E%3Cg fill='%230042FF' fill-opacity='.22'%3E%3Crect x='1' y='11' width='2' height='6'/%3E%3Crect x='5' y='7' width='2' height='14'/%3E%3Crect x='9' y='3' width='2' height='22'/%3E%3Crect x='13' y='9' width='2' height='10'/%3E%3Crect x='17' y='5' width='2' height='18'/%3E%3Crect x='21' y='12' width='2' height='4'/%3E%3Crect x='25' y='6' width='2' height='16'/%3E%3Crect x='29' y='1' width='2' height='26'/%3E%3Crect x='33' y='8' width='2' height='12'/%3E%3Crect x='37' y='10' width='2' height='8'/%3E%3Crect x='41' y='4' width='2' height='20'/%3E%3Crect x='45' y='9' width='2' height='10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: 0 50%;
}
.clip[data-kind="study"] .clip-t { background: var(--mist); padding: 1px 5px; border-radius: 3px; }
.clip[data-ongoing] { border-right-style: dashed; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.clip.is-sel { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); z-index: 2; }
.clip-badge {
  position: absolute; top: 50%; right: 5px; z-index: 3; transform: translateY(-50%);
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: none; align-items: center; justify-content: center;
  background: var(--mark); color: var(--ink); border: 2px solid var(--ink);
  font-size: .74rem; font-weight: 800; font-stretch: 100%;
}
body[data-mark] .clip.has-hits .clip-badge { display: inline-flex; }
body[data-mark] .clip.has-hits { padding-right: 32px; }
body[data-mark] .clip:not(.has-hits) { opacity: .28; }
@media (prefers-reduced-motion: reduce) { .clip { transition: none; } }

/* Abspielkopf */
.tl-over { grid-column: 2; position: relative; pointer-events: none; }
.ph {
  position: absolute; top: 0; bottom: 0; width: 0;
  left: calc((var(--y, 5.5)) / 6 * 100%);
  transition: left .22s cubic-bezier(.3, .9, .4, 1);
  z-index: 5;
}
.ph.is-drag { transition: none; }
.ph::before { /* Linie */
  content: ""; position: absolute; top: 34px; bottom: 0; left: -1px; width: 2px; background: var(--ink);
}
.ph-head {
  --tip: 50%;
  pointer-events: auto; position: absolute; top: 4px; left: 0; transform: translateX(calc(var(--tip) * -1));
  min-width: 58px; height: 30px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 8px 8px 8px 8px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: .88rem;
  font-variant-numeric: tabular-nums;
  cursor: grab; touch-action: none;
}
.ph-head::after { /* kleine Spitze */
  content: ""; position: absolute; left: var(--tip); bottom: -6px; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--ink); border-bottom: 0;
}
.ph-head:active { cursor: grabbing; }
.ph.at-end .ph-head { --tip: 78%; }
.ph.at-start .ph-head { --tip: 22%; }
.ph-head:focus-visible { outline: 3px solid var(--m-social); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ph { transition: none; } }

/* Legende */
.legend { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .86rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 22px; height: 12px; border-radius: 3px; border: 2px solid var(--blue); background: var(--blue); }
.sw-events { background: var(--paper); }
.sw-study { background: repeating-linear-gradient(90deg, var(--mist) 0 3px, var(--line) 3px 5px); }

/* Monitor: Details zur gewählten Station */
.monitor { margin-top: 26px; border: 2px solid var(--blue); border-radius: 10px; overflow: hidden; }
.mon-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 14px 20px; background: var(--mist); border-bottom: 1px solid var(--line);
}
.mon-year { margin: 0; font-size: .95rem; color: var(--muted); }
.mon-year b { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; color: var(--blue); font-size: 1.25rem; margin-right: 6px; font-variant-numeric: tabular-nums; }
.mon-par { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--blue); background: var(--paper); color: var(--blue);
  border-radius: 999px; padding: 4px 12px; font-size: .86rem; font-weight: 600; cursor: pointer;
}
.chip[aria-current="true"] { background: var(--blue); color: var(--paper); }
.chip:hover { background: var(--blue); color: var(--paper); }
.mon-body { padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 8px; }
.mon-body .station { padding: 0; border: 0; }
.mon-body.is-cut { animation: cut .28s ease both; }
@keyframes cut { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mon-body.is-cut { animation: none; } }
.mon-foot { display: flex; justify-content: space-between; gap: 10px; padding: 16px 20px 20px; }

/* ---------- Stationen (Liste + Monitor) ---------- */
.js .stations { display: none; }
.js .is-list .stations { display: block; }
.js .is-list .editor { display: none; }
.station {
  display: grid; grid-template-columns: var(--meta) minmax(0, 1fr);
  gap: 12px 48px; padding: clamp(26px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.stations .station:first-child { border-top: 0; padding-top: 0; }
.st-years {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 110%;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.05; color: var(--blue); font-variant-numeric: tabular-nums;
}
.st-place { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.st-role {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.2; text-wrap: balance;
}
.st-org { margin: 6px 0 0; color: var(--muted); }
.st-org a { color: var(--ink); font-weight: 600; }
.tasks { list-style: none; padding: 0; margin: 20px 0 0; columns: 2; column-gap: 40px; }
.tasks li { position: relative; padding-left: 20px; line-height: 1.45; break-inside: avoid; margin-bottom: 10px; }
.tasks li::before { content: ""; position: absolute; left: 0; top: .68em; width: 9px; height: 2px; background: var(--blue); }
.tasks-plain { columns: 1; margin-top: 12px; }
.artists { margin: 14px 0 0; color: var(--muted); font-size: .95rem; }
.artists b { color: var(--ink); font-weight: 700; margin-right: 6px; }

/* ---------- Projekte als Plattencover ---------- */
.records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 5vw, 72px); }
.sleeve { position: relative; display: block; width: min(100%, 340px); aspect-ratio: 1; margin-bottom: 22px; container-type: inline-size; cursor: pointer; }
.vinyl {
  position: absolute; inset: 3%; border-radius: 50%;
  background:
    radial-gradient(circle, var(--blue) 0 15%, var(--paper) 15.5% 16.5%, transparent 17%),
    repeating-radial-gradient(circle, #15183a 0 2px, #0b0d26 2px 4px);
  transform: translateX(9%) rotate(0deg);
  transition: transform .5s cubic-bezier(.3, .9, .3, 1);
}
.cover {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7%; overflow: hidden;
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: 24cqw; line-height: .82; letter-spacing: -.01em;
}
.cover small { font-family: var(--f-body); font-weight: 600; font-stretch: 100%; text-transform: none; font-size: .95rem; letter-spacing: 0; margin-top: 14px; }
.cover-live { background: var(--blue); color: var(--paper); }
.cover-club {
  background: var(--paper); color: var(--blue); border: 2px solid var(--blue);
  background-image: radial-gradient(var(--line) 1.6px, transparent 1.8px); background-size: 16px 16px;
}
.record:hover .vinyl, .record:focus-within .vinyl, .record.is-out .vinyl { transform: translateX(34%) rotate(40deg); }
@media (prefers-reduced-motion: reduce) { .vinyl { transition: none; } }
.rec-t { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 106%; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; text-wrap: balance; }
.rec-k { margin: 6px 0 0; color: var(--muted); }

/* ---------- Bildung ---------- */
.edu { display: grid; grid-template-columns: var(--meta) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.edu-grade {
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: .85; color: var(--blue); letter-spacing: -.03em;
}
.edu-table { margin: 0; border-top: 2px solid var(--blue); }
.edu-table > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.edu-table dt { color: var(--muted); }
.edu-table dd { margin: 0; font-weight: 600; }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 40px; }
.sk-h { margin: 0 0 12px; font-size: .95rem; font-weight: 700; color: var(--blue); }
.sk-h:not(:first-child) { margin-top: 22px; }
.big-words { list-style: none; padding: 0; margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.3; }
.keys { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.keys li {
  padding: 4px 11px; border: 1.5px solid var(--blue); border-bottom-width: 4px; border-radius: 8px;
  color: var(--blue); font-size: .88rem; font-weight: 600;
}
.langs { margin: 0; display: grid; gap: 10px; }
.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 ---------- */
.contact { background: var(--blue); color: var(--paper); padding-bottom: 0; overflow: hidden; }
.sec + .contact { border-top: 0; }
.contact .sec-h { color: var(--paper); }
.contact a { text-decoration-color: var(--paper); }
.contact a:hover { color: var(--on-blue); }
.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 28px; align-items: center; margin-top: 26px; }
.contact-row p { margin: 0; color: var(--on-blue); }
.cr-k { display: block; color: var(--paper); font-size: .82rem; font-weight: 700; }
.contact-row .pill { color: var(--blue); }
.toy { margin-top: clamp(40px, 6vw, 72px); }
.toy-hint { position: relative; z-index: 3; margin: 0 0 8px; color: var(--on-blue); font-size: .92rem; display: flex; align-items: center; gap: 12px; min-height: 32px; }
.toy-reset { border: 1.5px solid var(--paper); background: none; color: var(--paper); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .86rem; cursor: pointer; }
.toy-reset[hidden] { display: none; }
.giant-foot { color: var(--paper); margin-bottom: -.1em; padding-top: .26em; line-height: .86; overflow: visible; user-select: none; -webkit-user-select: none; }
.tl-ch { display: inline-block; touch-action: none; cursor: grab; position: relative; }
.tl-ch.is-drag { cursor: grabbing; z-index: 2; }
.tl-ch.is-back { transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
@media (prefers-reduced-motion: reduce) { .tl-ch.is-back { transition: none; } }

/* ---------- Responsiv ---------- */
@media (max-width: 1060px) {
  :root { --meta: 170px; }
  .hero-grid { grid-template-columns: 190px minmax(0, 1fr); }
  .quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; }
  .quick-place { margin: 0 0 0 6px; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl { --lab: 190px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
  .intro { display: contents; }
  .portrait { grid-row: 1; }
  .lede { grid-row: 1; font-size: 1.12rem; }
  .facts { grid-column: 1 / -1; margin-top: 0; }
  .bar-name, .bar-cv { display: none; }
  .tl { --lab: 106px; --row: 50px; }
  .tl-lab { padding: 0 8px; }
  .tl-lab small { display: none; }
  .tl-lab b { font-size: .8rem; white-space: normal; line-height: 1.1; overflow: visible; }
  .tl-lab.has-tiny b { font-size: 0; }
  .tl-lab.has-tiny b::after { content: attr(data-tiny); font-size: .8rem; }
  .ml { display: none; }
  .tl-ruler span { font-size: .78rem; }
  .tl-ruler .long { display: none; }
  .tl-ruler .short { display: inline; }
  .clip { padding: 0 6px; }
  .ph-head { min-width: 46px; padding: 0 6px; font-size: .8rem; }
  .station { grid-template-columns: 1fr; gap: 8px; }
  .tasks { columns: 1; }
  .mon-foot .pill { padding: 0 14px; }
  .records { grid-template-columns: 1fr; }
  .record:hover .vinyl, .record:focus-within .vinyl, .record.is-out .vinyl { transform: translateX(22%) rotate(40deg); }
  .sleeve { width: 72%; }
  .edu { grid-template-columns: 1fr; }
  .edu-table > div { grid-template-columns: 1fr; gap: 2px; }
  .skills { grid-template-columns: 1fr; gap: 28px; }
  .markpill { left: 12px; right: 12px; transform: none; flex-wrap: wrap; }
  .markers-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .markers-row::-webkit-scrollbar { display: none; }
  .marker { flex: none; scroll-snap-align: start; }
}

/* ---------- Druck: einfach die Liste ---------- */
@media print {
  .bar, .bignav, .markers, .editor, .views, .toy, .markpill, .skip, .quick .pill { display: none !important; }
  .js .stations { display: block !important; }
  .contact { background: none; color: var(--ink); }
  .contact .sec-h, .mail-big { color: var(--blue); }
  .sec { padding: 24px 0; }
  .ch { animation: none; }
}

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