
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #14131b;
  --ink-2: #2e2d39;
  --muted: #615f6d;
  --paper: #f6f2ea;
  --paper-2: #ebe5d9;
  --card: #fffcf7;
  --line: rgba(20, 19, 27, .12);
  --line-strong: rgba(20, 19, 27, .24);

  --night: #0f0f16;
  --night-2: #1a1924;
  --night-3: #24222f;

  /* Kapitelfarben: 01 Flexibilität · 02 Arbeit 4.0 · 03 Kultur · 04 Benefits */
  --c1: #ff6a3d; --c1-ink: #c2410c; --c1-soft: #ffe2d6; --c1-light: #ff8e6a;
  --c2: #4f5bff; --c2-ink: #3f3bd0; --c2-soft: #e2e4ff; --c2-light: #9aa1ff;
  --c3: #17b47e; --c3-ink: #0d7651; --c3-soft: #d3f2e5; --c3-light: #4fd6a4;
  --c4: #ffc226; --c4-ink: #855600; --c4-soft: #fff0c4; --c4-light: #ffd45e;

  /* Aktuelle Kapitelfarbe (wird pro Kapitel überschrieben) */
  --c: var(--ink);
  --c-ink: var(--c1-ink);
  --c-soft: var(--paper-2);
  --c-light: var(--c4-light);
  --on-c: var(--paper);
  --hl: rgba(255, 194, 38, .55);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --radius: 24px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --shadow: 0 1px 0 rgba(20, 19, 27, .04), 0 18px 40px -18px rgba(20, 19, 27, .28);
  --shadow-lg: 0 30px 70px -24px rgba(20, 19, 27, .45);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}

[data-c="1"] { --c: var(--c1); --c-ink: var(--c1-ink); --c-soft: var(--c1-soft); --c-light: var(--c1-light); --on-c: var(--ink); --hl: rgba(255, 106, 61, .38); }
[data-c="2"] { --c: var(--c2); --c-ink: var(--c2-ink); --c-soft: var(--c2-soft); --c-light: var(--c2-light); --on-c: #fff; --hl: rgba(79, 91, 255, .28); }
[data-c="3"] { --c: var(--c3); --c-ink: var(--c3-ink); --c-soft: var(--c3-soft); --c-light: var(--c3-light); --on-c: var(--ink); --hl: rgba(23, 180, 126, .32); }
[data-c="4"] { --c: var(--c4); --c-ink: var(--c4-ink); --c-soft: var(--c4-soft); --c-light: var(--c4-light); --on-c: var(--ink); --hl: rgba(255, 194, 38, .55); }

/* Dunkle Bereiche: Tokens umdrehen, Komponenten passen sich an */
.highlight, .tech, .finale, .is-dark {
  color-scheme: dark;
  --ink-2: #d9d6df;
  --muted: #a6a3b1;
  --card: var(--night-2);
  --paper-2: var(--night-3);
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .2);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 24px 50px -20px rgba(0, 0, 0, .7);
  color: var(--paper);
  background: var(--night);
}

/* 02 Basis ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 1px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .94rem + .22vw, 1.0625rem);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 750; line-height: 1.05; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 650; }
kbd {
  font-family: var(--font-mono); font-size: .78em; padding: .1em .45em; border-radius: 6px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--card); color: var(--ink);
}
.mono { font-family: var(--font-mono); font-feature-settings: normal; letter-spacing: 0; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--c4); color: var(--ink); }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--paper); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 03 Header & Navigation --------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, box-shadow .35s, transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 242, 234, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em;
}
.brand-mark { width: 34px; height: 34px; color: var(--ink); }
.brand-dot { color: var(--c1); }
.brand-cursor { animation: blink 1.1s steps(1) infinite; }
.brand-light { color: var(--paper); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  font-size: .9rem; font-weight: 560; text-decoration: none; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--ink)); flex: none; }
.nav a.nav-star::before { background: conic-gradient(var(--c1), var(--c4), var(--c3), var(--c2), var(--c1)); width: 10px; height: 10px; }
.nav a:hover { background: rgba(20, 19, 27, .06); }
.nav a.is-active { background: var(--ink); color: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--card); place-items: center; cursor: pointer;
}

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--c1), var(--c2) 40%, var(--c3) 65%, var(--c4));
}

/* 04 Bausteine ------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 650; font-size: 1rem;
  cursor: pointer; transition: transform .25s var(--spring), box-shadow .25s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(20, 19, 27, .5); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-sm .i { width: 1em; height: 1em; }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { --bg: var(--card); }
.btn-accent { --bg: var(--c); --fg: var(--on-c); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: var(--paper); border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .08); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.kicker-num {
  display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px;
  background: var(--c); color: var(--on-c); letter-spacing: 0;
}
.kicker .i { width: 1.1em; height: 1.1em; }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vh, 56px); }
.sec-head-row {
  max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end;
}
.sec-title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 780; letter-spacing: -.035em; }
.sec-title-sm { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.sec-title em, .cover-claim em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sec-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); max-width: 38em; margin-top: 18px; }
.sec-head-row .sec-lead { margin-top: 0; }
.body-lg { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); margin-top: 20px; }
.body { color: var(--muted); margin-top: 14px; }
.hint { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.hint .i { width: 1em; height: 1em; }

.led {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c3);
  box-shadow: 0 0 0 0 rgba(23, 180, 126, .6); animation: pulse 2s infinite;
}
.led-sm { width: 7px; height: 7px; }

.stop { position: relative; padding-block: clamp(80px, 12vh, 140px); }

.chapter[data-c] { background: var(--paper); background: color-mix(in srgb, var(--c-soft) 32%, var(--paper)); }

/* Reveal-Animation */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 05 Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-stop { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  opacity: .7;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 480px; height: 480px; background: var(--c1); right: 8%; top: 8%; opacity: .32; }
.blob-2 { width: 380px; height: 380px; background: var(--c2); right: 28%; top: 42%; opacity: .2; animation-delay: -6s; }
.blob-3 { width: 320px; height: 320px; background: var(--c4); right: -4%; bottom: 0; opacity: .35; animation-delay: -12s; }

.hero-layout { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; margin-bottom: 26px;
  box-shadow: 0 6px 16px -10px rgba(20, 19, 27, .3);
}
.hero-title { font-size: clamp(3.3rem, 8.2vw, 7.8rem); line-height: .9; letter-spacing: -.05em; font-weight: 800; }
.hero-accent { color: #e64d1c; white-space: nowrap; }
.hero-caret {
  display: inline-block; width: .32em; height: .72em; margin-left: .08em; vertical-align: -.02em;
  background: var(--c1); border-radius: .06em; animation: blink 1.1s steps(1) infinite;
}
.hero-lead { margin-top: 28px; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; font-size: .9rem; color: var(--muted); }
.hero-meta .sep { opacity: .5; }
.hero-team { flex-basis: 100%; font-weight: 600; color: var(--ink-2); }

.hero-visual { position: relative; padding: 40px 10px; }
.term-card {
  position: relative; border-radius: 20px; background: #15141d; color: #d8d4e2; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset; transform: rotate(-1.5deg);
}
.term-bar, .widget-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08); color: #a29eae;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.term-body {
  margin: 0; padding: 20px 22px 24px; min-height: 290px; font-size: clamp(.72rem, .6rem + .35vw, .86rem);
  line-height: 1.75; white-space: pre; overflow: hidden;
}
.t-prompt { color: var(--c3-light); }
.t-ok { color: var(--c4); font-weight: 700; }
.t-dim { color: #7d798a; }
.t-cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: #d8d4e2; animation: blink 1s steps(1) infinite; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.float-chip .i { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--chip, var(--c1-soft)); color: var(--chip-ink, var(--c1-ink)); }
.float-chip strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.float-chip span { font-size: .78rem; color: var(--muted); }
.chip-a { top: -6px; left: -18px; }
.chip-b { top: 4px; right: 4%; --chip: var(--c2-soft); --chip-ink: var(--c2-ink); animation-delay: -1.5s; }
.chip-c { bottom: 2px; left: 6%; --chip: var(--c4-soft); --chip-ink: var(--c4-ink); animation-delay: -3s; }
.chip-d { bottom: 6%; right: -18px; --chip: var(--c3-soft); --chip-ink: var(--c3-ink); animation-delay: -4.5s; }

.marquee { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; }
.marquee-track {
  display: flex; gap: 28px; width: max-content; align-items: center;
  font-family: var(--font-display); font-weight: 650; font-size: clamp(1.1rem, 1rem + .6vw, 1.6rem); letter-spacing: -.01em;
  animation: marquee 55s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--c4); font-size: .8em; }

/* 06 Perspektivwechsel ----------------------------------------------------- */
.persp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px);
  grid-template-areas: "head agenda" "steps agenda";
}
.persp-grid .sec-head { grid-area: head; margin-bottom: 36px; }
.persp-grid .steps { grid-area: steps; }
.persp-grid .agenda { grid-area: agenda; align-self: center; }

.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; align-items: start;
  padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line);
}
.step-num {
  grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: var(--paper); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
}
.step h3 { font-size: 1.2rem; align-self: end; }
.step p { color: var(--muted); font-size: .95rem; }

.agenda { display: grid; gap: 6px; }
.agenda-label { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.agenda-item {
  display: grid; grid-template-columns: 54px 1fr auto; grid-template-areas: "num title arrow" "num sub arrow";
  align-items: center; gap: 0 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line);
  transition: background-color .3s, color .3s, transform .3s var(--spring), border-color .3s;
}
.agenda-num {
  grid-area: num; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--c); color: var(--on-c, var(--ink)); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.agenda-title { grid-area: title; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.agenda-sub { grid-area: sub; font-size: .86rem; color: var(--muted); transition: color .3s; }
.agenda-item .i { grid-area: arrow; transition: transform .3s var(--spring); }
.agenda-item:hover { background: var(--c); color: var(--on-c, var(--ink)); border-color: transparent; transform: translateX(6px); }
.agenda-item:hover .agenda-num { background: var(--card); color: var(--ink); }
.agenda-item:hover .agenda-sub { color: inherit; opacity: .85; }
.agenda-item:hover .i { transform: translateX(4px); }
.agenda-star { --c: var(--ink); --on-c: var(--paper); }
.agenda-star .agenda-num { background: conic-gradient(from 200deg, var(--c1), var(--c4), var(--c3), var(--c2), var(--c1)); color: var(--ink); }

/* 07 Flip-Karten ----------------------------------------------------------- */
.flip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.switch-wrap { display: flex; align-items: center; gap: 14px; font-weight: 650; }
.switch-label { transition: opacity .3s, color .3s; }
.switch-wrap[data-state="off"] .switch-label[data-side="on"],
.switch-wrap[data-state="on"] .switch-label[data-side="off"] { opacity: .4; }
.switch {
  position: relative; width: 76px; height: 42px; border-radius: 999px; border: 0; cursor: pointer; flex: none;
  background: #c9c2b6; transition: background-color .4s;
}
.switch[aria-checked="true"] { background: linear-gradient(90deg, var(--c1), var(--c2)); }
.switch-knob {
  position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .45s var(--spring);
}
.switch[aria-checked="true"] .switch-knob { transform: translateX(34px); }

.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flip {
  display: block; width: 100%; height: clamp(170px, 16vw, 200px); padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; perspective: 1200px;
}
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 20px; border-radius: 20px; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-front { background: var(--paper-2); border: 2px dashed var(--line-strong); color: var(--muted); }
.flip-back { background: var(--c); color: var(--on-c, var(--ink)); transform: rotateY(180deg); box-shadow: var(--shadow); }
.flip-tag { font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.flip-front .flip-tag::before { content: "✕ "; }
.flip-back .flip-tag::before { content: "✓ "; }
.flip-text { font-family: var(--font-display); font-size: clamp(1.02rem, .9rem + .4vw, 1.22rem); font-weight: 650; line-height: 1.25; }
.flip-front .flip-text { color: var(--ink-2); opacity: .75; }
.flip:hover .flip-inner { transform: rotateY(8deg); }
.flip.is-flipped:hover .flip-inner { transform: rotateY(172deg); }

/* 08 Kapitel-Cover & KI-Bilder --------------------------------------------- */
.cover { background: var(--c); color: var(--on-c); overflow: hidden; }
.cover-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cover-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 14vw, 12rem); line-height: .78; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px var(--on-c); opacity: .5; margin-bottom: 18px;
}
.cover .kicker { color: inherit; opacity: .75; }
.cover-title { font-size: clamp(2.4rem, 4.8vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; }
.cover-claim { margin-top: 18px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem); font-weight: 600; line-height: 1.25; }
.cover-lead { margin-top: 16px; max-width: 34em; font-size: 1.05rem; opacity: .88; }
.cover-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cover-topics li {
  padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  border: 1.5px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent);
}

.ki-slot {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #17161f;
  box-shadow: 14px 14px 0 rgba(20, 19, 27, .92);
}
.ki-slot > .ki-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ki-slot > img.ki-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease);
}
.ki-slot.has-img > img.ki-img { opacity: 1; }
.ki-slot.has-img > .ki-art { visibility: hidden; }
.ki-badge {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 19, 27, .72); color: #fff; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.art-mono { font-family: var(--font-mono); font-weight: 600; }
.art-hand { transform-origin: 300px 225px; animation: spin 24s linear infinite; }
.art-float { animation: bob 6s ease-in-out infinite; }
.art-float-b { animation-delay: -2s; }
.art-float-c { animation-delay: -4s; }
.art-packets path { stroke-dasharray: 10 400; animation: packet 3.2s linear infinite; }
.art-packets path:nth-child(2) { animation-delay: -.8s; }
.art-packets path:nth-child(3) { animation-delay: -1.6s; }
.art-packets path:nth-child(4) { animation-delay: -2.4s; }
.art-packets path:nth-child(5) { animation-delay: -.4s; }
.art-packets path:nth-child(6) { animation-delay: -2s; }
.art-spark { transform-origin: 300px 225px; animation: twinkle 3s ease-in-out infinite; }
.art-pulse { transform-origin: 300px 120px; animation: heartbeat 2.4s ease-in-out infinite; }
.art-steam path { animation: steam 3s ease-in-out infinite; }
.art-steam path:nth-child(2) { animation-delay: -1s; }
.art-steam path:nth-child(3) { animation-delay: -2s; }

/* 09 Split-Layout & Listen ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-rev > .split-copy { order: 2; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-list li { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
.fi { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--c-soft); color: var(--c-ink); }
.fi .i { width: 24px; height: 24px; }
.feature-list h3 { font-size: 1.18rem; margin-bottom: 4px; letter-spacing: -.015em; }
.feature-list p { color: var(--muted); font-size: .98rem; }
.fact-line {
  margin-top: 30px; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.fact-line strong { color: var(--ink); }
.check-list { display: grid; gap: 12px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 520; }
.check-list .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--c); color: var(--on-c, var(--ink)); stroke-width: 2.6; margin-top: -1px; }

/* 10 Widgets --------------------------------------------------------------- */
.widget { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.widget .widget-bar { color: var(--muted); border-bottom: 1px solid var(--line); }
.widget-badge {
  margin-left: auto; padding: 3px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: var(--c-soft); color: var(--c-ink);
}
.widget-body { padding: clamp(20px, 2.4vw, 30px); }
.widget-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px; }
.widget-foot { margin-top: 14px; font-size: .8rem; color: var(--muted); }

.seg-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); gap: 2px; flex-wrap: wrap; }
.seg-toggle button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 620; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg-toggle button .i { width: 1.05em; height: 1.05em; }
.seg-toggle button[aria-checked="true"] { background: var(--ink); color: var(--paper); box-shadow: 0 4px 10px -4px rgba(20, 19, 27, .5); }
.highlight .seg-toggle button[aria-checked="true"], .tech .seg-toggle button[aria-checked="true"] { background: var(--paper); color: var(--ink); }
.seg-sm button { padding: 6px 12px; font-size: .82rem; }

.range { display: grid; gap: 6px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; font-weight: 600; }
.range-head output { font-size: .95rem; color: var(--c-ink); font-weight: 700; }
input[type="range"] {
  --pct: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--c) var(--pct), var(--paper-2) var(--pct));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .2s var(--spring);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--c); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }

/* Tagesplaner */
.day-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.day-out > div { padding: 12px 14px; border-radius: 14px; background: var(--paper-2); }
.out-label { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.out-value { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.15; letter-spacing: -.02em; }
.day-track { margin-bottom: 22px; }
.day-frame {
  position: relative; height: 46px; border-radius: 12px; background-color: var(--paper-2); overflow: hidden;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 14 - 1px), var(--line) calc(100% / 14 - 1px), var(--line) calc(100% / 14));
}
.day-seg { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; transition: left .45s var(--ease), width .45s var(--ease); }
.seg-work { background: var(--c); }
.seg-pause { background: repeating-linear-gradient(45deg, var(--line-strong) 0 4px, transparent 4px 8px); }
.seg-extra { background: repeating-linear-gradient(45deg, var(--c-ink) 0 6px, var(--c) 6px 12px); }
.day-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: var(--muted); }
.day-controls { display: grid; gap: 14px; }
.day-controls .seg-toggle { justify-self: start; }
.day-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--c-soft); color: var(--ink); font-size: .92rem; min-height: 3.2em; }

/* Urlaub */
.leave-bars { display: grid; gap: 14px; margin-bottom: 26px; }
.lb-row { display: grid; grid-template-columns: 150px 1fr 40px; gap: 14px; align-items: center; }
.lb-label { font-weight: 650; font-size: .92rem; line-height: 1.2; }
.lb-label small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.lb-track {
  display: flex; gap: 2px; height: 32px;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) .2s;
}
.is-in .lb-track { clip-path: inset(0 0 0 0); }
.lb-row + .lb-row .lb-track { transition-delay: .6s; }
.lb-seg {
  display: flex; align-items: center; padding-left: 10px; width: calc(var(--v) / 40 * 100%); border-radius: 4px;
  font-family: var(--font-mono); font-size: .8rem; color: var(--ink);
}
.lb-seg:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.lb-total { font-family: var(--font-display); font-size: 1.5rem; text-align: right; }
.lb-law { background: #c9c2b6; }
.s-urlaub { background: #ff6a3d; }
.s-recharge { background: #17b47e; }
.s-bildung { background: #4f5bff; color: #fff; }
.s-notfall { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }

.year-wrap { position: relative; }
.year { display: grid; grid-template-columns: repeat(52, 1fr); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 2px; }
.year span { aspect-ratio: 1; border-radius: 2px; background: var(--paper-2); transition: transform .2s; }
.year span.s-urlaub, .year span.s-recharge, .year span.s-bildung { transform: scale(0); }
.is-in .year span.s-urlaub, .is-in .year span.s-recharge, .is-in .year span.s-bildung { transform: scale(1); transition: transform .5s var(--spring) calc(.8s + var(--i, 0) * 12ms); }
.year span.s-urlaub { background: #ff6a3d; }
.year span.s-recharge { background: #17b47e; }
.year span.s-bildung { background: #4f5bff; }
.year span:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.year-months { position: relative; height: 18px; margin-top: 6px; font-size: .66rem; color: var(--muted); }
.year-months span { position: absolute; top: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .85rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend b { font-weight: 700; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* 11 Karten & Chat --------------------------------------------------------- */
.card-grid { display: grid; gap: 20px; }
.cg-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--spring), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 28px 50px -30px rgba(20, 19, 27, .45); }
.card-feature { display: flex; flex-direction: column; gap: 12px; }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--c-soft); color: var(--c-ink); margin-bottom: 6px; }
.card-icon .i { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.card p { color: var(--muted); }
.card-stat { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: .9rem; }
.card-stat b { font-family: var(--font-display); font-size: 2rem; color: var(--c-ink); margin-right: 6px; letter-spacing: -.03em; }
.mini-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.mini-list li { padding: 4px 10px; border-radius: 8px; background: var(--paper-2); font-size: .8rem; font-weight: 600; }

/* Chat */
.chat-bar { color: var(--ink); }
.loki-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--c2), var(--c1)); color: #fff; }
.chat-id { display: grid; line-height: 1.2; }
.chat-id strong { font-family: var(--font-display); font-size: 1rem; }
.chat-id small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; }
.chat-log { display: flex; flex-direction: column; gap: 10px; height: 260px; overflow-y: auto; padding: 18px; scroll-behavior: smooth; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: .94rem; line-height: 1.5; animation: pop .35s var(--spring); }
.msg-bot { align-self: flex-start; background: var(--paper-2); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--c); color: var(--on-c); border-bottom-right-radius: 6px; }
.msg-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.chat-chips button, .chip-btn {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: .82rem; font-weight: 560;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.chat-chips button:hover, .chip-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper);
  font: inherit; font-size: .95rem; color: var(--ink);
}
.chat-form input:focus { outline: 2px solid var(--c); outline-offset: 0; }
.chat-form button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; flex: none; }
.chat-disclaimer { padding: 0 18px 14px; font-size: .74rem; color: var(--muted); }

/* 12 Organigramm & Ausbildung ---------------------------------------------- */
.org-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.org-head .widget-title { margin: 0; }
.org-svg { display: block; width: 100%; height: auto; }
.org-svg line { stroke: var(--line-strong); stroke-width: 2; }
.org-svg .org-edge-net { stroke: var(--c); stroke-opacity: .45; }
.org-svg circle { transition: fill .6s, stroke .6s; }
.org-caption { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--c-soft); font-size: .92rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
.pillar { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--c); color: var(--on-c); }
.pillar h3 { font-size: 1.12rem; margin-bottom: 6px; }
.pillar p { font-size: .93rem; color: var(--muted); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--c) 0 var(--tl, 0%), var(--line-strong) var(--tl, 0%));
}
.timeline.is-in::before { animation: grow-line 1.8s var(--ease) .4s forwards; }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 21px; height: 21px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--c);
}
.timeline li:last-child::before { background: var(--c); }
.tl-when { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--c-ink); text-transform: uppercase; letter-spacing: .05em; }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.12rem; margin: 2px 0 4px; }
.timeline p { font-size: .88rem; color: var(--muted); }

/* 13 Kultur ---------------------------------------------------------------- */
.bento { display: grid; gap: 18px; }
.bento-culture { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
.bento-culture .tile-big { grid-row: span 2; }
.tile { display: flex; flex-direction: column; gap: 10px; }
.tile-big { justify-content: space-between; background: var(--c); color: var(--on-c); border-color: transparent; }
.tile-big p { color: inherit; opacity: .85; font-size: 1.05rem; }
.tile-big h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.tile-big .card-icon { background: rgba(255, 255, 255, .35); color: var(--ink); }
.event-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.event { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .4); font-weight: 650; font-size: .9rem; line-height: 1.25; }
.event b { font-size: .75rem; opacity: .7; }

.contact-finder { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.cf-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.cf-item {
  display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; text-align: left;
  border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .92rem; line-height: 1.25; cursor: pointer;
  transition: background-color .2s, color .2s, transform .25s var(--spring), border-color .2s;
}
.cf-item .i { width: 22px; height: 22px; color: var(--c-ink); flex: none; transition: color .2s; }
.cf-item:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.cf-item[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cf-item[aria-selected="true"] .i { color: var(--c); }
.cf-result {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.cf-result::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--c-soft); z-index: 0;
}
.cf-result > * { position: relative; z-index: 1; }
.cf-result.is-swapping > * { animation: fade-up .45s var(--ease) both; }
.cf-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--c); color: var(--on-c); }
.cf-avatar .i { width: 30px; height: 30px; }
.cf-role { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; }
.cf-desc { color: var(--ink-2); font-size: 1.02rem; }
.cf-reach { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-size: .9rem; }
.cf-reach .i { color: var(--c-ink); }
.cf-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-badges span { padding: 4px 10px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); font-size: .78rem; font-weight: 700; }

.sick-days { display: grid; gap: 22px; }
.sd-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sd-day {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sd-day .i { width: 34px; height: 34px; color: var(--c-ink); margin: 6px 0; }
.sd-num { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sd-day strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.sd-day span:last-child { font-size: .86rem; color: var(--muted); }
.sd-ok { background: var(--c-soft); border-color: transparent; }
.sd-ok::after {
  content: "✓"; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c); color: var(--on-c); font-weight: 800; font-size: .85rem;
}
.sd-doc { border-style: dashed; border-color: var(--line-strong); box-shadow: none; background: transparent; }
.sd-quote { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; padding-left: 20px; border-left: 4px solid var(--c); }

/* 14 Benefits & Kühlschrank ------------------------------------------------ */
.bento-benefits { grid-template-columns: repeat(3, 1fr); }
.tile-fridge { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--ink); color: var(--paper); border-color: transparent; }
.tile-fridge p { color: #c9c5d2; }
.tile-fridge h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 10px; }
.fridge-state { margin-top: 16px; font-size: .78rem; color: var(--c4) !important; }

.fridge {
  position: relative; display: block; width: clamp(130px, 12vw, 160px); aspect-ratio: 9 / 15; padding: 0; border: 0;
  background: none; cursor: pointer; perspective: 1000px;
}
.fridge-body {
  position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); padding: 14px 12px; border-radius: 18px;
  background: #23212d; box-shadow: inset 0 0 0 4px #2f2d3b, inset 0 -30px 40px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.fridge-light {
  position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255, 240, 190, .55), transparent 65%);
  opacity: 0; transition: opacity .6s .2s;
}
.fridge.is-open .fridge-light { opacity: 1; }
.shelf { position: relative; display: flex; align-items: flex-end; justify-content: space-around; border-bottom: 4px solid #3b3948; padding: 0 2px 2px; }
.b { position: relative; display: block; width: 15%; height: 70%; border-radius: 4px 4px 3px 3px; transform: translateY(6px); opacity: .5; transition: transform .5s var(--spring), opacity .4s; }
.b::before { content: ""; position: absolute; left: 30%; right: 30%; top: -24%; height: 26%; border-radius: 2px 2px 0 0; background: inherit; }
.b::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 22%; background: rgba(255, 255, 255, .8); }
.b-cola { background: #3b2016; }
.b-orange { background: #ff8a1f; }
.b-lemon { background: #ffd84a; }
.b-mate { background: #9bc53d; }
.fridge.is-open .b { transform: none; opacity: 1; }
.fridge.is-open .shelf:nth-child(2) .b { transition-delay: .15s; }
.fridge.is-open .shelf:nth-child(3) .b { transition-delay: .25s; }
.fridge.is-open .shelf:nth-child(4) .b { transition-delay: .35s; }
.fridge-door {
  position: absolute; inset: 0; border-radius: 18px; transform-origin: left center; transition: transform 1s var(--spring);
  background: linear-gradient(105deg, #fbf8f2, #e6e1d7); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 6px 0 18px rgba(0, 0, 0, .25);
  display: flex; align-items: center; justify-content: center;
}
.fridge-handle { position: absolute; right: 12px; top: 22%; width: 7px; height: 26%; border-radius: 6px; background: #b9b2a5; }
.fridge-logo { color: var(--ink); font-weight: 800; font-size: .95rem; line-height: 1.05; text-align: center; letter-spacing: -.02em; transform: rotate(-8deg); }
.fridge.is-open .fridge-door { transform: rotateY(-115deg); }
.fridge:hover:not(.is-open) .fridge-door { transform: rotateY(-12deg); }

/* 15 Highlight ------------------------------------------------------------- */
.highlight { position: relative; overflow: hidden; }
.highlight .kicker { color: var(--muted); }
.highlight .sec-title em, .highlight .hl-title em { background: none; color: var(--c-light); padding: 0; }
.highlight [style*="--c4"] { --c-light: var(--c4-light); --c-soft: rgba(255, 194, 38, .14); --c-ink: var(--c4-light); }
.highlight [style*="--c3"] { --c-light: var(--c3-light); --c-soft: rgba(23, 180, 126, .16); --c-ink: var(--c3-light); }
.highlight [style*="--c1"] { --c-light: var(--c1-light); --c-soft: rgba(255, 106, 61, .16); --c-ink: var(--c1-light); }
.highlight [style*="--c2"] { --c-light: var(--c2-light); --c-soft: rgba(79, 91, 255, .2); --c-ink: var(--c2-light); }
.highlight .stop + .stop { border-top: 1px solid var(--line); }
.highlight .body-lg { color: #dcd8e3; }

.hl-intro { min-height: 92vh; display: flex; align-items: center; }
.hl-glow {
  position: absolute; inset: -20% -10%; pointer-events: none; filter: blur(90px); opacity: .5;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 106, 61, .55), transparent 35%),
    radial-gradient(circle at 80% 25%, rgba(79, 91, 255, .55), transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(23, 180, 126, .45), transparent 35%),
    radial-gradient(circle at 25% 85%, rgba(255, 194, 38, .4), transparent 35%);
  animation: glow-spin 30s linear infinite;
}
.hl-intro-layout { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hl-title { font-size: clamp(3.2rem, 8vw, 7.4rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; }
.grad-text {
  background: linear-gradient(95deg, var(--c4) 0%, var(--c1) 35%, #ff5c8a 55%, var(--c2) 80%, var(--c3) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-move 8s ease-in-out infinite alternate;
}
.hl-lead { margin-top: 28px; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); color: #dcd8e3; max-width: 30em; }
.hl-lead strong { color: #fff; }
.hl-sub { margin-top: 26px; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.house { position: relative; width: min(460px, 100%); justify-self: center; }
.house-roof {
  position: relative; height: 150px; margin: 0 -18px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #34314a, #24222f);
}
.house-roof span { font-size: .9rem; color: #cfcbe0; letter-spacing: .06em; }
.house-chimney { position: absolute; top: 20px; right: 20%; width: 34px; height: 70px; background: #2a2838; border-radius: 4px 4px 0 0; z-index: -1; }
.house-chimney span {
  position: absolute; left: 50%; top: -12px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); animation: smoke 4s ease-out infinite;
}
.house-chimney span:nth-child(2) { animation-delay: -1.3s; }
.house-chimney span:nth-child(3) { animation-delay: -2.6s; }
.house-rooms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border-radius: 0 0 22px 22px;
  background: #24222f; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.room {
  display: grid; gap: 4px; padding: 20px 18px; border-radius: 14px; text-decoration: none; min-height: 132px; align-content: end;
  background: color-mix(in srgb, var(--c) 14%, var(--night-2)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  transition: transform .35s var(--spring), background-color .35s;
}
.room .i { width: 30px; height: 30px; color: var(--c); margin-bottom: auto; }
.room strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.room span { font-size: .85rem; color: var(--muted); }
.room:hover { transform: translateY(-4px) scale(1.02); background: color-mix(in srgb, var(--c) 26%, var(--night-2)); }

.dim-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--c); color: var(--on-c, var(--ink)); font-weight: 700; letter-spacing: .08em;
}

/* Hackathon-Poster */
.poster {
  position: relative; aspect-ratio: auto; min-height: 460px; border-radius: 28px; overflow: hidden; margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 194, 38, .35), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(255, 92, 138, .35), transparent 40%),
    radial-gradient(circle at 50% 110%, rgba(79, 91, 255, .55), transparent 50%),
    #13121b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 14px 14px 0 rgba(255, 194, 38, .9);
}
.poster::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.poster.has-img::before { background: linear-gradient(180deg, rgba(10, 10, 16, .55), rgba(10, 10, 16, .9)); }
.poster-inner { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; min-height: inherit; padding: clamp(24px, 3vw, 40px); }
.poster-top { display: flex; justify-content: space-between; color: #bdb8cc; font-size: .82rem; }
.poster-title { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.05em; }
.poster-title span { color: var(--c4); }
.poster-hours { margin-top: 14px; font-size: 1.05rem; color: #dcd8e3; }
.poster-hours b { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.countdown div {
  display: grid; justify-items: center; padding: 14px 6px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.countdown b { font-family: var(--font-mono); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #bdb8cc; }
.poster-date { margin-top: 14px; color: #bdb8cc; font-size: .82rem; }

/* Arbeitsplatz-Konfigurator */
.desk-widget { display: grid; }
.desk-stage { background: var(--night-3); }
.desk-svg { display: block; width: 100%; height: auto; }
.desk-wall { fill: #c9d8c0; transition: fill .6s; }
.desk-widget[data-wall="sand"] .desk-wall { fill: #efe3cf; }
.desk-widget[data-wall="nacht"] .desk-wall { fill: #2c3350; }
.desk-top { transition: transform .9s var(--spring); }
.desk-widget[data-desk="stand"] .desk-top { transform: translateY(-46px); }
.desk-opt, .desk-chair { opacity: 0; transition: opacity .45s, transform .5s var(--spring); transform: translateY(10px); transform-box: fill-box; transform-origin: bottom; }
.desk-widget[data-plant="monstera"] [data-opt="plant"][data-val="monstera"],
.desk-widget[data-plant="kaktus"] [data-opt="plant"][data-val="kaktus"],
.desk-widget[data-chair="chair"] [data-opt="chair"][data-val="chair"],
.desk-widget[data-chair="ball"] [data-opt="chair"][data-val="ball"] { opacity: 1; transform: none; }
.lamp-cone { fill: #ffd98a; opacity: 0; transition: opacity .5s, fill .5s; }
.lamp-bulb { fill: #6b6a78; transition: fill .5s; }
.desk-widget[data-lamp="warm"] .lamp-cone { opacity: .5; }
.desk-widget[data-lamp="warm"] .lamp-bulb { fill: #ffd98a; }
.desk-widget[data-lamp="rgb"] .lamp-cone { opacity: .55; animation: rgb 4s linear infinite; }
.desk-widget[data-lamp="rgb"] .lamp-bulb { animation: rgb 4s linear infinite; }
.screen-code rect { animation: code-blink 2.4s ease-in-out infinite; }
.screen-code rect:nth-child(2) { animation-delay: -.6s; }
.screen-code rect:nth-child(3) { animation-delay: -1.2s; }
.screen-code rect:nth-child(4) { animation-delay: -1.8s; }
.desk-controls { display: grid; gap: 10px; padding: 18px 20px 20px; }
.desk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.desk-label { font-size: .85rem; font-weight: 650; color: var(--muted); min-width: 60px; }
.desk-budget { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.desk-budget-head { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; margin-bottom: 8px; }
.meter { height: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--c); transition: width .6s var(--ease), background-color .3s; }
.meter.is-over span { background: #ff5c5c; }

/* Akku */
.battery-widget .widget-body { display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: clamp(32px, 4vw, 48px); }
.battery { position: relative; display: flex; align-items: center; }
.battery-cells {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: clamp(220px, 24vw, 290px); height: clamp(110px, 11vw, 136px);
  padding: 10px; border-radius: 22px; border: 6px solid #e8e4ee;
}
.battery-cells span { border-radius: 8px; background: rgba(255, 255, 255, .06); transition: background-color .35s, box-shadow .35s; }
.battery-cells span.on { background: var(--bat, #ff5c5c); box-shadow: 0 0 22px -2px var(--bat, #ff5c5c); }
.battery-cap { width: 12px; height: 44px; margin-left: 4px; border-radius: 0 8px 8px 0; background: #e8e4ee; }
.battery-bolt { position: absolute; left: calc(50% - 6px); top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%) scale(0); color: #fff; stroke-width: 2.2; transition: transform .4s var(--spring); }
.battery.is-charging .battery-bolt { transform: translate(-50%, -50%) scale(1); }
.battery-level { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 800; line-height: 1; }
.battery-text { max-width: 26em; color: #dcd8e3; min-height: 3em; }
.battery-left { font-size: .82rem; color: var(--muted); }

/* Benefit-Budget */
.budget-body { display: grid; grid-template-columns: minmax(180px, 230px) 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; }
.donut-wrap { position: relative; }
.donut { display: block; width: 100%; height: auto; }
.donut-track { stroke: var(--night-3); }
.donut-seg { fill: none; stroke-width: 22; transition: stroke-dasharray .5s var(--ease), stroke-dashoffset .5s var(--ease); cursor: default; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center strong { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; }
.donut-center span { font-size: .78rem; color: var(--muted); }
.budget-list { display: grid; gap: 10px; }
.budget-row { display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; gap: 0 10px; align-items: center; }
.budget-row .b-icon { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--row); color: #fff; }
.budget-row .b-icon .i { width: 17px; height: 17px; }
.budget-row label { font-size: .88rem; font-weight: 600; }
.budget-row output { font-size: .85rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.budget-row input[type="range"] { grid-column: 2 / 4; height: 20px; --c: var(--row); }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.presets-label { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.highlight .chip-btn { color: var(--paper); }
.highlight .chip-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* 16 Fazit ----------------------------------------------------------------- */
.fazit-quote { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.3; color: var(--ink); font-weight: 550; letter-spacing: -.015em; }
.fazit-quote strong { font-weight: 750; background: linear-gradient(180deg, transparent 60%, rgba(255, 194, 38, .55) 60%); }
.answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.answer {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; background: var(--card);
  border: 1px solid var(--line); border-top: 5px solid var(--c); box-shadow: var(--shadow);
}
.answer-q { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 750; font-size: 1.1rem; }
.answer-q .i { width: 22px; height: 22px; color: var(--c); }
.answer p { font-size: .93rem; color: var(--ink-2); }
.answer-star {
  color: var(--paper); border: 0; border-top: 5px solid transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(90deg, var(--c1), var(--c4), var(--c3), var(--c2)) border-box;
}
.answer-star p { color: #d9d6df; }
.answer-star .i { color: var(--c4); }

/* 17 Technik --------------------------------------------------------------- */
.tech { --c: var(--c3); --c-ink: var(--c3-light); --c-soft: rgba(23, 180, 126, .16); --on-c: var(--ink); }
.tech .sec-title em { background: none; color: var(--c3-light); padding: 0; }
.arch { display: flex; align-items: center; margin-bottom: 40px; }
.arch-node {
  flex: 1 1 0; min-width: 0; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 12px; border-radius: 20px;
  background: var(--night-2); border: 1px solid var(--line);
}
.arch-node strong { font-family: var(--font-display); font-size: 1.05rem; }
.arch-node span:last-child { font-size: .8rem; color: var(--muted); }
.arch-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--night-3); color: var(--c3-light); margin-bottom: 6px; }
.arch-icon .i { width: 26px; height: 26px; }
.arch-node-hot { border-color: var(--c3); box-shadow: 0 0 0 4px rgba(23, 180, 126, .15), 0 0 50px -10px rgba(23, 180, 126, .5); }
.arch-node-hot .arch-icon { background: var(--c3); color: var(--ink); }
.arch-link { position: relative; flex: 0 0 clamp(18px, 3vw, 44px); height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 10px); }
.arch-link span { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c3-light); box-shadow: 0 0 10px var(--c3); animation: flow 1.8s linear infinite; }
.arch-link:nth-of-type(4) span { animation-delay: -.45s; }
.arch-link:nth-of-type(6) span { animation-delay: -.9s; }
.arch-link:nth-of-type(8) span { animation-delay: -1.35s; }
.tech-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tech-facts { display: grid; gap: 18px; }
.tech-facts li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.tech-facts .i { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--night-2); border: 1px solid var(--line); color: var(--c3-light); }
.tech-facts strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.tech-facts span { font-size: .92rem; color: var(--muted); }
.term-widget { background: #0b0b11; border-color: rgba(255, 255, 255, .1); }
.term-out { height: 300px; overflow-y: auto; padding: 16px 18px 4px; font-size: .86rem; line-height: 1.65; color: #d7d4de; white-space: pre-wrap; word-break: break-word; }
.term-out .t-err { color: #ff7b7b; }
.term-out .t-acc { color: var(--c4); }
.term-out .t-blue { color: var(--c2-light); }
.term-form { display: flex; align-items: center; gap: 10px; padding: 4px 18px 18px; font-size: .86rem; }
.term-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; caret-color: var(--c3-light); padding: 6px 0; }
.term-form input:focus { outline: none; }
.term-widget:focus-within { box-shadow: var(--shadow), 0 0 0 2px var(--c3); }

/* 18 FAQ & Finale ---------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 52px 20px 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314131b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--line-strong); transition: transform .35s var(--spring), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--c4); }
.faq details p { padding: 0 52px 22px 0; color: var(--ink-2); }
.faq details[open] p { animation: fade-up .4s var(--ease); }

.finale { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.finale-glow {
  position: absolute; inset: -30%; pointer-events: none; opacity: .55; filter: blur(80px);
  background: conic-gradient(from 0deg at 50% 50%, rgba(255, 106, 61, .5), rgba(255, 194, 38, .4), rgba(23, 180, 126, .45), rgba(79, 91, 255, .55), rgba(255, 106, 61, .5));
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 55%); mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 55%);
  animation: glow-spin 40s linear infinite;
}
.finale-layout { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.finale .kicker { color: var(--muted); }
.finale-title { font-size: clamp(3.2rem, 8.4vw, 8rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; }
.finale-lead { margin-top: 24px; font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); color: #dcd8e3; }
.finale-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.finale-team { margin-top: 28px; color: var(--muted); font-size: .95rem; }
.qr-card {
  justify-self: center; display: grid; justify-items: center; gap: 10px; padding: 24px 24px 20px; border-radius: 28px;
  background: var(--paper); color: var(--ink); transform: rotate(2.5deg); box-shadow: 14px 14px 0 rgba(255, 194, 38, .9);
}
.qr { width: clamp(170px, 18vw, 240px); aspect-ratio: 1; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-fallback { font-size: .8rem; color: var(--muted); text-align: center; padding: 12px; border: 2px dashed var(--line-strong); border-radius: 12px; }
.qr-title { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.qr-url { font-size: .74rem; color: var(--muted); max-width: 240px; text-align: center; word-break: break-all; }

/* 19 Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cfcbd8; padding: 72px 0 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer-brand p { margin-top: 16px; font-size: .9rem; color: #a6a3b1; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols a, .footer-link { display: block; padding: 4px 0; text-decoration: none; color: #cfcbd8; font-size: .92rem; background: none; border: 0; text-align: left; cursor: pointer; }
.footer-cols a:hover, .footer-link:hover { color: #fff; }
.footer-h { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #8e8a9b; margin-bottom: 10px; }
.footer-team { font-size: .92rem; }
.footer-meta { font-size: .85rem; color: #a6a3b1; margin-top: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; color: #8e8a9b; }
.site-footer kbd { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .25); }

/* 20 Präsentationsmodus ---------------------------------------------------- */
.hud {
  position: fixed; z-index: 90; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(1180px, 100% - 24px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 6px 6px 6px 8px; border-radius: 999px; background: rgba(20, 19, 27, .88); color: var(--paper);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  transition: opacity .5s, transform .5s var(--ease);
}
.hud.is-idle { opacity: .12; }
.hud.is-idle:hover { opacity: 1; }
.hud-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hud-chip {
  display: inline-grid; place-items: center; min-width: 38px; height: 32px; padding: 0 10px; border-radius: 999px;
  background: var(--hud-c, var(--paper)); color: var(--hud-on, var(--ink)); font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  transition: background-color .4s;
}
.hud-title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
.hud-progress { display: flex; gap: 3px; height: 6px; min-width: 60px; }
.hud-progress span { flex: 1; border-radius: 3px; background: var(--seg, #fff); opacity: .22; transition: opacity .3s, transform .3s; cursor: pointer; }
.hud-progress span.done { opacity: .6; }
.hud-progress span.now { opacity: 1; transform: scaleY(1.6); }
.hud-right { display: flex; align-items: center; gap: 4px; }
.hud-count { font-size: .8rem; color: #bdb8cc; padding: 0 8px; }
.hud-timer { padding: 6px 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: .8rem; cursor: pointer; }
.hud-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer;
  transition: background-color .2s;
}
.hud-btn:hover { background: rgba(255, 255, 255, .14); }
.hud-btn .i { width: 20px; height: 20px; }

.overview {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
  background: rgba(10, 10, 16, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fade-in .25s ease;
}
.overview-panel {
  width: min(1100px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: clamp(20px, 3vw, 36px); border-radius: 28px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
}
.overview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.overview-head h2 { font-size: 2rem; }
.overview-head .hud-btn { color: var(--ink); }
.overview-head .hud-btn:hover { background: var(--paper-2); }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ov-chapter { padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--ov-c, var(--ink)); }
.ov-chapter h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 8px; }
.ov-chapter h3 kbd { margin-left: auto; }
.ov-chapter button {
  display: flex; width: 100%; gap: 8px; padding: 6px 8px; margin: 0 -8px; border: 0; border-radius: 8px; background: none; text-align: left;
  font-size: .88rem; color: var(--ink-2); cursor: pointer;
}
.ov-chapter button:hover { background: var(--paper-2); }
.ov-chapter button.is-current { background: var(--ink); color: var(--paper); }
.ov-chapter button span { font-family: var(--font-mono); font-size: .75rem; opacity: .6; min-width: 2ch; }
.overview-keys { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

.blackout { position: fixed; inset: 0; z-index: 200; background: #000; cursor: none; }

.tooltip {
  position: fixed; z-index: 150; pointer-events: none; max-width: 260px; padding: 8px 12px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-size: .82rem; line-height: 1.35; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.toast {
  position: fixed; z-index: 140; left: 50%; bottom: 84px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .9rem; box-shadow: var(--shadow-lg); animation: toast-in .4s var(--spring);
  max-width: calc(100% - 32px); text-align: center;
}
.confetti { position: fixed; inset: 0; z-index: 180; pointer-events: none; width: 100%; height: 100%; }

html.is-presenting { scroll-padding-top: 0; }
html.is-presenting.cursor-idle, html.is-presenting.cursor-idle * { cursor: none !important; }
html.is-presenting .site-header { transform: translateY(-110%); }
html.is-presenting .marquee { display: none; }
html.is-presenting .stop {
  height: 100vh; height: 100svh; min-height: 0; display: flex; flex-direction: column; justify-content: center;
  padding-block: 3vh 10vh; overflow: clip;
}
html.is-presenting .stop > .container {
  flex-shrink: 0; transform: scale(var(--fit, 1)); transform-origin: center center;
}
html.is-presenting .hl-intro, html.is-presenting .finale, html.is-presenting .hero-stop { align-items: stretch; }
html.is-presenting .hero-stop { padding-top: 3vh; }
html.is-presenting .highlight .stop + .stop { border-top: 0; }

/* Animationen */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 180, 126, .55); } 70% { box-shadow: 0 0 0 10px rgba(23, 180, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 180, 126, 0); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes packet { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.82) rotate(20deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.12); } 28% { transform: scale(1); } 42% { transform: scale(1.08); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .6; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes grow-line { to { --tl: 100%; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes glow-spin { to { transform: rotate(360deg); } }
@keyframes grad-move { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes smoke { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .5; } 100% { transform: translateY(-70px) translateX(14px) scale(1.8); opacity: 0; } }
@keyframes rgb { 0% { fill: #ff5c8a; } 25% { fill: #ffc226; } 50% { fill: #4fd6a4; } 75% { fill: #7c84ff; } 100% { fill: #ff5c8a; } }
@keyframes code-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes flow { from { left: 0; } to { left: calc(100% - 8px); } }

@property --tl { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

/* 21 Responsive & Motion --------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .nav.is-open {
    display: grid; position: absolute; top: calc(var(--header-h) - 4px); right: var(--gutter); left: var(--gutter); gap: 4px; padding: 10px;
    border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.is-open a { padding: 12px 14px; font-size: 1rem; }
}

@media (max-width: 1100px) {
  .answers { grid-template-columns: repeat(2, 1fr); }
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-benefits { grid-template-columns: 1fr 1fr; }
  .budget-body { grid-template-columns: 1fr; justify-items: center; }
  .budget-body .donut-wrap { width: min(240px, 100%); }
  .budget-list { width: 100%; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .stop { padding-block: clamp(64px, 10vh, 100px); }
  .hero-layout, .split, .cover-layout, .hl-intro-layout, .finale-layout, .tech-grid, .faq-layout, .contact-finder, .persp-grid, .sec-head-row {
    grid-template-columns: 1fr;
  }
  .persp-grid { grid-template-areas: "head" "steps" "agenda"; }
  .persp-grid .agenda { margin-top: 32px; }
  .split-rev > .split-copy { order: 0; }
  .hero-stop { padding-top: calc(var(--header-h) + 24px); }
  .hero-visual { max-width: 560px; justify-self: center; width: 100%; margin-top: 8px; }
  .cg-3, .pillars { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 18px; padding-left: 34px; }
  .timeline::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; background: linear-gradient(180deg, var(--c) 0 var(--tl, 0%), var(--line-strong) var(--tl, 0%)); }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -34px; }
  .bento-culture { grid-template-columns: 1fr; }
  .bento-culture .tile-big { grid-row: auto; }
  .arch { flex-direction: column; align-items: stretch; }
  .arch-link { flex: 0 0 28px; width: 2px; height: 28px; align-self: center; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 10px); }
  .arch-link span { left: -3px; top: 0; animation-name: flow-v; }
  .arch-node { grid-template-columns: 50px 1fr; justify-items: start; text-align: left; column-gap: 14px; }
  .arch-node .arch-icon { grid-row: span 2; margin: 0; }
  .house { margin-top: 12px; }
  .qr-card { justify-self: start; }
  .ki-slot { box-shadow: 10px 10px 0 rgba(20, 19, 27, .92); }
}
@keyframes flow-v { from { top: 0; } to { top: calc(100% - 8px); } }

@media (max-width: 640px) {
  .btn { min-height: 48px; padding: 0 20px; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { width: 44px; padding: 0; }
  .float-chip { padding: 8px 12px 8px 8px; gap: 8px; }
  .float-chip .i { width: 30px; height: 30px; padding: 6px; }
  .float-chip strong { font-size: 1rem; }
  .chip-a { left: -4px; top: -10px; } .chip-b { right: -4px; } .chip-c { left: 2%; } .chip-d { right: -4px; bottom: 10%; }
  .term-body { min-height: 0; padding: 16px; font-size: .62rem; }
  .flip-grid { grid-template-columns: 1fr; }
  .flip { height: 150px; }
  .day-out { grid-template-columns: 1fr 1fr; }
  .day-out > div:last-child { grid-column: span 2; }
  .lb-row { grid-template-columns: 1fr 40px; }
  .lb-label { grid-column: span 2; }
  .cf-list { grid-template-columns: 1fr; }
  .sd-row { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 1fr 1fr; }
  .bento-benefits { grid-template-columns: 1fr; }
  .tile-fridge { grid-column: auto; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .answers { grid-template-columns: 1fr; }
  .footer-inner, .footer-cols { grid-template-columns: 1fr; }
  .countdown { gap: 6px; }
  .hud { grid-template-columns: auto 1fr auto; gap: 8px; }
  .hud-title, .hud-count, #hudGrid, #hudFull { display: none; }
  .faq summary { padding-right: 44px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .lb-track { clip-path: none; }
  .year span.s-urlaub, .year span.s-recharge, .year span.s-bildung { transform: none; }
}

@media print {
  .site-header, .hud, .overview, .blackout, .toast, .confetti, .marquee { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
