/* Brjdge – Website. Dark Mode, ohne externe Abhängigkeiten. */

/* Inter (SIL Open Font License 1.1, Lizenz in den Font-Metadaten), Latin-Subset, variabel 100–900 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --bg: #08090b;
  --bg-tint: #0b0c0f;
  --window: #0b0c0f;
  --window-side: #0d0e12;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --fill: rgba(255, 255, 255, 0.04);
  --fill-strong: rgba(255, 255, 255, 0.07);

  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #6e6e78;

  --violet: #8b7bff;
  --violet-soft: #b6acff;
  --cyan: #3dd6f0;
  --green: #4ade80;
  --amber: #fbbf24;
  --brand: linear-gradient(90deg, #8b7bff 0%, #3dd6f0 100%);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 64px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Basis ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--text-2); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Bausteine ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.925rem;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn--sm { height: 36px; padding: 0 0.85rem; border-radius: 9px; font-size: 0.86rem; }
.btn--primary {
  background: var(--text);
  color: #0a0a0c;
  box-shadow: 0 8px 28px -10px rgba(139, 123, 255, 0.55);
}
.btn--primary:hover { background: #fff; transform: translateY(-1px); }
.btn--secondary { background: var(--fill); border-color: var(--line-strong); color: var(--text); }
.btn--secondary:hover { background: var(--fill-strong); border-color: rgba(255, 255, 255, 0.2); }
.btn:disabled { cursor: not-allowed; opacity: 0.5; transform: none; box-shadow: none; }

.tag {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--fill-strong);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(139, 123, 255, 0.28);
  border-radius: 999px;
  background: rgba(139, 123, 255, 0.08);
  color: var(--violet-soft);
  font-size: 0.8rem;
  font-weight: 550;
}

.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.dot--green { background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.14); }
.dot--amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.14); }

.av {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #0a0a0c;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}
.av--a { background: var(--violet); }
.av--b { background: var(--cyan); }
.av--c { background: var(--amber); }
.av--you { background: #2a2b31; color: var(--text); }

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(139, 123, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(8, 9, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: border-color 0.3s, background-color 0.3s;
}
.header.is-scrolled,
.header.is-open { border-bottom-color: var(--line); background: rgba(8, 9, 11, 0.9); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.05rem; font-weight: 650; letter-spacing: -0.02em; }

.nav { display: flex; gap: 0.25rem; margin-inline: auto; }
.nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9rem;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--text); background: var(--fill); }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--fill);
  color: var(--text);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.header.is-open .menu-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.header.is-open .menu-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

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

.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(4rem, 10vw, 7rem); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 40% at 50% 0%, rgba(139, 123, 255, 0.2), transparent 70%),
    radial-gradient(25% 25% at 78% 8%, rgba(61, 214, 240, 0.1), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 45% at 50% 0%, #000 20%, transparent 75%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.announce {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding: 0.3rem 0.35rem 0.3rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.84rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.announce:hover { border-color: rgba(255, 255, 255, 0.24); background: var(--fill); }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15); }
.announce__cta { padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--fill-strong); color: var(--text); font-weight: 500; }

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7.4vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero__accent { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead {
  max-width: 40rem;
  margin-bottom: 2.25rem;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------- Produktvorschau ---------- */

.preview { position: relative; max-width: 1080px; margin: clamp(3.5rem, 8vw, 5rem) auto 0; }
.preview__glow {
  position: absolute;
  inset: 5% 12% auto;
  z-index: -1;
  height: 70%;
  background: radial-gradient(closest-side, rgba(139, 123, 255, 0.32), transparent);
  filter: blur(60px);
}
.preview figcaption { margin-top: 1rem; color: var(--text-3); font-size: 0.8rem; text-align: center; }

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--window);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #0e0f13;
}
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b31; }
.window__title { flex: 1; color: var(--text-3); font-size: 12px; text-align: center; }
.window__status { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12px; }

.app { display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; min-height: 460px; }
.app__side,
.app__ctx { padding: 14px 10px; background: var(--window-side); }
.app__side { border-right: 1px solid var(--line); }
.app__ctx { border-left: 1px solid var(--line); padding-inline: 12px; }
.app__label { margin: 18px 8px 6px; color: var(--text-3); font-size: 11px; font-weight: 550; letter-spacing: 0.06em; text-transform: uppercase; }

.ws { display: flex; align-items: center; gap: 8px; padding: 4px 8px; font-weight: 600; }
.ws__logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #0a0a0c; font-size: 11px; font-weight: 700; }

.app__list li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--text-2); }
.app__list li.is-active { background: var(--fill-strong); color: var(--text); }
.app__list .dot { margin-left: auto; }
.hash { color: var(--text-3); }

.app__main { display: flex; flex-direction: column; min-width: 0; }
.chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.stack { display: flex; }
.stack .av { width: 22px; height: 22px; margin-left: -6px; border: 2px solid var(--window); border-radius: 50%; font-size: 9px; }

.chat { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 18px; }
.msg { display: flex; gap: 10px; }
.msg > .av { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.msg__body { min-width: 0; }
.msg__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.msg__meta b { color: var(--text); font-weight: 600; }
.msg__meta time { color: var(--text-3); font-size: 11px; }
.msg p:not(.msg__meta) { color: #d4d4d8; }
.ai { padding: 0 5px; border-radius: 4px; background: var(--fill-strong); color: var(--text-2); font-size: 10px; font-weight: 600; }
.mention { padding: 0 3px; border-radius: 4px; background: rgba(139, 123, 255, 0.14); color: var(--violet-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 12px;
}
.chip svg,
.composer__send svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip--loop { border-color: rgba(61, 214, 240, 0.3); background: rgba(61, 214, 240, 0.07); color: #a5eefa; }

.typing { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; padding: 9px 11px; border-radius: 8px; background: var(--fill); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px 18px;
  padding: 9px 9px 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-3);
}
.composer__send { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--text); color: #0a0a0c; }

.ctx-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 8px; color: var(--text-2); }
.ctx-list .ok { color: var(--green); font-size: 11px; }
.ctx-list small { color: var(--text-3); font-size: 11px; }

.loopsteps { padding: 2px 8px; }
.loopsteps li { display: flex; align-items: center; gap: 9px; padding: 4px 0; color: var(--text-3); }
.loopsteps li::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.loopsteps .done { color: var(--text-2); }
.loopsteps .done::before { border-color: var(--green); background: var(--green); }
.loopsteps .active { color: var(--text); }
.loopsteps .active::before { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 0 3px rgba(61, 214, 240, 0.2); }

/* ---------- Prinzipien ---------- */

.principles { padding-top: clamp(4rem, 8vw, 6rem); }
.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
}
.principle { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1.5rem 1.35rem; background: var(--bg); }
.principle svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--violet-soft); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.principle strong { display: block; margin-bottom: 0.15rem; font-size: 0.95rem; font-weight: 600; }
.principle span { color: var(--text-2); font-size: 0.875rem; line-height: 1.5; }

/* ---------- Sektionen ---------- */

.section { padding-block: clamp(5rem, 10vw, 8rem); }
.section--tint { border-block: 1px solid var(--line); background: var(--bg-tint); }

.section-head { max-width: 42rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.075rem; }

h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.035em; line-height: 1.08; }

/* Funktionen (Bento) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature { display: flex; flex-direction: column; }
.feature--wide { grid-column: span 2; }
.feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 184px;
  padding: 1.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 110% at 50% 0%, rgba(139, 123, 255, 0.09), transparent 70%);
}
.feature__body { padding: 1.5rem 1.6rem 1.75rem; }
.feature h3 { margin-bottom: 0.45rem; font-size: 1.125rem; }
.feature p { color: var(--text-2); font-size: 0.95rem; }

/* Visual: Multi-AI */
.v-models { display: flex; align-items: center; font-size: 13px; }
.v-models__col { display: flex; flex-direction: column; gap: 16px; }
.v-models__wires { width: 56px; height: 80px; overflow: visible; }
.v-models__wires path {
  fill: none;
  stroke: rgba(139, 123, 255, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
  animation: flow 1.4s linear infinite;
}
.v-models__wires--right path { stroke: rgba(61, 214, 240, 0.5); }
.node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #121318;
  color: var(--text);
  white-space: nowrap;
}
.node--add { padding-left: 12px; border-style: dashed; background: transparent; color: var(--text-2); }
.hubchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(139, 123, 255, 0.45);
  border-radius: 12px;
  background: #15142a;
  box-shadow: 0 0 0 6px rgba(139, 123, 255, 0.06), 0 0 40px rgba(139, 123, 255, 0.25);
  font-weight: 600;
}

/* Visual: MCP */
.v-mcp { display: grid; gap: 8px; width: 100%; max-width: 250px; font-size: 13px; }
.v-mcp li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #121318;
}
.v-mcp b { font-weight: 550; }
.v-mcp span:last-child { margin-left: auto; color: var(--text-3); font-size: 12px; }
.v-mcp__icon { width: 18px; height: 18px; border-radius: 5px; }
.v-mcp__icon--a { background: var(--violet); }
.v-mcp__icon--b { background: var(--cyan); }
.v-mcp__icon--c { background: var(--amber); }

/* Visual: Chats */
.v-chat { display: grid; gap: 10px; width: 100%; max-width: 240px; }
.bubble { display: flex; align-items: flex-end; gap: 8px; }
.bubble--out { justify-content: flex-end; }
.bubble .av { width: 22px; height: 22px; border-radius: 7px; }
.bubble__lines { display: grid; gap: 6px; width: 70%; padding: 10px 12px; border-radius: 10px 10px 10px 3px; background: var(--fill-strong); }
.bubble--out .bubble__lines { width: 55%; border-radius: 10px 10px 3px 10px; background: rgba(139, 123, 255, 0.18); }
.bubble__lines i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.bubble__lines i.mid { width: 75%; }
.bubble__lines i.short { width: 50%; }

/* Visual: Dateien */
.v-files { display: grid; gap: 10px; width: 100%; max-width: 250px; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #121318; }
.file__type { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(139, 123, 255, 0.16); color: var(--violet-soft); font-size: 10px; font-weight: 700; }
.file__type--b { background: rgba(61, 214, 240, 0.14); color: var(--cyan); }
.file__meta { display: grid; flex: 1; gap: 7px; min-width: 0; font-size: 12.5px; }
.file__meta b { font-weight: 550; }
.bar { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: var(--fill-strong); }
.bar i { display: block; width: 60%; height: 100%; border-radius: inherit; background: var(--brand); animation: upload 3.2s var(--ease) infinite; }
.bar--done i { width: 100%; background: var(--green); animation: none; }

/* Visual: AI-Loops */
.v-loop { position: relative; display: grid; gap: 7px; width: 100%; max-width: 200px; font-size: 13px; }
.v-loop::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 14px; width: 1px; background: var(--line-strong); }
.v-loop li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--text-3);
  animation: loop-step 6s infinite;
}
.v-loop li::before { content: ""; width: 12px; height: 12px; margin-left: 1px; border: 1.5px solid currentColor; border-radius: 50%; background: var(--bg-tint); }
.v-loop li:nth-child(2) { animation-delay: 1.5s; }
.v-loop li:nth-child(3) { animation-delay: 3s; }
.v-loop li:nth-child(4) { animation-delay: 4.5s; }

/* So funktioniert's */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 123, 255, 0.5), rgba(61, 214, 240, 0.5));
}
.step { position: relative; padding: 0 1rem; text-align: center; }
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 1.4rem;
  border: 1px solid rgba(139, 123, 255, 0.45);
  border-radius: 50%;
  background: var(--bg-tint);
  box-shadow: 0 0 0 6px var(--bg-tint);
  color: var(--violet-soft);
  font-size: 0.9rem;
  font-weight: 600;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.step p { max-width: 20rem; margin-inline: auto; color: var(--text-2); font-size: 0.95rem; }

/* Benutzerkonten */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
.split__copy .muted { margin-bottom: 1.75rem; font-size: 1.075rem; }
.checklist { display: grid; gap: 0.8rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(139, 123, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(139, 123, 255, 0.45);
}
.checklist li::after {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0.36rem;
  width: 0.38rem;
  height: 0.22rem;
  border-bottom: 1.5px solid var(--violet-soft);
  border-left: 1.5px solid var(--violet-soft);
  transform: rotate(-45deg);
}

.account { padding: clamp(1.6rem, 4vw, 2.25rem); }
.account__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--fill);
}
.account__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.account__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.account__head h3 { font-size: 1.3rem; }
.account > p { color: var(--text-2); font-size: 0.95rem; }
.account__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.5rem; }
.account .account__foot { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.85rem; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.phase { position: relative; padding-top: 2.1rem; }
.phase::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: -1.5rem;
  height: 1px;
  background: var(--line-strong);
}
.phase:last-child::before { right: 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
.phase--done::before { background: linear-gradient(90deg, var(--green), var(--violet)); }
.phase--live::before { background: linear-gradient(90deg, var(--violet), var(--line-strong)); }
.phase__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid var(--text-3);
  border-radius: 50%;
  background: var(--bg-tint);
}
.phase__status { display: inline-block; margin-bottom: 0.5rem; color: var(--text-3); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.phase h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.phase p { color: var(--text-2); font-size: 0.925rem; }
.phase--done .phase__dot { border-color: var(--green); background: var(--green); }
.phase--done .phase__status { color: var(--green); }
.phase--live .phase__dot { border-color: var(--violet); background: var(--violet); animation: pulse 2.4s infinite; }
.phase--live .phase__status { color: var(--violet-soft); }
.phase--next .phase__dot { border-color: var(--amber); }
.phase--next .phase__status { color: var(--amber); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: clamp(2.5rem, 6vw, 5rem); }
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.025rem;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.qa[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa summary:hover { color: var(--violet-soft); }
.qa__answer { padding: 0 2rem 1.35rem 0; color: var(--text-2); }

/* Abschluss */
.cta { padding-bottom: clamp(5rem, 10vw, 8rem); }
.cta__card {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(139, 123, 255, 0.22), transparent 70%),
    radial-gradient(40% 60% at 85% 100%, rgba(61, 214, 240, 0.1), transparent 70%),
    var(--bg-tint);
  text-align: center;
}
.cta__card p { max-width: 34rem; margin: 0 auto 2rem; color: var(--text-2); font-size: 1.075rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* Footer */
.footer { padding-block: 3.5rem 2rem; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand p { margin-top: 0.75rem; color: var(--text-2); font-size: 0.925rem; }
.footer__nav { display: flex; gap: clamp(2.5rem, 8vw, 6rem); }
.footer__title { margin-bottom: 0.85rem; color: var(--text); font-size: 0.85rem; font-weight: 600; }
.footer__nav ul { display: grid; gap: 0.6rem; }
.footer__nav a { color: var(--text-2); font-size: 0.9rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.85rem;
}
.footer__status { display: inline-flex; align-items: center; gap: 0.6rem; }

/* ---------- Animationen ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Chat-Nachrichten in der Vorschau erscheinen nacheinander */
.js .preview .msg { opacity: 0; transform: translateY(8px); }
.js .preview.is-visible .msg { animation: msg-in 0.6s var(--ease) forwards; }
.js .preview.is-visible .msg:nth-child(1) { animation-delay: 0.4s; }
.js .preview.is-visible .msg:nth-child(2) { animation-delay: 1.2s; }
.js .preview.is-visible .msg:nth-child(3) { animation-delay: 2s; }
.js .preview.is-visible .msg:nth-child(4) { animation-delay: 2.8s; }
.js .preview.is-visible .msg:nth-child(5) { animation-delay: 3.6s; }

@keyframes msg-in { to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes flow { to { stroke-dashoffset: -16; } }
@keyframes upload { 0% { width: 8%; } 70%, 100% { width: 92%; } }
@keyframes loop-step {
  0%, 22% { background: rgba(61, 214, 240, 0.08); color: var(--text); }
  28%, 100% { background: transparent; color: var(--text-3); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 123, 255, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(139, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 123, 255, 0); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .app { grid-template-columns: 190px minmax(0, 1fr); }
  .app__ctx { display: none; }
  .principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split,
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .phase:nth-child(2)::before { right: 0; }
}

@media (max-width: 820px) {
  .js .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.25rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 11, 0.97);
  }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .header__actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps::before { display: none; }
}

@media (max-width: 680px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .window__title { display: none; }
  .window__bar { justify-content: space-between; }
  .chat { padding: 16px 14px; }
  .composer { margin-inline: 14px; }
  .chat__head { padding-inline: 14px; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .feature--wide { grid-column: auto; }
  .v-models__wires--right,
  .v-models__col--right { display: none; }
  .principles__grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; row-gap: 0; }
  .phase { padding: 0 0 2rem 2.1rem; }
  .phase::before,
  .phase:last-child::before,
  .phase:nth-child(2)::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .phase:last-child { padding-bottom: 0; }
  .phase:last-child::before { background: linear-gradient(180deg, var(--line-strong), transparent); }
  .phase--done::before { background: linear-gradient(180deg, var(--green), var(--violet)); }
  .phase--live::before { background: linear-gradient(180deg, var(--violet), var(--line-strong)); }
  .phase__dot { top: 3px; }
  .account__actions { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 100%; }
  .btn--sm .tag { display: none; }
}

/* Weniger Bewegung, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal,
  .js .preview .msg { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */

.page-404 { display: flex; flex-direction: column; min-height: 100vh; }
.notfound { display: flex; flex: 1; align-items: center; padding-block: 4rem 8rem; }
