/* ---------- 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;
  --white: #FFFFFF; --navy: #0A1240;
  --bar-bg: rgba(255, 255, 255, .95);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  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(--white); }
.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(--white); 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(--white); }
.pill-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill-white { border-color: var(--white); background: var(--white); 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: var(--bar-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
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(--white); }
.bar-cv { min-height: 38px; font-size: .88rem; }

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

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

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

/* ---------- Zeitstrahl: Jahre links, Stationen rechts (nach dneg.com/about) ---------- */
.yt { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
html:not(.js) .yt { grid-template-columns: minmax(0, 1fr); }
.yt-years { position: sticky; top: 84px; }
.yt-years ul { list-style: none; margin: 0; padding: 0; }
.yt-y {
  position: relative; display: block; border: 0; background: none; padding: 0; margin: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: .92; letter-spacing: -.01em; color: var(--ink);
  opacity: .2; transition: opacity .3s cubic-bezier(.25, .1, .25, 1); font-variant-numeric: tabular-nums;
}
.yt-y:hover { opacity: .5; }
.yt-y.is-active { opacity: 1; }
.yt-n {
  display: none; position: absolute; left: 100%; top: .2em; margin-left: 6px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--mark, var(--blue)); color: var(--navy);
  font-family: var(--f-body); font-stretch: 100%; font-size: .78rem; font-weight: 700; line-height: 22px; text-align: center;
}
body[data-mark] .yt-y.has-hits .yt-n { display: block; }
body[data-mark] .yt-y:not(.has-hits) { opacity: .08; }
body[data-mark] .yt-y.has-hits:not(.is-active) { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .yt-y { transition: none; } }

.yt-group + .yt-group { margin-top: clamp(48px, 6vw, 80px); }
.yt-div { display: flex; align-items: center; gap: 18px; margin: 0 0 clamp(20px, 3vw, 32px); color: var(--muted); font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.yt-div::before, .yt-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Stationen ---------- */
.station { scroll-margin-top: 90px; }
.station + .station { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.st-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font-size: .9rem; }
.st-years { margin: 0; order: 2; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-place { margin: 0; color: var(--muted); }
.st-role {
  margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: .95; letter-spacing: -.005em; color: var(--ink); text-wrap: balance;
}
.st-role a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .1em; }
.st-org { margin: 10px 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; }

@media (max-width: 860px) {
  .yt { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .yt-years {
    top: 60px; z-index: 6; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 6px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .yt-years ul { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .yt-years ul::-webkit-scrollbar { display: none; }
  .yt-y { font-size: 2.1rem; padding-right: 2px; }
  .yt-n { position: static; display: none; margin: 0 0 0 4px; vertical-align: .6em; }
  body[data-mark] .yt-y.has-hits .yt-n { display: inline-block; }
  .station { scroll-margin-top: 130px; }
  .yt-group { scroll-margin-top: 130px; }
}

/* ---------- 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(--white); padding-bottom: 0; overflow: hidden; }
.sec + .contact { border-top: 0; }
.contact .sec-h { color: var(--white); }
.contact a { text-decoration-color: var(--white); }
.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(--white);
}
.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(--white); 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(--white); background: none; color: var(--white); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .86rem; cursor: pointer; }
.toy-reset[hidden] { display: none; }
.giant-foot { color: var(--white); 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) {
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ml { display: none; }
  .tasks { columns: 1; }
  .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, .markers, .yt-years, .toy, .markpill, .skip, .quick .pill { display: none !important; }
  .yt { display: block; }
  .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(--white); }

/* =====================================================================
   Szenen (Scroll-Animationen)
   Werte 0..1 kommen aus main.js. Ohne JS oder bei "Bewegung reduzieren"
   bleiben die Standardwerte unten stehen: alles offen, nichts gepinnt.
   ===================================================================== */
.scene { position: relative; --o: 1; --l: 1; --t: 1; --n: 1; --a: 1; --b: 1; --c: 1; --s: 1; --h: 0; }
.scene.is-live { height: 230vh; }
.scene-hero.is-live { height: 270vh; }
.scene.is-live .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene:not(.is-live) .pin { padding: 110px 0 72px; }
.scene + .scene, .scene-hero + main .scene:first-child { border-top: 1px solid var(--line); }
.scene.is-live + .scene { border-top: 0; }

/* ---------- Kopf mit Laptop ---------- */
.scene-hero .pin { position: relative; text-align: center; }
.scene-hero.is-live .hero-copy { position: absolute; left: 0; right: 0; top: calc(60px + clamp(16px, 5vh, 52px)); margin: 0 auto; }
.scene-hero.is-live .stage-laptop { position: absolute; left: 0; right: 0; top: 60px; bottom: 0; align-items: center; z-index: 3; }
.scene-hero.is-live .hero-copy { z-index: 2; }
.hero-copy {
  position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter);
  transform: translateY(calc(var(--h) * -70px)); opacity: calc(1 - var(--h) * 1.15);
}
.hero-k { margin: 0 0 6px; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink); }
.hero-h {
  margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.5rem, 7.4vw, 6.4rem); line-height: .95; letter-spacing: -.035em; color: var(--blue);
  text-wrap: balance;
}
.hero-sub { margin: 18px auto 0; max-width: 40ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.42; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  opacity: calc(1 - var(--c) * 4);
}
.scroll-hint::after { content: ""; display: block; width: 2px; height: 22px; margin: 6px auto 0; background: var(--muted); }
.scene:not(.is-live) .scroll-hint { display: none; }

.stage-laptop {
  --w: min(880px, 88vw, calc((100svh - 140px) * 1.2));
  position: relative; width: 100%;
  display: flex; justify-content: center; align-items: flex-start;
  perspective: 2400px; perspective-origin: 50% 0%;
  pointer-events: none;
}
.scene:not(.is-live) .stage-laptop { margin-top: 64px; padding-bottom: calc(var(--w) * .12); }
.scene:not(.is-live) .lt { transform: rotateX(-12deg); }
.lt {
  position: relative; width: var(--w); height: calc(var(--w) * .64);
  transform-style: preserve-3d;
  transform-origin: 50% 100% calc(var(--w) * .33);
  transform: translateY(calc((1 - var(--c)) * (var(--ty0, 72svh) - var(--w) * .62) - var(--c) * var(--w) * .06)) rotateX(calc(-80deg + var(--c) * 68deg));
}
.lt-lid {
  position: absolute; inset: 0; transform-origin: 50% 100%; transform-style: preserve-3d;
  transform: rotateX(calc(-89deg + var(--o) * 101deg)) translateZ(-3px);
}
.lid-shell, .lid-screen { position: absolute; inset: 0; border-radius: 16px 16px 6px 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lid-shell {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #2a63ff, var(--blue) 55%, #0036d6);
  display: grid; place-items: center;
}
.lid-shell img { width: 13%; height: auto; transform: rotate(180deg); }
.lid-screen {
  background: #0b0d26; padding: 2.2% 2.2% 3%;
  container-type: inline-size;
}
.scr {
  height: 100%; border-radius: 4px; overflow: hidden;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 4cqw 4cqw 3cqw; gap: 3cqw;
  opacity: var(--s);
  pointer-events: auto;
}
.scr-h { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: 4.2cqw; line-height: 1.05; color: var(--blue); letter-spacing: -.02em; text-align: center; }
.scr-tiles { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2cqw; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: .8cqw;
  padding: 2.6cqw 1cqw 2.2cqw; border: 2px solid var(--line); border-radius: 1.6cqw;
  text-decoration: none; color: var(--ink); background: var(--paper);
}
.tile:hover { border-color: var(--blue); background: var(--mist); color: var(--ink); }
.tile svg { width: 9cqw; height: auto; margin-bottom: .8cqw; }
.tile b { font-weight: 700; font-size: 2.1cqw; line-height: 1.15; }
.tile small { font-size: 1.6cqw; color: var(--muted); }
.scr-foot { margin: 0; font-size: 1.6cqw; color: var(--muted); }
@container (max-width: 520px) {
  .scr { gap: 2.4cqw; padding: 3cqw; }
  .scr-h { font-size: 5.4cqw; }
  .scr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2cqw; }
  .tile { flex-direction: row; justify-content: flex-start; gap: 2cqw; padding: 2cqw 2.4cqw; text-align: left; }
  .tile svg { width: 9cqw; margin: 0; flex: none; }
  .tile b { font-size: 3.4cqw; display: block; }
  .tile small { display: none; }
  .scr-foot { display: none; }
}
.lt-base {
  /* exakt so groß wie der Deckel, sonst schaut im zugeklappten Zustand ein Rand heraus */
  position: absolute; left: 0; width: 100%; top: 100%; height: 100%;
  transform-origin: 50% 0; transform: rotateX(90deg);
  background: linear-gradient(#E4E9F8, #D3DBF2);
  border-radius: 6px 6px 16px 16px;
}
.kb {
  position: absolute; left: 8%; right: 8%; top: 7%; height: 46%; border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 0 86%, #DDE3F5 86%) 0 0 / calc(100% / 14) calc(100% / 5),
    linear-gradient(transparent 0 80%, #DDE3F5 80%) 0 0 / calc(100% / 14) calc(100% / 5),
    #B8C3E6;
}
.tp { position: absolute; left: 32%; right: 32%; top: 60%; height: 31%; border-radius: 10px; background: #C8D1EE; }


/* ---------- Highlights: gemeinsamer Aufbau ---------- */
.scene-hl .pin { display: flex; align-items: center; padding-top: 60px; }
.hl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 88px); align-items: center; width: 100%; }
.hl-rev .stage { order: 2; }
.stage { display: flex; justify-content: center; align-items: center; min-width: 0; }
.hl-k { margin: 0 0 10px; font-weight: 600; color: var(--muted); }
.hl-h {
  margin: 0 0 22px; font-family: var(--f-display); font-weight: 900; font-stretch: 108%;
  font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: -.025em; color: var(--blue); text-wrap: balance;
}
.hl-body { opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 28px)); }
.hl-body p { margin: 0 0 14px; max-width: 44ch; font-size: clamp(1.02rem, 1.45vw, 1.2rem); line-height: 1.5; text-wrap: pretty; }
.hl-more {
  display: inline-flex; align-items: center; min-height: 42px; margin-top: 8px; padding: 0 16px;
  border: 2px solid var(--blue); border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--blue);
}
.hl-more:hover { background: var(--blue); color: var(--white); }
.hl-pad { background: var(--mist); }
.hl-proj { background: var(--navy); color: var(--white); }
.hl-proj .hl-h { color: var(--white); }
.hl-proj .hl-k { color: #AEBBEA; }
.hl-proj .hl-more { border-color: var(--white); color: var(--white); }
.hl-proj .hl-more:hover { background: var(--white); color: var(--navy); }
.hl-proj :focus-visible { outline-color: var(--white); }

/* ---------- 1: Umschlag mit Rollerbrief ---------- */
.env {
  /* C5-Umschlag hochkant, darin A5 hochkant */
  --e: min(300px, 25vw, calc((100svh - 130px) / 2.45));
  position: relative; width: var(--e); height: calc(var(--e) * 1.414);
  margin-top: calc(var(--e) * 1.02);
  perspective: 1400px; perspective-origin: 50% 0%;
}
.env-back { position: absolute; inset: 0; background: #BFCCF8; border-radius: 6px; }
.letter {
  position: absolute; left: 4.5%; width: 91%; top: 4%; aspect-ratio: 148 / 210; z-index: 2;
  background: var(--white); border-radius: 2px; box-shadow: 0 0 0 1px var(--line);
  padding: 9% 9%; overflow: hidden;
  transform: translateY(calc(var(--l) * -74%));
  display: flex; flex-direction: column; gap: 4%;
}
.letter-h { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: calc(var(--e) * .09); line-height: 1; color: var(--blue); margin-top: 52%; }
.letter-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.letter.has-img { padding: 0; }
.stamp {
  position: absolute; right: 8%; top: 5%; width: 30%; aspect-ratio: .82;
  background: var(--blue); color: var(--white); border: 4px dotted var(--white); outline: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 7%;
  transform: rotate(4deg);
}
.stamp span { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: calc(var(--e) * .05); line-height: 1; }
.stamp small { font-size: calc(var(--e) * .028); line-height: 1.15; margin-top: 3px; }
.lines, .fine { display: flex; flex-direction: column; gap: 6px; width: 90%; }
.lines i, .fine i { display: block; height: calc(var(--e) * .016); background: #D5DDF7; border-radius: 3px; }
.lines i:nth-child(2) { width: 88%; } .lines i:nth-child(4) { width: 62%; }
.fine { margin-top: auto; width: 100%; gap: 3px; }
.fine i { height: calc(var(--e) * .009); }
.fine i:last-child { width: 70%; }
.card { display: flex; gap: 3%; }
.card b { position: relative; width: calc(var(--e) * .1); aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--blue); }
.card b::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); opacity: 0; transform: scale(.4); }
.card b:nth-child(1)::after { opacity: clamp(0, calc((var(--l) - .55) * 8), 1); transform: scale(clamp(.4, calc(.4 + (var(--l) - .55) * 5), 1)); }
.card b:nth-child(2)::after { opacity: clamp(0, calc((var(--l) - .68) * 8), 1); transform: scale(clamp(.4, calc(.4 + (var(--l) - .68) * 5), 1)); }
.card b:nth-child(3)::after { opacity: clamp(0, calc((var(--l) - .80) * 8), 1); transform: scale(clamp(.4, calc(.4 + (var(--l) - .80) * 5), 1)); }
.env-pocket {
  position: absolute; inset: 0; z-index: 3; border-radius: 6px;
  background: #E2E8FF;
  clip-path: polygon(0 0, 50% 30%, 100% 0, 100% 100%, 0 100%);
}
.env-pocket::before {
  content: ""; position: absolute; inset: 0; background: #F1F4FF;
  clip-path: polygon(0 100%, 50% 58%, 100% 100%);
}
.env-flap {
  position: absolute; left: 0; top: 0; width: 100%; height: 38%; z-index: 4;
  transform-origin: 50% 0; transform-style: preserve-3d;
  transform: rotateX(calc(var(--o) * 178deg));
}
.scene.flap-back .env-flap, .scene:not(.is-live) .env-flap { z-index: 1; }
.flap-out, .flap-in { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.flap-out { background: #F1F4FF; }
.flap-in {
  transform: rotateY(180deg);
  background: var(--blue) radial-gradient(rgba(255,255,255,.35) 1.4px, transparent 1.6px) 0 0 / 12px 12px;
}
.seal {
  position: absolute; left: 50%; top: 64%; transform: translate(-50%, -50%) rotate(-8deg);
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: calc(var(--e) * .046);
}

/* ---------- 2: Skizzenblock ---------- */
.pad {
  --s: min(330px, 30vw, 36svh);
  position: relative; width: var(--s); height: calc(var(--s) * 1.25);
  margin-top: calc(var(--s) * .78);
  perspective: 3200px; perspective-origin: 50% 0%;
}
.pad-page {
  position: absolute; inset: 0; border-radius: 4px;
  background: var(--white) radial-gradient(#C9D3F5 1.2px, transparent 1.4px) 0 0 / 16px 16px;
  box-shadow: 0 2px 0 #C9D3F5, 0 4px 0 #E3E8FB, 0 22px 44px rgba(10, 18, 64, .14);
  padding: 16% 9% 9%;
}
.pad-title { display: block; font-style: italic; font-weight: 700; font-size: calc(var(--s) * .13); line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.note {
  position: absolute; padding: 3% 4%; font-weight: 600; font-size: calc(var(--s) * .046); line-height: 1.2;
  color: var(--navy); box-shadow: 0 6px 14px rgba(10, 18, 64, .12);
  opacity: clamp(0, calc(var(--n) * 3), 1);
}
.n1 { left: 9%; top: 40%; background: var(--m-social); transform: rotate(calc(-4deg - (1 - var(--n)) * 20deg)) scale(clamp(.6, calc(.6 + var(--n) * 1.2), 1)); }
.n2 { right: 8%; top: 54%; background: var(--m-campaign); max-width: 46%; transform: rotate(calc(3deg + (1 - var(--n)) * 20deg)) scale(clamp(.6, calc(.6 + (var(--n) - .2) * 1.2), 1)); opacity: clamp(0, calc((var(--n) - .2) * 3), 1); }
.n3 { left: 12%; bottom: 10%; background: var(--m-design); max-width: 58%; transform: rotate(calc(-2deg - (1 - var(--n)) * 16deg)) scale(clamp(.6, calc(.6 + (var(--n) - .4) * 1.2), 1)); opacity: clamp(0, calc((var(--n) - .4) * 3), 1); }
.scribble {
  position: absolute; left: 9%; top: 27%; width: 60%; height: 6%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'%3E%3Cpath d='M2 10 C40 2 70 14 100 8 S160 3 198 9' fill='none' stroke='%230042FF' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 50% / 100% 100%;
  clip-path: inset(0 calc((1 - var(--n)) * 100%) 0 0);
}
.pad-cover {
  position: absolute; inset: 0; z-index: 3; transform-origin: 50% 0; transform-style: preserve-3d;
  transform: rotateX(calc(var(--o) * 128deg));
}
.cov-out, .cov-in { position: absolute; inset: 0; border-radius: 4px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cov-out { background: linear-gradient(170deg, #2a63ff, var(--blue) 60%, #0036d6); display: grid; place-items: center; }
.cov-label {
  background: var(--white); color: var(--blue); padding: 4% 9%; border-radius: 3px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: calc(var(--s) * .08); letter-spacing: -.01em;
}
.cov-in { transform: rotateX(180deg); background: #C7D2F7; }
.rings { position: absolute; left: 7%; right: 7%; top: calc(var(--s) * -.035); z-index: 5; display: flex; justify-content: space-between; pointer-events: none; }
.rings i { display: block; width: calc(var(--s) * .028); height: calc(var(--s) * .075); border-radius: 999px; border: 2px solid var(--ink); background: linear-gradient(90deg, #fff, #AEB9E0); }

/* ---------- 3: Projektor (flach, ohne Verläufe) ---------- */
.hl-proj.is-live { height: 330vh; }
.hl-proj { --r: 1; --l: 1; --perf: 0; --fl: 1; }
.hl-stack { grid-template-columns: 1fr; gap: clamp(14px, 3vh, 34px); }
.hl-stack .hl-h { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.hl-stack .hl-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 80px); align-items: start; }
.hl-stack .hl-k, .hl-stack .hl-h { grid-column: 1; }
.hl-stack .hl-body { grid-column: 2; grid-row: 1 / span 3; }
.hl-stack .hl-copy { grid-template-rows: auto auto 1fr; }
.hl-stack .hl-body p { font-size: clamp(1rem, 1.3vw, 1.12rem); }

.proj {
  --pw: min(1080px, 90vw, calc((100svh - 340px) * 2.3));
  --u: calc(var(--pw) / 1000);
  --ph: 440;
  --gx: 290; --gy: 0; --gs: 1;
  position: relative; width: var(--pw); height: calc(var(--u) * var(--ph));
  perspective: calc(var(--u) * 2400);
}
.proj span { display: block; }
.proj > span { position: absolute; }

/* Leinwand */
.pj-screen {
  left: calc(var(--u) * 500); top: calc(var(--u) * 18); width: calc(var(--u) * 500); height: calc(var(--u) * 337);
  background: #161D4A; overflow: hidden;
  opacity: clamp(0, calc((var(--r) - .72) * 4), 1);
}
.pj-screen::before, .pj-screen::after { /* Perforation, springt pro Bild ein Stück */
  content: ""; position: absolute; top: 0; bottom: 0; width: calc(var(--u) * 22);
  background: repeating-linear-gradient(180deg, transparent 0 calc(var(--u) * 9), #E9EDFF calc(var(--u) * 9) calc(var(--u) * 23), transparent calc(var(--u) * 23) calc(var(--u) * 32));
  background-position: 0 calc(var(--u) * var(--perf));
  opacity: calc(.25 + var(--l) * .65);
}
.pj-screen::before { left: calc(var(--u) * 14); }
.pj-screen::after { right: calc(var(--u) * 14); }
.pj-frame {
  position: absolute; left: calc(var(--u) * 50); right: calc(var(--u) * 50); top: calc(var(--u) * 18.5); bottom: calc(var(--u) * 18.5);
  overflow: hidden; background: #0B0F2E;
}
.pj-frame::before { content: ""; position: absolute; inset: 0; background: #E3E8F8; opacity: var(--l); } /* Lampe an: Leinwand hell */
.pj-video, .pj-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.pj-video { object-fit: cover; background: #0B0F2E; }
.is-playing .pj-screen::before, .is-playing .pj-screen::after { animation: perf .35s linear infinite; }
@keyframes perf { to { background-position: 0 calc(var(--u) * 32); } }

.pj-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-play { cursor: pointer; background: var(--white); color: var(--navy) !important; font: inherit; font-weight: 600; font-size: .92rem; }
.hl-play:hover { background: #DCE4FF !important; }
.yt-note { margin: 10px 0 0 !important; font-size: .82rem !important; color: #AEBBEA; }

/* Lichtstrahl: flache Fläche, Form setzt main.js passend zur Linse */
.pj-beam { inset: 0; background: rgba(220, 230, 255, .2); opacity: var(--l); pointer-events: none; }

/* Projektor als 3D-Gruppe: erst Seitenansicht, dann Schrägansicht */
.pj-3d {
  position: absolute; left: 0; top: calc(var(--u) * var(--gy)); width: calc(var(--u) * 420); height: calc(var(--u) * 440);
  transform-style: preserve-3d; transform-origin: 45% 60%;
  transform: translateX(calc((1 - var(--r)) * var(--u) * var(--gx))) scale(var(--gs)) rotateY(calc(var(--r) * -32deg));
}
.pj-3d > span { position: absolute; }
.pj-reel { width: calc(var(--u) * 175); aspect-ratio: 1; transform: translateZ(calc(var(--u) * 10)); }
.pj-reel svg { width: 100%; height: 100%; display: block; }
.is-playing .pj-reel svg { animation: reel 1.4s linear infinite; }
.is-playing .pj-reel-back svg { animation-duration: 1.1s; }
@keyframes reel { to { transform: rotate(-360deg); } }
.pj-reel-back { left: calc(var(--u) * 18); top: calc(var(--u) * 14); }
.pj-reel-front { left: calc(var(--u) * 168); top: 0; width: calc(var(--u) * 210); }
.pj-arm { width: calc(var(--u) * 14); background: #3A4682; transform-origin: 50% 0; }
.pj-arm-back { left: calc(var(--u) * 99); top: calc(var(--u) * 100); height: calc(var(--u) * 170); transform: translateZ(calc(var(--u) * 5)) rotate(-14deg); }
.pj-arm-front { left: calc(var(--u) * 266); top: calc(var(--u) * 104); height: calc(var(--u) * 150); transform: translateZ(calc(var(--u) * 5)) rotate(14deg); }
.pj-body { left: calc(var(--u) * 62); top: calc(var(--u) * 246); width: calc(var(--u) * 262); height: calc(var(--u) * 136); background: #1F2A68; border-radius: calc(var(--u) * 10); }
.pj-vent { position: absolute; left: 10%; top: 24%; width: 46%; height: 44%; background: repeating-linear-gradient(180deg, #0D1338 0 calc(var(--u) * 6), #1F2A68 calc(var(--u) * 6) calc(var(--u) * 12)); }
.pj-knob { position: absolute; right: 12%; top: 30%; width: calc(var(--u) * 34); aspect-ratio: 1; border-radius: 50%; background: #8B9AD0; }
.pj-body-front { /* Stirnseite, wird beim Drehen sichtbar */
  left: calc(var(--u) * 324); top: calc(var(--u) * 246); width: calc(var(--u) * 110); height: calc(var(--u) * 136);
  background: #2E3A82; transform-origin: 0 50%; transform: rotateY(90deg);
}
.pj-body-top {
  left: calc(var(--u) * 62); top: calc(var(--u) * 246); width: calc(var(--u) * 262); height: calc(var(--u) * 110);
  background: #3A4682; transform-origin: 50% 0; transform: rotateX(-90deg);
}
.pj-foot { left: calc(var(--u) * 92); top: calc(var(--u) * 382); width: calc(var(--u) * 202); height: calc(var(--u) * 18); background: #0D1338; }
.pj-lens { left: calc(var(--u) * 324); top: calc(var(--u) * 276); width: calc(var(--u) * 62); height: calc(var(--u) * 64); background: #26306E; transform: translateZ(calc(var(--u) * -55)); }
.pj-lens-front {
  left: calc(var(--u) * 351); top: calc(var(--u) * 273); width: calc(var(--u) * 70); height: calc(var(--u) * 70); border-radius: 50%;
  background: #3A4682; transform: translateZ(calc(var(--u) * -55)) rotateY(90deg);
}
.pj-lens-front::after { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: #F2F5FF; opacity: var(--l); }

/* ---------- 4: Flyer zum Auffalten ---------- */
.fly {
  --p: min(200px, 17vw, calc(50svh / 1.6));
  position: relative; width: var(--p); height: calc(var(--p) * 1.6);
  perspective: 1800px;
}
.fp { position: absolute; top: 0; width: 100%; height: 100%; transform-style: preserve-3d; container-type: inline-size; }
.fp-in, .fp-out {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 12cqw 10cqw;
  display: flex; flex-direction: column; gap: 3cqw;
}
.fp-out { transform: rotateY(180deg); }
.fp-mid { left: 0; z-index: 1; }
.fp-right { left: 100%; z-index: 2; transform-origin: 0 50%; transform: rotateY(calc((1 - var(--a)) * -180deg)); }
.fp-left { left: -100%; z-index: 3; transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--b)) * 180deg)); }
.fp-mid .fp-in { background: var(--blue); color: var(--white); }
.fp-right .fp-in, .fp-left .fp-in { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 1px var(--line); }
.fp-h { font-weight: 700; font-size: 8cqw; margin-bottom: 4cqw; opacity: .8; }
.fp-big { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 13cqw; line-height: .92; hyphens: manual; }
.fp-li { font-family: var(--f-display); font-weight: 800; font-stretch: 90%; font-size: 12cqw; line-height: 1.05; }
.fp-sm { font-weight: 600; font-size: 9.5cqw; line-height: 1.3; color: var(--navy); }
.fp-cover {
  background: var(--blue); color: var(--white); justify-content: flex-end;
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: 30cqw; line-height: .84; gap: 0;
}
.fp-cover span:first-child { font-size: 15cqw; font-stretch: 100%; margin-bottom: 4cqw; }
.fp-back { background: var(--mist) radial-gradient(var(--line) 1.4px, transparent 1.6px) 0 0 / 12px 12px; }
.fly::after {
  content: ""; position: absolute; left: -100%; right: -100%; bottom: -6%; height: 8%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(10, 18, 64, .22), transparent 70%);
}

/* ---------- Bildung (Bachelorarbeit im Zusammenhang) ---------- */
.edu { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.edu-deg { 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; }
.edu-sch { margin: 8px 0 0; color: var(--muted); }
.edu-ba { border-top: 2px solid var(--blue); padding-top: 18px; }
.edu-ba-k { margin: 0; color: var(--muted); font-weight: 600; }
.edu-ba-t { margin: 6px 0 0; font-family: var(--f-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.15; text-wrap: balance; }
.edu-ba-g { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 0; color: var(--muted); }
.edu-grade { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9; color: var(--blue); letter-spacing: -.03em; }
.edu-ba-p { margin: 18px 0 0; max-width: 52ch; }
.edu-ba-p a { font-weight: 600; color: var(--blue); white-space: nowrap; }

/* ---------- Responsiv für Szenen ---------- */
@media (max-width: 860px) {
  .bar-name, .bar-cv { display: none; }
  .edu { grid-template-columns: 1fr; }
  .scene-hl .pin { align-items: flex-start; padding-top: 76px; }
  .hl-grid { grid-template-columns: 1fr; gap: 18px; }
  .hl-rev .stage { order: 0; }
  .scene-hl .stage { height: 40svh; align-items: center; }
  .stage-laptop { --ty0: 52svh; }
  .env { --e: min(44vw, calc(42svh / 2.45)); margin-top: calc(var(--e) * 1.02); }
  .hl-env .stage { height: 44svh; }
  .pad { --s: min(48vw, 19svh); margin-top: calc(var(--s) * .78); }
  .fly { --p: min(27vw, calc(34svh / 1.6)); }
  .hl-proj .stage { height: auto; }
  .proj { --pw: 92vw; --ph: 940; --gx: 380; --gy: 585; --gs: .8; }
  .pj-screen { left: calc(var(--u) * 85); top: 0; width: calc(var(--u) * 830); height: calc(var(--u) * 570); }
  .pj-screen::before, .pj-screen::after { width: calc(var(--u) * 34); }
  .pj-screen::before { left: calc(var(--u) * 20); } .pj-screen::after { right: calc(var(--u) * 20); }
  .pj-frame { left: calc(var(--u) * 75); right: calc(var(--u) * 75); top: calc(var(--u) * 30); bottom: calc(var(--u) * 30); }
  .pj-3d { transform-origin: 0 0; }
  .hl-stack .hl-copy { grid-template-columns: 1fr; }
  .hl-stack .hl-body { grid-column: 1; grid-row: auto; }
  .hl-stack .hl-copy { grid-template-columns: 1fr; }
  .hl-stack .hl-body { grid-column: 1; grid-row: auto; }
  .hl-k { margin-bottom: 6px; font-size: .9rem; }
  .hl-h { font-size: clamp(1.7rem, 7.4vw, 2.3rem); margin-bottom: 12px; }
  .hl-body p { font-size: .98rem; line-height: 1.45; margin-bottom: 10px; }
  .hl-more { min-height: 38px; margin-top: 2px; }
  .scene-hl:not(.is-live) .stage { height: auto; margin: 24px 0; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .proj { --pw: 74vw; }
  .scene-hl .stage { height: 34svh; }
  .hl-body p { font-size: .92rem; }
  .hl-h { font-size: 1.6rem; }
}

/* =====================================================================
   Dunkelmodus (html[data-theme="dark"], gesetzt im Kopf der Seite)
   ===================================================================== */
html[data-theme="dark"] {
  --blue: #3D66FF; --ink: #E8EDFF; --muted: #A3AEDB; --quiet: #7F8FD6;
  --mist: #151C4F; --line: #2A3478; --paper: #0B1033; --on-blue: #DCE4FF;
  --bar-bg: rgba(11, 16, 51, .92);
  color-scheme: dark;
}
html[data-theme="dark"] .marker:hover { background: color-mix(in srgb, var(--c) 22%, var(--paper)); }
.marker[aria-pressed="true"] { color: var(--navy); }
.tasks li.is-marked > span, .tasks-inline.is-marked > span { color: var(--navy); }

/* =====================================================================
   Umschalter in der Leiste (Hell/Dunkel, Clean/Interaktiv)
   ===================================================================== */
.tgs { display: flex; align-items: center; gap: 6px; flex: none; }
.tg {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink);
  font-weight: 600; font-size: .86rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.tg:hover { border-color: var(--blue); color: var(--blue); }
.tg .ic { width: 16px; height: 16px; }
.ic-sun { display: none; }
html[data-theme="dark"] .ic-sun { display: block; }
html[data-theme="dark"] .ic-moon { display: none; }
@media (max-width: 860px) {
  .tg { min-height: 36px; padding: 0 10px; }
  #tg-theme .tg-t { display: none; }
}

/* =====================================================================
   Menü-Reiter unten (wird am Seitenende zur Kontaktseite)
   ===================================================================== */
.dock-end { height: 100vh; height: 100svh; }
.dock { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.dock-panel {
  --dk: 0; --tw: 230px; --th: 54px; --tb: 14px;
  position: absolute; inset: 0; pointer-events: auto;
  background: var(--blue); color: var(--white);
  clip-path: inset(
    calc((1 - var(--dk)) * (100% - var(--th) - var(--tb)))
    calc((1 - var(--dk)) * (50% - var(--tw) / 2))
    calc((1 - var(--dk)) * var(--tb))
    calc((1 - var(--dk)) * (50% - var(--tw) / 2))
    round calc(14px + var(--dk) * 10px));
  display: flex; flex-direction: column;
}
.dock-panel.is-closed .dock-in { visibility: hidden; }
.dock-in {
  position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(76px, 12vh, 120px) 0 26px;
  opacity: clamp(0, calc((var(--dk) - .45) * 2.2), 1);
  transform: translateY(calc((1 - var(--dk)) * 60px));
  overflow: hidden;
}
.dock-panel a { color: var(--white); text-decoration-color: rgba(255, 255, 255, .5); }
.dock-panel a:hover { color: var(--on-blue); }
.dock-panel :focus-visible { outline-color: var(--white); }
.dock-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); border-top: 1px solid rgba(255, 255, 255, .45); padding-top: 26px; width: 100%; }
.dock-k { margin: 0 0 6px; font-size: .95rem; color: var(--on-blue); }
.dock-big {
  margin: 0 0 22px; font-family: var(--f-display); font-weight: 600; font-stretch: 100%;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere;
}
.dock-big a { text-decoration: none; }
.dock-mid { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.35; }
.dock-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.dock-actions .pill { color: var(--blue); }
.dock-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-left: 1px solid rgba(255, 255, 255, .45); padding-left: clamp(18px, 3vw, 32px); }
.dock-nav a { position: relative; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.25; text-decoration: none; letter-spacing: -.01em; }
.dock-nav a::before { content: ""; position: absolute; left: -.55em; top: .5em; width: .3em; height: .3em; background: var(--white); opacity: 0; }
.dock-nav a:hover::before, .dock-nav a:focus-visible::before { opacity: 1; }
.dock-bottom { width: 100%; }
.dock-name { color: var(--white); line-height: .86; margin: 0 0 -.06em; padding-top: .2em; user-select: none; -webkit-user-select: none; font-size: 17vw; }
.dock-bottom .toy-hint { margin: 0 0 6px; color: var(--on-blue); }
.dock-close {
  position: absolute; top: 18px; right: var(--gutter); z-index: 2;
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--white);
  background: none; color: var(--white); font-weight: 600; cursor: pointer;
}
html:not(.dock-open) .dock-close { display: none; }
html.dock-open { overflow: hidden; }
.dock-tab {
  position: absolute; left: 50%; bottom: var(--tb); transform: translateX(-50%);
  width: var(--tw); height: var(--th); border: 0; background: none; color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; cursor: pointer; border-radius: 14px;
  box-shadow: inset 0 0 0 2px var(--dock-ring, var(--paper));
  opacity: clamp(0, calc(1 - var(--dk) * 5), 1);
}
.dock-panel:not(.is-closed) .dock-tab { pointer-events: none; }
.dock-sq { width: 10px; height: 10px; background: var(--white); }
.dock-stripes { display: flex; height: 12px; flex: none; opacity: clamp(0, calc((var(--dk) - .6) * 3), 1); }
.dock-stripes i { flex: 1; }
.dock-stripes i:nth-child(1) { background: var(--m-social); }
.dock-stripes i:nth-child(2) { background: var(--m-campaign); }
.dock-stripes i:nth-child(3) { background: var(--m-design); }
.dock-stripes i:nth-child(4) { background: var(--m-events); }
.dock-stripes i:nth-child(5) { background: var(--m-deal); }
.markpill { bottom: 82px; }
@media (max-width: 760px) {
  .dock-panel { --tw: 200px; --th: 50px; --tb: 12px; }
  .dock-grid { grid-template-columns: 1fr; gap: 22px; }
  .dock-nav { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .45); padding-top: 18px; }
  .dock-nav a { font-size: 1.5rem; }
  .dock-nav a::before { display: none; }
  .dock-in { padding-top: 70px; overflow-y: auto; }
  .markpill { bottom: 74px; }
}
@media print { .dock { display: none; } .dock-end { display: none; } }
