/* LUMIO studio · lumiostudio.de
   Handgeschrieben, ohne Framework und ohne Libraries.
   Gepinnte Szenen nutzen CSS position: sticky; site.js berechnet nur den Fortschritt.
   MOTION = (min-width: 960px) and (prefers-reduced-motion: no-preference) */

/* Schriften: selbst gehostet (schneller, keine Verbindung zu Google, besser für den Datenschutz) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fallbacks mit angepassten Metriken: verhindern Layout-Sprung, wenn die Schrift geladen ist */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Menlo"), local("Courier New"); size-adjust: 100%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #5b6a80;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --line: #e5e9f0;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --blue-soft: #eff4ff;
  --navy: #0a0f1a;
  --navy-2: #111827;
  --gold: #d97706;
  --green: #16a34a;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 24px;
  --max: 1240px;
  --radius: 20px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: #60a5fa; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 8px; transform: translateY(-150%); transition: transform 0.2s;
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 128px 0; }

/* ---------- Typografie ---------- */

.kicker {
  margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.kicker--center { text-align: center; }
.dark .kicker { color: #60a5fa; }

.h1 { margin: 0 0 24px; font-weight: 800; font-size: clamp(34px, 3.8vw, 62px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.h1 em, .h2 em { font-style: normal; color: var(--blue); }
.dark .h2 em { color: #60a5fa; }
.h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.h1 .line > span { display: block; animation: rise 0.9s var(--ease) both; }
.h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.h2 { margin: 0 0 20px; font-weight: 800; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { margin: 0 0 14px; font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -0.03em; }
.lede, .sec-lede { max-width: 56ch; margin: 0; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); }
.dark .sec-lede { color: #94a3b8; }
.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lede { margin: 0 auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.6); }
.btn-primary:hover { background: var(--blue-2); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.dark .btn-ghost { background: transparent; border-color: rgba(148, 163, 184, 0.3); color: #fff; }
.dark .btn-ghost:hover { border-color: #60a5fa; color: #60a5fa; }
/* Weiße Karten innerhalb dunkler Bereiche (z. B. Formular): Buttons wieder dunkel auf hell */
.funnel .btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.funnel .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Fortschritt ---------- */

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; }
.progress-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #60a5fa); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- BAFA-Leiste ---------- */

.bafa-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px;
  padding: 9px var(--gutter); background: var(--blue); color: #fff; font-size: 13px; text-align: center;
}
.bafa-bar-label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.bafa-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.bafa-bar a:hover { color: #dbe7ff; }

/* ---------- Topbar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header); padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(229, 233, 240, 0.85);
  transition: border-color 0.35s ease;
}
/* Glaseffekt auf einem Pseudo-Element: backdrop-filter direkt auf .topbar würde
   das fest positionierte Mobilmenü auf die Höhe der Kopfzeile begrenzen */
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color 0.35s ease;
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; }
.logo-word { font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.logo-word span { font-weight: 400; color: var(--muted); }
.topnav { display: none; }
.topnav a { text-decoration: none; color: var(--ink-2); font-size: 14px; transition: color 0.25s; position: relative; }
.topnav a:hover, .topnav a.is-current { color: var(--blue); }
.topnav a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); }
.topnav .topnav-cta { display: none; }
.topnav a.btn-primary { color: #fff; }

.menu-btn {
  display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: none; cursor: pointer;
}
.menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.topbar-cta { display: none; }

.topbar.is-dark { border-bottom-color: rgba(148, 163, 184, 0.14); color: #fff; }
.topbar.is-dark::before { background: rgba(10, 15, 26, 0.78); }
.topbar.is-dark .logo-word span { color: #94a3b8; }
.topbar.is-dark .topnav a { color: #cbd5e1; }
.topbar.is-dark .topnav a:hover, .topbar.is-dark .topnav a.is-current { color: #60a5fa; }
.topbar.is-dark .topnav a.is-current::after { background: #60a5fa; }

/* Mobiles Menü */
@media (max-width: 1079px) {
  .topnav {
    position: fixed; top: var(--nav-top, var(--header)); left: 0; right: 0; bottom: 0; z-index: 49;
    display: flex; flex-direction: column; gap: 4px; padding: 24px var(--gutter) 40px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s;
  }
  .topnav a { padding: 14px 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); border-bottom: 1px solid var(--line); }
  .topnav a.is-current::after { display: none; }
  .topnav .topnav-cta { display: inline-flex; margin-top: 24px; padding: 16px 24px; font-size: 16px; color: #fff; border: 0; }
  .menu-open .topnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu-open .topbar { color: var(--ink); }
  .menu-open .topbar::before { background: #fff; }
  .menu-open { overflow: hidden; }
  .topbar.is-dark .topnav a { color: var(--ink); }
}
@media (min-width: 1080px) {
  .topnav { display: flex; align-items: center; gap: 26px; }
  .menu-btn { display: none; }
  .topbar-cta { display: inline-flex; }
}

/* ---------- Fensterrahmen ---------- */

.win { border-radius: 14px; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; }
.win-bar span { margin-left: 10px; }

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--bg); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 78% 38%, rgba(37, 99, 235, 0.10), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  opacity: 0.7;
}
.hero-stage { position: relative; max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 64px; }
.hero-copy { position: relative; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.hero-facts strong { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.hero-facts span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; z-index: 3; height: 360px; margin-top: 48px; }
.editor { position: absolute; left: 0; top: 0; width: 80%; height: 240px; background: var(--navy); box-shadow: 0 30px 60px -30px rgba(10, 15, 26, 0.6); }
.editor .win-bar { background: #0f172a; color: #94a3b8; }
.editor .win-bar i { background: #1e293b; }
.editor-code { margin: 0; padding: 14px 16px; height: calc(100% - 32px); overflow: hidden; font-family: var(--mono); font-size: 11px; line-height: 1.75; color: #cbd5e1; white-space: pre-wrap; }
.editor-code code { font: inherit; }
.t-tag { color: #60a5fa; } .t-attr { color: #93c5fd; } .t-str { color: #fbbf24; }
.t-prop { color: #c4b5fd; } .t-com { color: #8a9bb4; } .t-pun { color: #94a3b8; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -3px; background: #60a5fa; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.browser { position: absolute; right: 0; bottom: 0; width: 84%; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -40px rgba(15, 23, 42, 0.45); transform-origin: 50% 50%; }
.browser .win-bar { background: #f8fafc; border-bottom: 1px solid var(--line); }
.browser .url { padding: 3px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; container-type: inline-size; }

/* Mini-Website (Architekturbüro): Foto, Glas-Elemente, alle Maße in em (Schrift = 2,1 % der Fensterbreite, skaliert verlustfrei) */
.site { position: absolute; inset: 0; overflow: hidden; font-size: 8px; font-size: 2.1cqi; color: #fff; background: radial-gradient(ellipse at 70% 30%, #1b2740, #0b1220 70%); }
.site-photo { position: absolute; inset: 0; z-index: 0; }
.site-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.site-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 20, 0.84) 0%, rgba(8, 12, 20, 0.52) 42%, rgba(8, 12, 20, 0.06) 100%), linear-gradient(0deg, rgba(8, 12, 20, 0.72) 0%, rgba(8, 12, 20, 0) 40%); }
.site-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: var(--sv, 2.2em) 3.4em var(--sv, 2.2em); }
.site-nav { display: flex; align-items: center; gap: 2em; flex: none; }
.s-logo { display: inline-flex; align-items: center; gap: 0.7em; }
.s-logo b { display: grid; place-items: center; width: 2.1em; height: 2.1em; border: 0.1em solid rgba(255, 255, 255, 0.85); font-size: 1em; font-weight: 800; letter-spacing: -0.03em; }
.s-logo > span { display: flex; flex-direction: column; font-size: 1.2em; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.s-logo small { margin-top: 0.25em; font-size: 0.5em; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.s-links { display: flex; gap: 1.6em; margin-left: auto; font-size: 0.82em; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.s-links i { font-style: normal; }
.site-nav em { font-style: normal; padding: 0.65em 1.3em; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 999px; background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(1em); backdrop-filter: blur(1em); font-size: 0.8em; font-weight: 600; }
.site-copy { display: flex; flex-direction: column; justify-content: center; flex: 1; min-height: 0; max-width: 62%; padding: 0.9em 0 1.5em; }
.site-kicker { margin: 0 0 0.6em; font-size: 0.72em; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.site-kicker::before { content: ""; display: inline-block; width: 2.4em; height: 1px; margin-right: 1em; vertical-align: middle; background: rgba(255, 255, 255, 0.7); }
.site-title { margin: 0 0 0.38em; font-weight: 700; font-size: 2.65em; line-height: 0.98; letter-spacing: -0.045em; }
.site-text { margin: 0 0 1.05em; max-width: 30em; font-size: 0.95em; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.site-ctas { display: flex; align-items: center; gap: 1.4em; }
.site-btn { display: inline-block; padding: 0.85em 1.8em; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-weight: 600; font-size: 0.85em; transition: background-color 0.7s var(--ease), color 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease); }
.site-link { font-size: 0.85em; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.site.s4 .site-btn { background: #fff; border-color: #fff; color: #0b1220; box-shadow: 0 0.8em 2em -0.6em rgba(255, 255, 255, 0.45); }
.site-stats { display: grid; grid-template-columns: repeat(4, 1fr); flex: none; padding: 0.9em 0.4em; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 1.2em; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(1.3em) saturate(1.4); backdrop-filter: blur(1.3em) saturate(1.4); }
.site-stats div { display: flex; flex-direction: column; padding: 0 1.3em; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.site-stats div:first-child { border-left: 0; }
.site-stats b { font-size: 1.8em; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.site-stats small { font-size: 0.7em; color: rgba(255, 255, 255, 0.82); }
/* Breite Bildschirme (z. B. 16:9): beim Zoom wird oben/unten mehr abgeschnitten, deshalb kompakter + mehr Rand */
.site.is-compact .site-title { font-size: 2.45em; }
.site.is-compact .site-copy { padding: 0.2em 0 1em; }
.site.is-compact .site-kicker { margin-bottom: 0.45em; }
.site.is-compact .site-text { margin-bottom: 0.8em; }
.site.is-compact .site-btn { padding: 0.72em 1.6em; }
.site.is-compact .site-stats { padding: 0.75em 0.4em; }
.site.is-compact .site-rating { margin-top: 0.55em; }
.site-rating { display: flex; align-items: center; flex: none; gap: 0.6em; margin: 0.75em 0 0; padding: 0 1.3em; font-size: 0.75em; color: rgba(255, 255, 255, 0.82); }
.site-rating .stars { letter-spacing: 0.12em; color: #fbbf24; }
.site-rating b { font-size: 1.05em; font-weight: 700; color: #fff; }

/* Bauabschnitte: erscheinen synchron zum getippten Code */
.js .site [data-st] { opacity: 0; transform: translateY(0.8em); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .site.s1 [data-st="1"], .js .site.s2 [data-st="2"], .js .site.s3 [data-st="3"], .js .site.s5 [data-st="5"], .js .site.s6 [data-st="6"] { opacity: 1; transform: none; }
.js .site-photo { opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 3s var(--ease); }
.js .site.s5 .site-photo { opacity: 1; transform: none; }

.scroll-hint { display: none; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.scroll-hint span { position: relative; width: 1px; height: 32px; background: var(--line); overflow: hidden; }
.scroll-hint span::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--blue); animation: hint 2s var(--ease) infinite; }
@keyframes hint { from { transform: translateY(-12px); } to { transform: translateY(36px); } }

/* ---------- Kunden ---------- */

.clients { position: relative; z-index: 2; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.clients-label { margin: 0 0 16px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { padding: 0 26px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #64748b; white-space: nowrap; transition: color 0.3s; }
.marquee-track li:hover { color: var(--ink); }
.marquee-track li::after { content: "·"; margin-left: 52px; color: #cbd5e1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Leistungen ---------- */

.services { background: var(--soft); padding: 112px 0; }
.services-lede { margin-bottom: 8px; }
.svc-list { display: none; margin: 0; padding: 0; list-style: none; }
.svc-item { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 4px 12px; width: 100%; padding: 13px 0; border: 0; background: none; text-align: left; cursor: pointer; color: #5b6a80; transition: color 0.4s var(--ease); }
.svc-num { font-family: var(--mono); font-size: 12px; }
.svc-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.svc-bar { grid-column: 2; height: 2px; background: #e2e8f0; border-radius: 2px; overflow: hidden; }
.svc-bar i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.svc-item.is-active { color: var(--ink); }
.svc-item.is-active .svc-num { color: var(--blue); }
.svc-item:hover { color: var(--ink-2); }

.svc-stage { display: grid; gap: 72px; }
.svc-visual {
  position: relative; height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.08), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px, #fff;
}
.svc-copy { padding-top: 26px; }
.svc-tag { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.svc-copy h3 { margin: 0 0 12px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.svc-copy p { margin: 0; max-width: 54ch; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

/* Visual: Web */
.vw-browser { position: absolute; left: 50%; top: 50%; width: 78%; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.5); }
.vw-browser .win-bar { background: #f8fafc; border-bottom: 1px solid var(--line); }
.vw-body { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; padding: 24px; }
.ring { width: 110px; height: 110px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: #f0fdf4; }
.ring-fg { stroke: #22c55e; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.vw-score { position: absolute; left: 24px; top: 24px; width: 110px; height: 110px; display: grid; place-content: center; text-align: center; line-height: 1; color: #15803d; }
.vw-score b { font-size: 34px; font-weight: 800; }
.vw-score small { font-size: 11px; }
.vw-lines { display: grid; gap: 10px; }
.vw-lines span { height: 10px; border-radius: 6px; background: #eef2f7; }
.vw-lines span:nth-child(1) { width: 90%; } .vw-lines span:nth-child(2) { width: 70%; } .vw-lines span:nth-child(3) { width: 80%; }
.vw-time { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.vw-time b { color: var(--blue); }
.svc-panel.is-active .ring-fg { stroke-dashoffset: 0; }

/* Visual: App */
.phone { position: absolute; left: 50%; top: 22px; width: 190px; height: 370px; transform: translateX(-50%); border: 9px solid var(--navy); border-radius: 36px; background: #fff; overflow: hidden; box-shadow: 0 40px 70px -35px rgba(15, 23, 42, 0.6); }
.phone-notch { position: absolute; left: 50%; top: 6px; width: 70px; height: 18px; border-radius: 999px; background: var(--navy); transform: translateX(-50%); z-index: 3; }
.phone-screen { padding: 40px 14px 0; }
.phone-hello { margin: 0 0 12px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.phone-card { display: flex; align-items: center; gap: 10px; height: 40px; margin-bottom: 8px; padding: 0 10px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line); }
.phone-card i { width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft); }
.phone-card span { flex: 1; height: 6px; border-radius: 4px; background: #e2e8f0; }
.phone-card--hero { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; height: 76px; background: linear-gradient(135deg, var(--blue), #60a5fa); border: 0; }
.phone-card--hero span { flex: none; width: 60%; background: rgba(255, 255, 255, 0.7); }
.phone-card--hero span + span { width: 36%; }
.phone-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 12px 0 14px; border-top: 1px solid var(--line); background: #fff; }
.phone-tabs i { width: 18px; height: 18px; border-radius: 6px; background: #e2e8f0; }
.phone-tabs i:first-child { background: var(--blue); }
.phone-push { position: absolute; left: 8px; right: 8px; top: 30px; z-index: 4; padding: 9px 12px; border-radius: 14px; background: rgba(15, 23, 42, 0.92); color: #fff; font-size: 11px; line-height: 1.35; transform: translateY(-140%); transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s; }
.phone-push b { display: block; font-size: 12px; }
.phone-push span { color: #cbd5e1; }
.svc-panel.is-active .phone-push { transform: none; }

/* Visual: Software */
.soft-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.soft-lines path { fill: none; stroke: #93c5fd; stroke-width: 2; stroke-dasharray: 6 8; }
.svc-panel.is-active .soft-lines path { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.4); }
.node--core { padding: 16px 22px; background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 500; box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12); }
.soft-log { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--navy); font-family: var(--mono); font-size: 11px; color: #94a3b8; }
.soft-log b { color: #4ade80; font-weight: 400; }


/* Visual: SEO */
.serp { position: absolute; left: 50%; top: 22px; width: 82%; transform: translateX(-50%); padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.5); }
.serp-search { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.serp-search::before { content: "⌕ "; color: var(--muted); }
.serp-list { position: relative; height: 232px; margin: 12px 0 0; padding: 0; list-style: none; }
.serp-item { position: absolute; left: 0; right: 0; top: 0; height: 52px; padding: 8px 12px; border-radius: 10px; transform: translateY(calc(var(--from) * 58px)); transition: transform 1.1s var(--ease) 0.4s, background-color 0.6s 0.9s; }
.serp-item b { display: block; font-size: 14px; color: #1a0dab; font-weight: 500; }
.serp-item span { font-size: 11px; color: #188038; }
.svc-panel.is-active .serp-item { transform: translateY(calc(var(--to) * 58px)); }
.svc-panel.is-active .serp-item:first-child { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.serp-badge { position: absolute; right: 16px; bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: scale(0.7); transition: opacity 0.4s 1.4s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s; }
.svc-panel.is-active .serp-badge { opacity: 1; transform: none; }


/* ---------- Ansatz: vom Einstieg zur Transformation ---------- */

.approach { background: var(--bg); }
.path { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.path-card { position: relative; padding: 30px 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.4); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(15, 23, 42, 0.35); }
.path-card--core { border-color: var(--blue); box-shadow: 0 40px 80px -40px rgba(37, 99, 235, 0.45), 0 0 0 4px rgba(37, 99, 235, 0.08); }
.path-tag { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.path-card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.path-card p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.path-card small { display: block; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.approach-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }

/* ---------- Start-ups ---------- */

.startups { background: linear-gradient(180deg, #fff 0%, #eef3ff 100%); }
.startups-grid { display: grid; gap: 40px; align-items: start; }
.startups-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.startups-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.su-card { padding: 24px 26px; background: #fff; border: 1px solid #dbe6ff; border-radius: 20px; box-shadow: 0 24px 50px -44px rgba(37, 99, 235, 0.55); transition: transform 0.5s var(--ease), border-color 0.4s; }
.su-card:hover { transform: translateY(-3px); border-color: #93c5fd; }
.su-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.su-card p { margin: 0; font-size: 15px; color: var(--muted); }
.su-card .coop-num { margin-bottom: 10px; }

/* Visual: Roadmap (Digitalisierungsstrategie) */
.rd-line { position: absolute; left: 14%; right: 14%; top: calc(50% - 22px); height: 3px; border-radius: 3px; background: #dbe4f3; overflow: hidden; }
.rd-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #60a5fa); transform-origin: 0 50%; transition: transform 2.2s var(--ease) 0.3s; }
.js-ready .svc-panel:not(.is-active) .rd-line i { transform: scaleX(0); transition-duration: 0.01s; transition-delay: 0s; }
.rd-steps { position: absolute; left: 5%; right: 5%; top: calc(50% - 40px); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; text-align: center; }
.rd-steps li { display: flex; flex-direction: column; align-items: center; }
.rd-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-size: 14px; font-weight: 700; transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); transition-delay: calc(var(--i) * 0.5s + 0.3s); }
.js-ready .svc-panel:not(.is-active) .rd-steps b { background: #fff; border-color: #cbd5e1; color: var(--muted); box-shadow: none; transition-delay: 0s; transition-duration: 0.01s; }
.svc-panel.is-active .rd-steps b { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.14); }
.rd-steps span { margin-top: 12px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.rd-steps small { font-size: 12px; color: var(--muted); }
.rd-chip { position: absolute; left: 50%; bottom: 9%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 16px 30px -20px rgba(15, 23, 42, 0.4); transform: translateX(-50%); transition: opacity 0.6s var(--ease) 2.4s, transform 0.6s var(--ease) 2.4s; }
.rd-chip i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.js-ready .svc-panel:not(.is-active) .rd-chip { opacity: 0; transform: translate(-50%, 8px); transition-duration: 0.01s; transition-delay: 0s; }

/* Visual: KI-Assistent */
.ai-card { position: absolute; left: 50%; top: 50%; width: 86%; max-width: 540px; padding: 18px 20px 14px; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.5); }
.ai-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ai-top small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.ai-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: aiPulse 2s ease-in-out infinite; }
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); } }
.ai-q { width: fit-content; max-width: 90%; margin: 0 0 12px auto; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-size: 14px; }
.ai-a { position: relative; min-height: 116px; }
.ai-ans { padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--soft); font-size: 14px; }
.ai-ans p { margin: 0 0 8px; }
.ai-ans ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.ai-ans li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.ai-ans li span { font-family: var(--mono); color: var(--muted); }
.ai-ans li em { font-style: normal; font-weight: 600; }
.ai-typing { position: absolute; left: 0; top: 0; display: none; gap: 5px; padding: 15px 16px; border-radius: 14px 14px 14px 4px; background: var(--soft); }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: aiDot 1s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; } .ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiDot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
.ai-foot { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
@keyframes aiIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aiType { 0% { opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.svc-panel.is-active .ai-q { animation: aiIn 0.6s var(--ease) 0.2s both; }
.svc-panel.is-active .ai-typing { display: flex; animation: aiType 1.5s linear 0.7s both; }
.svc-panel.is-active .ai-ans { animation: aiIn 0.7s var(--ease) 2.2s both; }

/* ---------- Performance ---------- */

.proof-grid { display: grid; gap: 24px; }
.panel { padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 30px 60px -45px rgba(15, 23, 42, 0.35); }
.panel--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel-title { margin: 0 0 26px; font-size: 18px; font-weight: 600; }
.panel-note { margin: 22px 0 0; font-size: 12px; color: var(--muted); }
.panel--dark .panel-note { color: #94a3b8; }
.bench-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bench-row { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 16px; font-size: 14px; }
.bench-name { color: var(--ink-2); }
.bench-track { position: relative; height: 12px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.bench-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--max, 0) * 1%); border-radius: 999px; background: #94a3b8; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.bench-fill::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: calc(var(--min, 0) / var(--max, 1) * 100%); background: rgba(255, 255, 255, 0.45); }
.bench-val { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--muted); }
.bench-row--lumio .bench-name { font-weight: 700; color: var(--ink); }
.bench-row--lumio .bench-fill { background: var(--blue); }
.bench-row--lumio .bench-val { color: var(--blue); font-weight: 500; }
.bench.is-in .bench-fill { transform: scaleX(1); }
.bench.is-in .bench-row:nth-child(2) .bench-fill { transition-delay: 0.15s; }
.bench.is-in .bench-row:nth-child(3) .bench-fill { transition-delay: 0.3s; }
.live-label { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--mono); font-size: 12px; color: #94a3b8; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.live-big { margin: 0; font-size: clamp(60px, 6.6vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.live-big small { font-size: 0.4em; font-weight: 600; color: #94a3b8; letter-spacing: 0; }
.live-sub { margin: 8px 0 26px; color: #94a3b8; font-size: 14px; }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.live-stats dt { font-size: 12px; color: #94a3b8; }
.live-stats dd { margin: 4px 0 0; font-family: var(--mono); font-size: 16px; }
.trust, .pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.pill-row { justify-content: center; margin-top: 24px; }
.trust li, .pill-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: #fff; }
.trust li::before, .pill-row li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%232563eb' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Dunkle Bereiche ---------- */

.dark { background: var(--navy); color: #fff; }

/* ---------- Projekte ---------- */

.projects { padding: 112px 0; overflow: clip; background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(37, 99, 235, 0.14), transparent 70%), var(--navy); }
.projects-head { margin-bottom: 44px; }
.projects-count { display: none; }
.projects-track { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--gutter) 24px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.projects-track::-webkit-scrollbar { display: none; }
.proj { --pw: min(82vw, 460px); flex: 0 0 var(--pw); width: var(--pw); scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: #fff; transform: scale(var(--s, 1)); opacity: var(--o, 1); transform-origin: 50% 100%; }
.proj-frame { display: block; overflow: hidden; border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.22); background: #0f172a; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85); transition: border-color 0.4s, box-shadow 0.4s; }
.proj:hover .proj-frame { border-color: rgba(96, 165, 250, 0.55); box-shadow: 0 40px 90px -36px rgba(37, 99, 235, 0.55); }
.proj-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #0f172a; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.proj-bar i { width: 8px; height: 8px; border-radius: 50%; background: #1e293b; }
.proj-url { margin-left: 8px; padding: 2px 12px; border-radius: 999px; background: rgba(148, 163, 184, 0.12); font-family: var(--mono); font-size: 10.5px; color: #94a3b8; }
.proj-media { display: block; overflow: hidden; aspect-ratio: 960 / 697; background: var(--navy-2); }
.proj-media picture, .proj-media img { width: 100%; height: 100%; object-fit: cover; }
.proj-media img { transform: translateX(var(--px, 0px)) scale(var(--is, 1)); transition: transform 0.9s var(--ease); }
.proj:hover .proj-media img { --is: 1.04; }
.proj-meta { display: grid; gap: 2px; padding-top: 18px; }
.proj-num { font-family: var(--mono); font-size: 12px; color: #60a5fa; }
.proj-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.proj-desc { font-size: 14px; color: #94a3b8; }
.proj-link { margin-top: 8px; font-size: 14px; font-weight: 600; color: #60a5fa; }
.proj-cta-inner { display: grid; align-content: center; gap: 6px; height: calc(var(--pw) * 0.726 + 30px); padding: 32px; border-radius: 14px; border: 1px dashed rgba(96, 165, 250, 0.55); background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.4), transparent 70%), var(--navy-2); transition: border-color 0.4s, background-color 0.4s; }
.proj--cta:hover .proj-cta-inner { border-color: #60a5fa; }
.proj--cta .proj-name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }

/* ---------- Manifest ---------- */

.manifest { padding: 112px 0; border-top: 1px solid rgba(148, 163, 184, 0.12); }
.manifest-title { margin: 0; max-width: 16ch; font-size: clamp(36px, 5.4vw, 80px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; }
.manifest-title .w { display: inline-block; color: #5b6a80; }
.code-card { max-width: 520px; margin: 40px 0 0; padding: 20px 24px; overflow-x: auto; border-radius: 16px; background: var(--navy-2); border: 1px solid rgba(148, 163, 184, 0.16); font-family: var(--mono); font-size: 13px; line-height: 1.8; color: #e2e8f0; }
.code-card code { font: inherit; }
.c-k { color: #93c5fd; } .c-s { color: #fbbf24; } .c-c { color: #8a9bb4; }
.manifest-body { display: grid; gap: 18px; max-width: var(--max); padding-top: 48px; color: #fff; font-size: 18px; }
.manifest-body p { margin: 0; max-width: 760px; }
.manifest-body .manifest-strong { font-weight: 600; }
.manifest-body .btn { justify-self: start; margin-top: 10px; }

/* ---------- Vergleich: Handwerk statt Generator ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.versus { background: var(--bg); }
.versus-wrap { max-width: 1040px; margin: 0 auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 40px 80px -56px rgba(15, 23, 42, 0.45); }
.versus-table { width: 100%; border-collapse: collapse; text-align: left; }
.versus-table th, .versus-table td { padding: 22px 26px; vertical-align: top; font-size: 15px; line-height: 1.5; border-top: 1px solid var(--line); }
.versus-table thead th { border-top: 0; padding-top: 24px; padding-bottom: 20px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #fafbfd; }
.versus-table thead th.is-lumio { color: #fff; background: var(--blue); }
.versus-table tbody th { width: 21%; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.versus-table td { position: relative; width: 39.5%; padding-left: 56px; color: var(--muted); }
.versus-table td::before { content: ""; position: absolute; left: 26px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: #eef2f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.versus-table td.is-lumio { color: var(--ink); font-weight: 500; background: linear-gradient(90deg, rgba(37, 99, 235, 0.07), rgba(37, 99, 235, 0.03)); }
.versus-table td.is-lumio::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.versus-note { max-width: 62ch; margin: 36px auto 0; text-align: center; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); }
.versus-note strong { color: var(--blue); font-weight: 700; }

/* ---------- Zusammenarbeit ---------- */

.coop { background: var(--soft); }
.coop-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.coop-card { position: relative; padding: 32px 28px 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.4); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.coop-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(15, 23, 42, 0.35); }
.coop-num { display: inline-block; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--blue); }
.coop-card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.coop-card p { margin: 0; color: var(--muted); font-size: 15px; }
.coop-cta { margin: 40px 0 0; text-align: center; }


/* Einblenden beim Scrollen (nur wenn site.js läuft) */
.js-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- BAFA-Leitlinie ---------- */

.guide { position: relative; background: var(--soft); }
.guide-inner { position: relative; }
.guide-line { display: none; position: absolute; left: 50%; top: 0; width: 2px; height: 0; margin-left: -1px; z-index: 1; pointer-events: none; }
.js-ready .guide-line { display: block; }
.guide-track { position: absolute; inset: 0; background: #dbe2ea; }
.guide-fill { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(to bottom, #93c5fd, var(--blue)); }
.guide-orb { position: absolute; left: 50%; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #fff 0%, #bfdbfe 35%, var(--blue) 75%); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.14), 0 0 28px 8px rgba(37, 99, 235, 0.35); }
.guide-orb::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(37, 99, 235, 0.5); animation: orb 2.4s var(--ease) infinite; }
@keyframes orb { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.4); opacity: 0; } }
.guide-start { display: block; width: 1px; height: 1px; margin: 44px auto 0; }

.steps { margin: 0; padding: 8vh 0 0; list-style: none; }
.step { position: relative; display: flex; justify-content: center; padding: 64px 0 8vh; }
.step-node { position: absolute; left: 50%; top: 22px; z-index: 3; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 2px solid #cbd5e1; transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.step.is-active .step-node { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15); }
.step-card { position: relative; z-index: 2; width: 100%; max-width: 480px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -45px rgba(15, 23, 42, 0.45); }
.step-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step-meta span:first-child { color: var(--blue); }
.step-card h3 { margin: 0 0 8px; font-size: 23px; font-weight: 800; letter-spacing: -0.025em; }
.step-card p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.js-ready .step-card { opacity: 0; transform: translateY(32px) scale(0.98); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js-ready .step.is-visible .step-card { opacity: 1; transform: none; }

/* ---------- Angebotskalkulator ---------- */

.finale { position: relative; z-index: 2; padding-top: 4vh; }
.finale-card { position: relative; max-width: 1040px; margin: 0 auto; padding: 48px 20px 32px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 50px 100px -60px rgba(15, 23, 42, 0.55); transition: box-shadow 1s var(--ease); }
.finale-card.is-complete { box-shadow: 0 50px 100px -60px rgba(15, 23, 42, 0.55), 0 0 0 6px rgba(37, 99, 235, 0.07); }
.finale-trace { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; pointer-events: none; }
.trace { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.spark { fill: #fff; stroke: var(--blue); stroke-width: 2; opacity: 0; }
.calc-title { text-align: center; font-size: clamp(30px, 4vw, 50px); }
.calc-intro { max-width: 56ch; margin: 0 auto 36px; text-align: center; color: var(--muted); }
.calc-grid { display: grid; gap: 24px; }
.range-label { display: block; font-weight: 700; font-size: 16px; }
.range-value { margin: 6px 0 14px; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.range { --fill: 18%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; margin: 0; padding: 0; background: none; outline: none; cursor: pointer; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--blue) var(--fill), #e6ebf2 var(--fill)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: #e6ebf2; }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--blue); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; border: 4px solid #fff; background: var(--blue); box-shadow: 0 6px 18px -4px rgba(37, 99, 235, 0.7); transition: transform 0.25s var(--ease); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; border: 4px solid #fff; background: var(--blue); box-shadow: 0 6px 18px -4px rgba(37, 99, 235, 0.7); }
.range:hover::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.calc-facts { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.calc-facts li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.calc-facts b { min-width: 150px; white-space: nowrap; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.calc-facts span { font-size: 14px; color: var(--muted); }
.calc-desc { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.calc-result { align-self: start; padding: 26px 24px; border-radius: 20px; background: var(--navy); color: #fff; }
.calc-result-label { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #60a5fa; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(148, 163, 184, 0.18); font-size: 15px; color: #cbd5e1; }
.calc-row b { font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row--bafa b { color: #60a5fa; }
.calc-row--total { color: #fff; font-weight: 600; }
.calc-row--total b { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.calc-bar { display: flex; height: 10px; margin: 6px 0 4px; border-radius: 999px; overflow: hidden; background: rgba(148, 163, 184, 0.2); }
.calc-bar span { height: 100%; transition: width 0.8s var(--ease); }
.calc-bar-own { background: #e2e8f0; width: 50%; }
.calc-bar-bafa { background: var(--blue); width: 50%; }
.calc-link { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: #93c5fd; text-decoration: none; }
.calc-link:hover { text-decoration: underline; }
.calc-note { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color 0.3s; }
.faq-item[open] { border-color: #bfdbfe; }
.faq-item summary { position: relative; padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.35s var(--ease), margin 0.35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* ---------- Kontakt + Funnel ---------- */

.contact { padding: 128px 0; background: radial-gradient(ellipse 70% 60% at 20% 100%, rgba(37, 99, 235, 0.25), transparent 70%), var(--navy); }
.contact-grid { display: grid; gap: 56px; }
.contact-title { font-size: clamp(25px, 8.2vw, 44px); line-height: 1.08; }
.contact-title span { display: block; white-space: nowrap; }
.promises { display: grid; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.promises li { display: grid; grid-template-columns: 36px 1fr; gap: 0 10px; padding: 16px 18px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 14px; }
.promises span { grid-row: span 2; font-family: var(--mono); font-size: 12px; color: #60a5fa; padding-top: 3px; }
.promises b { font-size: 16px; }
.promises small { font-size: 14px; color: #94a3b8; }
.direct { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.direct a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none; transition: background-color 0.3s; }
.direct a:hover { background: rgba(148, 163, 184, 0.08); }
.direct-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(37, 99, 235, 0.18); color: #93c5fd; font-weight: 700; }
.direct b { display: block; font-size: 15px; }
.direct small { font-size: 13px; color: #94a3b8; }

.funnel { padding: 32px 22px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.6); scroll-margin-top: calc(var(--header) + 16px); }
.funnel .kicker { color: var(--blue); }
.funnel-title { margin: 0 0 22px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.funnel-progress { height: 4px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.funnel-progress span { display: block; height: 100%; width: 25%; background: var(--blue); transition: width 0.5s var(--ease); }
.funnel-step-label { margin: 10px 0 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.funnel-step { display: none; margin: 0; padding: 0; border: 0; }
.funnel-step.is-active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.funnel-step legend { margin-bottom: 16px; padding: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.tiles { display: grid; gap: 10px; }
.tile { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease); }
.tile:hover { border-color: #93c5fd; transform: translateY(-2px); }
.tile.is-active { border-color: var(--blue); background: var(--blue-soft); }
.tile strong { font-size: 16px; }
.tile small { font-size: 14px; color: var(--muted); }
.fields { display: grid; gap: 12px; }
.fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fields input, .fields textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.fields textarea { resize: vertical; }
.funnel-package { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--blue-soft); font-size: 13px; color: var(--ink-2); }
.funnel-privacy { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.funnel-privacy a { color: var(--blue); }
.funnel-status { min-height: 0; margin: 14px 0 0; font-size: 14px; }
.funnel-status.is-error { color: #b91c1c; }
.funnel-status.is-success { color: var(--green); }
.funnel-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.funnel-nav [data-funnel-prev] { visibility: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */

.foot { padding: 72px 0 32px; border-top: 1px solid rgba(148, 163, 184, 0.12); font-size: 14px; color: #94a3b8; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand p { max-width: 36ch; margin: 16px 0 0; }
.foot .logo-word { color: #fff; }
.foot .logo-word span { color: #94a3b8; }
.foot-nav { display: grid; gap: 8px; align-content: start; }
.foot-head { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b8; }
.foot-nav a { color: #cbd5e1; text-decoration: none; transition: color 0.25s; }
.foot-nav a:hover { color: #60a5fa; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.12); }
.foot-bottom p { margin: 0; font-size: 13px; }

/* ---------- Einwilligung (nur aktiv, wenn tracking.js eine Pixel-ID hat) ---------- */

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 520px;
  padding: 20px 22px; border-radius: 18px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(15, 23, 42, 0.5); font-size: 14px;
}
.consent p { margin: 0 0 14px; color: var(--ink-2); }
.consent a { color: var(--blue); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.foot-link-btn { padding: 0; border: 0; background: none; color: #cbd5e1; font: inherit; text-align: left; cursor: pointer; }
.foot-link-btn:hover { color: #60a5fa; }

/* ---------- Rechtliche Seiten ---------- */

.legal { padding: 72px 0 120px; }
.legal-inner { max-width: 820px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.legal .legal-sub { margin: 0 0 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.legal h2 { margin: 40px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.legal h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 700; }
.legal p, .legal address { margin: 0 0 12px; color: var(--ink-2); font-style: normal; }
.legal a:not(.btn) { color: var(--blue); }
.legal a.btn-primary { color: #fff; }
.legal a.btn-ghost { color: var(--ink); }
.legal-back { display: inline-flex; margin-top: 48px; }

/* =====================================================================
   Tablet / Desktop
   ===================================================================== */

@media (min-width: 760px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .path-card:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -26px; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; line-height: 1; }
  .proof-grid { grid-template-columns: 1.25fr 1fr; }
  .coop-steps { grid-template-columns: repeat(3, 1fr); }
  .proj { --pw: min(46vw, 460px); }
  .finale-card { padding: 56px 40px 36px; }
  .calc-grid { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .funnel { padding: 40px 36px; }
  .tiles { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  .step { justify-content: flex-start; padding: 0 0 11vh; }
  .step--right { justify-content: flex-end; }
  .step-node { top: 40px; }
  .step-card { width: calc(50% - 64px); }
  .js-ready .step--left .step-card { transform: translateX(-40px) scale(0.98); }
  .js-ready .step--right .step-card { transform: translateX(40px) scale(0.98); }
}

@media (min-width: 960px) {
  .startups-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .hero-stage { display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: 48px; min-height: calc(100vh - var(--header) - 36px); padding-top: 48px; padding-bottom: 56px; }
  .hero-visual { height: 460px; margin-top: 0; }
  .editor { height: 280px; }
  .editor-code { font-size: 12px; }
  .services-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .contact-title { font-size: clamp(30px, 3.5vw, 50px); }
  .faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-inner .sec-head { position: sticky; top: calc(var(--header) + 32px); }
}

/* =====================================================================
   MOTION: gepinnte Szenen (CSS sticky) nur auf großen Bildschirmen
   ===================================================================== */

@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .hero-pin { height: 190vh; }
  .hero-stage { position: sticky; top: var(--header); height: calc(100vh - var(--header)); min-height: 0; overflow: visible; }
  .scroll-hint { display: flex; }
  .js-ready .hero-copy, .js-ready .editor, .js-ready .scroll-hint { will-change: transform, opacity; }
  /* .browser bekommt bewusst KEIN will-change: sonst wird es klein gerastert und beim Zoomen unscharf */

  .services { padding: 0; }
  .services-pin { height: calc(100vh + 6 * 42vh); }
  .services-sticky { position: sticky; top: var(--header); height: calc(100vh - var(--header)); display: flex; align-items: center; overflow: hidden; }
  .svc-list { display: block; }
  .services .sec-head { margin-bottom: clamp(14px, 3.4vh, 44px); }
  .services .h2 { font-size: clamp(32px, min(4.4vw, 7vh), 60px); }
  .services-lede { display: none; }
  .svc-item { padding: clamp(5px, 1.2vh, 13px) 0; }
  .svc-name { font-size: clamp(16px, 2.6vh, 21px); }
  .svc-stage { position: relative; display: block; height: min(540px, calc(100vh - var(--header) - 60px)); }
  .svc-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity 0.22s ease, transform 0.3s ease, visibility 0s linear 0.22s; }
  .svc-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease) 0.18s, transform 0.8s var(--ease) 0.18s, visibility 0s; }
  .svc-visual { height: min(340px, calc(100vh - var(--header) - 280px)); }
  .svc-copy { padding-top: clamp(12px, 2.4vh, 26px); }
  .svc-copy h3 { font-size: clamp(24px, min(2.8vw, 4.8vh), 38px); }

  .projects { padding: 0; }
  .projects-sticky { position: sticky; top: var(--header); height: calc(100vh - var(--header)); overflow: hidden; }
  .projects-head { position: absolute; top: 6vh; left: 0; right: 0; z-index: 2; }
  .projects-head .h2 { font-size: clamp(34px, 3.8vw, 54px); }
  .projects-head .sec-lede { max-width: 34ch; font-size: 16px; }
  .projects-count { position: absolute; top: 6vh; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); z-index: 2; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; width: min(260px, 22vw); }
  .pc-now { font-size: clamp(54px, 7vh, 84px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
  .pc-total { font-family: var(--mono); font-size: 13px; color: #94a3b8; }
  .pc-bar { grid-column: 1 / -1; height: 2px; margin-top: 14px; border-radius: 2px; background: rgba(148, 163, 184, 0.2); overflow: hidden; }
  .pc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #60a5fa); transform-origin: 0 50%; transform: scaleX(0); }
  .projects-track { position: absolute; left: 0; bottom: 5vh; overflow: visible; width: max-content; gap: 36px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-left: max(46vw, calc((100vw - var(--max)) / 2 + 540px)); }
  .proj { --pw: min(38vw, 62vh); flex: 0 0 auto; width: var(--pw); max-width: none; will-change: transform, opacity; }
  .proj-media img { transition: none; --is: 1.14; }
  .proj:hover .proj-media img { --is: 1.14; }

  .manifest { padding: 0 0 112px; }
  .manifest-sticky { padding: 14vh 0 0; }
  .manifest-inner { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 64px; align-items: center; }
  .manifest-inner .kicker { grid-column: 1 / -1; }
  .manifest-title { font-size: clamp(36px, min(5.2vw, 9vh), 80px); }
  .manifest-inner .code-card { margin: 0; width: 100%; }
  .manifest-body { padding-top: 24px; }

}


/* =====================================================================
   Bewegung reduzieren
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .guide-orb { display: none; }
  .ai-typing { display: none !important; }
}

@media (max-width: 759px) {
  .versus-table, .versus-table tbody, .versus-table tr, .versus-table th, .versus-table td { display: block; width: 100%; }
  .versus-table thead { display: none; }
  .versus-table tr { border-top: 1px solid var(--line); }
  .versus-table tr:first-child { border-top: 0; }
  .versus-table tbody th { width: 100%; padding: 22px 20px 6px; border: 0; font-size: 17px; }
  .calc-facts li { flex-wrap: wrap; gap: 2px 12px; }
  .calc-facts b { min-width: 0; white-space: nowrap; }
  .versus-table td { padding: 10px 20px 10px 52px; border: 0; width: 100%; }
  .versus-table td::before { left: 20px; top: 12px; }
  .versus-table td::after { content: attr(data-label); display: block; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6a80; }
  .versus-table td.is-lumio { margin-top: 4px; padding-bottom: 20px; }
  .versus-table td.is-lumio::after { color: var(--blue); }
  :root { --gutter: 16px; --header: 60px; }
  .section { padding: 88px 0; }
  .services, .projects, .manifest, .contact { padding: 88px 0; }
  .bafa-bar-text { display: none; }
  .logo-word span { display: none; }
  .hero-stage { padding-top: 36px; }
  .hero-visual { height: 300px; }
  .editor { width: 92%; height: 190px; }
  .editor-code { font-size: 10px; }
  .browser { width: 90%; }
  .svc-visual { height: 290px; }
  .vw-body { grid-template-columns: 90px 1fr; padding: 16px; gap: 14px; }
  .ring { width: 90px; height: 90px; }
  .vw-score { left: 16px; top: 16px; width: 90px; height: 90px; }
  .vw-score b { font-size: 26px; }
  .phone { transform: translateX(-50%) scale(0.85); transform-origin: 50% 0; }
  .ai-card { width: 92%; padding: 14px 14px 10px; }
  .ai-a { min-height: 128px; }
  .ai-ans { font-size: 13px; }
  .rd-steps span { font-size: 13px; }
  .rd-steps small { display: none; }
  .rd-steps b { width: 32px; height: 32px; }
  .rd-line { top: calc(50% - 20px); }
  .rd-steps { top: calc(50% - 36px); }
  .bench-row { grid-template-columns: 92px 1fr 48px; gap: 10px; font-size: 13px; }
  .live-stats { grid-template-columns: 1fr 1fr; }
  .calc-row b { font-size: 19px; }
  .calc-row--total b { font-size: 26px; }
  .manifest-body { font-size: 17px; }
}

/* ---------- v2: Projekte-Teaser, Unterseiten ---------- */
.ptease { background: #fff; }
.pbul { display: grid; gap: 14px; margin: 0 0 48px; padding: 0; list-style: none; }
.pbul li { position: relative; display: grid; gap: 4px; padding: 18px 20px 18px 58px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pbul li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%232563eb' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.pbul b { font-size: 16px; letter-spacing: -0.01em; }
.pbul span { font-size: 14px; color: var(--muted); }
.pt-grid { display: grid; gap: 20px; }
.pt-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.4); transition: border-color 0.3s, box-shadow 0.5s var(--ease); }
.pt-card:hover { border-color: #93c5fd; box-shadow: 0 40px 70px -40px rgba(37, 99, 235, 0.4); }
.pt-media { display: block; aspect-ratio: 960 / 697; overflow: hidden; background: var(--soft); }
.pt-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.pt-card:hover .pt-media img { transform: scale(1.04); }
.pt-meta { display: grid; gap: 2px; padding: 18px 20px 20px; }
.pt-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.pt-desc { font-size: 14px; color: var(--muted); }
.pt-link { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue); }
.pt-all { margin: 40px 0 0; text-align: center; }
.page-hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--soft), #fff); }
.page-title { margin: 0 0 20px; font-size: clamp(38px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; }
.page-hero .sec-lede { max-width: 60ch; }
.page-hero .pbul { margin: 40px 0 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.proj-cta { background: var(--soft); text-align: center; }
.proj-cta .sec-lede { margin: 0 auto 28px; }
.proj-cta p:last-child, .coop-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 760px) { .pbul { grid-template-columns: repeat(2, 1fr); } .pt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pt-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .pbul { grid-template-columns: repeat(4, 1fr); } .page-hero { padding: 104px 0 80px; } }

/* ---------- v2: Branchen + Hero-Hinweis ---------- */
.hero-note { max-width: 52ch; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.hero-note a { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero-note a:hover { text-decoration: underline; }
.branches { background: var(--bg); }
.branch-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.branch-card { display: flex; flex-direction: column; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.4); transition: border-color 0.3s, box-shadow 0.5s var(--ease); }
.branch-card:hover { border-color: #93c5fd; box-shadow: 0 40px 70px -40px rgba(37, 99, 235, 0.35); }
.branch-card h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.branch-who { margin: 4px 0 12px; font-family: var(--mono); font-size: 12px; color: var(--blue); }
.branch-card p { margin: 0; font-size: 15px; color: var(--muted); }
.branch-card .branch-who { margin: 4px 0 12px; font-size: 12px; color: var(--blue); }
.branch-card small { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.branch-card p + small { display: block; border-top: 1px solid var(--line); margin-top: 18px; }
.branch-more { margin: 36px 0 0; text-align: center; color: var(--muted); }
.branch-more a { color: var(--blue); font-weight: 600; text-decoration: none; }
.branch-more a:hover { text-decoration: underline; }
@media (min-width: 760px) { .branch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .branch-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- v2: Antragsberechtigung + Schnell-Check ---------- */
.elig { background: #fff; }
.elig-grid { display: grid; gap: 16px; }
.elig-card { padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.4); }
.elig-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; }
.elig-ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; font-weight: 700; }
.elig-card--yes .elig-ico { background: var(--green-soft, #ecfdf3); color: #15803d; }
.elig-card--no .elig-ico { background: #fef2f2; color: #b91c1c; }
.elig-card--req .elig-ico { background: var(--blue-soft); color: var(--blue); font-family: var(--mono); }
.elig-card--yes { border-color: #bbf7d0; }
.elig-card--req { border-color: #dbe6ff; }
.elig-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.elig-card li { position: relative; padding-left: 20px; font-size: 15px; color: var(--muted); }
.elig-card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.elig-card--yes li::before { background: #22c55e; }
.elig-card--no li::before { background: #ef4444; }
.elig-card--req li::before { background: var(--blue); }
.elig-card li b { color: var(--ink); font-weight: 600; }
.elig-check { margin-top: 28px; padding: 30px 28px; border: 1px solid #dbe6ff; border-radius: 24px; background: linear-gradient(180deg, #fff, #eef3ff); box-shadow: 0 30px 60px -48px rgba(37, 99, 235, 0.5); }
.elig-check h3 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.elig-intro { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.elig-fields { display: grid; gap: 14px; }
.elig-fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.elig-fields select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }
.elig-fields select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.elig-result { margin-top: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.elig-result[hidden] { display: none; }
.elig-result.is-yes { border-color: #86efac; background: #f0fdf4; }
.elig-result.is-no { border-color: #fecaca; background: #fef2f2; }
.elig-result.is-maybe { border-color: #fde68a; background: #fffbeb; }
.elig-result-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.elig-result.is-yes .elig-result-title { color: #15803d; }
.elig-result.is-no .elig-result-title { color: #b91c1c; }
.elig-result.is-maybe .elig-result-title { color: #92400e; }
.elig-result-text { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }
@media (min-width: 760px) { .elig-fields { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .elig-grid { grid-template-columns: repeat(3, 1fr); } .elig-fields { grid-template-columns: repeat(3, 1fr); } .elig-check { padding: 36px 36px 32px; } }

/* ---------- v2: Förder-Hinweis beim Scrollen ---------- */
.fund-pop { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: min(340px, calc(100vw - 32px)); padding: 20px 22px 18px; border-radius: 20px; background: var(--navy); color: #fff; box-shadow: 0 30px 70px -20px rgba(2, 6, 23, 0.6), 0 0 0 1px rgba(148, 163, 184, 0.2); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.fund-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.fund-pop.is-away { opacity: 0; transform: translateY(24px); pointer-events: none; }
.fund-pop-x { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #cbd5e1; font-size: 24px; line-height: 1; cursor: pointer; }
.fund-pop-x:hover { color: #fff; background: rgba(148, 163, 184, 0.15); }
.fund-pop-kicker { margin: 0 0 8px; padding-right: 36px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #60a5fa; }
.fund-pop-big { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.fund-pop-big b { font-size: 40px; letter-spacing: -0.05em; }
.fund-pop-text { margin: 0 0 14px; font-size: 14px; color: #cbd5e1; }
.menu-open .fund-pop { display: none; }
@media (max-width: 600px) {
  .fund-pop { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
  .fund-pop-kicker { grid-column: 1; margin: 0; padding-right: 0; font-size: 10px; }
  .fund-pop-big { grid-column: 1; margin: 0; font-size: 18px; }
  .fund-pop-big b { font-size: 26px; }
  .fund-pop-text { display: none; }
  .fund-pop .btn { grid-column: 2; grid-row: 1 / span 2; }
  .fund-pop-x { top: -22px; right: -6px; background: var(--navy); box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3); font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .fund-pop { transform: none; transition: opacity 0.2s; } }

/* ---------- v2: verständliche Einstiege, Beispiel-Label, Rückruf, Erklärbox ---------- */
.worries { background: #fff; }
.worry-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.worry { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 30px 60px -48px rgba(15, 23, 42, 0.4); transition: border-color 0.3s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
.worry:hover { border-color: var(--blue); box-shadow: 0 40px 70px -40px rgba(37, 99, 235, 0.4); transform: translateY(-3px); }
.worry-q { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.worry-a { font-size: 15px; color: var(--muted); }
.worry-go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
@media (min-width: 760px) { .worry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .worry-grid { grid-template-columns: repeat(4, 1fr); } }
.mock-tag { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.coop-more { margin: 18px 0 0; text-align: center; }
.coop-more a { color: var(--blue); font-weight: 600; text-decoration: none; }
.coop-more a:hover { text-decoration: underline; }
.plain { max-width: 560px; margin-top: 40px; padding: 22px 24px; border: 1px solid #dbe6ff; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -48px rgba(37, 99, 235, 0.5); }
.plain-title { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.plain p { margin: 0 0 14px; font-size: 16px; color: var(--ink-2); }
.plain .plain-title { margin-bottom: 8px; color: var(--blue); }
.plain-ex { display: grid; gap: 0; margin: 0 0 12px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-ex li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plain-ex span { color: var(--muted); }
.plain-ex b { font-variant-numeric: tabular-nums; }
.plain-sum span, .plain-sum b { color: var(--ink); font-weight: 800; }
.plain small { font-size: 12px; color: var(--muted); }
.callback { margin: 28px 0 0; padding: 20px 22px; border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 18px; background: rgba(255, 255, 255, 0.05); }
.callback-title { margin: 0 0 2px; font-size: 18px; font-weight: 700; color: #fff; }
.callback-sub { margin: 0 0 14px; font-size: 14px; color: #cbd5e1; }
.callback-row { display: grid; gap: 10px; }
.callback-row input:not(.hp) { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.callback-row input:not(.hp):focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.25); }
.callback-status { min-height: 0; margin: 10px 0 0; font-size: 14px; color: #cbd5e1; }
.callback-status.is-ok { color: #86efac; }
.callback-status.is-error { color: #fca5a5; }
.callback-privacy { margin: 10px 0 0; font-size: 12px; color: #94a3b8; }
.callback-privacy a { color: #cbd5e1; }
@media (min-width: 560px) { .callback-row { grid-template-columns: 1fr 1fr; } .callback-row .btn { grid-column: 1 / -1; } }

/* ---------- v3: Geschichte (Alltag) und Wende (Scroll-Szene) ---------- */
.story { background: #fff; }
.story-inner { max-width: 980px; }
.story-quotes { display: grid; gap: clamp(18px, 3vw, 34px); margin: 28px 0 0; padding: 0; list-style: none; }
.story-quotes li { font-size: clamp(28px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; color: var(--ink); }
.story-quotes li:nth-child(even) { padding-left: clamp(0px, 6vw, 90px); color: #5b6a80; }
.story-turn { margin-top: clamp(48px, 8vw, 110px); }
.story-turn-big { margin: 0 0 14px; font-size: clamp(34px, 5.6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; color: var(--blue); }
.story-turn-sub { max-width: 46ch; margin: 0 0 28px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.calm { background: var(--bg); }
.calm-pin { padding: 96px 0; }
.calm-grid { display: grid; gap: 40px; align-items: center; }
.calm-copy h2 span, .calm-copy .sec-lede span { display: block; }
.calm-copy .calm-a { color: #5b6a80; }
.calm-copy h2 .calm-b { margin-top: 0.25em; color: var(--blue); }
.calm-copy .sec-lede .calm-b { margin-top: 0.6em; color: var(--ink-2); }
.calm-stage { --e: 1; position: relative; container-type: inline-size; width: 100%; max-width: min(560px, calc((100vh - var(--header) - 48px) / 0.9)); margin: 0 auto; aspect-ratio: 1 / 0.9; }
.calm-panel { position: absolute; inset: 4cqw 2cqw 2cqw; border: 1px solid var(--line); border-radius: 5cqw; background: #fff; box-shadow: 0 40px 80px -50px rgba(15, 23, 42, 0.45); opacity: calc(0.25 + 0.75 * var(--e)); }
.calm-panel-title { position: absolute; left: 6cqw; top: 3.6cqw; font-size: 4.2cqw; font-weight: 800; letter-spacing: -0.02em; }
.calm-panel-tag { position: absolute; right: 6cqw; top: 4cqw; padding: 0.8cqw 2.4cqw; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-family: var(--mono); font-size: 2.4cqw; opacity: var(--e); }
.calm-card { position: absolute; left: 7cqw; right: 7cqw; top: calc(16cqw + var(--slot) * 11.6cqw); display: flex; align-items: center; justify-content: space-between; height: 9.6cqw; padding: 0 3.6cqw; border: 1px solid var(--line); border-radius: 2.6cqw; background: #fff; font-size: 3.4cqw; font-weight: 600; box-shadow: 0 1.2cqw 3cqw -1.4cqw rgba(15, 23, 42, 0.35); transform: translate(calc(var(--x0) * (1 - var(--e)) * 1cqw), calc(var(--y0) * (1 - var(--e)) * 1cqw)) rotate(calc(var(--r0) * (1 - var(--e)) * 1deg)); }
.calm-card i { display: grid; place-items: center; flex: none; width: 5cqw; height: 5cqw; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 3cqw; font-style: normal; opacity: var(--e); transform: scale(calc(0.4 + 0.6 * var(--e))); }
@media (min-width: 960px) { .calm-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .calm-pin { height: calc(100vh + 80vh); padding: 0; }
  .calm-sticky { position: sticky; top: var(--header); display: flex; align-items: center; height: calc(100vh - var(--header)); overflow: hidden; }
  .calm-copy .swap { display: grid; }
  .swap > span { grid-area: 1 / 1; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
  .swap > .calm-b { margin-top: 0; opacity: 0; transform: translateY(16px); }
  .calm.is-calm .swap > .calm-a { opacity: 0; transform: translateY(-16px); }
  .calm.is-calm .swap > .calm-b { opacity: 1; transform: none; }
  .calm-stage { --e: 0; }
}

.browser .win-bar .url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-tag { flex: none; }
