/* Design angelehnt an die KI-Beratungs-Landingpage:
   hell, feines Raster, Geist + kursive Instrument Serif, blaue Glas-Elemente.
   Aufbau: Avatar fix in der Mitte, pro Scroll eine Station mit eigenem Hintergrund. */
:root {
  --a1: #457cc8;
  --a2: #3a6ea5;
  --a3: #265377;
  --alight: #72ace9;
  --ink: #0b0b0c;
  --mut: #6b6862;
  --line: #e7e5e0;
  --glass: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .95);
  --sans: "Epilogue", system-ui, sans-serif;
  --head: "Geist", "Epilogue", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --grid: linear-gradient(rgba(11,11,12,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,11,12,.045) 1px, transparent 1px);
}
body.dark {
  --ink: #f3f5f9;
  --mut: #b4bfd0;
  --line: rgba(255, 255, 255, .16);
  --glass: rgba(13, 19, 32, .55);
  --glass-line: rgba(255, 255, 255, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { overscroll-behavior: none; }
html, body { margin: 0; }
body { background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; transition: color .5s; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--head); font-weight: 500; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ── Scroll-Strecke ───────────────────────────────────────── */
.steps { position: relative; }
.step { height: 100vh; height: 100svh; }

/* ── Hintergründe ─────────────────────────────────────────── */
.bgs, .bg { position: fixed; inset: 0; }
.bgs { z-index: 0; }
.bg { opacity: 0; background: #fff; will-change: opacity; }
.bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.bg[data-station="intro"], .bg[data-station="now"] {
  background:
    radial-gradient(55% 60% at 50% 0%, color-mix(in srgb, var(--a2) 16%, transparent), transparent 72%),
    radial-gradient(35% 45% at 10% 18%, rgba(214, 206, 255, .35), transparent 70%), #fff;
}
.bg[data-station="intro"]::after, .bg[data-station="now"]::after, .bg[data-station="journey"]::after {
  background-image: var(--grid); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}
/* CODE: Himmel hinter dem 3D-Gebäude – oder dein Foto */
.bg[data-station="code"] { background: linear-gradient(180deg, #c9dcf3 0%, #e8f0fa 55%, #f6f8fb 100%); }
/* YFN: hell wie die anderen Stationen, mit weichen blauen Lichtpunkten */
.bg[data-station="yfn"] {
  background:
    radial-gradient(circle at 16% 28%, rgba(114,172,233,.22) 0 4%, transparent 4.5%),
    radial-gradient(circle at 84% 20%, rgba(69,124,200,.14) 0 3%, transparent 3.5%),
    radial-gradient(circle at 72% 74%, rgba(114,172,233,.18) 0 5%, transparent 5.5%),
    radial-gradient(circle at 28% 80%, rgba(69,124,200,.12) 0 2.5%, transparent 3%),
    radial-gradient(55% 60% at 50% 0%, color-mix(in srgb, var(--a2) 16%, transparent), transparent 72%), #fff;
}
.bg[data-station="yfn"]::after {
  background-image: var(--grid); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}
.bg[data-station="content"] {
  background:
    radial-gradient(40% 50% at 15% 25%, #e6e1ff, transparent 70%),
    radial-gradient(45% 55% at 85% 70%, #d6e7fb, transparent 70%),
    radial-gradient(30% 40% at 70% 15%, #ffe3ec, transparent 70%), #fbfbfe;
}
.bg[data-station="create"] {
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.18), transparent 45%), linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3));
}
.bg[data-station="journey"] { background: #f6f4ef; }
.bg[data-station="connect"] { background: radial-gradient(60% 60% at 50% 100%, color-mix(in srgb, var(--a2) 22%, transparent), transparent 70%), #fff; }
/* Eigenes Foto (wird per JS gesetzt, sobald die Datei existiert) */
.bg.has-photo { background: var(--photo) center / cover no-repeat; }
.bg.has-photo::after {
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.35) 32%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.35) 68%, rgba(255,255,255,.88) 100%);
}
.bg[data-station="create"].has-photo::after {
  background: linear-gradient(90deg, rgba(11,18,32,.85), rgba(11,18,32,.45) 35%, rgba(11,18,32,.3) 50%, rgba(11,18,32,.45) 65%, rgba(11,18,32,.85));
}

#scene, #avatar { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; pointer-events: none; }
#avatar { z-index: 2; }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--a1), var(--alight)); transform-origin: left; transform: scaleX(0); }

/* ── Navigation ───────────────────────────────────────────── */
.gnav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-line);
  box-shadow: 0 0 0 1px rgba(11,11,12,.04), 0 14px 34px -22px rgba(11,11,12,.35);
  transition: background .5s, border-color .5s;
}
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.mark { width: 20px; height: 20px; border-radius: 7px 7px 7px 2px; background: linear-gradient(135deg, var(--a1), var(--a3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.socials { display: flex; gap: 4px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink);
  background: var(--glass); border: 1px solid var(--line); transition: transform .15s ease, color .15s ease;
}
.socials a:hover { transform: translateY(-1px); color: var(--alight); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; }
.dots button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 14px; }
.dots button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mut); opacity: .45; transition: all .3s; }
.dots button span { font-size: 12px; color: var(--mut); opacity: 0; transform: translateX(6px); transition: all .25s; white-space: nowrap; }
.dots button:hover span, .dots button.on span { opacity: 1; transform: none; }
.dots button.on::after { opacity: 1; background: var(--a2); height: 22px; border-radius: 4px; }
body.dark .dots button.on::after { background: var(--alight); }
.dots button:focus-visible { outline: 2px solid var(--a2); outline-offset: 4px; border-radius: 6px; }

/* ── Slides (Texte pro Station) ───────────────────────────── */
.slides { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.slide {
  position: absolute; inset: 0; visibility: hidden; opacity: 0;
  display: grid; grid-template-columns: minmax(0, 430px) 1fr minmax(0, 320px); align-items: center; gap: 24px;
  padding: 100px max(72px, calc((100vw - 1260px) / 2)) 40px;
}
.slide.on .left, .slide.on .right { pointer-events: auto; }
/* Weicher Schleier hinter dem Text, wenn der Hintergrund unruhig ist (Gebäude, Netzwerk, Fotos) */
.slide.halo .left { position: relative; }
.slide.halo .left::before {
  content: ""; position: absolute; inset: -60px -70px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.85), rgba(255,255,255,.55) 60%, transparent);
  filter: blur(8px);
}
body.dark .slide.halo .left::before { background: radial-gradient(closest-side, rgba(11,18,32,.85), rgba(11,18,32,.5) 60%, transparent); }
.left { grid-column: 1; display: grid; gap: 18px; justify-items: start; }
.right { grid-column: 3; display: grid; gap: 18px; justify-items: stretch; }
.left h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; }
.left h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; }
.left p { font-size: 17px; color: var(--mut); max-width: 40ch; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--mut);
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a2) 18%, transparent); }
body.dark .dot { background: var(--alight); }

.mini {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; padding: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -44px rgba(11,11,40,.55);
}
.mini p { color: var(--mut); font-size: 14px; margin-top: 4px; }
.cc { font-family: var(--head); font-size: 34px; letter-spacing: -.03em; line-height: 1.1; }
.cc b { color: var(--a2); font-weight: 500; }
.mlogo { height: 30px; width: auto; display: block; margin-bottom: 16px; }
.mlogo.yfn { height: 38px; }
body.dark .mlogo { filter: invert(1) hue-rotate(180deg); }
.checks { display: grid; gap: 10px; font-size: 14.5px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--a2) 55%, #999); background: radial-gradient(circle, var(--a2) 0 3px, transparent 3.5px); }
body.dark .checks li::before { border-color: var(--alight); background: radial-gradient(circle, var(--alight) 0 3px, transparent 3.5px); }

.links { display: grid; gap: 6px; padding: 10px; }
.links a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 500; transition: background .15s; }
.links a:hover { background: color-mix(in srgb, var(--a2) 10%, transparent); }
.links svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; fill: #fff; background: linear-gradient(135deg, var(--a1), var(--a3)); }
.links i { font-style: normal; color: var(--mut); }

.pairs { display: grid; gap: 10px; }
.pair { display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pair s { font-size: 13px; color: rgba(255,255,255,.6); text-decoration-color: rgba(255,255,255,.5); }
.pair b { font-family: var(--head); font-weight: 500; font-size: 19px; letter-spacing: -.02em; }

.status { display: grid; gap: 12px; }
.status li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.st { font-size: 11.5px; font-weight: 500; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.st.ok { background: #e9f7ee; color: #1f7a45; }
.st.pend { background: color-mix(in srgb, var(--a2) 14%, #fff); color: var(--a3); }
.st.soon { background: #fff3df; color: #9a5b00; }

.timeline { display: grid; gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1.5px; background: linear-gradient(var(--a1), transparent); }
.timeline li { display: grid; padding-left: 26px; position: relative; font-size: 15px; font-weight: 500; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a3)); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline span { font-size: 12px; font-weight: 600; color: var(--a2); }


a:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 8px; }

/* ── Tablet / Handy: Text oben, Avatar Mitte, Karte unten ─── */
@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; align-items: start; padding: 88px 20px 22px; gap: 0; }
  .left { grid-column: 1; grid-row: 1; gap: 10px; }
  .right { grid-column: 1; grid-row: 3; }
  .left h1 { font-size: clamp(38px, 10vw, 56px); }
  .left h2 { font-size: clamp(26px, 7vw, 38px); }
  .left p { font-size: 15px; }
  .badge { font-size: 12.5px; padding: 5px 12px; }
  .mini { padding: 14px 16px; border-radius: 16px; }
  .mlogo { height: 22px; margin-bottom: 10px; }
  .mlogo.yfn { height: 28px; }
  .checks { grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; }
  .checks li:nth-child(n+3) { display: none; }
  .links { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding: 8px; }
  .links a { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 6px 2px; font-size: 11.5px; }
  .links a i { display: none; }
  .links svg { width: 32px; height: 32px; padding: 8px; }
  .pairs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pair { padding: 10px; }
  .pair s { font-size: 11px; }
  .pair b { font-size: 14px; }
  .status { grid-template-columns: 1fr 1fr; gap: 8px; }
  .status li { font-size: 12.5px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .timeline::before { display: none; }
  .timeline li { font-size: 12.5px; padding-left: 18px; }
  .timeline li::before { width: 10px; height: 10px; }
  .cc { font-size: 26px; }
  .dots { right: 8px; }
  .dots button span { display: none; }
}
@media (max-width: 420px) {
  .gnav { padding: 6px 6px 6px 14px; }
  .logo { font-size: 15px; }
  .socials { gap: 2px; }
  .socials a { width: 32px; height: 32px; }
  .socials svg { width: 14px; height: 14px; }
  .left p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
}

/* ── Sprechblase über Antonia ─────────────────────────────── */
.bubble {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; max-width: min(320px, 80vw);
  padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; line-height: 1.4; color: #0b0b0c;
  background: #fff; border: 1px solid #e7e5e0; box-shadow: 0 18px 40px -20px rgba(11,11,40,.45);
  opacity: 0; transition: opacity .25s; margin-top: -8px;
}
.bubble.show { opacity: 1; }

/* ── Konfetti & Easter-Egg-Toast ─────────────────────────── */
.confetti { position: fixed; z-index: 70; width: 9px; height: 13px; border-radius: 2px; pointer-events: none; }
.confetti.emoji { width: auto; height: auto; background: none; font: 600 30px var(--head); color: var(--a2); text-shadow: 0 2px 0 #fff; }
.egg-toast {
  position: fixed; left: 50%; top: 84px; z-index: 70; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--a1), var(--a3)); box-shadow: 0 14px 30px -14px var(--a2);
}
.egg-toast small { opacity: .75; margin-left: 6px; }
.egg-toast.show { animation: toast 3.2s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -20px); } 10%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -10px); } }

/* ── Chat ─────────────────────────────────────────────────── */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 55; font-family: var(--sans); color: #0b0b0c; }
.chat-face {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-block;
  background: url("assets/avatar/face.webp") center / cover, linear-gradient(135deg, #dbe8f7, #b9d2ef);
  box-shadow: 0 0 0 2px #fff;
}
.chat-fab {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px;
  color: #fff; font-weight: 500; font-size: 15px;
  background: radial-gradient(circle at 35% 18%, rgba(255,255,255,.28), transparent 30%), linear-gradient(135deg, var(--a1), var(--a2) 46%, var(--a3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 18px 44px -20px var(--a2);
  transition: transform .15s;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; }
.chat.open .chat-fab { display: none; }
.chat-panel {
  width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: rgba(255,255,255,.92); border: 1px solid #fff; border-radius: 22px; overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(11,11,12,.05), 0 40px 80px -40px rgba(11,11,40,.55);
}
.chat-panel[hidden] { display: none; }
.chat-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid #ecebe6; }
.chat-panel header div { flex: 1; display: grid; line-height: 1.2; }
.chat-panel header small { color: #6b6862; font-size: 12px; }
.chat-panel header button { all: unset; cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; }
.chat-panel header button:hover { background: #f1f0ec; }
.chat-close { font-size: 22px !important; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #f1f4f9; border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a3)); border-bottom-right-radius: 4px; }
.msg.typing { color: #6b6862; letter-spacing: .2em; }
.msg a { color: var(--a2); }
.chat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.chat-chips button { all: unset; cursor: pointer; white-space: nowrap; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid #e7e5e0; background: #fff; }
.chat-chips button:hover { border-color: var(--a2); color: var(--a2); }
.chat-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #ecebe6; }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px; border-radius: 999px; border: 1px solid #e7e5e0; background: #fff; outline: none; }
.chat-form input:focus { border-color: var(--a2); }
.chat-form button { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; }
.chat-form button[hidden] { display: none; }
.chat-mic { background: #f1f0ec; }
.chat-mic.rec { background: #ffe1e1; animation: pulse 1s infinite; }
.chat-send { color: #fff; background: linear-gradient(135deg, var(--a1), var(--a3)); font-weight: 700; }
.chat-panel button:focus-visible, .chat-form button:focus-visible { outline: 2px solid var(--a2); outline-offset: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(229,72,77,.15); } }

@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .slide { padding-bottom: 84px; }
  .chat { right: 16px; bottom: 16px; }
  .chat-fab { padding: 6px; }
  .chat-fab b { display: none; }
  .chat-face { width: 40px; height: 40px; }
  .chat.open { left: 16px; }
  body:has(.chat.open) .bubble { display: none; }
  .chat-panel { width: 100%; height: min(520px, calc(100svh - 110px)); }
}

/* ── Intro: kurze Bio, Regel-Karte, Scroll-Button ─────────── */
.bio { display: grid; gap: 8px; margin-top: 6px; }
.bio li {
  display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); font-size: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px -28px rgba(11,11,12,.55);
}
.bio i {
  font-style: normal; font-family: var(--mono); font-size: 11.5px; color: #fff; width: 30px; height: 30px; flex: none;
  display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a3));
}
.bio b { font-weight: 600; color: var(--a2); }
.rule { display: grid; gap: 6px; padding: 24px 26px 18px; }
.rule small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.rule .cc { font-size: 40px; }
.rule .cc em { font-size: 1.15em; }
.sig { font-family: "Mrs Saint Delafield", cursive; font-size: 44px; line-height: .8; color: #1b2a4a; transform: rotate(-4deg); justify-self: end; margin-top: 4px; }
.scroll-cta {
  all: unset; cursor: pointer; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; color: #fff; pointer-events: auto;
  background: radial-gradient(circle at 35% 18%, rgba(255,255,255,.28), transparent 30%), linear-gradient(135deg, var(--a1), var(--a2) 46%, var(--a3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 18px 44px -18px var(--a2);
}
.scroll-cta i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.scroll-cta svg { width: 16px; height: 16px; animation: bob 1.4s ease-in-out infinite; }
.scroll-cta:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; }
@keyframes bob { 50% { transform: translateY(4px); } }
.at { font-family: var(--serif); font-style: italic; color: var(--a2); }
.left .gb {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 12px 22px 11px; border-radius: 999px; font-weight: 500; font-size: 15px;
  background: radial-gradient(circle at 35% 18%, rgba(255,255,255,.28), transparent 30%), linear-gradient(135deg, var(--a1), var(--a2) 46%, var(--a3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -12px 22px rgba(0,0,0,.2), 0 18px 44px -24px var(--a2);
  transition: transform .15s;
}
.left .gb:hover { transform: translateY(-1px); }
.mlink { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--a2); border-bottom: 1.5px solid color-mix(in srgb, var(--a2) 35%, transparent); }
@media (prefers-reduced-motion: reduce) { .scroll-cta svg { animation: none; } }
@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .bio { gap: 6px; }
  .bio li { font-size: 13.5px; padding: 6px 14px 6px 6px; gap: 10px; }
  .bio i { width: 24px; height: 24px; font-size: 10px; }
  .slide:first-child .right { display: none; }
  .scroll-cta { bottom: 92px; font-size: 14px; }
  .left .gb { padding: 9px 16px 8px; font-size: 13.5px; }
  .mlink { display: none; }
}
@media (max-width: 420px) { .left p { display: block; font-size: 13.5px; } .slide:first-child .left p { display: none; } }

/* ── Brief „Why create > consume“ ─────────────────────────── */
.note {
  position: relative; background: #fff; color: #2b2a27; border-radius: 6px; padding: 26px 26px 18px;
  font-size: 15px; line-height: 1.6; display: grid; gap: 10px; transform: rotate(1.2deg);
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px -46px rgba(11,11,40,.7), 0 2px 0 -1px #f4f3ef, 0 4px 0 -2px #ecebe6;
}
.note::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--a1), var(--a3)); }
.note small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b6862; }
.note p { color: #2b2a27; }
.note .sig { font-size: 40px; }

/* ── Team-Karte (Tea) ─────────────────────────────────────── */
.team { display: grid; gap: 8px; }
.team small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.team > a:not(.mlink) { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background .15s; }
.team > a:not(.mlink):hover { background: color-mix(in srgb, var(--a2) 8%, transparent); }
.team b { display: block; font-weight: 600; font-size: 15px; }
.team i { font-style: normal; color: var(--mut); font-size: 13px; }
.av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  color: #fff; font: 600 15px var(--head); background: linear-gradient(135deg, #1e293b, var(--a2));
  box-shadow: 0 0 0 2px #fff, 0 6px 14px -8px rgba(0,0,0,.4);
}
.av.me { background: url("assets/avatar/face.webp") center / cover, linear-gradient(135deg, #dbe8f7, #b9d2ef); }

/* ── Buttons in den Slides ───────────────────────────────── */
button.gb { all: unset; cursor: pointer; }
.left .gb.ask, .left button.gb {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 12px 22px 11px; border-radius: 999px; font-weight: 500; font-size: 15px;
  background: radial-gradient(circle at 35% 18%, rgba(255,255,255,.28), transparent 30%), linear-gradient(135deg, var(--a1), var(--a2) 46%, var(--a3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -12px 22px rgba(0,0,0,.2), 0 18px 44px -24px var(--a2);
}
.left .gb[hidden] { display: none; }
/* Connect: Mail + Chat nebeneinander, Chat als heller Zweit-Button */
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.left .gb.alt { color: var(--a3); background: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--a2) 35%, transparent), 0 14px 34px -24px var(--a2); }
.mail-addr { display: inline-block; margin-top: 14px; font: 500 14px var(--mono); color: var(--a2); border-bottom: 1.5px solid color-mix(in srgb, var(--a2) 35%, transparent); }

/* ── Chat-Button auffälliger ─────────────────────────────── */
.chat-fab { padding: 8px 22px 8px 8px; font-size: 16px; }
.chat-fab .chat-face { width: 42px; height: 42px; }
.chat-fab::after {
  content: ""; position: absolute; top: 6px; left: 38px; width: 11px; height: 11px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 2px #fff;
}
.chat-fab { position: relative; }
.chat-fab.nudge { animation: nudge 1.2s ease 2; }
@keyframes nudge { 0%, 100% { transform: none; } 20% { transform: translateY(-6px) rotate(-3deg); } 40% { transform: translateY(0) rotate(2deg); } 60% { transform: translateY(-3px); } }
@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .note { padding: 16px 16px 10px; font-size: 13px; line-height: 1.5; transform: none; }
  .note .sig { font-size: 30px; }
  .team { grid-template-columns: 1fr 1fr; }
  .team small, .team .mlink { display: none; }
  .team > a:not(.mlink) { padding: 4px; gap: 8px; }
  .team b { font-size: 13px; } .team i { font-size: 11.5px; }
  .av { width: 34px; height: 34px; font-size: 12px; }
  .chat-fab { padding: 6px; }
  .chat-fab::after { left: 36px; top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .chat-fab.nudge { animation: none; } }
.online { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 5px; vertical-align: 1px; }

/* Fotoleiste (nur Handy, dort sind die 3D-Polaroids ausgeblendet) */
.thumbs { display: none; }
@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
  .mini:has(.thumbs) .checks { display: none; }
  .thumbs img { max-height: 76px; }
  .thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 8px 18px -12px rgba(11,11,40,.5); }
}

/* ── Founder Talks: Firmen-Chips ─────────────────────────── */
.talks { display: grid; gap: 12px; }
.talks small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a, .chips span {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .15s, color .15s, transform .15s;
}
.chips a i { font-style: normal; font-size: 11px; color: var(--mut); }
.chips a:hover { border-color: var(--a2); color: var(--a2); transform: translateY(-1px); }
@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .thumbs.four { grid-template-columns: repeat(4, 1fr); }
  .talks small { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
  .chips a, .chips span { padding: 4px 9px; font-size: 11.5px; white-space: nowrap; flex: none; }
}

/* ── Ladescreen: bis Antonia da ist ───────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 18px;
  background: #fff; transition: opacity .6s ease, visibility .6s;
}
.loader .mark { width: 34px; height: 34px; animation: pop 1s ease-in-out infinite; }
.loader i { width: 120px; height: 3px; border-radius: 3px; background: #e7eef8; overflow: hidden; position: relative; }
.loader i::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 3px; background: linear-gradient(90deg, var(--a1), var(--alight)); animation: slide 1.1s ease-in-out infinite; }
body.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes pop { 50% { transform: scale(1.12) rotate(-6deg); } }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Handy: weicher weißer Verlauf hinter dem Text, damit Gebäude/Netzwerk ihn nicht stören */
@media (max-width: 960px), (max-aspect-ratio: 9/10) {
  .slide.halo::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 60%, rgba(255,255,255,0) 100%);
  }
  .slide.halo .left::before { display: none; }
  .bio li { box-shadow: none; }
  .scroll-cta { bottom: 86px; }
}
@media (max-height: 700px) and (max-width: 960px) {
  .left h1 { font-size: 34px; }
  .left h2 { font-size: 24px; }
  .left p { font-size: 13px; line-height: 1.45; }
  .bio li { padding: 4px 12px 4px 4px; font-size: 12.5px; }
  .slide { padding-top: 78px; }
  .slide.halo .left p { display: none; }
}
