/* ════════════════════════════════════════════════════════════════════════
   Start-Hero v12 — genau unser Logo: vier dunkle Glas-Panes im Windrad um
   den weißen Kern (Maße aus panescale.svg: Fuge 0,70 k, Pane-Radius 1,21 k),
   oben breit mit dem Text, unten breit mit der Vorschau.
   Zwischen den Panes lebt farbiger Nebel (assets/img/fog.png als Maske über
   dem Markenverlauf): er zieht langsam durch die Fugen, pulsiert und kriecht
   weich über die Kanten; die Kanten glühen leicht, der Kern atmet.
   Alles sind DOM-Ebenen; Bewegung nur über transform/opacity auf dem
   Compositor — ruckelt nicht, auch wenn der Hauptthread lädt.
   Maße und Masken setzt assets/js/hero.js.
   ════════════════════════════════════════════════════════════════════════ */

@property --k {
  syntax: '<length>';
  inherits: true;
  initial-value: 30px;
}

/* Spaltenbreite gilt auch für die Kopfzeile: Logo bündig mit Text und Vorschau */
.has-hero7 {
  --app-w: min(1180px, calc(100vw - 96px));
}
.has-hero7 .header-inner {
  max-width: calc(var(--app-w) + 2 * var(--gutter));
}
.hero-v7 {
  --k: clamp(22px, 2.15vw, 32px); /* halber Kern; Fuge = 0,70 k, innere Pane-Kante = 1,70 k */
  --m: clamp(8px, 0.9vw, 14px); /* Panes ↔ Rand */
  --pane-pad: 40px; /* Text ↔ rechte Kante der Text-Pane */
  --pane-bottom: 40px; /* letzte Textzeile ↔ Unterkante der Text-Pane */
  --pane-top: 18px; /* Oberkante der unteren Pane ↔ Vorschau-Kopf */
  --edge: 18px; /* Handy: Breite der rechten Pane */
  --tail: 150px; /* unten klingt das Zeichen weich aus */
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
  /* unten auf die Seitenfarbe auslaufen — keine Kante zum nächsten Abschnitt */
  background: linear-gradient(180deg, #05060a calc(100% - 440px), var(--bg, #07080b) calc(100% - 40px));
}

/* ── Logo ─────────────────────────────────────────────────────────────── */

.hx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  /* weich, nicht linear auslaufen (eine gerade Rampe zeichnet selbst eine Kante) */
  --fade: linear-gradient(180deg, #000 calc(100% - var(--tail) - 190px), rgba(0, 0, 0, 0.86) calc(100% - var(--tail) - 120px), rgba(0, 0, 0, 0.6) calc(100% - var(--tail) - 45px), rgba(0, 0, 0, 0.32) calc(100% - var(--tail) + 25px), rgba(0, 0, 0, 0.12) calc(100% - 60px), rgba(0, 0, 0, 0.03) calc(100% - 24px), transparent);
  -webkit-mask-image: var(--fade);
  mask-image: var(--fade);
}
.hx.is-ready {
  visibility: visible;
}
.hx > * {
  position: absolute;
  inset: 0;
}
.hx i {
  position: absolute;
  display: block;
}

/* Licht-Shader im Worker (hero-gl.js): blendet ein, sobald das erste Bild steht */
.hx-gl {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hx-gl.is-on {
  opacity: 1;
}

/* Ersatz ohne OffscreenCanvas — Licht und Nebel hinter dem Glas — sichtbar nur zwischen den Panes. Farbe je Richtung vom Kern aus
   (links Mint, oben Himmelblau, rechts Indigo, unten Violett), am Kern am hellsten. Nur innerhalb des Zeichens. */
.hx-light {
  -webkit-clip-path: inset(var(--m) round var(--rp));
  clip-path: inset(var(--m) round var(--rp));
  background: conic-gradient(from 0deg at var(--cx) var(--cy), #38b6ff, #4d6bff 90deg, #9b5cff 180deg, #45f0c9 270deg, #38b6ff);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, rgba(0, 0, 0, 0.82) 240px, rgba(0, 0, 0, 0.55) 560px, rgba(0, 0, 0, 0.42) 950px, rgba(0, 0, 0, 0.34) 1500px);
  mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, rgba(0, 0, 0, 0.82) 240px, rgba(0, 0, 0, 0.55) 560px, rgba(0, 0, 0, 0.42) 950px, rgba(0, 0, 0, 0.34) 1500px);
}
.hx-fog {
  left: -7%;
  top: -7%;
  width: 114%;
  height: 114%;
  /* hellere Schwaden über dem Grundlicht — gleicher Farbkreis, gegen das Grundlicht verdreht */
  background: conic-gradient(from 35deg at calc(var(--cx) + var(--W) * 0.07) calc(var(--cy) + var(--H) * 0.07), #a6fbe9, #8fd2ff 90deg, #a7a2ff 180deg, #c8a4ff 230deg, #9af7e0 300deg, #a6fbe9);
  -webkit-mask-image: url('/assets/img/fog.png');
  mask-image: url('/assets/img/fog.png');
  -webkit-mask-size: var(--fs, 760px);
  mask-size: var(--fs, 760px);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  will-change: transform, opacity;
  animation:
    hx-fog-a 36s ease-in-out infinite alternate,
    hx-fog-pulse 6.5s ease-in-out infinite alternate;
}
.hx-fog.is-b {
  --fs: 1180px;
  background: conic-gradient(from -50deg at calc(var(--cx) + var(--W) * 0.07) calc(var(--cy) + var(--H) * 0.07), #38b6ff, #4d6bff 90deg, #9b5cff 180deg, #45f0c9 270deg, #38b6ff);
  animation:
    hx-fog-b 52s ease-in-out infinite alternate,
    hx-fog-pulse 9s ease-in-out -4s infinite alternate;
}
@keyframes hx-fog-a {
  from {
    transform: translate(-5%, 2%);
  }
  to {
    transform: translate(5%, -2%);
  }
}
@keyframes hx-fog-b {
  from {
    transform: translate(5%, 3%);
  }
  to {
    transform: translate(-5%, -3%);
  }
}
@keyframes hx-fog-pulse {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* der Kern atmet Licht in die Fugen */
.hx-breath {
  left: calc(var(--cx) - 680px);
  top: calc(var(--cy) - 680px);
  width: 1360px;
  height: 1360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 250, 255, 0.95), rgba(150, 215, 255, 0.6) 12%, rgba(90, 140, 255, 0.22) 38%, rgba(110, 100, 255, 0.06) 62%, transparent);
  animation: hx-breath 5.5s ease-in-out infinite;
}
@keyframes hx-breath {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

/* Glas: dunkel und undurchsichtig, ein Hauch Licht vom Kern; Kante im Markenverlauf, leicht glühend */
.hx-pane {
  position: absolute;
  border-radius: var(--rp, 36px);
  background:
    radial-gradient(circle 640px at calc(var(--cx) + var(--bx)) calc(var(--cy) + var(--by)), rgba(140, 200, 255, 0.075), transparent 70%),
    linear-gradient(180deg, #0d0f18, #07080d);
}
.hx-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(to bottom right, #45f0c9, #38b6ff 40%, #4d6bff 75%, #9b5cff);
  background-size: var(--W) var(--H);
  background-position: var(--bx) var(--by);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}
.hx-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 36px -4px rgba(var(--c), 0.2),
    inset 0 0 0 1px rgba(var(--c), 0.2);
  animation: hx-edge 7s ease-in-out var(--gd, 0s) infinite alternate;
}
@keyframes hx-edge {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}


/* Liquid Glass an den Kanten in der Mitte (SVG aus hero.js); atmet mit dem Kern */
.hx-glass-in {
  position: absolute;
  inset: 0;
  animation: hx-glass 5.5s ease-in-out infinite;
}
.hx-glass-in svg {
  position: absolute;
  inset: 0;
}
/* unten: das Zeichen zerfließt in Unschärfe (rechnet die GPU; steht still, wenn der Hero nicht sichtbar ist) */
.hx > .hx-melt {
  inset: auto 0 0;
  height: calc(var(--tail) + 260px);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 34%, #000 68%);
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 34%, #000 68%);
}
@keyframes hx-glass {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

/* weißer Kern */
.hx-core {
  border-radius: var(--rc, 15px);
  background: linear-gradient(160deg, #fff 35%, #e3eeff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 18px rgba(255, 255, 255, 0.7),
    0 0 56px rgba(120, 210, 255, 0.6),
    0 0 130px rgba(90, 120, 255, 0.4);
}
.hx-core::after {
  content: '';
  position: absolute;
  inset: -90%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.5), rgba(120, 210, 255, 0.22) 42%, transparent);
  animation: hx-core-glow 5.5s ease-in-out infinite;
}
@keyframes hx-core-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
/* Schärfe ziehen beim Einflug (nur opacity wird animiert, die Unschärfe rechnet die GPU) */
.hx-focus {
  z-index: 1;
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
}

/* ── Einflug: Glas erscheint, Kern zündet, Nebel steigt in die Fugen, Schärfe zieht an ── */

.hx.is-in .hx-panes {
  animation: hx-fade 0.7s ease both;
}
.hx.is-in .hx-light {
  animation: hx-fade 1.6s ease 0.35s both;
}
.hx.is-in .hx-glass {
  animation: hx-fade 1.6s ease 0.55s both;
}
.hx.is-in .hx-core {
  animation: hx-core-in 0.95s cubic-bezier(0.2, 1.5, 0.4, 1) 0.25s both;
}
.hx.is-in .hx-focus {
  animation: hx-unfocus 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}
@keyframes hx-core-in {
  from {
    opacity: 0;
    transform: scale(0.25);
  }
}
@keyframes hx-fade {
  from {
    opacity: 0;
  }
}
@keyframes hx-unfocus {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* außerhalb des Sichtfelds steht alles still */
.hx.is-off *,
.hx.is-off *::before,
.hx.is-off *::after {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  .hx *,
  .hx *::before,
  .hx *::after {
    animation: none !important;
  }
}
@media (max-width: 759px) {
  .hx-fog {
    --fs: 460px;
  }
  .hx-fog.is-b {
    --fs: 720px;
  }
  .hx-breath {
    left: calc(var(--cx) - 260px);
    top: calc(var(--cy) - 260px);
    width: 520px;
    height: 520px;
  }
}

.hero-v7-inner {
  width: var(--app-w);
  margin: 0 auto;
  padding: clamp(36px, 8vh, 104px) 0 calc(var(--tail) + 50px); /* unten läuft das Raster weiter und klingt aus */
}

/* ── Text ─────────────────────────────────────────────────────────────── */

.hero-v7 .hero-copy {
  max-width: calc(var(--app-w) / 2 + var(--k) - var(--pane-pad));
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  margin-bottom: 24px;
  padding: 0 12px 0 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
}
.hero-pill:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hp-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #07080b;
  background: linear-gradient(100deg, #6ff3d6, #6cc6ff 55%, #9aa8ff);
  border-radius: 999px;
}
.hero-pill .i {
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.25s;
}
.hero-pill:hover .i {
  color: var(--text);
  transform: translateX(2px);
}
.hero-v7 .hero-h {
  margin: 0;
  /* Größe bleibt an die Logo-Pane gebunden; Gewicht, Laufweite und Farbe wie alle Überschriften */
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: var(--display-weight);
  font-optical-sizing: auto;
  letter-spacing: var(--display-track);
  line-height: 1.02;
  color: var(--display-ink);
}
.hero-l1,
.hero-l2 {
  display: block;
  /* Luft für Unterlängen (g, y) und den Verlauf — nichts wird abgeschnitten */
  padding: 0.02em 0.06em 0.08em;
  margin: -0.02em -0.06em -0.08em;
}
.hero-v7 .hero-l2 .hero-grad,
.orbit-h .hero-grad {
  position: relative;
}
.hero-v7 .hero-l2 .hero-grad::after,
.orbit-h .hero-grad::after {
  content: '';
  position: absolute;
  inset: 18% -4% -6%;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(92deg, rgba(126, 241, 216, 0.4), rgba(124, 200, 255, 0.36) 40%, rgba(150, 170, 255, 0.36));
  filter: blur(34px);
  opacity: 0.16;
  pointer-events: none;
}
.hero-grad {
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-v7 .hero-sub {
  max-width: none;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.62;
  color: #a3a5ae;
  text-wrap: balance;
}
.hero-v7 .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: rgba(214, 226, 238, 0.62);
}
/* der dritte Punkt steht immer allein in der zweiten Zeile — nie ein Punkt am Zeilenanfang */
.hero-v7 .hero-meta {
  row-gap: 6px;
}
.hero-v7 .hero-meta li:last-child {
  flex-basis: 100%;
}
.hero-v7 .hero-meta li:last-child::before {
  display: none;
}
.hero-v7 .hero-meta li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.hero-v7 .hero-meta li + li::before {
  content: '';
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}
.hero-v7 .hero-meta b {
  margin-left: 4px;
  font-weight: 600;
  color: var(--text);
}
.hero-v7 .hero-actions {
  gap: 12px;
  margin-top: 28px;
}

/* ── Vorschau in der unteren Pane ─────────────────────────────────────── */

.hero-v7 .pg-stage {
  margin-top: calc(var(--pane-bottom) + 3.3953 * var(--k) + var(--pane-top));
}
.hero-v7 .pg-bar {
  margin-bottom: 14px;
  padding: 0 2px;
}
/* Die echte App (assets/app, gebaut aus der App-Quelle) in einem Fenster fester Größe, auf die Breite skaliert */
.hero-v7 .pg-real {
  position: relative;
  aspect-ratio: 1440 / 880;
  overflow: hidden;
  border-radius: 12px;
  background: #09090b;
}
.hero-v7 .pg-real iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 880px;
  border: 0;
  transform-origin: 0 0;
  transform: scale(var(--app-s, 0.8));
  color-scheme: dark;
}
/* Standbild der App, bis die echte App nach dem Einflug geladen ist (lädt sie sofort bei Berührung) */
.hero-v7 .pg-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
}
.hero-v7 .pg-real.is-live .pg-poster {
  opacity: 0;
  pointer-events: none;
}
.hero-v7 .pg-stage:fullscreen .pg-real {
  flex: 1;
  aspect-ratio: auto;
  border-radius: 0;
}
.hero-v7 .pg-stage:fullscreen .pg-real iframe {
  width: 100%;
  height: 100%;
  transform: none;
}
.hero-v7 .pg-stage {
  position: relative;
}
.hero-v7 .pg-stage::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22%;
  bottom: -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 107, 255, 0.4), rgba(155, 92, 255, 0.16) 55%, transparent);
  filter: blur(40px);
  pointer-events: none;
}
.hero-v7 .pg-app {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 40px 120px -40px rgba(0, 0, 0, 0.95),
    0 30px 100px -50px rgba(77, 107, 255, 0.45);
}
.hero-v7 .pg-hints {
  margin-top: 20px;
}

/* ── Einblendung: sofort beim Laden, ohne Unschärfe und ohne Masken ─────── */

@keyframes hero-in {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.hero-in {
  animation: hero-in 0.85s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .hero-in {
    animation: none;
  }
}


/* ── Handy: Kern rechts, damit die obere Pane breit genug für den Text ist ── */

@media (max-width: 759px) {
  .has-hero7 {
    --app-w: calc(100vw - 44px);
  }
  .has-hero7 .header-inner {
    max-width: none;
    padding: 0 22px; /* bündig mit dem Text in der Pane */
  }
  .hero-v7 {
    --k: 15px;
    --m: 5px;
    --edge: 18px;
    --tail: 160px;
    --pane-pad: 14px;
    --pane-bottom: 28px;
    --pane-top: 14px;
  }
  .hero-v7 .hero-copy {
    max-width: calc(100vw - 22px - var(--edge) - 0.6977 * var(--k) - var(--pane-pad) - 12px);
  }
  .hero-v7-inner {
    padding-top: 40px;
    padding-bottom: calc(var(--tail) + 30px);
  }
  .hero-pill {
    margin-bottom: 22px;
  }
  .hero-v7 .hero-h {
    font-size: clamp(2.1rem, 9.6vw, 3rem);
    line-height: 1.04;
  }
  .hero-v7 .hero-sub {
    margin-top: 18px;
    font-size: 1rem;
  }
  .hero-v7 .hero-meta {
    row-gap: 6px;
    font-size: 13px;
  }
  .hero-v7 .hero-meta li:last-child {
    flex-basis: 100%;
  }
  .hero-v7 .hero-meta li:last-child::before {
    display: none;
  }
  .hero-v7 .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }
  .hero-v7 .hero-actions .btn {
    justify-content: center;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Nach dem Hero: alle unterstützten CLIs kreisen um das App-Icon.
   3D-Karussell nur aus CSS-Transforms (Compositor): die Bahn liegt geneigt im
   Raum und dreht sich, jede Karte dreht sich gegen und bleibt aufrecht; vorne
   groß und hell, hinten klein und blass. Der Abschnitt schiebt sich unter das
   ausklingende Raster des Heros.
   ════════════════════════════════════════════════════════════════════════ */

.hero-v7 + .orbit {
  border-top: 0;
}
.orbit {
  --R: min(430px, 38vw); /* Bahnradius */
  --tilt: 73deg;
  --spin: 70s;
  --lift: 64px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -200px;
  padding: 0 0 56px;
  text-align: center;
}
.orbit::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 64%;
  z-index: -1;
  width: 1200px;
  height: 760px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(77, 107, 255, 0.17), rgba(155, 92, 255, 0.06) 52%, transparent);
}
.orbit-head {
  position: relative;
  padding-top: 150px;
}
/* das Licht aus der unteren Fuge des Heros sammelt sich hinter der Überschrift */
.orbit-head::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  z-index: -1;
  width: min(1100px, 100%);
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(120, 104, 255, 0.16), rgba(77, 107, 255, 0.07) 50%, transparent);
  pointer-events: none;
}
.orbit-h {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: var(--display-weight);
  font-optical-sizing: auto;
  letter-spacing: var(--display-track);
  line-height: 1.04;
  color: var(--display-ink);
}
.orbit-sub {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #a3a5ae;
  text-wrap: balance;
}
.orbit-stage {
  position: relative;
  height: 480px;
  margin-top: 8px;
  perspective: 2100px;
  perspective-origin: 50% 38%;
}
.orbit-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
.orbit-scene i,
.orbit-plane,
.orbit-item,
.orbit-face,
.orbit-core {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}
.orbit-halo {
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 175, 255, 0.36), rgba(120, 100, 255, 0.13) 44%, transparent);
  animation: orbit-breathe 6s ease-in-out infinite;
}
@keyframes orbit-breathe {
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}
.orbit-plane {
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt));
  animation: orbit-spin var(--spin) linear infinite;
}
@keyframes orbit-spin {
  to {
    transform: rotateX(var(--tilt)) rotateZ(360deg);
  }
}
/* Bahn: dünner Ring, auf dem Licht schneller umläuft als die Karten */
.orbit-ring {
  width: calc(var(--R) * 2);
  height: calc(var(--R) * 2);
  margin: calc(var(--R) * -1) 0 0 calc(var(--R) * -1);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(150, 170, 255, 0.2), rgba(69, 240, 201, 0.95) 7%, rgba(150, 170, 255, 0.2) 20%, rgba(150, 170, 255, 0.2) 50%, rgba(155, 92, 255, 1) 57%, rgba(150, 170, 255, 0.2) 70%, rgba(150, 170, 255, 0.2));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px), #000 calc(100% - 0.5px), transparent);
  mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px), #000 calc(100% - 0.5px), transparent);
  animation: orbit-run 14s linear infinite;
}
.orbit-ring.is-inner {
  width: calc(var(--R) * 1.25);
  height: calc(var(--R) * 1.25);
  margin: calc(var(--R) * -0.625) 0 0 calc(var(--R) * -0.625);
  opacity: 0.55;
  animation-duration: 9s;
  animation-direction: reverse;
}
@keyframes orbit-run {
  to {
    transform: rotate(360deg);
  }
}
/* Wellen aus dem Kern über die Bahn */
.orbit-ripple {
  width: calc(var(--R) * 2.3);
  height: calc(var(--R) * 2.3);
  margin: calc(var(--R) * -1.15) 0 0 calc(var(--R) * -1.15);
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 90%, rgba(140, 195, 255, 0.55) 97%, transparent);
  opacity: 0;
  animation: orbit-ripple 7s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.orbit-ripple + .orbit-ripple {
  animation-delay: 3.5s;
}
@keyframes orbit-ripple {
  0% {
    opacity: 0;
    transform: scale(0.08);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.orbit-item {
  transform-style: preserve-3d;
  transform: rotateZ(calc(var(--i) * 360deg / var(--n))) translateX(var(--R));
}
/* gegen die Bahn drehen und aufrichten — die Karte schaut immer nach vorn */
.orbit-face {
  transform: rotateZ(calc(var(--i) * -360deg / var(--n))) rotateX(calc(var(--tilt) * -1)) translateZ(var(--lift, 90px)); /* vor die Bahn, sonst schneidet sie die Karte */
  animation:
    orbit-face var(--spin) linear infinite,
    orbit-depth var(--spin) linear infinite;
  animation-delay: 0s, calc(var(--i) * var(--spin) / var(--n) * -1);
}
@keyframes orbit-face {
  to {
    transform: rotateZ(calc(var(--i) * -360deg / var(--n) - 360deg)) rotateX(calc(var(--tilt) * -1)) translateZ(var(--lift, 90px));
  }
}
@keyframes orbit-depth {
  0%,
  100% {
    opacity: 0.72;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
  75% {
    opacity: 0.26;
  }
}
.orbit-chip {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 17px 0 7px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #eef1f7;
  background: linear-gradient(180deg, rgba(28, 31, 45, 0.94), rgba(13, 15, 23, 0.94));
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px -12px rgba(0, 0, 0, 0.9),
    0 0 26px -6px rgba(var(--cc), 0.4);
}
.orbit-chip b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgb(var(--cc));
  background: rgba(var(--cc), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--cc), 0.4);
}
/* App-Icon in der Mitte, schwebt leicht */
.orbit-core {
  width: 168px;
  height: 168px;
  margin: -84px 0 0 -84px;
  animation: orbit-float 7s ease-in-out infinite;
}
.orbit-core img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 26px rgba(90, 170, 255, 0.55)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7));
}
@keyframes orbit-float {
  50% {
    transform: translateY(-8px);
  }
}
.orbit-stage:hover .orbit-plane,
.orbit-stage:hover .orbit-face,
.orbit.is-off * {
  animation-play-state: paused;
}
.orbit .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .orbit * {
    animation: none !important;
  }
}
@media (max-width: 759px) {
  .orbit {
    --R: 41vw;
    --tilt: 70deg;
    margin-top: -120px;
  }
  .orbit-head {
    padding-top: 100px;
  }
  .orbit-stage {
    height: 330px;
    perspective: 900px;
  }
  .orbit-chip {
    gap: 7px;
    height: 32px;
    padding: 0 12px 0 5px;
    font-size: 12px;
  }
  .orbit-chip b {
    width: 22px;
    height: 22px;
    font-size: 9.5px;
  }
  .orbit-core {
    width: 112px;
    height: 112px;
    margin: -56px 0 0 -56px;
  }
  .orbit-halo {
    width: 360px;
    height: 360px;
    margin: -180px 0 0 -180px;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   3D-Szene (assets/js/agents3d.js + agents3d-gl.js): Logo als Glasobjekt über einem Boden aus Glas-Panes, die CLIs als
   Glasscheiben im Ring. Das CSS-Karussell oben bleibt als Ersatz ohne WebGL2 und blendet aus, sobald das erste Bild steht.
   ════════════════════════════════════════════════════════════════════════ */
.orbit-stage {
  height: 620px;
  margin-top: -6px;
}
.orbit-gl {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(100%, 1880px);
  height: 100%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.9s var(--ease, ease);
  touch-action: pan-y;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 88%, transparent);
  mask-composite: intersect;
}
.orbit-gl.is-drag {
  cursor: grabbing;
}
.orbit.is-gl .orbit-gl {
  opacity: 1;
}
.orbit-scene {
  transition: opacity 0.7s var(--ease, ease);
}
.orbit.is-gl .orbit-scene,
.orbit.is-gl-try .orbit-scene {
  opacity: 0;
}
.orbit.is-gl-done .orbit-scene {
  display: none;
}
.orbit-stage .orbit-scene {
  top: 46%;
}

/* Leiste: die CLI vorn — Startbefehl und Installationszeile */
.orbit-info {
  --cc: 232, 149, 106;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(920px, calc(100% - 32px));
  margin: -30px auto 0;
  padding: 7px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 27, 39, 0.66), rgba(11, 13, 20, 0.7));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(var(--cc), 0.06),
    0 24px 60px -26px rgba(0, 0, 0, 0.95),
    0 0 48px -18px rgba(var(--cc), 0.35);
  transition: box-shadow 0.6s var(--ease, ease);
  text-align: left;
}
.orbit-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: #c4c8d3;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.orbit-nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.orbit-nav .i {
  width: 18px;
  height: 18px;
}
.orbit-now {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 8px;
}
.orbit-now.is-swap {
  animation: orbit-swap 0.42s var(--ease, ease);
}
@keyframes orbit-swap {
  35% {
    opacity: 0;
    transform: translateY(5px);
  }
  36% {
    opacity: 0;
    transform: translateY(-5px);
  }
}
.orbit-now-id {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.orbit-now-id b {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.015em;
  color: #f2f4f8;
  white-space: nowrap;
}
.orbit-now-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #eef1f6;
  background: rgba(var(--cc), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--cc), 0.42);
}
.orbit-now-logo b {
  font-size: 11px;
}
.orbit-now-run,
.orbit-now-ins {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13.5px;
  color: #8b8f9b;
  white-space: nowrap;
}
.orbit-now-ins {
  margin-left: auto;
}
.orbit-now code {
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 9px;
  border-radius: 8px;
  font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
  font-size: 12.5px;
  color: #e7eaf1;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.orbit-now-run code {
  color: rgb(var(--cc));
}
.orbit-copy {
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: #a7abb6;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.orbit-copy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.orbit-copy .i {
  width: 15px;
  height: 15px;
  transition: opacity 0.2s, transform 0.25s var(--ease, ease);
}
.orbit-copy .i + .i {
  position: absolute;
  opacity: 0;
  transform: scale(0.6);
  color: #3ddc97;
}
.orbit-copy.is-done .i:first-child {
  opacity: 0;
  transform: scale(0.6);
}
.orbit-copy.is-done .i + .i {
  opacity: 1;
  transform: none;
}
.orbit-hint {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: #5f636e;
}
.orbit:not(.is-gl) .orbit-hint {
  visibility: hidden;
}
.orbit-hint .is-touch,
.orbit-hint .is-mouse {
  display: none;
}
@media (hover: hover) {
  .orbit-hint .is-mouse {
    display: inline;
  }
}
@media (hover: none) {
  .orbit-hint .is-touch {
    display: inline;
  }
}
@media (max-width: 899px) {
  .orbit-now {
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 4px 6px;
  }
  .orbit-now-ins {
    margin-left: 0;
    flex-basis: 100%;
  }
}
@media (max-width: 759px) {
  .orbit-stage {
    height: 470px;
  }
  .orbit-info {
    margin-top: -18px;
    border-radius: 16px;
  }
  .orbit-now-run {
    display: none;
  }
  .orbit-now code {
    font-size: 11.5px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .orbit-now-ins {
    align-items: flex-start;
  }
  .orbit-now-label {
    padding-top: 5px;
  }
  .orbit-hint {
    padding: 0 16px;
  }
}
