/* Schriften lokal, kein Nachladen von Google */
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-500-latin.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Redaction 35"; src: url(../fonts/redaction-35.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Hero C, blaue Fassung: startet dunkel und kippt nach dem Scrollen ins Banner-Blau */
:root {
  color-scheme: dark;
  --ground: #06070d;
  --ground-raise: #0d1018;
  --line: #1c2230;
  --fg: #f2f4f8;
  --fg-muted: #9aa3b5;
  --fg-faint: #5d6678;
  --blue: #2b55a5;
  --blue-light: #4988cb;
  --blue-deep: #224597;
  --lime: #e5ff8f;
  --on-lime: #0b0d12;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-pixel: "Redaction 35", var(--font-mono);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Abstands-Skala: Section, Gruppe innerhalb einer Section, Titel zu Inhalt, eng verbunden */
  --space-section: clamp(96px, 11vw, 160px);
  --space-group: clamp(80px, 9vw, 128px);
  --space-head: 48px;
  --space-tight: 24px;
}
* { box-sizing: border-box; }
html, body { background: var(--ground); }
p, li, blockquote { text-wrap: pretty; }
body {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Grain wie im LinkedIn-Banner */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 50;
  opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  transition: opacity 1.2s var(--ease);
}
body.is-blue .grain { opacity: .32; }

.gutter {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1240px; margin: 0 auto; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: calc(env(safe-area-inset-top, 0px) + 14px); padding-bottom: 14px;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* sticky immer dunkel, egal ob der Hero gerade blau ist */
.nav.is-scrolled {
  background: rgba(6,7,13,.72); border-bottom-color: rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); }
.brand .logo { height: 44px; width: auto; display: block; }
.nav .wrap { position: relative; }
/* Sprunglinks mittig im Header, aktiver Abschnitt weiß mit Lime-Punkt */
.nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; font: 400 14px/1 var(--font-sans); color: var(--fg-muted); text-decoration: none; transition: color .2s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime); opacity: 0; transform: scale(0); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.nav-links a.is-active::after { opacity: 1; transform: none; }
body.is-blue .nav:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,.8); }
@media (max-width: 1080px) { .nav-links { display: none; } }

/* Menü-Button: nur das Icon, kein Hintergrund */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (max-width: 1080px) { .menu-btn { display: grid; } }
.mb-lines { position: relative; display: block; width: 24px; height: 24px; }
.mb-lines i { position: absolute; right: 0; top: 11px; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: top .3s var(--ease), transform .3s var(--ease), opacity .2s var(--ease); }
.mb-lines i:nth-child(1) { top: 5px; }
.mb-lines i:nth-child(3) { top: 17px; }
body.menu-open .mb-lines i:nth-child(1) { top: 11px; transform: rotate(45deg); }
body.menu-open .mb-lines i:nth-child(2) { opacity: 0; }
body.menu-open .mb-lines i:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Menü-Fläche */
.menu {
  position: fixed; inset: 0; z-index: 39; display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 104px) max(24px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(24px, env(safe-area-inset-left, 0px));
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(120,140,190,.14), transparent 75%), var(--ground); visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
body.menu-open .nav { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .float-cta { opacity: 0; pointer-events: none; }
.menu-links { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.menu-links a { padding: 6px 0; font-size: clamp(34px, 9.5vw, 44px); font-weight: 500; letter-spacing: -.035em; color: var(--fg); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease), color .2s var(--ease); }
body.menu-open .menu-links a { opacity: 1; transform: none; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: .04s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: .08s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: .12s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: .16s; }
.menu-links a.is-active { color: var(--lime); }
.menu-cta { justify-content: center; width: 100%; min-height: 56px; }
/* Scroll-Hinweis unten mittig im Hero, verschwindet beim ersten Scrollen */
.scroll-hint { position: absolute; z-index: 4; left: 50%; bottom: max(48px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--fg-muted); text-decoration: none; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; transition: opacity .4s var(--ease); }
.scroll-hint span { display: grid; place-items: center; }
.scroll-hint svg { width: 18px; height: 18px; animation: nudge 1.8s var(--ease) infinite; }
.scroll-hint:hover { color: var(--fg); }
.scroll-hint.is-gone { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (max-width: 700px) { .scroll-hint { top: var(--hint-top, auto); bottom: auto; } }
.float-cta {
  position: fixed; z-index: 45; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime); font: 600 16px/1 var(--font-sans); text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(11,13,18,.08);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .6s var(--ease), box-shadow .2s var(--ease), bottom .6s var(--ease);
}
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { box-shadow: 0 16px 40px -10px rgba(229,255,143,.5); }
.float-cta svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.float-cta:hover svg { transform: translate(2px, -2px); }
.nav-cta {
  font: 500 15px/1 var(--font-sans); color: var(--fg); text-decoration: none;
  padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-cta:hover { border-color: var(--fg-faint); background: var(--ground-raise); }
body.is-blue .nav:not(.is-scrolled) .nav-cta { border-color: rgba(255,255,255,.35); }
.nav.is-scrolled .nav-cta { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 600; }
.nav.is-scrolled .nav-cta:hover { background: var(--lime); box-shadow: 0 8px 28px -8px rgba(229,255,143,.55); }

/* Hero */
.hero {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
}
.blue {
  position: absolute; inset: 0; z-index: -4; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(150,200,255,.35), transparent 70%),
    linear-gradient(100deg, #4a8fd3 0%, #3266b8 35%, #2448a0 70%, #1f3f96 100%);
  transition: opacity 1.4s var(--ease);
}
.hero[data-variant="c2"][data-mode="mit"] .blue { opacity: 1; }

/* Symbolfeld: klein, geordnet, einfarbig. Hinter dem Titel bleibt es ruhig */

.top {
  position: relative; z-index: 3; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding-block: calc(env(safe-area-inset-top, 0px) + 96px) 120px;
  text-align: center;
}
.copy { display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  font: 500 13px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg-muted); margin: 0 0 22px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: color .8s var(--ease);
}
.eyebrow .spark { width: 16px; height: 16px; color: var(--fg-faint); transition: color .6s var(--ease), filter .6s var(--ease); }
.hero[data-variant="c2"][data-mode="mit"] .eyebrow { color: rgba(255,255,255,.85); }
.hero[data-mode="mit"] .eyebrow .spark { color: var(--lime); filter: drop-shadow(0 0 6px rgba(229,255,143,.6)); }

/* Titel: genau zwei Zeilen */
h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, min(4.8vw, 8.6vh), 78px);
  line-height: 1.04;
  letter-spacing: -.04em;
  transition: color 1s var(--ease), text-shadow 1.2s var(--ease);
}
h1 .l1 { display: block; white-space: nowrap; }
h1 .swap { display: grid; justify-items: center; }
h1 .swap > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
h1 .swap .is-off { opacity: 0; transform: translateY(.25em); filter: blur(6px); pointer-events: none; }
.pixel {
  font-family: var(--font-pixel);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.12em;
  line-height: .9;
}
.pixel-off { color: #6b7488; }
.pixel-on { color: var(--lime); }
.hero[data-mode="mit"] .pixel-on { text-shadow: 0 0 22px rgba(229,255,143,.5); }
.hero[data-variant="c2"][data-mode="mit"] h1 { text-shadow: 0 2px 30px rgba(10,25,80,.35); }

.sub {
  margin: 22px auto 0; max-width: min(36em, 52vw);
  font-size: clamp(16px, 1.3vw, 18px); color: var(--fg-muted);
  transition: color .8s var(--ease);
}
.hero[data-variant="c2"][data-mode="mit"] .sub { color: rgba(255,255,255,.88); }
.sub-l { display: block; }
@media (min-width: 901px) {
  .sub { max-width: none; }
  .sub-l { white-space: nowrap; }
}

.actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 0 24px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime);
  font: 600 16px/1 var(--font-sans); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px -8px rgba(229,255,143,.55); }
.cta svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.cta:hover svg { transform: translateX(3px); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* Kacheln im Ring um den Titel, nie hinter oder über dem Text */

/* Kacheln */
.card {
  --c-bg: rgba(14,18,28,.92); --c-fg: var(--fg); --c-muted: var(--fg-faint); --c-line: #232a3a; --c-chip: #171c27;
  position: absolute; z-index: 2;
  padding: 14px 16px; border-radius: 16px;
  background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-fg);
  text-align: left; font-size: 14px; line-height: 1.35;
  opacity: .5; filter: saturate(0);
  animation: float 7s ease-in-out infinite;
  transition: opacity .6s var(--ease), filter .6s var(--ease), background-color .9s var(--ease), border-color .9s var(--ease), color .9s var(--ease), box-shadow .9s var(--ease);
}
.card.is-lit { opacity: 1; filter: none; border-color: rgba(73,136,203,.4); box-shadow: 0 0 36px -8px rgba(73,136,203,.45); }
.hero[data-variant="c2"][data-mode="mit"] .card {
  --c-bg: #fff; --c-fg: #0d1430; --c-muted: #5b6684; --c-line: transparent; --c-chip: #eef2fa;
  box-shadow: 0 24px 50px -18px rgba(5,15,60,.55);
}
.card .lbl { display: block; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; transition: color .9s var(--ease); }
.card .sw { display: grid; }
.card .sw > * { grid-area: 1 / 1; transition: opacity .45s var(--ease); }
.card:not(.is-lit) .on, .card.is-lit .off { opacity: 0; }
.hero:not([data-mode="mit"]) .prof .on, .hero[data-mode="mit"] .prof .off,
.hero:not([data-mode="mit"]) .stats .on, .hero[data-mode="mit"] .stats .off { opacity: 0; }
.card .big { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
/* alle Kacheln gleich: Icon-Box, Eyebrow in Versalien, Wert. Logos grau, beim Aufleuchten in Markenfarbe */
.card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c-chip); color: var(--c-muted); flex: none; transition: background-color .9s var(--ease), color .9s var(--ease); }
.card .ic svg { width: 20px; height: 20px; }

.row { display: flex; align-items: center; gap: 12px; }

/* Beitrag mit Likes */
.k-post { width: 220px; left: 2%; top: 32%; animation-delay: -1s; }
.k-post .head { margin-bottom: 10px; }
.k-post .head .lbl { margin: 0; }
.k-post .img { height: auto; aspect-ratio: 4 / 5; background-size: cover !important; background-position: center !important; border-radius: 12px; background: linear-gradient(135deg, #1a2030, #10141e); position: relative; overflow: hidden; transition: background .8s var(--ease); }
/* echter Beitrag als Bild, im Aus-Zustand graut die Kachel ihn ohnehin aus */
.k-post .img, .k-post.is-lit .img { background: url(../img/hero-post.jpg) center / cover; }
.k-post .bar { display: flex; align-items: center; gap: 10px; padding: 10px 2px 0; color: var(--c-muted); }
.k-post .bar svg { width: 18px; height: 18px; }
.k-post .heart { transition: color .4s var(--ease), fill .4s var(--ease); }
.k-post.is-lit .heart { color: #ff4d6d; fill: #ff4d6d; }
.k-post .likes { position: absolute; left: 10px; bottom: 10px; font: 600 12px/1 var(--font-sans); padding: 6px 9px; border-radius: 8px; background: rgba(11,14,22,.85); color: #fff; display: grid; }
.k-post .likes > span { grid-area: 1 / 1; transition: opacity .45s var(--ease); }

/* Bewertungen */

/* Bewerbungen */

/* Anfragen mit Balken */

/* Website */

/* roter Live-Punkt wie bei einer Aufnahme */

@keyframes live { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
/* Newsletter */
/* Benachrichtigung neben dem Telefon */
/* je drei Kacheln links und rechts, symmetrisch um den Titel */

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 1280px) {
  
  
  
  .k-post { width: 190px; }
  
}
/* kleinere Fenster: Kacheln bleiben um den Titel, werden aber kompakter */
@media (max-width: 1080px) {
  
  .card { padding: 10px 12px; font-size: 13px; border-radius: 14px; }
  .card .ic { width: 28px; height: 28px; border-radius: 8px; }
  .card .ic svg { width: 17px; height: 17px; }
  
  .row { gap: 9px; }
  .card .lbl { font-size: 9.5px; }
  .card .big { font-size: 22px; }
  
  
  
  .k-post { width: 160px; }
  .k-post .head { margin-bottom: 8px; }
  .k-post .img { border-radius: 9px; }
  .k-post .likes { left: 8px; bottom: 8px; font-size: 11px; }
  .k-post .bar { padding-top: 7px; }
  
  
}
@media (max-width: 900px) {
  .sub { max-width: 44vw; }
  .eyebrow { font-size: 11px; letter-spacing: .04em; }
  
  
  
  
}
/* Handy: neben dem Titel ist kein Platz, Kacheln laufen als Raster unter dem CTA */
@media (max-width: 700px) {
  .hero { height: auto; min-height: 100svh; }
  .top { flex: none; padding-bottom: 0; }
  h1 .l1, h1 .swap > span { white-space: normal; }
  h1 .swap { justify-items: center; text-align: center; }
  .sub { max-width: 36em; }
  
  
  .card { position: relative; inset: auto; right: auto; left: auto; top: auto; bottom: auto; width: auto; animation: none; }
  .k-post { grid-column: 1 / -1; width: auto; }
  .k-post .img { aspect-ratio: 16 / 10; }
  
  
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand .logo { height: 36px; }
  .cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ------------------------------------------------------------------
   Abschnitte 2 bis 7
   ------------------------------------------------------------------ */
html { scroll-padding-top: 88px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { position: relative; padding-block: var(--space-section); }
.section + .section { border-top: 1px solid rgba(255,255,255,.05); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted);
}
.kicker svg { width: 14px; height: 14px; color: var(--lime); }
h2 {
  margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1.06;
  font-size: clamp(32px, 4.2vw, 58px); text-wrap: balance;
}
h3 { margin: 0; text-wrap: balance; font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
.lead { margin: 22px 0 0; font-size: clamp(17px, 1.4vw, 19px); color: var(--fg-muted); max-width: 38em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime); text-decoration: none; font: 600 16px/1 var(--font-sans);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px -8px rgba(229,255,143,.55); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fg); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.25); }
.link-arrow:hover { border-color: var(--lime); }
.link-arrow svg { width: 16px; height: 16px; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* 2. Kurz zu mir: knüpft an das Blau des Heros an */
.intro { background: linear-gradient(180deg, #1f3f96 0%, #142a66 22%, var(--ground) 62%); border-top: 0 !important; }
.intro h2 .pixel { color: var(--lime); }
.intro p.lead { color: rgba(242,244,248,.82); }
.chips { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); font-size: 14px; line-height: 1.2; color: var(--fg-muted); }
.chips svg { width: 16px; height: 16px; color: var(--fg-muted); flex: none; }
.chips .kipa img { height: 16px; width: auto; flex: none; filter: brightness(0) invert(1); opacity: .7; }
.intro .link-arrow { margin-top: 28px; }

/* Kurz zu mir: zentriert, rundes Porträt, Chips */
.intro-va { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro-va .lead { max-width: 820px; margin-left: auto; margin-right: auto; }
.va-photo { position: relative; width: 176px; height: 176px; margin-bottom: 28px; }
.va-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #fff; box-shadow: 0 0 0 4px var(--lime), 0 30px 60px -20px rgba(0,0,0,.7); }
.va-dot { position: absolute; right: 14px; bottom: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 3px solid #142a66; box-shadow: 0 0 12px rgba(229,255,143,.7); }
.intro-va .link-arrow { margin-top: 28px; }
/* Der Online-Punkt läuft beim Einblenden einmal im Uhrzeigersinn um das Porträt und landet unten rechts */
.va-orbit { position: absolute; inset: 0; }
.intro-va.is-in .va-orbit { animation: va-orbit 1.6s cubic-bezier(.3, .1, .2, 1) .35s both; }
@keyframes va-orbit { from { transform: rotate(-360deg); } to { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .intro-va.is-in .va-orbit { animation: none; } }
.intro-va .chips { justify-content: center; }

/* 3. Problem */
.problems { margin-top: var(--space-head); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem { padding: 28px 26px; border-radius: 22px; background: var(--ground-raise); border: 1px solid var(--line); }
.problem .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #151a25; color: var(--fg-muted); margin-bottom: 22px; }
.problem .ic svg { width: 20px; height: 20px; }
.problem p { margin: 10px 0 0; color: var(--fg-muted); font-size: 16px; }
/* Problem: Kaufgründe Umsatz, Zeit, Kosten als Kennzahlen-Karten */
.p-ui { display: grid; gap: 12px; padding: 18px; margin-bottom: 24px; border-radius: 16px; background: #0a0d14; border: 1px solid var(--line); }
.p-note { font: 500 12px/1.3 var(--font-mono); color: var(--fg-faint); }
.p-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 48px; }
.p-bars i { height: calc(var(--h) * 100%); min-height: 4px; border-radius: 4px; background: #232a3a; }
.p-clock { display: flex; align-items: center; gap: 12px; height: 48px; }
.p-clock svg { width: 26px; height: 26px; color: var(--fg-muted); }
.p-clock b { font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: var(--fg); }
.p-bill { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 14px; border-radius: 10px; background: #151a25; font-size: 14px; color: var(--fg-muted); }
.p-bill b { font-size: 20px; font-weight: 600; color: #ff8a7a; white-space: nowrap; }

@media (min-width: 961px) { .problem h3 { white-space: nowrap; } }
@media (min-width: 961px) and (max-width: 1180px) { .problem { padding-left: 22px; padding-right: 22px; } .problem h3 { font-size: 16.5px; } }
/* Relief: linksbündig und groß, Wörter werden beim Scrollen hell. Zeile 1 und 2 fest, Zeile 3 kleiner */
.relief { margin: var(--space-group) 0 0; font-size: clamp(30px, 4.2vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; color: var(--fg); }
.relief .r1, .relief .r2, .relief .r3 { display: block; }
@media (min-width: 900px) { .relief .r1, .relief .r2 { white-space: nowrap; } }
.relief .r3 { margin-top: 22px; font-size: max(17px, .42em); letter-spacing: -.015em; line-height: 1.3; }
.relief .w { color: #2e3545; transition: color .35s var(--ease); }
.relief .w.on { color: var(--fg); }
.relief .r3 .w.on { color: var(--fg-muted); }
.relief .pixel.w.on { color: var(--lime); }
.relief-ki .w { transition-duration: .9s; }
/* Moment vor dem Preis: Second-Brain-Graph im Hintergrund */
.ki-moment { position: relative; margin-block: clamp(72px, 9vw, 128px); padding-block: clamp(48px, 6vw, 80px); }
.ki-moment .relief-ki { position: relative; z-index: 1; margin: 0; }
.ki-bg {
  position: absolute; inset: 0 -40px; width: calc(100% + 80px); height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 50%, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 50%, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
}
@media (max-width: 700px) { .ki-bg { inset: 0 -16px; width: calc(100% + 32px); opacity: .6; } }
.relief-ki .ln { display: block; }
.relief-ki .r2 { margin-top: .7em; }

/* 4. Lösung: KI-Betriebssystem plus Bausteine als Akkordeon mit Chat-Demo */
#loesung-title .pixel { color: var(--lime); }
.label { margin: 0; font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.label.muted { color: var(--fg-muted); }

.sol-grid { margin-top: var(--space-head); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: start; }
.plus { align-self: center; font-size: 56px; font-weight: 300; line-height: 1; color: var(--lime); }

/* Fundament: groß, Text klein, Graph füllt den Rest */
.os {
  position: sticky; top: 96px;
  min-height: 560px; border-radius: 28px; padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(120deg, #4a8fd3 0%, #3266b8 40%, #2448a0 75%, #1f3f96 100%);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.os h3 { margin: 0; font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.os-text strong { color: #fff; font-weight: 600; }
.os-text { margin: 0; max-width: 30em; font-size: 15px; color: rgba(255,255,255,.85); }
.graph { position: relative; flex: 1; min-height: 300px; margin: 8px -12px 0; }
.graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.graph-lines line { stroke: rgba(255,255,255,.28); stroke-width: 1.2; transition: stroke .4s var(--ease), stroke-width .4s var(--ease); }
.graph-lines line.is-hot { stroke: var(--lime); stroke-width: 2; }
.node {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: #fff; background: rgba(255,255,255,.16);
  border: 1px solid transparent; cursor: default;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.node.hub { padding: 10px 18px; font-size: 15px; font-weight: 600; background: var(--lime); color: var(--on-lime); box-shadow: 0 0 40px -6px rgba(229,255,143,.6); }
.node.is-hot { background: #fff; color: var(--blue-deep); box-shadow: 0 0 28px -4px rgba(229,255,143,.7); border-color: var(--lime); }
.node.rule { border: 1px dashed rgba(255,255,255,.85); background: transparent; }
.node.rule.is-hot { background: #fff; color: var(--blue-deep); border: 1px dashed var(--blue-deep); box-shadow: 0 0 24px -6px rgba(255,255,255,.6); }
.node.dot { padding: 0; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); }
.os-hints { display: grid; gap: 6px; }
.os-hint { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.88); }
.os-hint .dot.rule-dot { background: transparent; border: 1px dashed #fff; box-shadow: none; }
.os-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(229,255,143,.8); flex: none; }

/* Bausteine als Akkordeon */
.blocks { display: flex; flex-direction: column; gap: 12px; padding-top: clamp(28px, 3vw, 40px); }
.blocks-head { display: grid; gap: 6px; margin-bottom: 8px; }
.blocks-sub { margin: 0; max-width: 34em; font-size: 15px; color: var(--fg-muted); }
.block { border-radius: 22px; background: var(--ground-raise); border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.block.is-open { border-color: rgba(229,255,143,.45); box-shadow: 0 0 40px -18px rgba(229,255,143,.5); }
.block h4 { margin: 0; }
.block-head {
  width: 100%; min-height: 76px; padding: 16px 20px; border: 0; border-radius: 22px; background: transparent; color: inherit;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  font: inherit; text-align: left; cursor: pointer;
}
.block-head .n { font: 500 12px/1 var(--font-mono); color: var(--fg-faint); }
.block.is-open .block-head .n { color: var(--lime); }
.block-head .bt { display: flex; flex-direction: column; gap: 2px; }
.block-head b { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.block-head small { font-size: 14px; font-weight: 400; color: var(--fg-muted); }
.chev { width: 22px; height: 22px; color: var(--fg-muted); transition: transform .35s var(--ease), color .35s var(--ease); }
.block.is-open .chev { transform: rotate(180deg); color: var(--lime); }
.block-head:hover b { color: #fff; }
.block:not(.is-open) .block-head:hover { background: rgba(255,255,255,.02); }

/* Aufklappen über die Grid-Zeile, damit die Höhe weich animiert */
.block-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.block.is-open .block-body { grid-template-rows: 1fr; }
.block-inner { min-height: 0; overflow: hidden; }
.block-inner > .demo { margin: 0 12px 12px; }

/* Chatfenster wie auf der Seite */
.demo { position: relative; border-radius: 18px; background: #0b0e16; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; height: 380px; }
/* Verlauf startet unter der Titelleiste, damit oben nie ein Spalt durchblitzt */
.demo::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 50px; z-index: 1; background: linear-gradient(#0b0e16 30%, transparent); pointer-events: none; }
.demo-bar { position: relative; z-index: 2; background: #0b0e16; display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--font-mono); color: var(--fg-faint); }
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #262d3d; }
.demo-bar span { margin-left: 8px; }
.demo-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 18px 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: #262d3d transparent; }
.msg { display: none; flex: none; }
.msg.is-in { display: block; animation: msg-in .5s var(--ease) both; }
.msg.is-in:first-child { margin-top: auto; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.msg.me { align-self: flex-end; max-width: 85%; padding: 11px 15px; border-radius: 16px 16px 4px 16px; background: var(--blue); color: #fff; font-size: 15px; line-height: 1.45; min-height: 44px; }
.msg.sys { align-self: stretch; }
.msg .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ideas { margin: 0; padding: 12px 14px 12px 34px; border-radius: 16px 16px 16px 4px; background: #161b27; color: var(--fg); font-size: 14px; line-height: 1.6; }
.ideas li::marker { color: var(--lime); font: 500 12px var(--font-mono); }
.done { margin: 0; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: #161b27; color: var(--fg); font-size: 14px; }
.done svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--on-lime); }
.r-card { border-radius: 16px; background: #fff; color: #0d1430; padding: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.r-card .lbl { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: #5b6684; }
.r-ref { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.r-ref .img { height: 90px; border-radius: 10px; background: radial-gradient(60% 70% at 30% 30%, #e5ff8f 0, transparent 60%), linear-gradient(135deg, #4988cb, #224597); }
.r-ref b { display: block; font-size: 17px; margin: 4px 0; }
.r-ref .chip { display: inline-block; font: 600 11px/1 var(--font-sans); padding: 6px 9px; border-radius: 999px; background: #eef2fa; color: var(--blue); }
.r-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.r-posts .r-card { padding: 8px; }
.r-posts .img { aspect-ratio: 4 / 5; border-radius: 10px; background-size: cover; background-position: center; }
.r-posts small { display: block; margin-top: 8px; font: 500 11px/1.3 var(--font-mono); color: #5b6684; }
.r-mail p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.r-mail .meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e6eaf3; font-size: 13px; color: #5b6684; }
.r-mail .attach { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #eef2fa; font: 500 13px/1.2 var(--font-sans); color: #0d1430; }
.r-mail .attach svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.r-mail .send { margin-top: 12px; display: inline-flex; font: 600 12px/1 var(--font-sans); padding: 8px 12px; border-radius: 999px; background: var(--blue); color: #fff; }

/* Website-Demo: Arbeitsschritte, dann öffnet sich der Onepager im Browserfenster */
.steps-run { margin: 0; padding: 12px 14px; list-style: none; display: grid; gap: 8px; border-radius: 16px 16px 16px 4px; background: #161b27; font-size: 14px; }
.steps-run li { display: flex; align-items: center; gap: 10px; color: var(--fg-muted); opacity: 0; animation: step-in .4s var(--ease) forwards; }
.steps-run li:nth-child(2) { animation-delay: .45s; }
.steps-run li:nth-child(3) { animation-delay: .9s; }
.steps-run li:nth-child(4) { animation-delay: 1.35s; }
.steps-run li.skill { color: var(--fg); }
.steps-run i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); flex: none; }
.steps-run svg { width: 11px; height: 11px; }
.steps-run code { font: 500 12px var(--font-mono); padding: 2px 6px; border-radius: 6px; background: rgba(229,255,143,.12); color: var(--lime); }
@keyframes step-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.msg.is-in .browser { animation: open-browser .6s var(--ease) both; }
@keyframes open-browser { from { opacity: 0; transform: scale(.94); } }
.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -20px rgba(0,0,0,.85); transform-origin: top center; }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #eceff5; }
.b-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9cfdb; }
.b-bar span { margin-left: 8px; flex: 1; padding: 4px 10px; border-radius: 6px; background: #fff; font: 500 11px/1.2 var(--font-mono); color: #5b6684; }
.lp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; align-items: center; padding: 18px; color: #0d1430; background: linear-gradient(160deg, #fff, #f2f5fb); }
.lp-copy { display: flex; flex-direction: column; gap: 6px; }
.lp-tag { align-self: flex-start; padding: 4px 8px; border-radius: 999px; background: #eef2fa; font: 600 10px/1.2 var(--font-sans); color: var(--blue); }
.lp b { font-size: 18px; line-height: 1.15; letter-spacing: -.02em; }
.lp-sub { font-size: 12px; color: #5b6684; }
.lp-form { margin-top: 4px; display: flex; gap: 6px; align-items: center; padding: 4px 4px 4px 10px; border-radius: 999px; border: 1px solid #dfe4ee; background: #fff; font-size: 11px; color: #8a93a8; }
.lp-form > span:first-child { flex: 1; }
.lp-btn { padding: 6px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; white-space: nowrap; }
.lp-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.ph-1 { background-image: url(../img/webinar/foto-1.jpg); }
.ph-2 { background-image: url(../img/webinar/foto-2.jpg); opacity: 0; transform: scale(1.08); }
.browser.is-swapped .ph-1 { opacity: 0; }
.browser.is-swapped .ph-2 { opacity: 1; transform: none; }
.browser.is-swapped .lp-photo { box-shadow: 0 0 0 2px var(--lime); }

/* 5. Beweis */
.story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.photo-wide { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
/* Foto rechts, weniger breit: Querformat 4:3, damit der Text nicht über das Bild hinausragt */
.photo-wide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% center; }
.story-text p:not(.kicker) { margin: 18px 0 0; color: var(--fg-muted); font-size: 17px; }
.story-text p.claim .pixel { color: var(--lime); }
.story-text p.claim { margin-top: 26px; color: var(--fg); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.35; }

/* Aus der Praxis: drei Referenzkarten, passen zusammen in einen Viewport. Videos laufen stumm, Klick öffnet mit Ton */
.practice { overflow-x: clip; }
.practice + .story-grid { margin-top: calc(var(--space-section) * 2); }
.h-sm { font-size: clamp(28px, 3.2vw, 44px); }
.refs { margin-top: var(--space-head); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ref { padding: 12px 12px 24px; border-radius: 24px; background: var(--ground-raise); border: 1px solid var(--line); }
.ref h3 { margin: 20px 12px 0; font-size: 21px; }
.ref > p { margin: 8px 12px 0; color: var(--fg-muted); font-size: 15.5px; }
/* Aus der Praxis als Bento: Kacheln in unterschiedlichen Größen. Vollbild-Videos mit Text darauf, Social Media mit Text darüber, eine reine Textkachel. Reinfliegen in main.js */
.bento { margin-top: var(--space-head); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 17vw, 230px); gap: 16px;
  grid-template-areas:
    "web web web web web web web soc soc soc soc soc"
    "web web web web web web web soc soc soc soc soc"
    "cta cta cta cta cta cta cta cta cta vid vid vid"
    "pre pre pre pre pre pre pre pre pre vid vid vid"
    "pre pre pre pre pre pre pre pre pre vid vid vid"; }
.t-web { grid-area: web; } .t-soc { grid-area: soc; } .t-pre { grid-area: pre; } .t-vid { grid-area: vid; } .t-cta { grid-area: cta; }
.tile { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; background: var(--ground-raise); border: 1px solid var(--line); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(229,255,143,.10), transparent 60%); }
.tile:hover::after { opacity: 1; }
.tile h3 { margin: 10px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.tile p { margin: 8px 0 0; font-size: 15.5px; max-width: 34em; }
.t-tag { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
/* Vollbild-Kacheln: Video füllt alles, Text unten auf dunklem Verlauf */
.t-web .clip, .t-pre .clip, .t-vid .clip { position: absolute; inset: 0; height: auto; min-height: 0; border-radius: 0; }
.tile div.clip { cursor: default; }
.tile div.clip:hover video { transform: none; }
.t-over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 80px clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 28px); background: linear-gradient(to top, rgba(6,7,13,.92) 0, rgba(6,7,13,.6) 55%, transparent); pointer-events: none; }
.t-over p { color: rgba(242,244,248,.78); }
.t-vid .clip .play { top: 38%; }
.t-vid h3 { font-size: 22px; }
.t-vid p { font-size: 14.5px; }
/* Social Media wie auf der Live-Seite: Einplan-Animation oben, Text darunter */
.t-soc { display: flex; flex-direction: column; padding: 12px 12px 22px; }
.t-soc .clip { flex: 1; height: auto; min-height: 240px; border-radius: 16px; }
.t-soc .t-head { padding: 18px 12px 0; }
.t-soc .t-head h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.t-soc .t-head p { color: var(--fg-muted); }
/* Textkachel in der Mitte: nur eine Aussage, im Blau des Abschlussbereichs */
.t-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: clamp(24px, 3vw, 44px); border: 0; background: linear-gradient(110deg, #4a8fd3 0%, #3266b8 40%, #2448a0 75%, #1f3f96 100%); color: #fff; }
.t-cta h3 { flex: 1 1 100%; margin: 0; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.035em; line-height: 1; color: #fff; }
.t-cta h3 .pixel { color: var(--lime); }
.t-cta p { margin: 0; flex: 1 1 18em; color: rgba(255,255,255,.88); font-size: 18px; }
.t-cta .btn { flex: none; }
.t-cta::after { display: none; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto;
    grid-template-areas: "web web" "soc vid" "cta cta" "pre pre"; }
  .t-web { aspect-ratio: 4 / 3.4; }
  .t-pre { aspect-ratio: 16 / 10; }
  .t-vid { aspect-ratio: 9 / 15; }
  .t-soc .clip { min-height: 300px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "web" "soc" "cta" "pre" "vid"; }
  .t-web { aspect-ratio: 4 / 4.2; }
  .t-pre { aspect-ratio: 4 / 3.6; }
  .t-vid { aspect-ratio: 9 / 13; }
}
.clip { position: relative; display: block; width: 100%; height: min(34vh, 340px); min-height: 240px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: radial-gradient(60% 70% at 30% 30%, rgba(229,255,143,.16) 0, transparent 60%), linear-gradient(135deg, #2b55a5, #16264d); cursor: pointer; color: var(--fg); font: inherit; text-align: left; }
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.clip:hover video { transform: scale(1.04); }
.clip .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(0,0,0,.6); transition: transform .2s var(--ease); }
.clip:hover .play { transform: scale(1.08); }
.clip .play svg { width: 20px; height: 20px; margin-left: 3px; }
.clip .soon { display: none; position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(11,14,22,.7); font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.clip.is-missing .soon { display: block; }
.clip.is-missing { cursor: default; }
.clip.is-missing .play { opacity: .35; }

/* Planungs-Mockup im Stil einer echten Planungs-App: Queue, schwebende Uhrzeit, Logos am Rand */
.ref-plan { cursor: default; background: radial-gradient(70% 60% at 30% 20%, rgba(229,255,143,.14) 0, transparent 60%), linear-gradient(135deg, #3a6fc0, #1f3f96); }
.queue { position: absolute; left: 50%; top: 22px; width: 68%; transform: translateX(-50%); border-radius: 16px 16px 0 0; background: #fff; color: #0d1430; box-shadow: 0 24px 50px -20px rgba(5,15,60,.6); padding: 14px 12px 0; height: calc(100% - 22px); overflow: hidden; }
.q-head { text-align: center; font-size: 14px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid #e6eaf3; }
.q-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.q-list li { display: grid; grid-template-columns: minmax(0, 1fr) 58px; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: #f4f6fb; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.q-list img { width: 58px; height: 72px; border-radius: 8px; object-fit: cover; }
.q-text { display: grid; gap: 7px; }
.q-meta { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-mono); color: #5b6684; }
.q-meta i { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; background: #9fce2a; color: #fff; transform: scale(0); transition: transform .35s var(--ease); }
.q-meta svg { width: 9px; height: 9px; }
.sk { height: 7px; border-radius: 4px; background: #e2e7f1; }
.sk.short { width: 60%; }
.q-pill { position: absolute; left: 8%; top: 98px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #0d1430; font-size: 13px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(5,15,60,.55); opacity: 0; transform: translateY(8px) scale(.95); transition: opacity .5s var(--ease) .9s, transform .5s var(--ease) .9s; }
.q-pill svg { width: 16px; height: 16px; }
.q-badge { position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); animation: float 6s ease-in-out infinite; }
.q-badge svg { width: 26px; height: 26px; }
.b-ig { left: 6%; top: 18px; animation-delay: -1s; }
.b-fb { right: 6%; top: 42%; animation-delay: -3s; }
.b-li { left: 5%; bottom: 14%; animation-delay: -4.5s; }
.ref-plan.play .q-list li { opacity: 1; transform: none; }
.ref-plan.play .q-list li:nth-child(2) { transition-delay: .2s; }
.ref-plan.play .q-list li:nth-child(3) { transition-delay: .4s; }
.ref-plan.play .q-meta i { transform: scale(1); }
.ref-plan.play li:nth-child(1) .q-meta i { transition-delay: 1.2s; }
.ref-plan.play li:nth-child(2) .q-meta i { transition-delay: 1.6s; }
.ref-plan.play li:nth-child(3) .q-meta i { transition-delay: 2s; }
.ref-plan.play .q-pill { opacity: 1; transform: none; }

/* Stimmen: links Titel und Pfeile, rechts ein großes Zitat mit Foto */
/* Kundenstimmen als Posteingang: grüne 1 für ungelesen, Klick öffnet die Nachricht und tippt das Zitat ein */
.voices { position: relative; }
/* Fenster startet rechts außerhalb der Seite, darf aber keinen horizontalen Scroll erzeugen */
#beispiele-und-geschichte, #stimmen { overflow-x: clip; }
/* Kundenstimmen: eigene Sektion mit blauem Band, weich aus und in den dunklen Grund */
.stimmen { border-top: 0 !important; }
.stimmen + .section { border-top: 0; }
.stimmen { background: linear-gradient(180deg, var(--ground) 0%, #142a66 30%, #1f3f96 55%, #142a66 78%, var(--ground) 100%); }
.drag-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 28px; height: 28px; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); transform-origin: 20% 10%; }
.voices-intro h2 .pixel { color: var(--lime); }
.voices-intro p:not(.kicker) { margin: 16px 0 0; color: var(--fg-muted); font-size: 17px; }
.inbox { position: relative; z-index: 2; margin-top: var(--space-head); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 480px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); border-radius: 24px; border: 1px solid var(--line); background: var(--ground-raise); overflow: hidden; }
.inbox-titlebar { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #10141e; cursor: default; }
.inbox-titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3142; }
.inbox-titlebar span { position: absolute; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); }
.inbox.is-grabbed { box-shadow: 0 50px 90px -30px rgba(0,0,0,.95); }
.inbox-label { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); }
.inbox-list { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.inbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.inbox-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 16px 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--fg-muted); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.inbox-row:hover { background: rgba(255,255,255,.025); }
.inbox-row:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.inbox-row[aria-selected="true"] { background: rgba(229,255,143,.05); box-shadow: inset 3px 0 0 var(--lime); }
.inbox-row img { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.inbox-row b { color: var(--fg); font-size: 15px; font-weight: 500; }
.inbox-row .preview { grid-column: 2 / 4; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row .badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font: 600 11px/1 var(--font-mono); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.inbox-row:not(.is-read) b { font-weight: 600; }
.inbox-row:not(.is-read) .preview { color: var(--fg); }
.inbox-row.is-read .badge { transform: scale(0); opacity: 0; }
.inbox-pane { display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 48px); }
.inbox-empty { display: none; margin: auto; text-align: center; }
.inbox-pane.is-empty .inbox-empty { display: block; }
.inbox-stack { display: flex; justify-content: center; margin-bottom: 20px; }
.inbox-stack img { width: 48px; height: 48px; margin-left: -12px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ground-raise); }
.inbox-stack img:first-child { margin-left: 0; }
.inbox-empty p { margin: 12px 0 0; color: var(--fg-muted); font-size: 15px; }
.inbox-msg { margin: 0; display: flex; flex-direction: column; gap: 32px; flex: 1; }
.inbox-msg[hidden], .inbox-msg blockquote[hidden] { display: none; }
.inbox-msg:not([hidden]) { animation: voice-in .4s var(--ease) both; }
@keyframes voice-in { from { opacity: 0; transform: translateY(8px); } }
.inbox-meta { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.inbox-meta figcaption { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--fg-muted); }
.inbox-meta img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.inbox-meta b { display: block; color: var(--fg); font-size: 16px; font-weight: 600; }
.inbox-msg blockquote { margin: 0; font-size: clamp(20px, 2vw, 30px); line-height: 1.28; letter-spacing: -.02em; color: var(--fg); }
.inbox-msg blockquote em { font-style: normal; color: var(--lime); }
.inbox-msg blockquote .caret { display: inline-block; width: .5em; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--lime); animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.inbox-chips { margin: auto 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.inbox-chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); }

/* 6. Ablauf und Preis: Zeitstrahl in der Mitte, Schritte abwechselnd links und rechts. Punkte und Linie leuchten beim Scrollen nacheinander lime */
#ablauf .wrap > .reveal:first-child { text-align: center; }
.steps { --lit: 0; position: relative; max-width: 900px; margin: var(--space-head) auto 0; padding: 0; list-style: none; counter-reset: s; }
.steps::before, .steps::after { content: ""; position: absolute; left: calc(50% - 1px); top: 8px; bottom: 40px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--lime); box-shadow: 0 0 12px rgba(229,255,143,.5); transform-origin: top; transform: scaleY(calc(var(--lit) / 4)); transition: transform .9s var(--ease); }
.steps li { position: relative; width: 50%; padding: 0 56px 40px 0; text-align: right; opacity: .32; filter: saturate(0); transition: opacity .9s var(--ease), filter .9s var(--ease); }
.steps li:nth-child(even) { margin-left: 50%; padding: 0 0 40px 56px; text-align: left; }
.steps li.is-lit { opacity: 1; filter: none; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font: 500 12px/1 var(--font-mono); color: var(--lime); margin-bottom: 18px; letter-spacing: .06em; }
.steps li::after { content: ""; position: absolute; top: 4px; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); border: 2px solid #3a4253; transition: background-color .9s var(--ease), border-color .9s var(--ease), box-shadow .9s var(--ease); }
.steps li:nth-child(even)::after { right: auto; left: -9px; }
.steps li.is-lit::after { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 14px rgba(229,255,143,.6); }
.steps h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; }
.steps p { margin: 10px 0 0; max-width: 440px; color: var(--fg-muted); font-size: 16.5px; line-height: 1.5; }
.steps li:nth-child(odd) p { margin-left: auto; }
.steps li:first-child p { max-width: none; }
@media (max-width: 760px) {
  #ablauf .wrap > .reveal:first-child { text-align: left; }
  .steps { max-width: none; }
  .steps::before, .steps::after { left: 55px; bottom: 40px; }
  .steps li, .steps li:nth-child(even) { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 40px; width: auto; margin: 0; padding: 0 0 40px; text-align: left; }
  .steps li::before { grid-row: 1 / 3; margin: 6px 0 0; font-size: 14px; }
  .steps li::after, .steps li:nth-child(even)::after { left: 48px; right: auto; }
  .steps h3, .steps p { grid-column: 2; }
  .steps li:nth-child(odd) p { margin-left: 0; }
}
.price-head { margin-top: var(--space-tight); }
.price-head + .price { margin-top: 0; }
.price {
  margin-top: var(--space-tight); position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(110deg, #4a8fd3 0%, #3266b8 40%, #2448a0 75%, #1f3f96 100%);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center;
}
.price .label { font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0; }
.price .amount { margin: 10px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.price .amount b { font-size: clamp(56px, 7vw, 92px); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: #fff; }
.price .amount s { font-size: 20px; color: rgba(255,255,255,.65); }
.price .badge { display: inline-flex; margin-top: 16px; padding: 8px 12px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font: 600 13px/1 var(--font-sans); }
.price .who { margin: 18px 0 0; font-weight: 600; color: #fff; }
.price .deal { margin: 8px 0 0; font-size: 15px; color: rgba(255,255,255,.8); }
.price .incl-head { margin: 22px 0 0; font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.price .incl { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.9); }
.price .incl li { position: relative; padding-left: 26px; }
.price .incl li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232448a0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4L18 8'/></svg>") center / 10px no-repeat; }
@media (max-width: 600px) { .price .incl .br-wide { display: none; } }
/* Leistungen: erst drei Punkte, der Rest klappt auf. Der blaue Rahmen wächst mit */
.price .incl-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.price .incl-more > div { overflow: hidden; min-height: 0; }
.price .incl-more .incl { margin-top: 8px; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.price .incl-more.is-open { grid-template-rows: 1fr; }
.price .incl-more.is-open .incl { opacity: 1; transform: none; transition-delay: .1s; }
.price .incl-toggle { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #fff; font: 600 14px/1.4 var(--font-sans); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 4px; }
.price .incl-toggle:hover { text-decoration-color: #fff; }
.price .incl-toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.price .incl-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .price .incl-more, .price .incl-more .incl { transition: none; } }
.price .belief { margin: 0; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; letter-spacing: -.015em; color: #fff; }
.price .fine { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,.75); }
.price .btn { margin-top: 26px; }

/* 7. FAQ und Abschluss */
.faq { margin-top: var(--space-head); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; align-items: start; }
.faq details { border-radius: 18px; background: var(--ground-raise); border: 1px solid var(--line); transition: border-color .3s var(--ease); }
.faq details[open] { border-color: #2a3243; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; min-height: 44px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--fg-muted); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--lime); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--fg-muted); max-width: 46em; }

.closing {
  margin-top: var(--space-group); position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 80px);
  background: linear-gradient(110deg, #4a8fd3 0%, #3266b8 40%, #2448a0 75%, #1f3f96 100%);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.closing > :not(.field) { position: relative; z-index: 1; }
.closing .field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.45) 40%, #000 80%); mask-image: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.45) 40%, #000 80%); }
.closing .face { transition: transform .4s var(--ease), box-shadow .4s var(--ease); width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
.closing:hover .face { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 0 0 6px rgba(255,255,255,.28), 0 24px 40px -18px rgba(5,15,60,.6); }
.closing .face img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.closing h2 { color: #fff; }
.closing p { margin: 16px 0 0; color: rgba(255,255,255,.88); font-size: 18px; }
.closing .btn { margin-top: 28px; }

/* Footer */
.footer { padding-block: 40px 56px; border-top: 1px solid rgba(255,255,255,.06); color: var(--fg-faint); font-size: 14px; }
/* links Copyright, Mitte Social-Logos, rechts Rechtliches */
.footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.footer .legal { display: grid; justify-items: start; gap: 2px; }
.footer .social { display: flex; gap: 12px; }
.footer .social a { min-width: 44px; justify-content: center; transition: color .2s var(--ease); }
.footer .social svg { width: 20px; height: 20px; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--fg-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer a:hover { color: var(--fg); }

/* Video-Overlay mit Ton */
.player { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 90vh; overflow: visible; }
.player::backdrop { background: rgba(4,5,10,.86); backdrop-filter: blur(6px); }
.player video { display: block; max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 18px; background: #000; }
.player .close { position: absolute; right: -8px; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #0b0d12; display: grid; place-items: center; cursor: pointer; }
.player .close svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .story-grid, .price { grid-template-columns: minmax(0, 1fr); }
  .sol-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plus { justify-self: center; }
  .os { position: relative; top: auto; min-height: 0; }
  .blocks { padding-top: 0; }
  .graph { min-height: 280px; }
}
@media (max-width: 520px) {
  .graph { min-height: 340px; }
  .node { padding: 5px 9px; font-size: 12px; }
  .node.hub { padding: 8px 14px; font-size: 14px; }
  .problems, .faq, .refs { grid-template-columns: minmax(0, 1fr); }
  .clip { height: 300px; }

}
@media (max-width: 640px) {
  .closing .field { -webkit-mask-image: none; mask-image: none; opacity: .6; }
  .closing { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .r-ref { grid-template-columns: minmax(0, 1fr); }
  .demo { height: 360px; }
  .block-head small { display: none; }
  .footer .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .footer .legal { justify-items: center; }
  .footer .social { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .steps li { opacity: 1; filter: none; }
  .relief .w { color: var(--fg); }
  .inbox-msg:not([hidden]) { animation: none; }
  .inbox-msg blockquote .caret { animation: none; }
}

/* Hero: Lichtkegel, drei große Kacheln, Kreise und Horizont-Bogen */
.stage { display: none; }

[data-hero^="b"] .stage { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
[data-hero^="b"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 16% 70% at 50% -6%, rgba(215,225,245,.16), transparent 72%),
    radial-gradient(ellipse 42% 60% at 50% -10%, rgba(120,140,190,.12), transparent 75%);
  opacity: calc(.7 + var(--glow, .1) * .3); transition: opacity .8s var(--ease);
}
[data-hero^="b"] .hero[data-mode="mit"]::before { opacity: 0; }

/* Kreise: kommen mit ihrer Kachel */
.orb { position: absolute; z-index: 1; border-radius: 50%; opacity: 0; transform: scale(.6); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.orb.is-lit { opacity: 1; transform: none; }
.orb-lime { width: 150px; height: 150px; left: calc(5% + 170px); top: 15%; background: radial-gradient(circle at 35% 30%, #f1ffc2, var(--lime) 60%, #c9e86a); }
.orb-blue { width: 190px; height: 190px; right: 4%; top: 64%; background: radial-gradient(circle at 35% 30%, #6aa6e6, #3266b8 60%, #224597); }

.stage .card { z-index: 3; }
.stage .k-post { width: 230px; left: 5%; top: 21%; }
.b-chart { width: 290px; right: 6%; top: 18%; animation-delay: -3s; }
.b-cal { width: 270px; right: 2%; top: 61%; animation-delay: -5s; }

.stage .head { justify-content: space-between; margin-bottom: 12px; }
.stage .head .lbl { margin: 0; }
.b-cal .head { justify-content: flex-start; }
.b-cal .head .lbl { margin-bottom: 4px; }
.stage .n { font-size: 13px; color: var(--c-muted); display: grid; white-space: nowrap; }
.stage .n > span { grid-area: 1 / 1; transition: opacity .45s var(--ease); }

/* Anfragen: Balken liegen flach und steigen beim Aufleuchten */
.b-chart .bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 76px; }
.b-chart .bars i { height: 6px; border-radius: 5px; background: var(--c-chip); transition: height .9s var(--ease), background-color .6s var(--ease); }
.b-chart.is-lit .bars i { height: calc(var(--h) * 100%); background: rgba(73,136,203,.55); }
.b-chart.is-lit .bars i:nth-child(5) { background: var(--lime); }
.hero[data-mode="mit"] .b-chart .bars i { background: #d6e2f5; }
.hero[data-mode="mit"] .b-chart .bars i:nth-child(5) { background: #9fce2a; }
.b-chart .bars i:nth-child(2) { transition-delay: .05s; } .b-chart .bars i:nth-child(3) { transition-delay: .1s; } .b-chart .bars i:nth-child(4) { transition-delay: .15s; }
.b-chart .bars i:nth-child(5) { transition-delay: .2s; } .b-chart .bars i:nth-child(6) { transition-delay: .25s; } .b-chart .bars i:nth-child(7) { transition-delay: .3s; }
.b-chart .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 8px; font: 500 10px/1 var(--font-mono); color: var(--c-muted); text-align: center; }

/* Kalender: Woche mit freien Slots, ein Termin wird gebucht */
.b-cal .week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.b-cal .col { display: grid; gap: 5px; }
.b-cal .col span { font: 500 10px/1 var(--font-mono); color: var(--c-muted); text-align: center; margin-bottom: 2px; }
.b-cal .slot { height: 18px; border-radius: 5px; background: var(--c-chip); display: grid; place-items: center; transition: background-color .6s var(--ease); }
.b-cal .slot b { font: 600 10px/1 var(--font-sans); color: var(--on-lime); opacity: 0; transition: opacity .4s var(--ease) .2s; }
.b-cal.is-lit .slot.hit { background: var(--lime); }
.b-cal.is-lit .slot.hit b { opacity: 1; }

/* Feierabend-Bubble: Kreis links unten, schneidet den Post leicht */
.b-bubble {
  width: 150px; height: 150px; left: calc(5% + 150px); top: calc(21% + 360px); border-radius: 50%; padding: 0;
  display: grid; place-content: center; justify-items: center; text-align: center; animation-delay: -2s;
}
.b-bubble .lbl { margin-bottom: 6px; }
.b-bubble .big { font-size: 30px; }
.b-bubble .per { margin: 6px 0 0; }
.stage .logos { display: flex; flex-direction: row; align-items: center; gap: 6px; }
.stage .logos .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--c-bg); transition: background-color .9s var(--ease); }
.stage .logos .ic svg { width: 32px; height: 32px; }
.b-bubble.is-lit { --c-bg: var(--blue); --c-fg: #fff; --c-muted: rgba(255,255,255,.75); --c-line: transparent; border-color: transparent; box-shadow: 0 24px 60px -20px rgba(43,85,165,.8); }
.hero[data-variant="c2"][data-mode="mit"] .b-bubble { border-color: transparent; --c-bg: var(--lime); --c-fg: var(--on-lime); --c-muted: rgba(11,13,18,.6); }

/* B3: CTA nur rechts unten, der Text steht frei in der Mitte */
.fc-long { display: none; }
[data-cta="ecke"] .hero .actions { display: none; }
[data-cta="ecke"] .float-cta { opacity: 1; transform: none; pointer-events: auto; min-height: 60px; padding: 0 26px; font-size: 17px; bottom: max(32px, env(safe-area-inset-bottom, 0px)); right: max(32px, env(safe-area-inset-right, 0px)); }
[data-cta="ecke"] .fc-long { display: inline; }
/* Im Hero: CTA rechts neben der Mitte, Scroll-Hinweis links daneben auf gleicher Höhe. Beim Verlassen gleitet der CTA nach unten rechts */
@media (min-width: 1081px) {
  [data-cta="ecke"] .float-cta:not(.is-shown) { bottom: var(--cta-b, 36px); transform: translateX(calc(var(--cta-w, 300px) + 56px - 50vw)); }
  [data-cta="ecke"] .scroll-hint { left: auto; right: calc(50% + 24px); transform: none; }
}
@media (min-width: 701px) and (max-width: 1080px) {
  [data-cta="ecke"] .float-cta:not(.is-shown) { transform: translateX(calc(50% + 32px - 50vw)); }
}
[data-cta="ecke"] .top { padding-bottom: 96px; }
[data-cta="ecke"] .sub { margin-top: 26px; }

/* Horizont-Bogen steigt beim Scrollen auf und geht ins Blau über */
[data-hero="b2"] .horizon {
  display: block; position: absolute; z-index: 1; left: 50%; width: 170vw; aspect-ratio: 1; border-radius: 50%;
  top: calc(100% - 9vh - var(--p, 0) * 12vh); transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 22% at 50% 0%, rgba(73,136,203,.35), #080b14 70%);
  box-shadow: 0 -1px 0 rgba(170,205,255,.55), 0 -40px 140px -20px rgba(73,136,203,.55);
  transition: opacity 1s var(--ease);
}
[data-hero="b2"] .hero[data-mode="mit"] .horizon { opacity: 0; }

@media (max-width: 1280px) {
  .stage .k-post { width: 200px; }
  .b-chart { width: 250px; }
  .b-cal { width: 240px; right: 2%; }
  .orb-lime { left: calc(5% + 140px); width: 120px; height: 120px; }
  .b-bubble { width: 130px; height: 130px; left: calc(5% + 125px); top: calc(21% + 320px); }
}
@media (max-width: 1080px) {
  .stage .k-post { width: 170px; left: 2%; }
  .b-chart { width: 210px; right: 2%; }
  .b-cal { width: 210px; right: 2%; }
  .b-chart .bars { height: 56px; gap: 6px; }
  .orb-lime { left: calc(2% + 120px); width: 96px; height: 96px; }
  .orb-blue { width: 140px; height: 140px; }
  .b-bubble { width: 112px; height: 112px; left: calc(2% + 105px); top: calc(21% + 280px); }
  .b-bubble .big { font-size: 23px; }
}
/* Handy: Hero ohne Kacheln, Kreise und Horizont (seit 01.11.) */
@media (max-width: 700px) {
  [data-hero^="b"] .stage { display: none; }
  [data-hero^="b"] .orb, [data-hero^="b"] .horizon { display: none; }
  [data-hero^="b"] .stage .card { width: auto; top: auto; left: auto; right: auto; }
  .b-chart .bars { height: 48px; gap: 4px; }
  .b-bubble { display: none; }
  [data-cta="ecke"] .float-cta { right: 16px; bottom: 16px; min-height: 52px; font-size: 16px; }
  [data-cta="ecke"] .float-cta:not(.is-shown) { bottom: var(--cta-m, 16px); transform: translateX(calc(50% + 16px - 50vw)); }
  [data-cta="ecke"] .top { padding-top: calc(env(safe-area-inset-top, 0px) + 168px); padding-bottom: 116px; }
  .eyebrow { flex-wrap: wrap; row-gap: 6px; margin-bottom: 26px; }
  .eyebrow .eb-rest { flex-basis: 100%; text-align: center; }
  .b-chart .days { gap: 4px; }
  
  
  
}
@media (prefers-reduced-motion: reduce) {
  .orb,.b-chart .bars i { transition: none; }
}

/* Rechtsseiten (Impressum, Datenschutz) */
.legal-nav { position: relative; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--fg-muted); text-decoration: none; transition: color .2s var(--ease); }
.legal-back:hover { color: var(--fg); }
.legal-page { padding-block: clamp(48px, 8vw, 96px) var(--space-group); }
.legal-text { max-width: 720px; margin: 0 auto; color: var(--fg-muted); }
.legal-text h1 { margin: 0 0 8px; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; font-weight: 500; color: var(--fg); }
.legal-text .legal-stand { margin: 0; font-size: 14px; color: var(--fg-faint); }
.legal-text h2 { margin: 48px 0 12px; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--fg); }
.legal-text p, .legal-text ul { margin: 0 0 16px; }
.legal-text ul { padding-left: 20px; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--fg-faint); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-text a:hover { text-decoration-color: var(--lime); }

/* Hero nachher: Kacheln farbig statt alle weiß (Variante A, 01.11.) */
.hero[data-variant="c2"][data-mode="mit"] .b-chart,
.hero[data-variant="c2"][data-mode="mit"] .b-bubble {
  --c-bg: #0b1640; --c-fg: #fff; --c-muted: rgba(255,255,255,.6); --c-chip: rgba(255,255,255,.1);
  box-shadow: 0 28px 60px -18px rgba(3,8,35,.75);
}
.hero[data-variant="c2"][data-mode="mit"] .b-chart .bars i { background: rgba(255,255,255,.22); }
.hero[data-variant="c2"][data-mode="mit"] .b-chart .bars i:nth-child(5) { background: var(--lime); box-shadow: 0 0 18px rgba(229,255,143,.6); }
.hero[data-variant="c2"][data-mode="mit"] .b-cal { --c-bg: #d8e7ff; --c-fg: #0b1640; --c-muted: #4a5f8f; --c-chip: rgba(11,22,64,.08); }
.hero[data-variant="c2"][data-mode="mit"] .b-cal .slot.hit { background: #0b1640; }
.hero[data-variant="c2"][data-mode="mit"] .b-cal .slot.hit b { color: var(--lime); }

/* Sprungziele unter der festen Navigation */
#beispiele, #geschichte { scroll-margin-top: 96px; }

/* Handy: Button folgt dem Hero-Text ohne Verzögerung, gleitet erst beim Umschalten in die Ecke */
.float-cta.is-tracking { transition: opacity .35s var(--ease), transform .6s var(--ease), box-shadow .2s var(--ease); }

.price .incl-toggle + .deal { margin-top: 16px; }

/* Umbruch vor dem ersten Wort eines Satzes, wenn es sonst allein am Zeilenende stünde (gesetzt per main.js) */
.ss.brk::before { content: "\A"; white-space: pre; }

@media (max-width: 760px) {
  .inbox { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .inbox-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .inbox-pane { min-height: 360px; }
  .inbox-msg blockquote { font-size: 21px; }
}

/* 404-Seite */
.notfound-body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.notfound { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; }
.notfound-inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.notfound-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.notfound-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--fg-faint); text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease); }
.notfound-link:hover { text-decoration-color: var(--lime); }
.notfound { padding-block: clamp(16px, 4vh, 48px) clamp(48px, 10vh, 120px); }
.nfa-code { margin: 0; font-family: var(--font-pixel); font-weight: 400; line-height: .8; letter-spacing: .02em; font-size: clamp(110px, min(30vw, 30vh), 280px); color: var(--lime); text-shadow: 0 0 40px rgba(229,255,143,.35); }
.nfa-title { margin: 28px 0 0; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; white-space: nowrap; }
.nfa-meta { margin: 14px 0 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--fg-muted); max-width: 520px; }
@media (max-width: 420px) { .nfa-title { white-space: normal; } }
