@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2"); font-weight: 400 800; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }

:root {
  --bg: #F3F2EE; --card: #FFFFFF; --panel: #EAE8E2; --ink: #161513; --ink-2: #6A6862; --ink-body: #34342F; --rule: #DEDCD6;
  --stage: #0A0908; --accent: #E2622F; --accent-text: #B4441A;
  /* Projektfarben: Fläche, tiefer Ton, Schrift auf der Fläche */
  --b1: #E4F0E8; --b2: #CBE3D3; --bi: #1E6B45;
  --f1: #E6E8FB; --f2: #CDD3F6; --fi: #2D4FE0;
  --h1: #E2F3FC; --h2: #C2E5F8; --hi: #0B84C6;
  --k1: #F2ECE3; --k2: #E6DACA; --ki: #B4441A;
  --term: #1C1B18;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --bar: 80px; --r: 36px;
  color-scheme: light;
}
:root.dark {
  --bg: #12110F; --card: #1C1B18; --panel: #191816; --ink: #F3F2EE; --ink-2: #A3A098; --ink-body: #D3D1CA; --rule: #2C2A27;
  --accent-text: #F08453;
  --b1: #16221A; --b2: #1D3024; --bi: #7ED3A2;
  --f1: #181B30; --f2: #212849; --fi: #A3B4FF;
  --h1: #0F212C; --h2: #143246; --hi: #6CCBF8;
  --k1: #201C17; --k2: #2B251D; --ki: #F08453;
  --term: #0E0D0C;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .4s ease, color .4s ease; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
svg.i { width: 1em; height: 1em; flex: none; }

/* ---------- Kopfleiste: Glas-Pille, im Projektbereich wird die Mitte zum Projekt-Umschalter ---------- */
.bar { position: fixed; z-index: 60; top: 12px; left: 50%; translate: -50% 0; width: min(1120px, 100% - 24px); height: 58px;
  display: flex; align-items: center; gap: 12px; padding: 0 8px 0 14px; border-radius: 999px; }
.bar > .brand, .bar > .tools { flex: 1 1 0; min-width: 0; }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(rgb(255 255 255 / .78), rgb(255 255 255 / .56)); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .75), 0 14px 40px -14px rgb(40 30 20 / .28); }
.dark .bar::before { background: linear-gradient(rgb(52 50 48 / .66), rgb(28 27 25 / .5)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 14px 40px -14px rgb(0 0 0 / .7); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.mid { position: relative; height: 42px; display: grid; }
.mid > * { grid-area: 1 / 1; justify-self: center; transition: opacity .3s ease, transform .45s var(--ease-out), filter .3s ease; }
.nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: color .2s ease, background-color .2s ease; }
@media (hover: hover) { .nav a:hover { color: var(--ink); background: rgb(0 0 0 / .05); } .dark .nav a:hover { background: rgb(255 255 255 / .07); } }
.pnav { position: relative; display: flex; align-items: center; padding: 4px; border-radius: 999px; background: rgb(0 0 0 / .05); }
.dark .pnav { background: rgb(255 255 255 / .06); }
.pnav button { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 7px; border: 0; background: none; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: color .25s ease; white-space: nowrap; }
.pnav button img, .pnav button .ico { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.pnav button.on { color: var(--ink); }
.pnav-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--card);
  box-shadow: 0 1px 3px rgb(0 0 0 / .12), 0 0 0 .5px rgb(0 0 0 / .06); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.dark .pnav-thumb { background: rgb(255 255 255 / .14); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); }
.bar:not(.in-work) .pnav { opacity: 0; transform: translateY(8px) scale(.97); filter: blur(4px); pointer-events: none; }
.bar.in-work .nav { opacity: 0; transform: translateY(-8px) scale(.97); filter: blur(4px); pointer-events: none; }
.tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgb(0 0 0 / .05); cursor: pointer; font-size: 18px; transition: transform .16s ease-out, background-color .2s ease; }
.dark .icon-btn { background: rgb(255 255 255 / .07); }
.icon-btn:active { transform: scale(.94); }
/* Hell/Dunkel wie in iOS: halb gefüllter Kreis; beim Wechsel dreht er sich, die gefüllte Hälfte wandert auf die andere Seite */
.icon-btn .appear { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.dark .icon-btn .appear { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .icon-btn .appear { transition: none; } }
.cta-s { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 8px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: var(--ink); color: var(--bg); transition: transform .16s ease-out; }
.cta-s img { width: 28px; height: 28px; border-radius: 7px; }
.cta-s:active { transform: scale(.97); }

/* ---------- Bühne (dunkel, wie bisher: Porträt mit warmem Gegenlicht) ---------- */
/* Volle Breite statt Karte (Wunsch 2026-12-02): die dunkle Bühne läuft bis an die Ränder, der Inhalt bleibt in der Spalte */
.hero { padding-top: 0; }
.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 0; background: var(--stage); color: #F3F2EE; transition: background-color .4s ease, color .4s ease;
  padding: 84px max(0px, (100% - 1240px) / 2) 0; min-height: min(940px, 100svh); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: 1fr;
  transform-origin: 50% 0; will-change: transform; }
.dark .stage { box-shadow: inset 0 -1px 0 rgb(255 255 255 / .07); }
/* Heller Modus (Wunsch 2026-12-02): die Bühne wird hell, damit man den Wechsel sofort sieht; Porträt und warme Scheibe bleiben */
html:not(.dark) .stage { background: #EAE6DE; color: var(--ink); }
html:not(.dark) .eyebrow { color: var(--ink-2); }
html:not(.dark) .hero-lede { color: var(--ink-body); }
html:not(.dark) .hero-lede q { color: var(--ink); }
html:not(.dark) .btn-g { background: rgb(255 255 255 / .6); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
@media (hover: hover) { html:not(.dark) .btn-g:hover { background: #fff; } }
html:not(.dark) .portrait img { filter: drop-shadow(0 18px 30px rgb(90 50 20 / .22)); }
.hero-text { grid-column: 1; align-self: center; padding: clamp(40px, 6vw, 84px) 0 24px clamp(28px, 5vw, 72px); position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #A3A098; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(226 98 47 / .6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(226 98 47 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(226 98 47 / 0); } }
h1 { margin-top: 20px; font-size: clamp(44px, 6.2vw, 80px); font-weight: 650; letter-spacing: -.045em; line-height: .98; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .ln > span { display: block; white-space: nowrap; }
.hero-lede { margin-top: 22px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 19px); color: #CFCCC4; text-wrap: pretty; }
.hero-lede q { quotes: "„" "“"; color: #fff; font-weight: 550; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .16s ease-out, background-color .25s ease, box-shadow .25s ease; }
.btn:active { transform: scale(.97); }
.btn-o { background: var(--accent); color: #1C1C1A; box-shadow: 0 10px 30px -10px rgb(226 98 47 / .7); }
@media (hover: hover) { .btn-o:hover { background: #EE7340; } }
.btn-g { background: rgb(255 255 255 / .08); color: #F3F2EE; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
@media (hover: hover) { .btn-g:hover { background: rgb(255 255 255 / .13); } }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .btn:hover svg.arr-d { transform: translateY(2px); } .btn:hover svg.arr-r { transform: translateX(3px); } }

.portrait { grid-column: 2; grid-row: 1; position: relative; align-self: end; justify-self: center; width: min(100%, 560px); aspect-ratio: 1100 / 1259; margin-bottom: -4%; z-index: 1; }
.portrait::before { content: ""; position: absolute; left: 57%; top: 78%; width: 128%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, #FAD08A 0%, #F4A651 30%, #E2622F 58%, rgb(150 52 18 / .5) 80%, rgb(28 10 4 / 0) 100%); filter: blur(4px); }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 36px rgb(0 0 0 / .45)); will-change: transform; }

/* Projektübersicht unten auf der Bühne: alles auf einen Blick, ein Klick springt hin */
.index { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px); }
.ix { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 22px;
  background: rgb(22 21 19 / .62); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
  transition: transform .4s var(--ease-out), background-color .25s ease; }
.ix:active { transform: scale(.98); }
@media (hover: hover) { .ix:hover { transform: translateY(-3px); background: rgb(40 38 35 / .7); } .ix:hover .ix-go { transform: translate(2px, -2px); color: #fff; } }
.ix-ic { width: 42px; height: 42px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; }
.ix-ic img { width: 100%; height: 100%; }
.ix b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.ix small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #A3A098; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix small i { width: 6px; height: 6px; border-radius: 50%; background: #6A6862; flex: none; }
.ix small i.live { background: var(--accent); animation: ping 2.4s ease-out infinite; }
.ix-go { color: #6A6862; transition: transform .3s var(--ease-out), color .2s ease; }
.ico-ha { background: linear-gradient(165deg, #4FC6F7, #109BE0); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35); }
.ico-ha svg { fill: #fff; }
.ico-ki { background: linear-gradient(160deg, #3A332B, #1C1B18); color: #F08453; font: 700 15px/1 var(--mono); }
.ico-ha svg, .ico-ki svg { width: 58%; height: 58%; }

/* Aufbau beim Laden */
.boot h1 .l { transform: translateY(112%) rotate(4deg); }
.boot .hero-text .rise, .boot .ix { opacity: 0; transform: translateY(18px); }
.boot .portrait::before { opacity: 0; transform: translateY(26%) scale(.62); }
.boot .portrait img { opacity: 0; transform: translateY(24px); }
h1 .l { display: inline-block; transform-origin: 0 100%; transition: transform 1.1s var(--ease-out) calc(.05s + var(--i) * 38ms); }
.hero-text .rise { transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: calc(.35s + var(--d, 0) * 90ms); }
.portrait::before { transition: opacity 1.6s ease .2s, transform 2.4s var(--ease-out) .2s; }
.portrait img { transition: opacity .9s ease .1s, transform 1.1s var(--ease-out) .1s; }
.ix { transition: opacity .7s ease calc(.75s + var(--d) * 70ms), transform .9s var(--ease-out) calc(.75s + var(--d) * 70ms), background-color .25s ease; }
.ready .ix { transition: transform .4s var(--ease-out), background-color .25s ease; }

/* ---------- Abschnittsköpfe ---------- */
.head { padding: clamp(96px, 12vw, 150px) 0 clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.kick { font: 600 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.head h2, .h2 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 650; letter-spacing: -.04em; line-height: 1.02; }
.head > p { color: var(--ink-2); max-width: 44ch; font-size: 17px; justify-self: end; }
.words .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .7s ease, transform .9s var(--ease-out), filter .7s ease; transition-delay: calc(var(--i) * 60ms); }
.words.in .w { opacity: 1; transform: none; filter: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Projekte: Kapitel links, eine feste Bühne rechts ---------- */
.work { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.ch { min-height: 150vh; }
.ch[data-k="3"] { min-height: 115vh; }
.ch-in { position: sticky; top: max(120px, calc(50svh - 250px)); padding: 8px 0 40px; opacity: .28; transform: scale(.985); transform-origin: 0 50%;
  transition: opacity .55s ease, transform .7s var(--ease-out); }
.ch.on .ch-in { opacity: 1; transform: none; }
.ch h3 .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ch h3 .wd > span { display: inline-block; transform: translateY(108%); transition: transform .25s ease; }
.ch.on h3 .wd > span { transform: none; transition: transform 1s var(--ease-out) calc(.08s + var(--i) * 45ms); }
.ch .lede, .ch .facts, .ch .nums, .ch .links { transform: translateY(16px); transition: transform .3s ease; }
.ch.on .lede { transform: none; transition: transform .9s var(--ease-out) .22s; }
.ch.on .facts, .ch.on .nums { transform: none; transition: transform .9s var(--ease-out) .3s; }
.ch.on .links { transform: none; transition: transform .9s var(--ease-out) .38s; }
.ch.past .ch-in { opacity: 0; transform: translateY(-24px) scale(.985); transition: opacity .35s ease, transform .6s var(--ease-out); }
.ch-top { display: flex; align-items: center; gap: 14px; }
.ch-ic { width: 60px; height: 60px; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .35), 0 0 0 .5px rgb(0 0 0 / .1); display: grid; place-items: center; }
.ch-ic img { width: 100%; height: 100%; }
.ch-n { font: 600 12.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ch-n b { display: block; color: var(--ink); font: 650 22px/1.1 var(--font); letter-spacing: -.02em; text-transform: none; }
.ch h3 { margin-top: 26px; font-size: clamp(30px, 3.3vw, 44px); font-weight: 650; letter-spacing: -.038em; line-height: 1.05; text-wrap: balance; }
.ch h3 em { font-style: normal; color: var(--tone-i); }
.ch .lede { margin-top: 16px; font-size: 17.5px; color: var(--ink-body); max-width: 42ch; text-wrap: pretty; }
.facts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 550; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.facts li.st { background: var(--tone-1); color: var(--tone-i); box-shadow: none; }
.facts li.st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.facts li.st i.live { animation: ping 2.4s ease-out infinite; color: var(--tone-i); }
.nums { margin-top: 24px; display: flex; gap: 28px; }
.nums b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.035em; line-height: 1.05; color: var(--tone-i); }
.nums span { font-size: 13.5px; color: var(--ink-2); }
.links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.go { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px; background: var(--ink); color: var(--bg); transition: transform .16s ease-out; }
.go:active { transform: scale(.97); }
.go svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .go:hover svg, .go-2:hover svg { transform: translate(2px, -2px); } }
.go-2 { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 16px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.go-2 svg { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.ch[data-k="0"] { --tone-1: var(--b1); --tone-i: var(--bi); }
.ch[data-k="1"] { --tone-1: var(--f1); --tone-i: var(--fi); }
.ch[data-k="2"] { --tone-1: var(--h1); --tone-i: var(--hi); }
.ch[data-k="3"] { --tone-1: var(--k1); --tone-i: var(--ki); }

/* App-Store-Abzeichen (wie auf der jetzigen Seite selbst nachgebaut) */
.asb { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 12px; border-radius: 11px; background: #000; color: #fff;
  box-shadow: inset 0 0 0 1px #A6A6A6; transition: transform .16s ease-out, box-shadow .25s ease; }
.asb-logo { width: 22px; height: 26px; flex: none; fill: currentColor; translate: 0 -1px; }
.asb span { display: grid; line-height: 1; }
.asb small { font-size: 10px; font-weight: 500; letter-spacing: .02em; }
.asb b { margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
a.asb:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { a.asb:hover { box-shadow: inset 0 0 0 1px #A6A6A6, 0 10px 24px -8px rgb(10 132 255 / .55); } }
.asb.soon { position: relative; margin-right: 14px; padding-right: 22px; background: #2A2A2C; color: rgb(255 255 255 / .72); box-shadow: inset 0 0 0 1px #5A5A5E; }
.asb.soon::after { content: "Soon"; position: absolute; top: -11px; right: -16px; padding: 3px 8px; border-radius: 999px; background: #2D4FE0; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; rotate: 6deg; box-shadow: 0 0 0 2px var(--bg), 0 4px 10px -2px rgb(45 79 224 / .5); }
.avail { display: inline-flex; align-items: center; gap: 6px; color: #0A84FF; font-size: 14.5px; font-weight: 600; }
.dark .avail { color: #409CFF; }
.avail svg { width: 19px; height: 19px; }
.beta { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 550; }
.beta i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #5BD38A; }
.beta i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #5BD38A; animation: app-ping 1.8s var(--ease-out) infinite; }
@keyframes app-ping { 0% { opacity: .9; scale: .5; } 100% { opacity: 0; scale: 1.4; } }
.more-l { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--ink); padding: 6px 0; }
.more-l svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more-l:hover svg { transform: translateX(4px); } }
.ch .more-l { transform: translateY(16px); transition: transform .3s ease; } .ch.on .more-l { transform: none; transition: transform .9s var(--ease-out) .44s; }
.links { align-items: center; gap: 16px; }

/* Die feste Bühne */
.show-col { position: relative; }
.show { position: sticky; top: 92px; height: calc(100svh - 112px); min-height: 560px; max-height: 900px; border-radius: var(--r); overflow: hidden; isolation: isolate;
  background: var(--b1); }
.show[data-bg="1"] { background: var(--f1); } .show[data-bg="2"] { background: var(--h1); } .show[data-bg="3"] { background: var(--k1); }
/* Farbwelle: beim Projektwechsel breitet sich die neue Farbe kreisförmig vom Telefon aus */
.wave { position: absolute; inset: 0; z-index: -2; pointer-events: none; clip-path: circle(0% at 50% 47%); }
/* Licht: bei Smart Home (Schalter) und bei KI (Befehl im Terminal) geht oben warmes Licht an */
.show > .lamp { position: absolute; left: 50%; top: -55%; width: 130%; aspect-ratio: 1; translate: -50% 0; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 200 120 / .7), rgb(255 176 90 / .25) 50%, transparent);
  opacity: 0; transform: scale(.75); transition: opacity .35s ease, transform .5s ease; }
.dark .show > .lamp { background: radial-gradient(closest-side, rgb(255 180 90 / .34), rgb(255 150 60 / .12) 50%, transparent); }
.show[data-k="2"] .lamp, .show.lit .lamp { opacity: 1; transform: none; transition: opacity 1.4s ease 1s, transform 2s var(--ease-out) 1s; }
.show.lit .lamp { transition-delay: 0s; }
/* Zähler und Stand oben auf der Bühne */
.step { position: absolute; left: 24px; top: 22px; z-index: 5; display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--mono); color: var(--ink-2); }
.roll { display: inline-block; height: 1em; overflow: hidden; color: var(--ink); }
.roll span { display: flex; flex-direction: column; transition: transform .9s var(--ease-out); }
.roll i { font-style: normal; height: 1em; line-height: 1; }
.stat { position: absolute; right: 22px; top: 16px; z-index: 5; display: grid; }
.stat span { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgb(255 255 255 / .6); color: var(--ink); opacity: 0; transform: translateY(-6px); filter: blur(4px); transition: opacity .18s ease, transform .2s ease, filter .18s ease; }
.dark .stat span { background: rgb(255 255 255 / .08); }
.stat span i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.show[data-k="0"] .stat span:nth-child(1), .show[data-k="1"] .stat span:nth-child(2), .show[data-k="2"] .stat span:nth-child(3), .show[data-k="3"] .stat span:nth-child(4) {
  opacity: 1; transform: none; filter: none; transition: opacity .45s ease .35s, transform .7s var(--ease-out) .35s, filter .45s ease .35s; }
.show[data-k="0"] .stat span:nth-child(1) i { animation: ping 2.4s ease-out infinite; }
.spin { transform-style: preserve-3d; }
.scr.snap img { transition: none !important; }
/* Beleg wird gescannt, dann steht das Ergebnis da */
.rc { position: relative; width: 36px; height: 46px; border-radius: 6px; background: #fff; flex: none; overflow: hidden; display: flex; flex-direction: column; gap: 5px; padding: 7px 6px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 6px 12px -6px rgb(0 0 0 / .35); }
.rc i { height: 3px; border-radius: 2px; background: #D5D7E0; } .rc i:nth-child(2) { width: 70%; } .rc i:nth-child(3) { width: 85%; } .rc i:nth-child(4) { width: 55%; margin-top: auto; background: #2D4FE0; }
.rc b { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: linear-gradient(rgb(45 79 224 / 0), rgb(45 79 224 / .4)); border-bottom: 2px solid #2D4FE0; transform: translateY(-18px); }
.show[data-k="1"] .rc b { animation: scan 1s ease-in-out .5s 2 both; }
@keyframes scan { from { transform: translateY(-18px); } to { transform: translateY(46px); } }
.scan > span:last-child { opacity: 0; filter: blur(5px); transform: translateX(-4px); transition: opacity .15s ease, filter .15s ease, transform .2s ease; }
.show[data-k="1"] .scan > span:last-child { opacity: 1; filter: none; transform: none; transition: opacity .5s ease 2.5s, filter .5s ease 2.5s, transform .7s var(--ease-out) 2.5s; }
.show::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(60% 50% at 50% 42%, rgb(255 255 255 / .55), transparent 70%); }
.dark .show::before { background: radial-gradient(60% 50% at 50% 42%, rgb(255 255 255 / .06), transparent 70%); }
.show::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; z-index: -1; background: radial-gradient(closest-side, var(--deep), transparent); transition: opacity .8s ease; --deep: var(--b2); }
.show[data-k="1"]::after { --deep: var(--f2); } .show[data-k="2"]::after { --deep: var(--h2); } .show[data-k="3"]::after { --deep: var(--k2); }
.dark .show { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }

.dev-wrap { position: absolute; left: 50%; top: 48%; width: min(21vw, 300px, calc((100svh - 260px) / 2.05)); min-width: 220px; translate: -50% -50%; perspective: 1400px;
  transition: opacity .5s ease, transform .8s var(--ease-out); }
.show[data-k="2"] .dev-wrap, .show[data-k="3"] .dev-wrap { opacity: 0; transform: translateY(60px) scale(.92); transition: opacity .3s ease, transform .5s ease; }
.dev { position: relative; aspect-ratio: 73.1 / 150; transform-style: preserve-3d; will-change: transform;
  filter: drop-shadow(0 34px 34px rgb(0 0 0 / .2)) drop-shadow(0 8px 10px rgb(0 0 0 / .14)); }
.scr { position: absolute; left: 4.446%; top: 1.733%; width: 91.108%; height: 96.533%; border-radius: 13.66% / 6.28%; overflow: hidden; background: #050506; }
.scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; clip-path: inset(100% 0 0 0); transform: translateY(6%);
  transition: clip-path .7s var(--ease-out), transform .9s var(--ease-out), filter .7s ease; }
.scr img.on { z-index: 2; clip-path: inset(0 0 0 0); transform: none; }
.scr img.was { z-index: 1; clip-path: inset(0 0 0 0); transform: translateY(-8%) scale(.96); filter: brightness(.5); }
.dev::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url("iphone.svg") center / 100% 100% no-repeat; }

/* Schwebende UI-Karten: zeigen, was die App kann (Beispieldaten) */
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; max-width: 200px;
  background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: 0 18px 40px -16px rgb(30 25 20 / .35), inset 0 0 0 1px rgb(255 255 255 / .7); color: #161513; font-size: 14px; line-height: 1.3;
  opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .15s ease, transform .2s ease; pointer-events: none; will-change: transform, translate; }
.dark .chip { background: rgb(40 38 35 / .78); color: #F3F2EE; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .1); }
.chip small { display: block; font-size: 12.5px; color: #6A6862; }
.dark .chip small { color: #A3A098; }
.chip b { font-weight: 650; }
.chip .cic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.chip .cic svg { width: 19px; height: 19px; }
.show[data-k="0"] .chip[data-k="0"], .show[data-k="1"] .chip[data-k="1"], .show[data-k="2"] .chip[data-k="2"], .show[data-k="3"] .chip[data-k="3"] {
  opacity: 1; transform: none; transition: opacity .5s ease calc(.25s + var(--d) * 110ms), transform .8s var(--ease-out) calc(.25s + var(--d) * 110ms); }
.c-a { left: 3%; top: 15%; } .c-b { right: 3%; bottom: 15%; } .c-c { left: 9%; bottom: 14%; }
.chip { font-size: 13.5px; } .chip small { font-size: 12px; } .chip .cic { width: 32px; height: 32px; border-radius: 9px; } .chip .cic svg { width: 17px; height: 17px; }
.bar-mini { margin-top: 7px; width: 110px; height: 5px; border-radius: 5px; background: rgb(0 0 0 / .08); overflow: hidden; }
.dark .bar-mini { background: rgb(255 255 255 / .1); }
.bar-mini i { display: block; height: 100%; width: 56%; border-radius: inherit; background: var(--bi); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .6s; }
.show[data-k="0"] .bar-mini i { transform: scaleX(1); }
.sw { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgb(0 0 0 / .14); flex: none; margin-left: auto; transition: background-color .3s ease .9s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .35s var(--ease-out) .9s; }
.show[data-k="2"] .sw { background: #F5B042; } .show[data-k="2"] .sw::after { transform: translateX(18px); }
.dark .sw { background: rgb(255 255 255 / .16); }

/* KI: Terminal statt Telefon */
.term { position: absolute; left: 8%; right: 8%; top: 50%; translate: 0 -54%; z-index: 3; background: var(--term); color: #DAD7CF; border-radius: 22px; padding: 18px 22px 22px;
  font: 13.5px/1.75 var(--mono); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07), 0 40px 70px -30px rgb(40 20 10 / .55);
  opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .2s ease, transform .3s ease; }
.show[data-k="3"] .term { opacity: 1; transform: none; transition: opacity .5s ease .2s, transform .9s var(--ease-out) .2s; }
.term-top { display: flex; gap: 7px; margin-bottom: 14px; }
.term-top i { width: 11px; height: 11px; border-radius: 50%; background: #3A3833; }
.term-top span { margin-left: auto; font-size: 12px; color: #8F8C84; }
.term p { min-height: 1.75em; white-space: pre-wrap; }
.term .u { color: #fff; } .term .t b { color: #5CC08C; font-weight: 400; } .term .o { color: #8F8C84; padding-left: 2ch; } .term .a { color: #F3F2EE; }
.term .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: #E2622F; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term .line { opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .4s var(--ease-out); }
.term .line.in { opacity: 1; transform: none; }

/* Home Assistant als Mitte, die Marken hängen daran; Daten fließen über die Linien */
.hub { position: absolute; left: 50%; top: 48%; width: min(82%, 520px, calc(100svh - 280px)); aspect-ratio: 1; translate: -50% -50%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.hub.on { opacity: 1; transition: opacity .4s ease .15s; }
.hub > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub .ln line { stroke: var(--hi); stroke-opacity: .3; stroke-width: .35; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s ease; }
.hub.on .ln line { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out) calc(.35s + var(--i) * 60ms); }
.hub .flow line { stroke: var(--hi); stroke-width: .9; stroke-linecap: round; stroke-dasharray: .015 .12; opacity: 0; transition: opacity .2s ease;
  animation: flow 1.8s linear infinite; animation-delay: calc(var(--i) * -.23s); }
.hub.on .flow line { opacity: .85; transition: opacity .8s ease 1.3s; }
@keyframes flow { to { stroke-dashoffset: -.135; } }
.hub-core { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; translate: -50% -50%; border-radius: 27%; display: grid; place-items: center;
  background: linear-gradient(165deg, #4FC6F7, #109BE0); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 26px 50px -18px rgb(16 155 224 / .7);
  transform: scale(.7); opacity: 0; transition: transform .3s ease, opacity .2s ease; }
.hub.on .hub-core { transform: none; opacity: 1; transition: transform 1s var(--ease-out) .1s, opacity .4s ease .1s; }
.hub-core > svg { width: 54%; height: 54%; fill: #fff; }
.hub-core::before, .hub-core::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #18BCF2; opacity: 0; }
.hub.on .hub-core::before { animation: ring 2.8s var(--ease-out) 1s infinite; } .hub.on .hub-core::after { animation: ring 2.8s var(--ease-out) 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.8); opacity: 0; } }
.node { position: absolute; width: 14%; aspect-ratio: 1; translate: -50% -50%; border-radius: 30%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 26px -12px rgb(20 50 80 / .4), inset 0 0 0 1px rgb(0 0 0 / .05); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .3s ease, box-shadow .3s ease; }
.dark .node { background: #1B2A34; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 12px 26px -12px rgb(0 0 0 / .7); }
.hub.on .node { opacity: 1; transform: none; transition: opacity .5s ease calc(.8s + var(--i) * 70ms), transform .9s var(--ease-out) calc(.8s + var(--i) * 70ms), box-shadow 1.2s ease 1.9s; }
.node i { width: 54%; height: 54%; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.dark .node.lg i { background: #E0336A; }
.hub.on .node.hue { box-shadow: 0 12px 26px -12px rgb(20 50 80 / .4), 0 0 0 4px rgb(255 205 120 / .45), 0 0 44px 8px rgb(255 190 100 / .55); }

/* Unterzeile der Bühne: Projekt · Ansicht, Punkte für die Ansichten */
.cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cap-t { font-size: 14px; font-weight: 600; color: var(--ink); transition: opacity .18s ease, filter .18s ease; }
.cap-t span { color: var(--ink-2); font-weight: 500; }
.cap-t.sw-out { opacity: 0; filter: blur(4px); }
.dots { display: flex; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgb(255 255 255 / .55); }
.dark .dots { background: rgb(255 255 255 / .07); }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgb(0 0 0 / .2); cursor: pointer; transition: width .45s var(--ease-out), background-color .3s ease; }
.dark .dots button { background: rgb(255 255 255 / .22); }
.dots button.on { width: 22px; background: var(--ink); }

/* Mobile Bühne je Kapitel (von JS gebaut) */
.m-show { display: none; }

/* ---------- Außerdem ---------- */
.more { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mc { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); transition: transform .45s var(--ease-out), box-shadow .3s ease; }
.mc .kick { color: var(--ink-2); }
.mc b { margin-top: 8px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc b svg { width: 17px; height: 17px; color: var(--ink-2); transition: transform .3s var(--ease-out), color .2s ease; }
.mc p { color: var(--ink-2); font-size: 15px; }
@media (hover: hover) { .mc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rule), 0 24px 50px -28px rgb(40 30 20 / .35); } .mc:hover b svg { transform: translate(2px, -2px); color: var(--ink); } }
.mc:active { transform: scale(.98); }

/* ---------- Schmal ---------- */
@media (max-width: 1080px) {
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pnav button span.t { display: none; } .pnav button { padding: 0 7px; }
}
@media (max-width: 900px) {
  :root { --r: 28px; }
  .bar { height: 54px; } .nav, .cta-s .t { display: none; } .cta-s { padding: 0 7px; }
  .mid { display: none; } .bar.in-work .mid { display: grid; }
  .bar.in-work .brand span { display: none; }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; border-radius: 0; padding: 70px 0 0; }
  .hero-text { padding: 40px 24px 0; }
  .portrait { grid-column: 1; grid-row: 2; width: min(86%, 420px); margin: -10px 0 -2%; justify-self: end; }
  .index { grid-row: 3; margin-top: -44px; padding: 0 10px 10px; gap: 8px; }
  .ix { grid-template-columns: auto 1fr; padding: 10px; gap: 10px; border-radius: 18px; }
  .ix-go { display: none; } .ix-ic { width: 36px; height: 36px; border-radius: 9px; } .ix b { font-size: 14.5px; } .ix small { font-size: 12px; }
  .head { grid-template-columns: 1fr; } .head > p { justify-self: start; }
  .work { grid-template-columns: 1fr; }
  .show-col { display: none; }
  .ch, .ch[data-k="3"] { min-height: 0; padding-bottom: 72px; }
  .ch-in, .ch.past .ch-in { position: static; opacity: 1; transform: none; padding: 0; }
  .ch h3 .wd > span, .ch .lede, .ch .facts, .ch .nums, .ch .links { transform: none !important; }
  .m-show .scan > span:last-child { opacity: 1; filter: none; transform: none; }
  .m-show.in .rc b { animation: scan 1.4s ease-in-out .4s infinite both; }
  .m-show { display: block; position: relative; height: 440px; margin-top: 26px; border-radius: 28px; overflow: hidden; background: var(--tone-1); isolation: isolate;
    clip-path: inset(10% 5% 0 5% round 28px); transition: clip-path 1s var(--ease-out); }
  .m-show.in { clip-path: inset(0 0 0 0 round 28px); }
  .m-show::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 50% at 50% 40%, rgb(255 255 255 / .5), transparent 70%); }
  .dark .m-show::before { background: radial-gradient(70% 50% at 50% 40%, rgb(255 255 255 / .05), transparent 70%); }
  .m-show .dev { position: absolute; left: 50%; top: 30px; width: 210px; translate: -50% 0; }
  .m-show .term { left: 14px; right: 14px; top: 50%; translate: 0 -50%; font-size: 12px; padding: 16px; opacity: 1; transform: none; }
  .m-show .hub { width: 330px; top: 50%; opacity: 1; }
  .m-show .chip { opacity: 1; transform: none; min-width: 0; left: 12px; right: auto; top: auto; bottom: 16px; padding: 10px 14px 10px 10px; font-size: 13px; }
  .more, .hobbies { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 44px; }
  .hero-lede { font-size: 16.5px; }
  .btn { height: 48px; padding: 0 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .words .w, .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Ab „Über mich“: Abschnitte der Live-Seite (Wunsch 2026-12-02), Stile aus site/style.css unter .live gekapselt ---------- */
.live { font-size: 1.0625rem; line-height: 1.6; font-feature-settings: "ss01"; color: var(--ink); }
.live .wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.live svg { display: block; }
.live h2, .live h3, .live h4, .live figure, .live blockquote { margin: 0; }
.live :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.live {
  --bg: #FFFFFF;
  --panel: #F4F4F2;
  --ink: #0B0B0B;
  --ink-2: #6E6E69;
  --ink-body: #34342F; 
  --rule: #E6E6E3;
  --lamp-off: #B4B2AC;
  --accent: #E2622F;
  --accent-ring: rgb(226 98 47 / .24);
  --accent-text: #C24E1D;
  --on-ink: #FFFFFF;
  --claude: #D97757;
  --ha: #18BCF2;
  --signal: #E2622F;
  --live: #E2622F; 
  --river: #BFDCEB;
  --stage: #0A0908;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4.5vw, 64px);
  --inset: 8px;
  --r-card: clamp(16px, 1.6vw, 22px);
  --r-sheet: 48px; 
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar: 64px;
  color-scheme: light;
}
.live .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.live .contact-card {
  --bg: var(--stage);
  --ink: #FFFFFF;
  --ink-2: rgb(255 255 255 / .7);
  --rule: rgb(255 255 255 / .2);
  --lamp-off: rgb(255 255 255 / .3);
  --on-ink: #0B0B0B;
  color: var(--ink);
  color-scheme: dark;
}
.live .pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font: inherit; font-size: .9375rem; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .2s var(--ease);
}
.live .pill:active { transform: scale(.97); }
.live .pill-light { background: #FFFFFF; color: #0B0B0B; }
.live .pill-glass {
  background: rgb(255 255 255 / .14); color: #FFFFFF;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
@media (hover: hover) {
.live .pill-light:hover { background: #ECEBE8; }
.live .pill-glass:hover { background: rgb(255 255 255 / .24); }
}
.live .profile svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
@media (hover: hover) {
.live .profile:hover svg { transform: translate(2px, -2px); }
}
.live .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; }
.live .brand img { width: 32px; height: 32px; border-radius: 8px; }
.live .lamp {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lamp-off);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.live .lamp.on { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.live .section { padding-block: clamp(88px, 11vw, 160px) 0; }
.live .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 450;
  letter-spacing: -.04em;
  line-height: 1;
}
.live #ueber-mich .section-title { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.live #ueber-mich .about { margin-top: 18px; }
.js .live .rv { transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .live .rv:not(.in) { opacity: 0; transform: translateY(28px); }
.live .about {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5.5vw, 80px);
  align-items: start;
}
.live .about > .hello, .live .about > .motto, .live .about > .about-note, .live .about > .sub { grid-column: 1 / -1; }
.live .hello {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.live .about-text { margin-top: clamp(28px, 3.5vw, 44px); max-width: 36em; }
.live .about-text p + p { margin-top: 1em; }
.live .about-text p { text-wrap: pretty; }
.live .about-text .lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.live .about-text p:not(.lead) { color: var(--ink-body); }
.live .about-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.live #ueber-mich { position: relative; z-index: 4; padding-bottom: clamp(96px, 12vw, 176px); }
.live #ueber-mich::before {
  content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline: calc(50% - 50vw);
  background: var(--panel);
}
.live #ueber-mich .card, .live #ueber-mich .hobby { background: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
.live .pin-ready #ueber-mich::before { border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
}
@supports (animation-timeline: view()) {
@media (prefers-reduced-motion: no-preference) {
.live .pin-ready #ueber-mich { view-timeline: --about block; }
}
}
.live .card {
  margin-top: clamp(28px, 3.5vw, 44px);
  padding: 22px 24px 8px;
  border-radius: 20px;
  background: var(--panel);
}
.live .rhein { display: block; width: 100%; height: auto; margin-bottom: 6px; overflow: visible; }
.live .rhein-river { fill: none; stroke: var(--river); stroke-width: 12; stroke-linecap: round; }
.live .rhein-dot { fill: var(--accent); }
.live .rhein-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: lv-ping 2.8s var(--ease) infinite; }
.live .rhein text { font: 600 13px var(--font); fill: var(--ink); letter-spacing: -.01em; }
.live .card dl div { display: grid; grid-template-columns: 5.25rem 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid var(--rule); font-size: .9375rem; }
.live .card dt { color: var(--ink-2); }
.live .card dd { font-weight: 500; text-wrap: pretty; }
.live .card .lamp { display: inline-block; margin-right: 9px; vertical-align: .1em; }
.live .motto { margin-top: clamp(64px, 8vw, 112px); }
.live .motto blockquote { margin: 0; }
.live .motto blockquote p {
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  font-weight: 450; line-height: 1.06; letter-spacing: -.04em;
  text-wrap: balance;
}
.live .motto .q { color: var(--accent); }
.live .motto mark { color: inherit; background: linear-gradient(var(--accent-ring), var(--accent-ring)) 0 88% / 100% .3em no-repeat; }
.js .live .motto.rv mark { background-size: 0 .3em; transition: background-size .9s var(--ease) calc(var(--d, 0s) + 450ms); }
.js .live .motto.rv.in mark { background-size: 100% .3em; }
.live .motto figcaption { margin-top: 16px; color: var(--ink-2); font-size: .9375rem; }
.live .about-note { margin-top: clamp(28px, 3.5vw, 40px); max-width: 36em; color: var(--ink-body); text-wrap: pretty; }
.live .sub { margin-top: clamp(64px, 8vw, 104px); }
.live .sub h3 { font-size: 1rem; font-weight: 500; letter-spacing: -.005em; margin-bottom: 16px; color: var(--ink-2); }
.live .hobbies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.live .hobby {
  padding: 26px 26px 28px;
  border-radius: 20px;
  background: var(--panel);
  transition: transform .5s var(--ease);
}
.live .hobby-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 40px; }
.live .hobby h4 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.03em; margin-bottom: 6px; }
.live .hobby p { color: var(--ink-2); font-size: .9375rem; text-wrap: pretty; }
.live .hobby-print .layers { transition: transform .5s var(--ease); }
@media (hover: hover) {
.live .hobby:hover { transform: translateY(-4px); }
.live .hobby-gym:hover .hobby-icon { animation: lv-lift .9s var(--ease); }
.live .hobby-run:hover .run-path { animation: lv-trace 1.1s var(--ease); }
.live .hobby-print:hover .layers { transform: translateY(-2px); }
}
.live .run-path { stroke-dasharray: 90; stroke-dashoffset: 0; }
.js .live .rv .stagger > *, .js .live .rv.stagger > * {
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--d, 0s) + 180ms + var(--i, 0) * 55ms);
}
.js .live .rv.in .stagger > *, .js .live .rv.in.stagger > * { opacity: 1; transform: none; }
.live .contact { --overlap: 150px; }
.live .contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: calc(clamp(520px, 72svh, 760px) + var(--overlap));
  padding: clamp(56px, 8vw, 112px) max(var(--gutter), env(safe-area-inset-right)) calc(var(--overlap) + clamp(56px, 7vw, 96px)) max(var(--gutter), env(safe-area-inset-left));
  background: var(--stage);
  
  --orb-x: 72%; --orb-y: 42%; --orb-r: min(38vw, 340px);
}
.live .orb {
  position: absolute; z-index: -1; left: var(--orb-x); top: var(--orb-y);
  width: calc(2 * var(--orb-r)); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle closest-side, #FAD08A 0%, #F4A651 30%, #E2622F 58%, rgb(150 52 18 / .5) 80%, rgb(28 10 4 / 0) 100%);
  pointer-events: none;
}
.live .contact-kicker { font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.live .contact .statement { margin-top: 14px; font-size: clamp(3rem, 6vw, 5rem); font-weight: 450; letter-spacing: -.04em; line-height: .98; }
.live .contact-line { margin-top: 18px; color: var(--ink-2); max-width: 26em; font-size: 1.125rem; text-wrap: pretty; }
.live .mail { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.live .copy { padding: 0 20px 0 16px; }
.live .copy-label { display: inline-grid; text-align: left; }
.live .copy-label::after { content: "Kopieren"; height: 0; visibility: hidden; }
.live .copy svg { width: 18px; height: 18px; transition: opacity .25s, transform .35s var(--ease); }
.live .copy .i-done { position: absolute; left: 16px; opacity: 0; transform: scale(.6); color: #FAD08A; }
.live .copy.copied .i-copy { opacity: 0; transform: scale(.6); }
.live .copy.copied .i-done { opacity: 1; transform: none; }
.live .contact-card { gap: clamp(32px, 5vw, 72px); }
.live .contact-body { flex: 1 1 0; min-width: 0; }
.live .contact-form {
  flex: 0 1 430px; min-width: 0; padding: 26px 26px 22px; border-radius: 28px;
  position: relative; isolation: isolate; color: #FFFFFF;
}
.live .cf-glass {
  position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: rgb(18 14 12 / .62); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); 
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
}
.live .cf-title { font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.live .cf-fields { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.live .cf-wide { grid-column: 1 / -1; }
.live .cf-field label { display: block; margin-bottom: 6px; font-size: .875rem; color: rgb(255 255 255 / .78); }
.live .cf-opt { color: rgb(255 255 255 / .6); }
.live .cf-field input, .live .cf-field textarea {
  display: block; width: 100%; padding: 11px 14px; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .09); color: #FFFFFF;
  font: inherit; font-size: 1rem; line-height: 1.4; 
  transition: border-color .2s, background-color .2s;
}
.live .cf-field textarea { min-height: 112px; resize: vertical; }
.live .cf-field input:focus-visible, .live .cf-field textarea:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 1px; border-color: transparent; background: rgb(255 255 255 / .14); }
.live .cf-field [aria-invalid="true"] { border-color: #FFB4A6; }
.live .cf-err { margin-top: 6px; font-size: .875rem; color: #FFC8BD; }
.live .cf-err:empty { display: none; }
.live .cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.live .cf-send { width: 100%; }
.live .cf-send:disabled { opacity: .6; cursor: default; }
.live .cf-note { font-size: .875rem; line-height: 1.45; color: rgb(255 255 255 / .72); text-wrap: pretty; }
.live .cf-note a, .live .cf-sent a { text-decoration: underline; text-underline-offset: 3px; }
.live .cf-note.error { color: #FFC8BD; }
.live .cf-sent { padding-block: 8px 4px; }
.live .contact-form.sent {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  clip-path: circle(calc(var(--d, 400px) / 2));
}
.live .contact-form.sent .cf-glass { box-shadow: none; }
.live .contact-form.sent::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: var(--d, 400px); height: var(--d, 400px);
  translate: -50% -50%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); pointer-events: none;
}
.live .contact-form.sent .cf-sent { max-width: calc(var(--d, 400px) * .68); padding: 0; }
.live .cf-morph { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 0; pointer-events: none; }
.live .cf-morph svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.live .cf-morph circle, .live .cf-morph path { transform-box: fill-box; transform-origin: center; }
.live .m-ring { stroke: #FFFFFF; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; rotate: -90deg; }
.live .m-check { stroke: #0B0B0B; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.live .cf-ok { display: block; width: 52px; height: 52px; margin: 0 auto 14px; }
.live .cf-ok svg { display: block; width: 100%; height: 100%; fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.live .cf-ok-check { stroke-width: 3.5; }
.live .cf-sent:focus { outline: none; }
.live .cf-sent-title { font-size: 1.375rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; text-wrap: balance; }
.live .cf-sent p + p { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: rgb(255 255 255 / .8); overflow-wrap: anywhere; text-wrap: balance; }
.live .cf-sent .pill { margin-top: 18px; height: 42px; padding: 0 18px; font-size: .875rem; }
.live .contact-form.sent .cf-title, .live .contact-form.sent .cf-fields { display: none; }
@media (max-width: 1000px) {
.live .contact-card { flex-direction: column; align-items: stretch; }
.live .contact-form { flex: none; width: 100%; max-width: 520px; }
}
.live .contact ::selection { background: #FFFFFF; color: #0B0B0B; }
.live .contact :focus-visible { outline-color: #FFFFFF; }
.live .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .04em .12em 0; margin: -.08em -.04em -.12em 0; }
.live .w > span { display: inline-block; }
.js .live .split .w > span {
  transform: translateY(108%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i) * 70ms);
}
.js .live .split.in .w > span { transform: none; }
.live .to-top {
  position: fixed; z-index: 9; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 10px 26px rgb(0 0 0 / .22);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.live .to-top.vis { opacity: 1; transform: none; pointer-events: auto; }
.live .to-top:active { transform: scale(.94); }
.live .to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
.live .to-top { right: 28px; bottom: 28px; width: 52px; height: 52px; }
}
.live .foot { padding: 0 var(--inset) calc(var(--inset) + env(safe-area-inset-bottom)); }
.live .foot-card {
  border-radius: var(--r-card);
  padding: 22px clamp(20px, 3vw, 40px);
  background: var(--panel);
}
.live .foot-in {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .875rem; color: var(--ink-2);
}
.live .foot-in nav { display: flex; gap: 20px; }
.live .foot a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) {
.live .foot-in a:hover, .live .foot-cols a:hover { color: var(--ink); }
}
.live .foot-over {
  position: relative; z-index: 1;
  margin-top: calc(-1 * var(--overlap, 150px));
  padding: 0 clamp(12px, 2vw, 24px) calc(clamp(12px, 2vw, 24px) + env(safe-area-inset-bottom));
  background: var(--stage);
}
.live .foot-over .foot-card { background: var(--bg); padding: clamp(28px, 3vw, 40px) clamp(24px, 4vw, 56px) 20px; }
.live .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px 40px; padding-bottom: clamp(28px, 3vw, 40px); }
.live .foot-brand { max-width: 22rem; }
.live .foot-brand p { margin-top: 14px; color: var(--ink-2); font-size: 1rem; }
.live .foot-cols { display: grid; grid-template-columns: repeat(2, auto); gap: 24px clamp(40px, 7vw, 112px); }
.live .foot-cols h2 { margin-bottom: 12px; font-size: .875rem; font-weight: 400; color: var(--ink-2); }
.live .foot-cols a { display: block; padding-block: 4px; font-size: 1rem; transition: color .2s; }
.live .foot-top + .foot-in { padding-top: 20px; border-top: 1px solid var(--rule); }
@media (max-width: 1080px) {
.live { --r-sheet: 40px; }
}
@media (max-width: 900px) {
.live .about { grid-template-columns: minmax(0, 1fr); }
.live .card { max-width: 26rem; }
.live .foot-top { flex-direction: column; }
}
@media (max-width: 860px) {
.live { --bar: 58px; }
}
@media (max-width: 760px) {
.live .section { padding-top: 88px; }
.live .hobbies { grid-template-columns: minmax(0, 1fr); }
.live .hobby { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 22px; }
.live .hobby-icon { grid-row: 1 / 3; margin: 0; }
.live .contact { --overlap: 0px; }
.live .contact-card {
    align-items: flex-end;
    min-height: 0;
    padding: 290px max(var(--gutter), env(safe-area-inset-right)) 56px max(var(--gutter), env(safe-area-inset-left));
--orb-x: 68%; --orb-y: 150px; --orb-r: 190px;
  }
.live .contact-form { padding: 20px 18px 18px; border-radius: 24px; }
.live .cf-fields { grid-template-columns: minmax(0, 1fr); }
.live .mail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.live .mail .pill { width: 100%; padding-inline: 16px; }
.live .mail .mail-link { grid-column: 1 / -1; }
.live .foot-over { margin-top: 0; padding: 0; background: none; }
.live .foot-over .foot-card {
    border-radius: 0;
    padding: 48px max(var(--gutter), env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  }
.live .foot-top { gap: 32px; padding-bottom: 36px; }
.live .foot-cols { grid-template-columns: auto auto; justify-content: start; column-gap: 44px; }
.live .foot-cols a { padding-block: 7px; }
.live .foot-in { align-items: center; }
.live .foot-in nav a { padding-block: 8px; }
}
@media (min-width: 2000px) {
.live { --page: 1600px; --edge: calc((100vw - var(--page)) / 2 + var(--gutter)); }
.live .contact-card { padding-inline: var(--edge); --orb-x: calc(100% - var(--edge) - 215px); }
.live .foot-over .foot-card { max-width: calc(var(--page) - 2 * var(--gutter) + 2 * clamp(24px, 4vw, 56px)); margin-inline: auto; }
}
@media (min-width: 3000px) {
.live { --page: 1760px; }
}
html.dark .live {
  --bg: #12110F; --panel: #1C1B18; --ink: #F3F2EE; --ink-2: #A3A098; --ink-body: #D3D1CA; --rule: #2F2D2A;
  --lamp-off: #57544E; --accent-ring: rgb(226 98 47 / .34); --accent-text: #F08A5D; --on-ink: #0B0B0B; --river: #2B5466;
  color-scheme: dark;
}
html.dark .live .contact-card { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
html.dark .live .to-top { box-shadow: 0 0 0 1px rgb(0 0 0 / .3), 0 10px 26px rgb(0 0 0 / .5); }
.live { --bar: 76px; }
@media (max-width: 860px) {
.live { --bar: 70px; }
}
@keyframes lv-lift { 40% { transform: translateY(-6px) rotate(-8deg); } }
@keyframes lv-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
@keyframes lv-trace { from { stroke-dashoffset: 90; } }

