/* Schriften (SIL Open Font License, siehe fonts/OFL-*.txt) – liegen auf dem eigenen Server */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Winkel für den umlaufenden Lichtrand der Bühne */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Schwarz nach Vorbild Raycast: fast schwarzer Grund, Glas-Flächen, Licht in den Markenfarben */
:root {
  --bg: #08090a;
  --bg-2: #0c0d0f;
  --surface: #111215;
  --surface-2: #17181c;
  --ink: #f7f8f8;
  --text: #e2e4e8;
  --muted: #8a8f98;
  --faint: #62666d;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --lime: #a3e635;
  --sky: #38bdf8;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --teal: #2dd4bf;
  --rose: #fb7185;
  --c: var(--lime);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 18px;
  --max: 1200px;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
.c-lime { --c: var(--lime); } .c-sky { --c: var(--sky); } .c-violet { --c: var(--violet); }
.c-amber { --c: var(--amber); } .c-teal { --c: var(--teal); } .c-rose { --c: var(--rose); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.1; text-wrap: balance; }
h1, h2 { font-weight: 600; letter-spacing: -.04em; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.06; }
h3 { font-size: 1.05rem; font-weight: 550; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
.soft { color: var(--muted); }

/* Farbverlauf in der Schrift, wandert langsam hin und her */
.grad {
  background: linear-gradient(90deg, var(--lime), var(--sky) 35%, var(--violet) 65%, var(--sky) 85%, var(--lime));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font: 500 .74rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .74rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }

/* Schwebende Kopfleiste */
.top { position: sticky; top: 0; z-index: 20; padding: 12px 20px 0; }
.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1136px; height: 58px; padding: 0 10px 0 18px; border-radius: 16px;
  background: rgba(10, 11, 13, .35); border: 1px solid var(--line-strong);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 40px rgba(0, 0, 0, .35);
}
/* Ganz oben komplett durchsichtig, beim Scrollen Glas mit Unschärfe (Klassen setzt effekte.js) */
.top.at-top .wrap { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top.smooth .wrap { transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s, -webkit-backdrop-filter .3s; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: .92rem; font-weight: 700; letter-spacing: .05em; margin-right: -.05em; text-transform: uppercase; }
/* SOLUTION genau so breit wie SIMPLE APP: Buchstaben über die volle Breite verteilt */
.brand-text span { display: flex; justify-content: space-between; font-size: .56rem; font-weight: 600; margin-top: 4px; color: var(--muted); }
.brand-text i { font-style: normal; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .88rem; transition: color .15s; }
.nav a:not(.btn):hover { color: var(--ink); }

/* Knöpfe mit leichtem Glanz */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font: 500 .93rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .25s;
}
.btn-primary {
  background: linear-gradient(180deg, #ffffff, #e2e3e6); color: var(--bg); border: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15), 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 24px rgba(255, 255, 255, .08);
}
.btn-primary:hover { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15), 0 0 0 1px rgba(255, 255, 255, .3), 0 0 34px rgba(56, 189, 248, .35), 0 0 12px rgba(163, 230, 53, .25); }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .24); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.nav .btn { height: 36px; padding: 0 14px; font-size: .85rem; border-radius: 9px; color: var(--bg); }

/* Hero: beginnt hinter der Kopfleiste, damit das Farblicht darunter durchscheint */
.hero { position: relative; margin-top: -70px; padding: 206px 0 0; overflow: hidden; }
.hero .wrap { position: relative; }
.aurora {
  position: absolute; left: 50%; top: -140px; width: 1400px; height: 1000px; transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 90%); mask-image: linear-gradient(#000 45%, transparent 90%);
}
.aurora i { position: absolute; width: 780px; height: 560px; border-radius: 50%; }
.aurora i:nth-child(1) { left: 140px; top: 80px; background: radial-gradient(closest-side, rgba(163, 230, 53, .11), transparent); animation: drift-a 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { left: 520px; top: 0; background: radial-gradient(closest-side, rgba(56, 189, 248, .15), transparent); animation: drift-b 20s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 330px; top: 250px; background: radial-gradient(closest-side, rgba(167, 139, 250, .11), transparent); animation: drift-c 24s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(200px, 70px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-220px, 110px) scale(.9); } }
@keyframes drift-c { to { transform: translate(140px, -130px) scale(1.2); } }

.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-text > * { animation: rise .6s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .05s; }
.hero-text > :nth-child(3) { animation-delay: .1s; }
.hero-text > :nth-child(4) { animation-delay: .15s; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: .82rem; color: var(--text); border: 1px solid transparent;
  background: linear-gradient(rgba(17, 18, 21, .85), rgba(17, 18, 21, .85)) padding-box,
    linear-gradient(90deg, rgba(163, 230, 53, .6), rgba(56, 189, 248, .6), rgba(167, 139, 250, .6)) border-box;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { margin-top: 28px; max-width: 18ch; }
.hero .lead { margin: 28px auto 0; max-width: 36em; font-size: 1.12rem; line-height: 1.65; color: var(--muted); }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* Bühne: Lichtrand läuft um, darunter ein atmender Farbschein */
.stage {
  position: relative; margin-top: 88px; padding: 1px; border-radius: 21px; isolation: isolate;
  background: conic-gradient(from var(--a), rgba(255, 255, 255, .1), var(--sky) 10%, rgba(255, 255, 255, .1) 24%, rgba(255, 255, 255, .1) 42%, var(--lime) 55%, rgba(255, 255, 255, .1) 68%, var(--violet) 84%, rgba(255, 255, 255, .1));
  animation: rise .7s var(--ease) .2s both, turn 14s linear infinite;
}
.stage::before {
  content: ""; position: absolute; inset: 8% 4% -4%; z-index: -1; border-radius: 60px; pointer-events: none;
  background: radial-gradient(45% 60% at 30% 50%, rgba(163, 230, 53, .5), transparent 70%), radial-gradient(45% 60% at 70% 50%, rgba(56, 189, 248, .55), transparent 70%);
  filter: blur(70px); opacity: .28; animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes turn { to { --a: 360deg; } }
@keyframes breathe { to { opacity: .45; } }
.showcase {
  position: relative; height: 580px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 0%, rgba(56, 189, 248, .12), transparent 70%), linear-gradient(180deg, #111318, var(--bg-2));
}
.showcase-phones { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); display: flex; gap: 28px; align-items: flex-start; }
.device {
  width: 236px; flex: none; border-radius: 38px; padding: 6px; background: #1b1c1f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .6);
  animation: float 7s ease-in-out infinite;
}
.device img { border-radius: 32px; }
.device.side { width: 212px; margin-top: 52px; opacity: .6; animation-delay: -2.3s; }
.device.side:last-child { animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.agent {
  position: absolute; left: 40px; bottom: 40px; width: 400px; z-index: 2;
  border-radius: 14px; overflow: hidden;
  background: rgba(17, 18, 21, .8); border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .7);
}
.agent-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 .76rem/1 var(--mono); color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.live { margin-left: auto; color: var(--lime); display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
.live.done { color: var(--sky); }
.live.done::before { animation: none; }
.agent-body { padding: 18px 18px 20px; font-family: var(--mono); font-size: .8rem; }
.prompt { color: var(--ink); margin-bottom: 16px; min-height: 1.6em; }
.prompt b { color: var(--sky); margin-right: 2px; }
.caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--sky); animation: caret 1s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }
.agent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.agent li { display: flex; align-items: center; gap: 10px; color: #c9ccd2; transition: color .3s; }
.agent li:nth-child(1) { --c: var(--sky); } .agent li:nth-child(2) { --c: var(--amber); }
.agent li:nth-child(3) { --c: var(--lime); } .agent li:nth-child(4) { --c: var(--violet); }
.agent li em {
  margin-left: auto; font-style: normal; font-size: .68rem; padding: 3px 7px; border-radius: 5px;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent);
  transition: opacity .3s;
}
.agent li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; flex: none; box-sizing: border-box; }
.agent li.ok::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2308090a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; animation: pop .35s var(--ease); }
.agent li.run { color: var(--ink); }
.agent li.run::before { border: 2px solid var(--line-strong); border-top-color: var(--sky); animation: spin .9s linear infinite; }
.agent li.wait { color: var(--faint); }
.agent li.wait::before { border: 1.5px solid var(--line-strong); }
.agent li.wait em { opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); } }
.agent .bar { margin-top: 18px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.agent .bar span { display: block; width: 78%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--lime), var(--sky), var(--violet)); transition: width .5s var(--ease); }

/* Werkzeug-Leiste als Laufband */
.tools { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 72px; padding: 28px 0; }
.marquee {
  display: flex; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee ul { flex: none; list-style: none; margin: 0; padding: 0 32px 0 0; display: flex; gap: 32px; animation: marquee 32s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee li { display: flex; align-items: center; gap: 12px; padding-right: 32px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; color: #9a9ea6; white-space: nowrap; }
.marquee li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.marquee li:nth-child(1) { --c: var(--sky); } .marquee li:nth-child(2) { --c: var(--amber); } .marquee li:nth-child(3) { --c: var(--rose); }
.marquee li:nth-child(4) { --c: var(--lime); } .marquee li:nth-child(5) { --c: var(--sky); } .marquee li:nth-child(6) { --c: var(--teal); }
.marquee li:nth-child(7) { --c: var(--violet); }

/* Einblenden: Startseite (ohne JS bleibt alles sichtbar). Nur Deckkraft + Verschiebung, kein Unschärfe-Filter:
   die laufen auf der Grafikkarte und bremsen Handys nicht */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal:not(.in), .js .stagger > :not(.in) { opacity: 0; }
.reveal.in, .stagger > .in { animation: rise .65s var(--ease) both; animation-delay: var(--delay, 0s); }
.stagger > :nth-child(2) { --delay: .08s; } .stagger > :nth-child(3) { --delay: .16s; }
.stagger > :nth-child(4) { --delay: .24s; } .stagger > :nth-child(5) { --delay: .32s; } .stagger > :nth-child(6) { --delay: .4s; }
/* Leistungen kommen reihenweise: Verzögerung nur nach Spalte */
.services.stagger > :nth-child(3n+1) { --delay: 0s; } .services.stagger > :nth-child(3n+2) { --delay: .08s; } .services.stagger > :nth-child(3n) { --delay: .16s; }

/* Abschnitte, jeweils mit leisem Farbschein */
section { position: relative; padding: 136px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; }
section:not(.hero)::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 40% at 50% 0%, color-mix(in srgb, var(--c) 9%, transparent), transparent 70%);
}
section > .wrap { position: relative; }
.head { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; margin-bottom: 64px; }
.head .label { margin-bottom: 22px; }
.head p { color: var(--muted); font-size: 1.05rem; max-width: 32em; margin: 0 auto; }

/* Fakten unter der Idee */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--line); }
.fact { padding: 4px 28px 0; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .mono { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; color: var(--c); }
.fact .mono::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.fact b { display: block; color: var(--ink); font-size: 1.12rem; font-weight: 550; letter-spacing: -.02em; margin-bottom: 4px; }
.fact > span:last-child { color: var(--muted); font-size: .92rem; }

/* Idee hinter dem Namen: drei Versprechen nebeneinander, offen ohne Karten */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 40px 0; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .96rem; max-width: 30em; text-wrap: pretty; }
.idea-note { margin: 88px auto 0; max-width: 34em; text-align: center; font-size: 1.2rem; line-height: 1.5; color: var(--text); text-wrap: balance; }

/* Leistungen: Glas-Karten mit eigener Farbe, Lichtpunkt folgt der Maus */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cell {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; padding: 36px 32px 34px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .3s;
}
.cell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 16%, transparent), transparent 65%);
}
.cell::after {
  content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; pointer-events: none; opacity: .55; transition: opacity .3s;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
}
.cell > * { position: relative; }
.cell:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.cell:hover::before, .cell:hover::after { opacity: 1; }
.cell .icon, .pillar .icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; margin-bottom: 28px; color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 5%, transparent));
  box-shadow: 0 0 24px color-mix(in srgb, var(--c) 22%, transparent);
}
.cell .icon svg { width: 20px; height: 20px; }
.pillar .icon { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 40px color-mix(in srgb, var(--c) 28%, transparent); }
.pillar .icon svg { width: 24px; height: 24px; }
.cell h3 { margin-bottom: 10px; }
.cell p { color: var(--muted); font-size: .94rem; }
.cell .stack { margin-top: auto; padding-top: 28px; font: .74rem/1.4 var(--mono); color: var(--faint); }

/* Breite Leistungskarte „KI-Voranalyse für Ihre Website“ mit kleiner Vorschau rechts */
.cell.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 48px; min-height: 0; border-color: rgba(56, 189, 248, .3); background: radial-gradient(60% 90% at 85% 50%, rgba(56, 189, 248, .1), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); }
.wide-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.wide-text .stack { margin-top: 18px; padding-top: 0; }
.wide-text .btn { margin-top: 24px; }
.wide-text h3 { font-size: 1.3rem; }
.neu { margin-bottom: 18px; padding: 5px 11px; border-radius: 999px; font: 500 .7rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(163, 230, 53, .4); background: rgba(163, 230, 53, .08); }
.wide-demo { flex: 0 0 42%; display: grid; gap: 10px; }
.demo-frage { justify-self: end; max-width: 90%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--text); font-size: .88rem; }
.demo-antwort { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(56, 189, 248, .28); background: linear-gradient(160deg, rgba(56, 189, 248, .1), rgba(167, 139, 250, .06) 60%, rgba(17, 18, 21, .4)); }
.demo-antwort p { margin-top: 10px; color: var(--ink); font-size: .9rem; }
.demo-antwort ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 3px; }
.demo-antwort li { color: var(--muted); font-size: .84rem; }
.demo-antwort li::marker { color: var(--sky); }

/* Projekt */
.project-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.project-head .mono { margin-bottom: 32px; color: var(--sky); }
.project-head h3 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; }
.project-logo { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 24px; animation: halo 4s ease-in-out infinite alternate; }
@keyframes halo {
  from { box-shadow: 0 0 0 1px var(--line-strong), 0 16px 40px rgba(56, 189, 248, .15); }
  to { box-shadow: 0 0 0 1px rgba(56, 189, 248, .4), 0 16px 60px rgba(56, 189, 248, .4); }
}
.project-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; max-width: 34em; }
.project-head .links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.shot { margin: 0; }
.shot .frame {
  border-radius: 20px; padding: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.shot:hover .frame { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 40%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px -20px color-mix(in srgb, var(--c) 45%, transparent); }
/* Ganzer Screenshot im schmalen Handy-Rahmen */
.shot img { padding: 5px; border-radius: 26px; background: #1b1c1f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 40px rgba(0, 0, 0, .55); }
.shot figcaption { margin-top: 14px; text-align: center; font: 500 .74rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

.parts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 96px; }
.part { position: relative; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.part::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.part .mono { color: var(--c); }
.part b { display: block; color: var(--ink); font-weight: 550; margin: 16px 0 8px; letter-spacing: -.015em; }
.part > span:last-child { font-size: .9rem; color: var(--muted); line-height: 1.55; display: block; }

/* Referenzen: leicht blauer Hintergrund mit Verlauf, oben und unten weich auslaufend */
#referenzen {
  background:
    radial-gradient(70% 45% at 50% 30%, rgba(59, 130, 246, .26), transparent 70%),
    linear-gradient(180deg, transparent, rgba(37, 99, 235, .18) 15%, rgba(30, 64, 175, .32) 55%, rgba(37, 99, 235, .16) 88%, transparent);
}

/* Referenzen: hervorgehobene App oben, weitere Projekte als Karten mit Browser-Rahmen */
.featured {
  padding: 64px 48px 56px; border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(60% 40% at 50% 0%, color-mix(in srgb, var(--sky) 12%, transparent), transparent 70%), var(--bg-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.featured .parts { margin-top: 72px; }
.refs-head { display: flex; align-items: center; gap: 16px; margin: 96px 0 28px; color: var(--muted); }
.refs-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ref-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: border-color .3s;
}
.ref-card:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.ref-visual { display: block; padding: 20px 20px 0; text-decoration: none; }
.browser { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); background: #1b1c1f; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transition: transform .4s var(--ease), box-shadow .4s; }
.ref-card:hover .browser { transform: translateY(-4px); box-shadow: 0 36px 80px -20px color-mix(in srgb, var(--c) 35%, transparent); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browser-bar .url { flex: 1; min-width: 0; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); text-align: center; font: 500 .68rem/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.ref-body .mono { color: var(--c); }
.ref-body h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; margin: 14px 0 10px; }
.ref-body p { color: var(--muted); font-size: .94rem; }
.chips { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: .76rem; color: var(--text); }
.chips li:first-child { color: var(--c); border-color: color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.ref-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--ink); text-decoration: none; transition: color .15s; }
.ref-link:hover { color: var(--c); }
.ref-link .arrow { transition: transform .15s; }
.ref-link:hover .arrow { transform: translate(2px, -2px); }

/* KI: Schritte mit farbiger Linie, die sich beim Einblenden füllt */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { position: relative; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.step::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; transform-origin: left; background: linear-gradient(90deg, var(--c), transparent); }
.js .step:not(.in)::after { transform: scaleX(0); }
.step.in::after { animation: grow 1.2s var(--ease) both; animation-delay: calc(var(--delay, 0s) + .3s); }
@keyframes grow { from { transform: scaleX(0); } }
.step .mono { color: var(--c); }
.step h3 { margin: 22px 0 10px; }
.step p { color: var(--muted); font-size: .94rem; }

/* Kontakt */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact h2 { margin: 22px 0 20px; }
.contact-intro p { color: var(--muted); font-size: 1.05rem; max-width: 28em; }
.topics { list-style: none; margin: 32px 0 0; padding: 0; max-width: 28em; }
.topics li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: .98rem; }
.topics li:first-child { border-top: 1px solid var(--line); }
.topics li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 10px var(--c); }

/* Formular mit umlaufendem Lichtrand wie die Bühne; beim Tippen leuchtet es stärker */
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-radius: 20px; padding: 32px; border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--a), rgba(255, 255, 255, .08), var(--sky) 12%, rgba(255, 255, 255, .08) 26%, rgba(255, 255, 255, .08) 50%, var(--violet) 62%, rgba(255, 255, 255, .08) 76%) border-box;
  box-shadow: 0 40px 120px -40px rgba(56, 189, 248, .22);
  animation: turn 10s linear infinite;
  transition: box-shadow .4s;
}
.form.reveal.in { animation: rise .65s var(--ease) both, turn 10s linear infinite; }
.form:focus-within { box-shadow: 0 40px 120px -30px rgba(56, 189, 248, .4), 0 0 40px -10px rgba(167, 139, 250, .35); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .84rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.form label small { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font: inherit; font-size: .98rem; transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form ::placeholder { color: var(--faint); }
.form input:focus, .form textarea:focus { outline: none; border-color: rgba(56, 189, 248, .6); box-shadow: 0 0 0 4px rgba(56, 189, 248, .15); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.form .actions .form-status { flex-basis: 100%; }
.form .actions .form-status:empty { display: none; }
.form button:disabled { opacity: .55; cursor: wait; }

/* KI-Voranalyse: Knopf mit Farbverlaufsrand, Ergebnis als eigene Karte unter dem Formular */
.btn-ki {
  color: var(--ink); border: 1px solid transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(90deg, var(--lime), var(--sky), var(--violet)) border-box;
}
.btn-ki svg { width: 16px; height: 16px; color: var(--lime); }
.btn-ki:hover { box-shadow: 0 0 26px rgba(56, 189, 248, .3), 0 0 10px rgba(163, 230, 53, .2); }
.btn-ki[aria-busy="true"] svg { animation: spin 1.4s linear infinite; }
.btn-ki.puls { animation: ki-puls 1.1s ease-out .5s 3; }
.ki-info-knopf {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--muted); background: transparent; border: 1px solid var(--line-strong); transition: color .15s, border-color .15s, background .15s;
}
.ki-info-knopf svg { width: 18px; height: 18px; }
.ki-info-knopf:hover, .ki-info-knopf[aria-expanded="true"] { color: var(--sky); border-color: rgba(56, 189, 248, .5); background: rgba(56, 189, 248, .08); }
.ki-info { flex-basis: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); animation: rise .35s var(--ease) both; }
.ki-info-titel { margin: 0 0 8px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.ki-info ul { margin: 0; padding-left: 1.15em; display: grid; gap: 5px; }
.ki-info li { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.ki-info li::marker { color: var(--sky); }
@keyframes ki-puls { from { box-shadow: 0 0 0 0 rgba(56, 189, 248, .65); } to { box-shadow: 0 0 0 16px rgba(56, 189, 248, 0); } }
.ki {
  padding: 22px 22px 20px; border-radius: 14px; border: 1px solid rgba(56, 189, 248, .28);
  background: linear-gradient(160deg, rgba(56, 189, 248, .09), rgba(167, 139, 250, .06) 60%, rgba(17, 18, 21, 0));
  animation: rise .5s var(--ease) both;
}
.ki-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ki-label { font: 500 .72rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--sky); }
.ki-umfang { padding: 5px 10px; border-radius: 999px; font-size: .76rem; color: var(--lime); border: 1px solid rgba(163, 230, 53, .4); background: rgba(163, 230, 53, .08); }
.ki-lead { margin-top: 14px; color: var(--ink); font-size: 1rem; line-height: 1.55; }
.ki-teil { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ki-teil h4 { margin: 0 0 8px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.ki-teil p, .ki-teil li { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.ki-teil ul, .ki-teil ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.ki-teil li::marker { color: var(--sky); }
.ki-fuss { margin-top: 18px; font-size: .78rem; color: var(--faint); }
.ki-warten { margin: 12px 0 14px; color: var(--text); font-size: .94rem; }
.ki-zeile { display: block; height: 10px; margin-top: 10px; border-radius: 5px; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(56, 189, 248, .22), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite alternate; }
.ki-zeile:nth-child(4) { width: 92%; } .ki-zeile:nth-child(5) { width: 78%; }
.form .hint { font-size: .8rem; color: var(--muted); }
.form .hint a { color: var(--ink); }
.form-status { font-size: .9rem; font-weight: 500; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #f87171; }

/* Fußzeile */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--faint); font-size: .86rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { padding: 96px 0 120px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 24px 0 48px; }
.legal h2 { font-size: 1.1rem; font-weight: 550; letter-spacing: -.015em; line-height: 1.3; margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal p { color: var(--muted); margin-bottom: 1em; }
.legal a { color: var(--ink); }

/* Responsiv */
@media (max-width: 1080px) {
  .agent { width: 360px; left: 24px; bottom: 24px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .featured { padding: 48px 32px; }
  .refs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
  .device.side:last-child { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top { padding: 8px 10px 0; }
  .top .wrap { height: 54px; padding: 0 8px 0 14px; }
  .nav a:not(.btn) { display: none; }
  section { padding: 88px 0; }
  .hero { margin-top: -62px; padding-top: 130px; }
  .aurora { width: 900px; top: -100px; }
  .aurora i { width: 520px; height: 420px; }
  .aurora i:nth-child(1) { left: 60px; } .aurora i:nth-child(2) { left: 320px; } .aurora i:nth-child(3) { left: 200px; top: 200px; }
  .hero .lead { font-size: 1.02rem; }
  .stage { margin-top: 56px; border-radius: 17px; }
  .showcase { height: auto; padding: 32px 16px 16px; border-radius: 16px; }
  .showcase-phones { position: relative; left: auto; top: auto; transform: none; justify-content: center; height: 330px; overflow: hidden; }
  .device { width: 210px; border-radius: 32px; padding: 5px; }
  .device img { border-radius: 27px; }
  .device.side { display: none; }
  .agent { position: relative; left: auto; bottom: auto; width: auto; margin-top: -64px; }
  .agent-body { font-size: .74rem; }
  .agent li em { display: none; }
  .tools { margin-top: 48px; padding: 0; }
  .marquee li { font-size: 1.05rem; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 40px; margin-top: 56px; padding-top: 32px; }
  .fact { padding: 0 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact .mono { margin-bottom: 20px; }
  .fact b { font-size: 1rem; }
  .head { margin-bottom: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 0; border-left: 0; }
  .pillar + .pillar { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
  .idea-note { margin-top: 56px; font-size: 1.05rem; }
  .services { grid-template-columns: 1fr; }
  .cell { min-height: 0; padding: 28px 22px 30px; }
  .cell.wide { flex-direction: column; align-items: stretch; gap: 28px; }
  .wide-demo { flex-basis: auto; }
  .gallery { gap: 10px; margin-top: 48px; }
  .shot .frame { padding: 12px; border-radius: 14px; }
  .shot img { padding: 3px; border-radius: 18px; }
  .parts { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
  .featured { padding: 36px 14px 32px; border-radius: 18px; }
  .featured .parts { margin-top: 56px; padding: 0 6px; }
  .refs-head { margin: 64px 0 20px; }
  .ref-visual { padding: 14px 14px 0; }
  .ref-body { padding: 20px 18px 22px; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px 18px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }

  /* Handy: Effekte, die jedes Bild neu gemalt werden müssen, ruhig stellen */
  .stage { animation: rise .7s var(--ease) .2s both; }
  .stage::before { animation: none; filter: blur(40px); opacity: .32; }
  .form { animation: none; }
  .form.reveal.in { animation: rise .65s var(--ease) both; }
  .grad { animation: none; }
  .project-logo { animation: none; box-shadow: 0 0 0 1px rgba(56, 189, 248, .35), 0 16px 50px rgba(56, 189, 248, .3); }
  .agent { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17, 18, 21, .95); }
  /* Einspaltig erscheint jedes Element einzeln – ohne Wartezeit je Position */
  .stagger > :nth-child(n), .services.stagger > :nth-child(n) { --delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 0; }
  .marquee ul[aria-hidden] { display: none; }
}
