/* ==========================================================================
   Chillout Official Bot — "Orbit" Theme
   Dunkle Bühne, Aurora-Licht, editoriales Serif-Design, 3D-Modulring.
   Keine externen Abhängigkeiten, keine externen Schriften oder Bilder.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & Variablen
   -------------------------------------------------------------------------- */

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

:root {
  --ink: #07080c;
  --ink-2: #0b0d15;
  --ink-3: #111421;
  --paper: #f2eee4;
  --paper-dim: #cfc9bb;
  --muted: #8e93a6;
  --line: rgba(242, 238, 228, 0.12);
  --line-strong: rgba(242, 238, 228, 0.24);
  --mint: #b8ff66;
  --violet: #8f7dff;
  --coral: #ff6b57;
  --glass: rgba(15, 18, 30, 0.62);
  --glass-strong: rgba(20, 24, 40, 0.86);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Cascadia Code", Consolas, "SFMono-Regular", monospace;
  --scroll: 0;
  --progress: 0;
  --hero-scroll: 0;
  --mx: 0;
  --my: 0;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: rgba(242, 238, 228, 0.18);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

code {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   2. Grundlayout
   -------------------------------------------------------------------------- */

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.container.narrow {
  width: min(820px, calc(100% - 48px));
}

main,
.footer {
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
}

.display {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.display em,
.hero-title em {
  font-style: italic;
  color: var(--mint);
}

.section-lead {
  max-width: 38rem;
  margin-top: 1.4rem;
  color: var(--paper-dim);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.75;
}

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

.small {
  font-size: 0.76rem;
}

/* --------------------------------------------------------------------------
   3. Bühne / Hintergrund
   -------------------------------------------------------------------------- */

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(143, 125, 255, 0.08), transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(184, 255, 102, 0.06), transparent 38%),
    var(--ink);
}

/* Galaxie-Video als tiefste Ebene der Bühne. Es läuft dauerhaft im Loop und
   reagiert zusätzlich auf den Scroll-Fortschritt: Es wandert nach oben und
   zoomt langsam heran, sodass man beim Scrollen durch den Weltraum „fliegt“. */
.stage-video {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.2) contrast(1.06) brightness(0.64);
  transform:
    translate3d(
      calc(var(--mx, 0) * -16px),
      calc((var(--progress, 0) - 0.5) * -140px),
      0
    )
    scale(calc(1.04 + var(--progress, 0) * 0.12));
  will-change: transform;
  pointer-events: none;
  transition: opacity 1.4s ease;
}

/* Erst einblenden, wenn wirklich Bilddaten da sind – kein schwarzer Sprung. */
.stage-video.is-ready {
  opacity: 0.52;
}

/* Dunkler Verlauf + Vignette über dem Video: hält Texte lesbar und lässt die
   Aurora-/Grid-Ebenen darüber weiterhin leuchten. */
.stage-video-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% calc(28% + var(--progress, 0) * 42%),
      rgba(7, 8, 12, 0.16),
      rgba(7, 8, 12, 0.78) 58%,
      rgba(7, 8, 12, 0.94) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 12, 0.58),
      rgba(7, 8, 12, 0.44) 42%,
      rgba(7, 8, 12, 0.9)
    );
}

@media (prefers-reduced-motion: reduce) {
  .stage-video {
    display: none;
  }
}

.stage-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
  transition: transform 0.6s ease-out;
}

.aurora-1 {
  top: -24vw;
  right: -14vw;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(143, 125, 255, 0.42), transparent 66%);
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -18px), 0);
}

.aurora-2 {
  bottom: -30vw;
  left: -18vw;
  width: 64vw;
  height: 64vw;
  background: radial-gradient(circle, rgba(184, 255, 102, 0.2), transparent 66%);
  transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 14px), 0);
}

.aurora-3 {
  top: 34%;
  left: 38%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 107, 87, 0.16), transparent 68%);
  transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * -10px), 0);
}

.stage-sun {
  position: absolute;
  top: 6%;
  left: 50%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, rgba(184, 255, 102, 0.2), rgba(143, 125, 255, 0.14) 42%, transparent 70%);
  filter: blur(30px);
  transform: translateX(-50%) translateY(calc(var(--scroll) * -0.06px));
  opacity: 0.8;
}

.stage-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -12%;
  height: 62vh;
  background-image:
    linear-gradient(rgba(184, 255, 102, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 102, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(620px) rotateX(62deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 78%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 78%);
  opacity: 0.38;
}

.stage-stars {
  position: absolute;
  inset: 0;
}

.stage-stars span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--paper);
  opacity: var(--o);
  animation: twinkle var(--d) ease-in-out infinite;
  animation-delay: var(--delay);
}

.stage-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.16;
  mix-blend-mode: overlay;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: var(--o);
    transform: scale(1);
  }
  50% {
    opacity: 0.05;
    transform: scale(0.6);
  }
}

/* --------------------------------------------------------------------------
   4. Cursor, Scroll-Fortschritt, Navigation
   -------------------------------------------------------------------------- */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 102, 0.1), transparent 66%);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 2px;
  background: rgba(242, 238, 228, 0.06);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--violet), var(--coral));
  transform: scaleX(var(--progress));
  transform-origin: left center;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 1.2rem 0;
  border-bottom: 1px solid transparent;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.is-scrolled {
  padding: 0.7rem 0;
  border-bottom-color: var(--line);
  background: rgba(7, 8, 12, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* Das geöffnete Menü liegt als Vollbild-Ebene unter der Navigation.
   backdrop-filter würde daraus einen eigenen Bezugsrahmen machen, deshalb
   wird er im geöffneten Zustand sofort entfernt. */
body.nav-open .nav {
  border-bottom-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-orbit {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.brand-orbit::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(184, 255, 102, 0.55);
  border-radius: 50%;
}

.brand-orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
  transform: translate(-50%, -50%);
}

.brand-slash {
  margin: 0 0.18rem;
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}

.nav-links a {
  position: relative;
  color: var(--paper-dim);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--paper);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.nav-cta span {
  color: var(--mint);
}

.nav-cta:hover {
  border-color: rgba(184, 255, 102, 0.55);
  background: rgba(184, 255, 102, 0.06);
  color: var(--mint);
}

.nav-links a.nav-login {
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(184, 255, 102, 0.35);
  border-radius: 999px;
  color: var(--mint);
  font-weight: 600;
}

.nav-links a.nav-login::after {
  display: none;
}

.nav-links a.nav-login:hover {
  background: rgba(184, 255, 102, 0.1);
  color: var(--mint);
}

.footer-link {
  color: var(--paper-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  color: var(--mint);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--paper);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Abschnitts-Anzeige
   -------------------------------------------------------------------------- */

.section-index {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.section-index span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--paper);
}

.section-index-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--mint), transparent);
}

.section-index span:last-child {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--mint);
  color: #0a0c10;
  box-shadow: 0 0 0 1px rgba(184, 255, 102, 0.28), 0 14px 44px rgba(184, 255, 102, 0.16);
}

.btn-solid:hover {
  background: #c9ff8c;
  box-shadow: 0 0 0 1px rgba(184, 255, 102, 0.4), 0 18px 54px rgba(184, 255, 102, 0.22);
}

.btn-line {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
}

.btn-line:hover {
  border-color: rgba(184, 255, 102, 0.55);
  color: var(--mint);
}

.btn-large {
  padding: 1.05rem 1.7rem;
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 8rem 0 4.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 18%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 125, 255, 0.18), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 1.3rem 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.hero-title .line {
  display: block;
}

.hero-lead {
  max-width: 35rem;
  color: var(--paper-dim);
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.1;
}

.hero-meta span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero-Visual / Core */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  perspective: 1200px;
}

.hero-floor {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 74%;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184, 255, 102, 0.18), transparent 68%);
  filter: blur(16px);
  transform: translateX(-50%);
}

.core {
  position: relative;
  width: min(31vw, 400px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--my) * -7deg))
    rotateY(calc(var(--mx) * 9deg))
    translateY(calc(var(--hero-scroll) * -46px))
    scale(calc(1 - var(--hero-scroll) * 0.07));
  transition: transform 0.25s ease-out;
}

.core-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 255, 102, 0.22);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.ring-a {
  animation: ring-a-spin 22s linear infinite;
}

.ring-b {
  inset: 8%;
  border-color: rgba(143, 125, 255, 0.3);
  animation: ring-b-spin 28s linear infinite;
}

.ring-c {
  inset: 17%;
  border-color: rgba(255, 107, 87, 0.3);
  animation: ring-c-spin 34s linear infinite;
}

.core-glow {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 102, 0.28), transparent 70%);
  filter: blur(26px);
}

@keyframes ring-a-spin {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to { transform: rotateX(72deg) rotateZ(360deg); }
}

@keyframes ring-b-spin {
  from { transform: rotateY(70deg) rotateZ(20deg); }
  to { transform: rotateY(70deg) rotateZ(380deg); }
}

@keyframes ring-c-spin {
  from { transform: rotateX(50deg) rotateY(30deg) rotateZ(0deg); }
  to { transform: rotateX(50deg) rotateY(30deg) rotateZ(360deg); }
}

.core-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) translateZ(56px);
}

.core-panel-head {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.core-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.core-panel-head em {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.core-message {
  display: flex;
  gap: 0.65rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(242, 238, 228, 0.06);
}

.core-message.second {
  border-bottom: 0;
}

.core-avatar {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(184, 255, 102, 0.08);
  font-size: 0.85rem;
}

.core-message-body {
  min-width: 0;
  font-size: 0.68rem;
  line-height: 1.45;
}

.core-message-body strong {
  display: block;
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 600;
}

.core-message-body p {
  margin: 0.2rem 0 0.5rem;
  color: var(--paper-dim);
  font-size: 0.62rem;
}

.core-message-body b {
  color: var(--paper);
  font-weight: 600;
}

.core-message-body em {
  color: var(--mint);
  font-style: normal;
}

.tag {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
  background: rgba(143, 125, 255, 0.18);
  color: #c9c0ff;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.core-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.core-btn {
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper-dim);
  font-size: 0.52rem;
  white-space: nowrap;
}

.core-btn.primary {
  border-color: rgba(184, 255, 102, 0.3);
  background: rgba(184, 255, 102, 0.1);
  color: var(--mint);
}

.core-btn.accent {
  border-color: rgba(143, 125, 255, 0.35);
  background: rgba(143, 125, 255, 0.12);
  color: #c9c0ff;
}

.orbit-chip {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.72);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: float-chip 7s ease-in-out infinite;
}

.chip-a {
  top: 8%;
  left: 0;
}

.chip-b {
  top: 20%;
  right: -2%;
  animation-delay: -1.8s;
}

.chip-c {
  bottom: 24%;
  left: 2%;
  animation-delay: -3.4s;
}

.chip-d {
  right: 4%;
  bottom: 12%;
  animation-delay: -5s;
}

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

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--mint), transparent);
  animation: scroll-cue 2.2s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: scaleY(0.45);
    transform-origin: top center;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top center;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   8. Modulring
   -------------------------------------------------------------------------- */

.module-scene {
  --ring-radius: clamp(280px, min(32vw, 40vh), 440px);
  --card-w: clamp(220px, min(24vw, 30vh), 300px);
  --card-h: calc(var(--card-w) * 1.2);
  position: relative;
  height: 320vh;
}

.module-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 5.5rem 0 1.5rem;
  overflow: hidden;
}

.module-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 48%, rgba(7, 8, 12, 0.12), rgba(7, 8, 12, 0.72) 72%);
  pointer-events: none;
}

.module-head {
  position: relative;
  z-index: 2;
  text-align: center;
}

.module-head .eyebrow {
  justify-content: center;
}

.module-head .display {
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
}

.module-head .section-lead {
  max-width: 34rem;
  margin-inline: auto;
  font-size: 0.92rem;
}

.ring-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  perspective: 1400px;
  perspective-origin: 50% 46%;
}

.ring {
  position: relative;
  width: 0;
  height: 0;
  transform: rotateY(var(--ring-rot, 0deg));
  transform-style: preserve-3d;
}

.module-card {
  position: absolute;
  top: calc(var(--card-h) / -2);
  left: calc(var(--card-w) / -2);
  display: flex;
  flex-direction: column;
  width: var(--card-w);
  height: var(--card-h);
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--glass);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(var(--ring-radius));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.module-card:nth-child(1) { --i: 0; }
.module-card:nth-child(2) { --i: 1; }
.module-card:nth-child(3) { --i: 2; }
.module-card:nth-child(4) { --i: 3; }
.module-card:nth-child(5) { --i: 4; }
.module-card:nth-child(6) { --i: 5; }
.module-card:nth-child(7) { --i: 6; }
.module-card:nth-child(8) { --i: 7; }

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 80% 0%, rgba(184, 255, 102, 0.1), transparent 42%);
  pointer-events: none;
}

.module-card.is-active {
  border-color: rgba(184, 255, 102, 0.45);
  box-shadow: 0 0 0 1px rgba(184, 255, 102, 0.18), 0 30px 90px rgba(0, 0, 0, 0.55);
}

.module-num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
}

.module-icon {
  margin-top: 0.7rem;
  font-size: 1.55rem;
  line-height: 1;
}

.module-card h3 {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.module-card p {
  margin-top: 0.55rem;
  color: var(--paper-dim);
  font-size: 0.76rem;
  line-height: 1.5;
}

.module-card ul {
  display: grid;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(242, 238, 228, 0.08);
}

.module-card li {
  position: relative;
  padding-left: 0.8rem;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.module-card li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.module-card code {
  color: var(--mint);
  font-size: 0.62rem;
}

.module-hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding-bottom: 0.5rem;
}

.module-dots {
  display: flex;
  gap: 0.4rem;
}

.module-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.module-dots button.is-active {
  background: var(--mint);
  transform: scale(1.45);
}

.module-caption {
  min-width: 11rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Ablauf
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  perspective: 1100px;
}

.step {
  position: relative;
  padding: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    rgba(10, 12, 20, 0.4);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.step:hover {
  border-color: rgba(184, 255, 102, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.step::after {
  content: "";
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
}

.step-num {
  display: block;
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  opacity: 0.85;
}

.step h3 {
  margin: 0.6rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.step p {
  color: var(--paper-dim);
  font-size: 0.86rem;
  line-height: 1.65;
}

.step code,
.faq code,
.access-note code {
  padding: 0.16rem 0.36rem;
  border: 1px solid rgba(184, 255, 102, 0.14);
  border-radius: 5px;
  background: rgba(184, 255, 102, 0.07);
  color: var(--paper);
  font-size: 0.76rem;
  white-space: nowrap;
}

.step p a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step p a:hover {
  color: var(--paper);
}

.access-note {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(184, 255, 102, 0.18);
  border-left: 2px solid var(--mint);
  border-radius: var(--radius-sm);
  background: rgba(184, 255, 102, 0.04);
  color: var(--paper-dim);
  font-size: 0.84rem;
  line-height: 1.7;
}

.access-note p {
  margin: 0;
}

.access-note strong {
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   10. Befehle / Terminal
   -------------------------------------------------------------------------- */

.terminal {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 12, 20, 0.72);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.terminal-dots i:first-child { background: rgba(255, 107, 87, 0.7); }
.terminal-dots i:nth-child(2) { background: rgba(184, 255, 102, 0.6); }
.terminal-dots i:nth-child(3) { background: rgba(143, 125, 255, 0.7); }

.terminal-title {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.terminal-count {
  margin-left: auto;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
}

.commands-table {
  width: 100%;
  border-collapse: collapse;
}

.commands-table th {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.commands-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(242, 238, 228, 0.06);
  color: var(--paper-dim);
  font-size: 0.82rem;
  line-height: 1.5;
  vertical-align: middle;
}

.commands-table tr:last-child td {
  border-bottom: 0;
}

.commands-table tbody tr {
  transition: background 0.25s ease;
}

.commands-table tbody tr:hover {
  background: rgba(184, 255, 102, 0.035);
}

.commands-table code {
  display: inline-block;
  padding: 0.18rem 0.42rem;
  border: 1px solid rgba(184, 255, 102, 0.14);
  border-radius: 6px;
  background: rgba(184, 255, 102, 0.07);
  color: var(--paper);
  font-size: 0.74rem;
  white-space: nowrap;
}

.pill {
  display: inline-block;
  padding: 0.22rem 0.48rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill.admin {
  border-color: rgba(184, 255, 102, 0.35);
  background: rgba(184, 255, 102, 0.07);
  color: var(--mint);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-list details[open] {
  border-color: rgba(184, 255, 102, 0.3);
  background: rgba(184, 255, 102, 0.03);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  color: var(--paper);
  font-size: 0.94rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--paper-dim);
  font-size: 0.86rem;
  line-height: 1.7;
}

.faq-list details[open] p {
  animation: faq-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faq-in {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* --------------------------------------------------------------------------
   12. CTA / Footer
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}

.cta-portal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  pointer-events: none;
}

.portal-ring {
  position: absolute;
  width: min(72vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 255, 102, 0.16);
  border-radius: 50%;
  transform: rotateX(66deg);
  animation: portal-spin 16s linear infinite;
}

.portal-ring:nth-child(2) {
  width: min(52vw, 460px);
  border-color: rgba(143, 125, 255, 0.24);
  animation-direction: reverse;
  animation-duration: 22s;
}

.portal-ring:nth-child(3) {
  width: min(34vw, 300px);
  border-color: rgba(255, 107, 87, 0.28);
  animation-duration: 28s;
}

.portal-glow {
  position: absolute;
  width: min(46vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 102, 0.16), rgba(143, 125, 255, 0.1) 45%, transparent 70%);
  filter: blur(34px);
}

@keyframes portal-spin {
  from { transform: rotateX(66deg) rotateZ(0deg); }
  to { transform: rotateX(66deg) rotateZ(360deg); }
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.cta-inner .eyebrow {
  justify-content: center;
}

.cta-inner .display {
  font-size: clamp(3rem, 8vw, 7rem);
}

.cta-lead {
  max-width: 32rem;
  margin: 1.4rem auto 2rem;
  color: var(--paper-dim);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.8rem;
}

.footer .muted {
  font-size: 0.76rem;
}

/* --------------------------------------------------------------------------
   13. Reveals & Tilt
   -------------------------------------------------------------------------- */

html.js .reveal,
html.js .reveal-card {
  opacity: 0;
  translate: 0 34px;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal.is-visible,
html.js .reveal-card.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* Karten kommen mit einer kleinen Tiefenwirkung. Die Bewegung läuft über
   translate/scale, damit der Maus-Tilt mit seiner transform-Regel frei bleibt. */
html.js .reveal-card {
  translate: 0 46px;
  scale: 0.975;
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.3s ease;
}

html.js .reveal-card.is-visible {
  translate: 0 0;
  scale: 1;
}

/* Überschriften schieben sich aus einer Maske nach oben. */
html.js .section-head.reveal .display,
html.js .module-head.reveal .display,
html.js .cta-inner.reveal .display {
  clip-path: inset(0 0 105% 0);
  translate: 0 0.18em;
  transition:
    clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    translate 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 70ms);
}

html.js .section-head.reveal.is-visible .display,
html.js .module-head.reveal.is-visible .display,
html.js .cta-inner.reveal.is-visible .display {
  clip-path: inset(-18% 0 -18% 0);
  translate: 0 0;
}

/* Kleine Staffelung innerhalb der Abschnittsköpfe. */
html.js .section-head.reveal .eyebrow,
html.js .module-head.reveal .eyebrow,
html.js .cta-inner.reveal .eyebrow {
  opacity: 0;
  translate: 0 10px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .section-head.reveal.is-visible .eyebrow,
html.js .module-head.reveal.is-visible .eyebrow,
html.js .cta-inner.reveal.is-visible .eyebrow {
  opacity: 1;
  translate: 0 0;
}

html.js .section-head.reveal .section-lead,
html.js .module-head.reveal .section-lead,
html.js .cta-inner.reveal .cta-lead {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity 0.7s ease,
    translate 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 170ms;
}

html.js .section-head.reveal.is-visible .section-lead,
html.js .module-head.reveal.is-visible .section-lead,
html.js .cta-inner.reveal.is-visible .cta-lead {
  opacity: 1;
  translate: 0 0;
}

/* Hero: die drei großen Zeilen blenden nacheinander aus der Maske. */
html.js .hero-title .line {
  opacity: 0;
  translate: 0 0.35em;
  clip-path: inset(0 0 105% 0);
  transition:
    opacity 0.7s ease,
    translate 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .hero-copy.is-visible .hero-title .line {
  opacity: 1;
  translate: 0 0;
  clip-path: inset(-18% 0 -18% 0);
}

html.js .hero-title .line:nth-child(1) { transition-delay: 80ms; }
html.js .hero-title .line:nth-child(2) { transition-delay: 170ms; }
html.js .hero-title .line:nth-child(3) { transition-delay: 260ms; }

.hero-copy.reveal {
  --reveal-delay: 60ms;
}

.hero-visual.reveal {
  --reveal-delay: 220ms;
}

.module-hud.reveal {
  --reveal-delay: 140ms;
}

.steps .step:nth-child(2) {
  --reveal-delay: 90ms;
}

.steps .step:nth-child(3) {
  --reveal-delay: 180ms;
}

.faq-list details:nth-child(2) { --reveal-delay: 50ms; }
.faq-list details:nth-child(3) { --reveal-delay: 100ms; }
.faq-list details:nth-child(4) { --reveal-delay: 150ms; }
.faq-list details:nth-child(5) { --reveal-delay: 200ms; }
.faq-list details:nth-child(6) { --reveal-delay: 250ms; }
.faq-list details:nth-child(7) { --reveal-delay: 300ms; }
.faq-list details:nth-child(8) { --reveal-delay: 350ms; }

.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
}

.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, 0.12), transparent 46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tilt:hover::after {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .section-index {
    display: none;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .core {
    width: min(38vw, 360px);
  }
}

@media (max-width: 900px) {
  .container,
  .container.narrow {
    width: min(100% - 36px, 720px);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 95;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(7, 8, 12, 0.96);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: -0.02em;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 96;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 12vw, 5.4rem);
  }

  .hero-lead {
    max-width: 40rem;
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .hero-visual {
    min-height: 420px;
    order: 2;
  }

  .core {
    width: min(64vw, 340px);
  }

  .orbit-chip {
    font-size: 0.52rem;
  }

  .chip-a { top: 3%; left: 2%; }
  .chip-b { top: 12%; right: 0; }
  .chip-c { bottom: 16%; left: 0; }
  .chip-d { right: 2%; bottom: 6%; }

  .scroll-cue {
    display: none;
  }

  .module-scene {
    height: auto;
  }

  .module-sticky {
    position: relative;
    height: auto;
    padding: 5rem 0;
    overflow: visible;
  }

  .module-sticky::before {
    display: none;
  }

  .module-head {
    text-align: left;
  }

  .module-head .eyebrow {
    justify-content: flex-start;
  }

  .module-head .section-lead {
    margin-inline: 0;
  }

  .ring-stage {
    display: block;
    margin-top: 2rem;
    perspective: none;
  }

  .ring {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    height: auto;
    gap: 0.9rem;
    transform: none !important;
  }

  .module-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 260px;
    transform: none !important;
    backface-visibility: visible;
  }

  .module-card ul {
    margin-top: 1rem;
  }

  /* Im statischen Grid blenden die Karten beim Scrollen sanft ein. */
  html.js .module-card {
    opacity: 0;
    translate: 0 26px;
    transition:
      opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
      translate 0.75s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.4s ease,
      box-shadow 0.4s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.js .module-card.is-visible {
    opacity: 1;
    translate: 0 0;
  }

  .module-card:nth-child(2) { --reveal-delay: 50ms; }
  .module-card:nth-child(3) { --reveal-delay: 100ms; }
  .module-card:nth-child(4) { --reveal-delay: 150ms; }
  .module-card:nth-child(5) { --reveal-delay: 200ms; }
  .module-card:nth-child(6) { --reveal-delay: 250ms; }
  .module-card:nth-child(7) { --reveal-delay: 300ms; }
  .module-card:nth-child(8) { --reveal-delay: 350ms; }

  .module-hud {
    display: none;
  }

  .ring-hint {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 1.5rem;
  }

  .cta {
    min-height: 78vh;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .container.narrow {
    width: calc(100% - 28px);
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-meta {
    gap: 1rem;
  }

  .hero-meta strong {
    font-size: 1.3rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .core {
    width: min(76vw, 300px);
  }

  .orbit-chip {
    display: none;
  }

  .module-head .display {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .ring {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
    padding: 1.4rem;
  }

  .commands-table,
  .commands-table thead,
  .commands-table tbody,
  .commands-table tr,
  .commands-table td {
    display: block;
  }

  .commands-table thead {
    display: none;
  }

  .commands-table tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .commands-table tr:last-child {
    border-bottom: 0;
  }

  .commands-table td {
    padding: 0.3rem 1.1rem;
    border: 0;
  }

  .commands-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .commands-table code {
    white-space: normal;
  }

  .terminal-count {
    display: none;
  }

  .cta-inner .display {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .module-scene {
    --ring-radius: 330px;
    --card-w: 230px;
  }

  .module-head .display {
    font-size: clamp(2rem, 4.4vw, 3.8rem);
  }

  .module-head .section-lead {
    display: none;
  }

  .module-sticky {
    padding-top: 4.5rem;
  }
}

/* --------------------------------------------------------------------------
   15. Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-glow {
    display: none;
  }

  html.js .reveal,
  html.js .reveal-card,
  html.js .module-card,
  html.js .hero-title .line,
  html.js .section-head.reveal .display,
  html.js .module-head.reveal .display,
  html.js .cta-inner.reveal .display,
  html.js .section-head.reveal .eyebrow,
  html.js .module-head.reveal .eyebrow,
  html.js .cta-inner.reveal .eyebrow,
  html.js .section-head.reveal .section-lead,
  html.js .module-head.reveal .section-lead,
  html.js .cta-inner.reveal .cta-lead {
    opacity: 1;
    translate: none;
    scale: none;
    clip-path: none;
    transition: none;
  }

  .module-scene {
    height: auto;
  }

  .module-sticky {
    position: relative;
    height: auto;
    padding: 5rem 0;
    overflow: visible;
  }

  .module-sticky::before {
    display: none;
  }

  .ring-stage {
    display: block;
    margin-top: 2rem;
    perspective: none;
  }

  .ring {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    height: auto;
    gap: 0.9rem;
    transform: none !important;
  }

  .module-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 260px;
    transform: none !important;
    backface-visibility: visible;
  }

  .module-hud {
    display: none;
  }

  .ring-hint {
    display: none;
  }

  .tilt {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 620px) {
  .ring {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }
}

/* Ohne Bewegung ist der Ring ein normales Raster. Auf breiten Desktops
   passt es mit vier Spalten besser als mit zwei sehr breiten Karten. */
@media (prefers-reduced-motion: reduce) and (min-width: 1101px) {
  .ring {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1180px;
    margin-inline: auto;
  }

  .module-card {
    min-height: 300px;
  }
}
