/* ---------- Schrift: DM Sans, lokal gehostet (keine Verbindung zu Google).
   Mit optischen Größen: große Schrift wird automatisch feiner gezeichnet. ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   DESIGN-PRINZIP: Ein Gedanke pro Bildschirm.
   Alles einspaltig und zentriert, viel Raum, nichts Überflüssiges.
   Farben: Gelb, Tinte, Papier.  Schrift: XL, L, M. Sonst nichts.
   ========================================================= */
:root {
  --yellow: #FAD93E;   /* aus dem Fotohintergrund */
  --ink: #111111;
  --paper: #F6F3EA;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xl: clamp(44px, min(7vw, 10.5vh), 120px);
  --fs-l: clamp(24px, min(2.6vw, 4.4vh), 44px);
  --fs-m: clamp(18px, min(1.4vw, 2.5vh), 23px);

  --gutter: clamp(24px, 5vw, 80px);
  --scene: clamp(160px, 30vh, 360px);
  --space: clamp(48px, 9vh, 112px);

  --fg: var(--ink);
  --muted: rgba(17, 17, 17, .55);
  --accent: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--yellow); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-m); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--yellow); padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Die drei Größen ---------- */
.xl { font-size: var(--fs-xl); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.l  { font-size: var(--fs-l);  font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.m  { font-size: var(--fs-m);  font-weight: 400; line-height: 1.55; }
.xl em, .l em { font-style: normal; color: var(--accent); }
.strong { font-weight: 700; }
.muted { color: var(--muted); }
.d { color: var(--accent); }

/* ---------- Menü: anfangs unsichtbar, erscheint beim Scrollen ---------- */
/* Schwebende, abgerundete, durchscheinende Bar mit Abstand zum Rand */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.js .nav { opacity: 0; visibility: hidden; }
.nav__bar {
  pointer-events: auto;
  width: min(100%, 760px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 26px; border-radius: 999px;
  background: rgba(246,243,234,.62);
  border: 1px solid rgba(17,17,17,.07);
  box-shadow: 0 8px 30px rgba(17,17,17,.08);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  color: var(--ink);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.nav.is-dark .nav__bar { background: rgba(28,28,28,.55); border-color: rgba(246,243,234,.1); color: var(--paper); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.nav__logo { font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.nav.is-dark .nav__dot { color: var(--yellow); }
.nav__right { display: flex; align-items: center; gap: 6px; }
.nav__cta {
  font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 10px 20px; border-radius: 999px;
  background: var(--ink); color: var(--yellow);
  transition: background .4s ease, color .4s ease;
}
.nav.is-dark .nav__cta { background: var(--yellow); color: var(--ink); }
/* Teilen: runder Knopf in der Menü-Bar, Symbol auch im Button im Kontakt */
.share-btn {
  width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: inherit;
  display: grid; place-items: center; cursor: pointer;
}
.share-btn:hover { background: rgba(127,127,127,.14); }
.share-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn .share-ico { margin-right: 10px; }
.share-hint { margin-top: 8px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translateX(-50%);
  padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--yellow);
  font-weight: 700; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.toast[hidden] { display: none; }
.burger {
  width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: inherit;
  display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.burger:hover { background: rgba(127,127,127,.14); }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Vollbild-Menü */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space);
  padding: 120px var(--gutter) 48px;
  background: var(--ink); color: var(--paper); text-align: center;
}
.menu[hidden] { display: none; }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu__list a {
  display: inline-block; text-decoration: none;
  font-size: calc(var(--fs-xl) * .75); font-weight: 800; line-height: 1.15; letter-spacing: -.03em;
  transition: color .25s ease;
}
.menu__list a:hover, .menu__list a:focus-visible { color: var(--yellow); }
.menu__foot { color: rgba(246,243,234,.6); }
.menu .live { display: inline-block; width: 12px; height: 12px; margin-right: 12px; border-radius: 50%; background: #2BB35E; vertical-align: .05em; }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 16px 34px; border-radius: 999px;
  font-size: var(--fs-m); font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; background: transparent; font-family: inherit; cursor: pointer;  /* auch für <button> */
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--yellow); }
.btn--ink:hover { background: #000; }
.nowrap { white-space: nowrap; }
.br-mobile { display: none; }
@media (max-width: 760px) { .br-mobile { display: inline; } .hide-mobile { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--line { border-color: rgba(246,243,234,.5); color: var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.ph { outline: 1px dashed rgba(250,217,62,.75); outline-offset: 4px; }

/* =========================================================
   HERO: Foto + lars. Sonst nichts.
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--yellow); }
.giant {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-62%);
  display: flex; justify-content: center;
  font-weight: 900; font-size: min(38vw, 70svh); line-height: .78; letter-spacing: -.045em;
  user-select: none;
}
.giant__inner { display: inline-block; padding: 0 .06em .02em; will-change: transform; }
.giant .l { display: inline-block; font-size: 1em; font-weight: 900; line-height: inherit; letter-spacing: inherit; }
.dot { display: inline-block; width: .19em; height: .19em; margin-left: .07em; border-radius: 50%; background: var(--ink); }
.portrait {
  position: absolute; left: 50%; bottom: 0;
  height: 82svh; aspect-ratio: 1600 / 2085;
  transform: translateX(-50%); transform-origin: 50% 100%; will-change: transform;
}
.portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; position: relative; will-change: transform; }
.portrait__shadow {
  position: absolute; left: 0; right: 0; bottom: -3%; height: 9%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(80,55,0,.28), rgba(80,55,0,0) 72%);
}
.zoom {
  position: absolute; left: 0; top: 0; z-index: 20; width: 2px; height: 2px;
  border-radius: 50%; background: var(--ink); pointer-events: none; visibility: hidden;
}

/* =========================================================
   SZENEN: immer gleich aufgebaut, zentriert, viel Luft
   ========================================================= */
.scene {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: var(--scene) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; background: var(--bg); color: var(--fg);
}
.scene--ink    { --bg: var(--ink);    --fg: var(--paper); --muted: rgba(246,243,234,.55); --accent: var(--yellow); }
.scene--paper  { --bg: var(--paper);  --fg: var(--ink); }
.scene--yellow { --bg: var(--yellow); --fg: var(--ink); --muted: rgba(17,17,17,.6); }

.col { width: 100%; max-width: 1080px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.col .m { max-width: 40ch; }
/* Zentrierte Texte gleichmäßig umbrechen: kein einzelnes Wort allein in der letzten Zeile */
.col .m, .col .l, .skills__text p, .menu__foot { text-wrap: balance; }
.chapter .m, .more p { text-wrap: pretty; }
.col--text { margin-top: var(--scene); }
.col--text .l { max-width: 30ch; }
.col--text .m { max-width: 42ch; }

.eyebrow { font-size: var(--fs-m); font-weight: 700; }
.kicker { font-size: var(--fs-m); font-weight: 500; color: var(--muted); }
.hello {
  display: inline-block; font-weight: 700; background: var(--yellow); color: var(--ink);
  padding: 8px 16px; border-radius: 10px; transform: rotate(-2deg);
}
.hello[hidden] { display: none; }
.status-line .live {
  display: inline-block; width: 12px; height: 12px; margin-right: 12px; vertical-align: .05em;
  border-radius: 50%; background: #2BB35E; animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43,179,94,.55); }
  70% { box-shadow: 0 0 0 10px rgba(43,179,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,179,94,0); }
}
.reveal-words { font-weight: 500; }
.js .reveal-words .w { opacity: .18; }

/* ---------- Zahlen ---------- */
.stats { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 1200px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space) var(--gutter); }
.stats b { display: block; font-size: var(--fs-xl); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stats .m { display: block; margin-top: 16px; }

/* ---------- Kompetenzen: alle auf einem Bildschirm, eine ist hervorgehoben ---------- */
.skills__words {
  list-style: none; margin: 0; padding: 0; max-width: 1240px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .42em;
  font-size: var(--fs-xl);
}
.skill-btn {
  font: inherit; font-weight: 800; line-height: 1.12; letter-spacing: -.035em;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: rgba(17,17,17,.14); transition: color .45s ease;
}
.skill-btn::after { content: "."; opacity: 0; transition: opacity .45s ease; }
.skill-btn:hover { color: rgba(17,17,17,.4); }
/* Ergänzungen: kleiner und eine Zeile unter dem Kern */
.skills__break { flex-basis: 100%; height: 0; }
.skill-btn--minor { font-size: var(--fs-l); font-weight: 700; letter-spacing: -.02em; }
/* kleine Wörter: eigene, niedrige Zeile direkt unter dem Kern */
.skills__words li:has(.skill-btn--minor) { font-size: var(--fs-l); margin: 0 .55em; }
.skills__words li:has(.skill-btn--minor) .skill-btn { line-height: 1.3; }
#kompetenzen .col { max-width: 1560px; }
#kompetenzen .skills__words { max-width: none; font-size: calc(var(--fs-xl) * .92); }
.skills__lead { max-width: 40ch; margin-bottom: 0; text-wrap: balance; font-weight: 400; }
.skills__tail { display: block; white-space: nowrap; }  /* „vom Logo bis zum Vertriebsgespräch.“ immer als eine Zeile */
@media (max-width: 760px) { .skills__tail { white-space: normal; } }
.skill-btn.is-on { color: var(--ink); }
.skill-btn.is-on::after { opacity: 1; }
.skills__text { display: grid; width: 100%; max-width: 40ch; margin-top: 8px; }
.skills__text p { grid-area: 1 / 1; color: var(--muted); opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.skills__text p.is-on { opacity: 1; transform: none; }

/* ---------- Arbeitsproben: ruhige Kacheln, wenig Text, Mockup auf Gelb ---------- */
.cards {
  width: min(100%, 1440px); margin-top: var(--space);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--card-bg, var(--yellow)); border-radius: 28px; overflow: hidden;
}
.card__text { padding: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 0; }
.card:has(.card__go) .card__title { padding-right: 64px; }   /* Platz für den Pfeil neben dem Titel */
.card__title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
.card__line { margin: 10px 0 0; max-width: 34ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.45; color: rgba(17,17,17,.72); text-wrap: pretty; }
.card__tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags li { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.55); font-size: 14px; font-weight: 600; color: rgba(17,17,17,.72); }
.card__go {
  position: absolute; z-index: 2; top: clamp(24px, 2.6vw, 42px); right: clamp(24px, 2.6vw, 42px);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow); font-size: 20px; font-weight: 700; text-decoration: none;
  transition: transform .25s ease;
}
.card__go:hover { transform: scale(1.08) rotate(-8deg); }
.card__media { margin: auto 0 0; cursor: zoom-in; }   /* Bild sitzt unten, auch wenn die Nachbarkachel höher ist */
.card__media img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.03); }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: stretch; }
.card--wide .card__text { padding-bottom: clamp(28px, 3vw, 48px); align-self: end; padding-right: 0; }
.card--wide .card__media { margin: 0; align-self: center; }
.card--app .card__media { overflow: hidden; }
.card--app .card__media img { aspect-ratio: 1.9 / 1; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
          mask-composite: intersect;
}
/* Logo-Auswahl: Bild füllt die ganze Kachel, der Text steht links im freien Gelb */
.card--showcase { display: block; }
.card--showcase .card__media { margin: 0; }
.card--showcase .card__text { position: absolute; z-index: 1; top: 0; left: 0; width: 34%; }

/* Vollbild per Klick */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 64px);
  background: rgba(17,17,17,.94); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--yellow); cursor: pointer; display: grid; place-items: center;
}
.lightbox__close span { grid-area: 1 / 1; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.lightbox__close span:first-child { transform: rotate(45deg); }
.lightbox__close span:last-child { transform: rotate(-45deg); }
body.lightbox-open { overflow: hidden; }

/* ---------- Werdegang: seitwärts ---------- */
.career__stage { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space); }
.career__track { display: grid; gap: var(--scene); width: 100%; max-width: 760px; }
.chapter { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.chapter__meta b { font-weight: 700; }
.chapter__meta .chapter__when { color: var(--yellow); margin-left: .6em; white-space: nowrap; }
.chapter .l { text-wrap: balance; }

/* Ausführlicher Text zum Aufklappen */
.more summary {
  list-style: none; cursor: pointer; width: max-content;
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--paper);
  padding: 10px 20px 10px 14px; border-radius: 999px; border: 1px solid rgba(246,243,234,.25);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--yellow);
  transition: transform .3s ease;
}
.more[open] summary::before { transform: rotate(45deg); }
.more summary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.more[open] .more__open, .more:not([open]) .more__close { display: none; }
.more > p { margin-top: 20px; max-width: 52ch; }
.career__progress { display: none; width: 160px; height: 3px; border-radius: 3px; background: rgba(246,243,234,.15); overflow: hidden; }
.career__progress span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }

/* Mit JS: Kapitel liegen nebeneinander und gleiten beim Scrollen vorbei */
.career.is-horizontal { padding: var(--scene) 0 0; overflow: hidden; display: block; }
.career.is-horizontal .career__stage { height: 100vh; height: 100svh; justify-content: center; padding: 96px 0 32px; gap: clamp(24px, 5vh, 112px); }  /* oben Platz für die Menü-Bar */
.career.is-horizontal .career__track {
  display: flex; gap: clamp(64px, 10vw, 180px); max-width: none; width: max-content;
  align-self: flex-start; padding: 0 calc(50vw - min(40vw, 380px));
}
.career.is-horizontal .chapter { width: min(80vw, 760px); flex: none; opacity: .25; transition: opacity .5s ease; }
.career.is-horizontal .chapter.is-active { opacity: 1; }
.career.is-horizontal .career__progress { display: block; }

/* ---------- Arbeitsweise ---------- */
.col--after { margin-top: var(--space); }
.by-the-way { margin-top: var(--space); }
.mark { position: relative; display: inline-block; }
.mark svg { position: absolute; left: 0; bottom: -12px; width: 100%; height: 16px; overflow: visible; }
.mark path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Bühne: Laufband hinter Lars auf dem Hocker */
.marquee-stage { position: relative; width: 100vw; margin-top: var(--scene); display: grid; place-items: center; }
.marquee-stage > * { grid-area: 1 / 1; }
.marquee { width: 100vw; overflow: hidden; }
.stool { position: relative; z-index: 1; height: min(80vh, 820px); width: auto; }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: clamp(56px, min(9vw, 14vh), 150px); line-height: 1.1; letter-spacing: -.04em; padding-right: .35em;
}
.marquee__track span::after { content: ""; display: inline-block; width: .15em; height: .15em; margin-left: .35em; border-radius: 50%; background: var(--ink); }
.marquee__row--alt .marquee__track span { color: transparent; -webkit-text-stroke: 2px var(--ink); }

/* ---------- Arbeitsproben (vorbereitet) ---------- */
.case { display: flex; flex-direction: column; gap: 20px; max-width: 860px; text-align: left; }
.case__img { margin: 0 0 12px; border-radius: 28px; overflow: hidden; }

/* ---------- Stellen-Abgleich (lars.passt) ---------- */
.match__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: var(--fs-m); font-weight: 600; color: var(--ink);
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 2px solid rgba(17,17,17,.12);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.chip::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: rgba(17,17,17,.18); transition: background .25s ease, transform .3s cubic-bezier(.3,1.6,.5,1);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { background: var(--yellow); transform: scale(1.3); }

.match__result { width: 100%; max-width: 900px; margin-top: clamp(40px, 7vh, 80px); display: flex; flex-direction: column; align-items: center; }
.match__list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 12px; }
.match__item {
  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 8px 28px; align-items: baseline;
  width: 100%; max-width: none !important; text-wrap: initial;
  padding: 22px 30px; border-radius: 24px; background: #fff; text-align: left;
  box-shadow: 0 1px 0 rgba(17,17,17,.04), 0 18px 40px -26px rgba(17,17,17,.2);
}
.match__item b { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.match__item b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px rgba(17,17,17,.08); flex: none; }
.match__item span { color: rgba(17,17,17,.78); text-wrap: pretty; }
.match__cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(32px, 6vh, 64px); }
.match__cta[hidden], .match__empty[hidden] { display: none; }
/* ohne JavaScript: Belege als einfache Liste zeigen, ohne Auswahl */
.match__data { margin: 40px 0 0; max-width: 900px; text-align: left; display: grid; gap: 16px; }
.match__data dt { font-weight: 700; }
.match__data dd { margin: 2px 0 0; color: var(--muted); }
.js .match__data { display: none; }
html:not(.js) .match__chips, html:not(.js) .match__result { display: none; }

/* ---------- Kontakt ---------- */
.contact { padding-bottom: 0; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; }
.col .links { max-width: none; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.links a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.links a:hover { border-color: currentColor; }
/* Finale: Lars steht vor "lars.jetzt" */
.finale { position: relative; width: 100vw; margin-top: var(--scene); display: grid; justify-items: center; align-items: end; }
.finale > * { grid-area: 1 / 1; }
.stand {
  position: relative; z-index: 1; height: min(62vh, 640px); width: auto;
  /* Porträt sitzt etwas höher, damit das Gesicht frei über der Schrift steht */
  margin-bottom: calc(min(17vw, 30vh) * .42);
  /* unterer Rand weich ins Schwarz ausblenden: keine harte Kante zwischen den Buchstaben */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 92%);
}
.finale .signoff { position: relative; z-index: 2; }  /* Schrift vor Lars, damit der gelbe Punkt sichtbar bleibt */
.signoff {
  margin: 0 0 4vh; width: 100vw; text-align: center; white-space: nowrap;
  font-size: min(17vw, 30vh); font-weight: 900; line-height: 1; letter-spacing: -.045em; user-select: none;
}
.signoff__inner { display: inline-block; }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  padding: 40px var(--gutter) 48px; background: var(--ink); color: rgba(246,243,234,.5);
}
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Unterseiten (Impressum, Datenschutz): ruhig, eine Spalte ---------- */
.legal { background: var(--paper); }
.page { max-width: 820px; margin: 0 auto; padding: 168px var(--gutter) var(--scene); }
.page .eyebrow { margin-bottom: 20px; }
.page h1 { font-size: var(--fs-xl); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin: 0 0 var(--space); }
.page__lead { font-size: var(--fs-l); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; margin-bottom: var(--space) !important; text-wrap: pretty; }
.page section + section { margin-top: 56px; }
.page h2 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 16px; }
.page p { margin: 0 0 16px; max-width: 62ch; text-wrap: pretty; }
.page a { text-underline-offset: 4px; }
.page a:hover { color: var(--ink); text-decoration-thickness: 2px; }
.page__stand { color: var(--muted); margin-top: 32px !important; }
.footer a[aria-current="page"] { color: var(--yellow); }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  :root { --scene: 120px; --space: 56px; }
  .nav { top: 10px; padding: 0 10px; }
  .nav__bar { padding: 6px 6px 6px 20px; }
  .nav__logo { font-size: 20px; }
  .nav__cta { padding: 9px 16px; font-size: 16px; }
  .burger { width: 42px; height: 42px; }
  .share-btn { width: 40px; height: 40px; }
  .nav__right { gap: 2px; }
  .giant { top: 17svh; transform: none; font-size: 46vw; }   /* Name komplett über dem Kopf lesbar */
  /* Kopf rutscht hinter "a" und "r": Oberkante etwa auf Höhe der kleinen Buchstaben */
  .portrait { height: 66svh; bottom: max(0px, calc(17svh - 19vw)); }
  .stool { height: 62vh; }
  /* Schrift sitzt tiefer und läuft unten ins Schwarz, das Foto bleibt wo es ist */
  .stand { height: 46vh; margin-bottom: calc(17vw * .14); }
  .signoff { margin-bottom: calc(10vh - 7vw); }
  .career.is-horizontal .career__stage { justify-content: center; padding: 84px 0 24px; gap: 28px; }
  .chapter { gap: 14px; }
  .chapter__when { margin-bottom: 0; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px 16px; }
  .stats .m { font-size: 17px; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { border-radius: 22px; }
  .card__text { padding: 26px 24px 0; }
  .card__go { top: 22px; right: 20px; width: 44px; height: 44px; }
  .card--wide { display: flex; }
  .card--wide .card__text { padding: 26px 24px 0; }
  /* volle Breite: sonst hat das Bild vor dem Laden die Breite 0 und der Abschnitt springt danach in die Höhe */
  .card--wide .card__media { margin-top: auto; align-self: stretch; }
  .card--app .card__media img { aspect-ratio: 16 / 10; }
  .card--showcase { display: flex; }
  .card--showcase .card__text { position: static; width: auto; }
  .card--showcase .card__media img { aspect-ratio: 3 / 2; object-fit: cover; object-position: right center; }
  .match__chips { gap: 8px; }
  .chip { padding: 9px 14px; gap: 8px; font-size: 16px; }
  .chip::before { width: 8px; height: 8px; }
  .match__item { grid-template-columns: 1fr; padding: 20px 22px; border-radius: 20px; }
  .actions .btn { flex: 1 1 100%; }
  .career.is-horizontal .career__track { gap: 48px; padding: 0 7vw; }
  .career.is-horizontal .chapter { width: 86vw; }
  .footer { flex-direction: column; align-items: center; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .live { animation: none; }
  .js .reveal-words .w { opacity: 1; }
  .js .nav { opacity: 1; visibility: visible; }
}
