/* TrioUpgra.de – Website im Stil der App: Neon-Cyan, Magenta-Rot, tiefes Schwarz. */
:root {
  --bg: #04060a;
  --bg-2: #080b11;
  --panel: rgba(11, 15, 22, 0.72);
  --panel-strong: rgba(9, 12, 18, 0.92);
  --line: rgba(120, 150, 190, 0.14);
  --text: #e8eef6;
  --muted: #8a94a6;
  --cyan: #00e0ff;
  --cyan-soft: rgba(0, 224, 255, 0.16);
  --red: #ff2e63;
  --wine: #e0507c;
  --red-soft: rgba(255, 46, 99, 0.16);
  --radius: 18px;
  --max: 1200px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Consolas", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Kulisse: Neon-Halle, Raster, Partikel ---------- */
.stage { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.stage__bg {
  position: absolute; inset: -6%;
  background: url("../img/bg-neon.webp") center 30% / cover no-repeat;
  opacity: .55;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.04);
  transition: transform 1.2s var(--ease);
  animation: breathe 18s ease-in-out infinite alternate;
}
.stage__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, transparent 0%, rgba(4,6,10,.55) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(4,6,10,.2) 0%, rgba(4,6,10,.85) 70%, var(--bg) 100%);
}
.stage__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,224,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,224,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 0%, transparent 75%);
  animation: grid-drift 30s linear infinite;
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes breathe { from { filter: saturate(1) brightness(.95); } to { filter: saturate(1.25) brightness(1.08); } }
@keyframes grid-drift { to { background-position: 64px 64px, 64px 64px; } }

/* ---------- Layout-Bausteine ---------- */
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
section { position: relative; padding: 120px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .38em; text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--red), var(--cyan)); border-radius: 2px; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; margin: 16px 0 18px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; margin: 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .lead { margin-inline: auto; }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, var(--cyan) 38%, var(--wine) 72%, var(--red) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --glow: var(--cyan);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--red) 0%, #b0164a 45%, #6b0d33 100%);
  box-shadow: 0 0 0 1px rgba(255,46,99,.5), 0 10px 40px -10px rgba(255,46,99,.7);
  overflow: hidden;
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s ease-in-out infinite;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,46,99,.8), 0 16px 50px -8px rgba(255,46,99,.85); }
.btn--ghost { color: var(--text); background: rgba(255,255,255,.03); border-color: var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(0,224,255,.55); box-shadow: 0 0 28px -6px rgba(0,224,255,.55); transform: translateY(-2px); }
.btn--lg { padding: 19px 34px; font-size: 16px; border-radius: 14px; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(4,6,10,.78); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav__logo img { height: 58px; width: auto; filter: drop-shadow(0 0 14px rgba(255,46,99,.35)); transition: filter .3s; }
.nav__logo:hover img { filter: drop-shadow(0 0 20px rgba(0,224,255,.55)); }
.nav__links { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { padding: 11px 18px; font-size: 13px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--text); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 22px; }
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Typewriter-Statuszeile wie in der App */
.terminal {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.35);
  font-family: var(--mono); font-size: 13px; color: var(--cyan);
}
.terminal .caret { width: 8px; height: 16px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Reaktor (Abbild der App-Engine) ---------- */
.reactor { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin-inline: auto; }
.reactor::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,255,.22) 0%, rgba(224,80,124,.12) 45%, transparent 70%);
  filter: blur(10px); animation: pulse 3.2s ease-in-out infinite;
}
.reactor > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.reactor .spin { transform-origin: 260px 260px; animation: spin 18s linear infinite; }
.reactor .spin--rev { animation-duration: 26s; animation-direction: reverse; }
.reactor .spin--fast { animation-duration: 2.6s; }
.reactor .sweep { transform-origin: 260px 260px; animation: spin 2.4s linear infinite; mix-blend-mode: screen; }
.reactor .core-glow { animation: pulse 2.4s ease-in-out infinite; transform-origin: 260px 260px; }
.reactor__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.reactor__status { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--cyan); display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
.reactor__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: blink 1.4s steps(1) infinite; }
.reactor__title { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; letter-spacing: .02em; margin-top: 8px; }
.reactor__sub { font-size: 13px; color: var(--muted); }
.reactor__chip { width: 74px; height: 74px; margin: 0 auto 12px; filter: drop-shadow(0 0 16px rgba(0,224,255,.8)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }

/* Schwebende Info-Chips um den Reaktor */
.float-chip {
  position: absolute; z-index: 2; padding: 10px 14px; border-radius: 12px;
  background: var(--panel-strong); border: 1px solid var(--line); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.9);
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { color: var(--cyan); font-family: var(--mono); }
.float-chip--a { top: 8%; left: -4%; }
.float-chip--b { bottom: 14%; right: -6%; animation-delay: -2s; }
.float-chip--c { bottom: 2%; left: 6%; animation-delay: -4s; }
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.float-chip .dot--ok { background: #2dffb3; box-shadow: 0 0 10px #2dffb3; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Laufband ---------- */
.marquee { padding: 26px 0; border-block: 1px solid var(--line); background: rgba(4,6,10,.6); overflow: hidden; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.marquee__item svg { width: 18px; height: 18px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Module ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; isolation: isolate;
  padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(12px);
  transition: transform .45s var(--ease), border-color .3s;
  transform-style: preserve-3d;
}
.card::before {
  /* rotierende Neonkante beim Hover */
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0deg, var(--cyan) 60deg, transparent 120deg, var(--red) 220deg, transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
  animation: angle 4s linear infinite;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0,224,255,.10), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes angle { to { --angle: 360deg; } }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(0,224,255,.14), rgba(255,46,99,.10));
  border: 1px solid rgba(0,224,255,.25); margin-bottom: 24px;
}
.card__icon svg { width: 28px; height: 28px; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(0,224,255,.7)); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0 0 20px; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 5px; background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2300e0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.card__tag { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; color: var(--wine); letter-spacing: .14em; }

/* ---------- Galerie „In Aktion“ ---------- */
.showcase { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: center; }
.tabs { display: grid; gap: 10px; }
.tab {
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(10,13,19,.55); color: var(--muted); font: inherit;
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.tab strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 3px; }
.tab span { font-size: 13.5px; }
.tab:hover { transform: translateX(4px); }
.tab.is-active { border-color: rgba(0,224,255,.45); background: rgba(0,224,255,.06); color: #b8c4d4; }
.tab__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--red)); }
.tab.is-active .tab__bar { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }

.device {
  position: relative; border-radius: 16px; padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 80px -30px rgba(0,224,255,.45), 0 0 120px -50px rgba(255,46,99,.55);
  transform: perspective(1600px) rotateX(var(--rx, 8deg)) rotateY(var(--ry, -10deg));
  transition: transform .8s var(--ease);
}
.device__screen { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.device__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.device__screen img.is-active { opacity: 1; transform: none; }
.device__glare { position: absolute; inset: 0; border-radius: 10px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 30%); }
.device__scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0,224,255,.12), transparent); animation: scanline 4.5s linear infinite; }
@keyframes scanline { to { top: 100%; } }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 37px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.6s var(--ease);
  opacity: .6;
}
.step { text-align: center; padding: 0 10px; }
.step__num {
  counter-increment: step; position: relative; z-index: 1;
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid rgba(0,224,255,.35);
  font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--cyan);
  box-shadow: 0 0 0 8px rgba(4,6,10,.9), 0 0 30px -4px rgba(0,224,255,.55);
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Sicherheit ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust__list { display: grid; gap: 14px; }
.trust__item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.trust__item:hover { border-color: rgba(0,224,255,.35); transform: translateX(6px); }
.trust__item svg { flex: none; width: 26px; height: 26px; color: var(--cyan); margin-top: 2px; }
.trust__item h4 { margin: 0 0 3px; font-size: 16px; }
.trust__item p { margin: 0; color: var(--muted); font-size: 14.5px; }
/* Prüfkette: Schritte werden nacheinander aktiv und abgehakt */
.pipeline {
  position: relative; padding: 22px 24px 20px; border-radius: 22px;
  background: var(--panel-strong); border: 1px solid var(--line); backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 90px -40px rgba(0,224,255,.5), 0 0 120px -60px rgba(255,46,99,.5);
}
.pipeline__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pipeline__dots { display: flex; gap: 6px; }
.pipeline__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3342; }
.pipeline__dots i:first-child { background: var(--red); box-shadow: 0 0 8px var(--red); }
.pipeline__file { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.pipeline__tag { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(224,80,124,.4); color: var(--wine); font-size: 11px; white-space: nowrap; }
.pipeline__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.pipeline__steps::before { content: ""; position: absolute; left: 15px; top: 26px; bottom: 26px; width: 2px; background: var(--line); }
.pipeline__steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 11px 0; opacity: .45; transition: opacity .4s; }
.pipeline__steps li b { display: block; font-size: 15px; }
.pipeline__steps li small { display: block; color: var(--muted); font-size: 12.5px; }
.pipeline__ic { position: relative; z-index: 1; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); border: 2px solid #2a3342; transition: border-color .3s, background .3s, box-shadow .3s; }
.pipeline__steps li.is-active { opacity: 1; }
.pipeline__steps li.is-active .pipeline__ic { border-color: rgba(0,224,255,.25); border-top-color: var(--cyan); animation: spin .8s linear infinite; box-shadow: 0 0 16px -2px rgba(0,224,255,.6); }
.pipeline__steps li.is-done { opacity: 1; }
.pipeline__steps li.is-done .pipeline__ic {
  border-color: var(--cyan); box-shadow: 0 0 14px -2px rgba(0,224,255,.8);
  background: rgba(0,224,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2300e0ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.pipeline__bar { height: 4px; margin: 14px 0 12px; border-radius: 4px; background: #141a24; overflow: hidden; }
.pipeline__bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--cyan), var(--red)); box-shadow: 0 0 12px rgba(0,224,255,.6); transition: width .6s var(--ease); }
.pipeline__status { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.pipeline__led { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: blink 1.4s steps(1) infinite; }
.pipeline.is-complete .pipeline__status { color: #2dffb3; }

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.stat__value { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: rgba(0,224,255,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--cyan); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- Abschluss-CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 30px; border-radius: 28px;
  background: radial-gradient(ellipse at 50% 120%, rgba(255,46,99,.35), transparent 60%), radial-gradient(ellipse at 50% -20%, rgba(0,224,255,.25), transparent 60%), var(--panel-strong);
  border: 1px solid var(--line);
}
.cta h2 { margin-top: 0; }
.cta .lead { margin: 0 auto 34px; }
.cta__rings { position: absolute; inset: 50% auto auto 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); pointer-events: none; opacity: .25; }
.cta__rings circle { fill: none; stroke-width: 1; transform-origin: 450px 450px; }
.cta__rings circle:nth-child(1) { stroke: var(--cyan); stroke-dasharray: 6 18; animation: spin 40s linear infinite; }
.cta__rings circle:nth-child(2) { stroke: var(--red); stroke-dasharray: 2 12; animation: spin 60s linear infinite reverse; }
.cta__rings circle:nth-child(3) { stroke: var(--cyan); stroke-dasharray: 80 40; animation: spin 90s linear infinite; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: rgba(4,6,10,.85); margin-top: 40px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 360px; margin: 12px 0 0; }
.footer__links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__links h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--wine); }
.footer__links a { display: block; color: var(--muted); font-size: 14.5px; padding: 3px 0; transition: color .2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #5d6676; font-size: 13px; }

/* ---------- Download-Seite ---------- */
.dl-hero { padding: 150px 0 60px; text-align: center; }
.dl-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.03em; margin: 18px 0 16px; }
.dl-card {
  position: relative; isolation: isolate; max-width: 880px; margin: 50px auto 0;
  display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; text-align: left;
  padding: 40px; border-radius: 26px; background: var(--panel-strong); border: 1px solid var(--line);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), 0 0 100px -40px rgba(255,46,99,.5);
}
.dl-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle), var(--cyan), transparent 25%, var(--red) 50%, transparent 75%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: angle 6s linear infinite;
}
.dl-card .reactor { width: 220px; }
.dl-card h2 { font-size: 30px; margin: 0 0 6px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; margin: 10px 0 26px; }
.dl-meta b { color: var(--text); font-weight: 600; }
.hash { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: #6d7788; word-break: break-all; }
.hash button { margin-left: 8px; font: inherit; color: var(--cyan); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; cursor: pointer; }
.req { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.req__item { padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.req__item svg { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 14px; }
.req__item h4 { margin: 0 0 4px; font-size: 16px; }
.req__item p { margin: 0; color: var(--muted); font-size: 14px; }
.install { display: grid; gap: 16px; max-width: 900px; margin-inline: auto; counter-reset: inst; }
.install li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 22px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.install li::before { counter-increment: inst; content: counter(inst); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; color: var(--cyan); background: var(--cyan-soft); border: 1px solid rgba(0,224,255,.3); }
.install h4 { margin: 2px 0 4px; font-size: 17px; }
.install p { margin: 0; color: var(--muted); font-size: 15px; }
.install code, .note code, .step code { font-family: var(--mono); font-size: 13px; color: var(--cyan); background: rgba(0,224,255,.08); padding: 2px 6px; border-radius: 6px; }
.note { max-width: 900px; margin: 22px auto 0; padding: 18px 22px; border-radius: 14px; border: 1px solid rgba(255,46,99,.35); background: rgba(255,46,99,.06); color: #d5b3c0; font-size: 14.5px; }
.note strong { color: #fff; }
.changelog { max-width: 900px; margin-inline: auto; padding: 30px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.changelog h3 { font-size: 20px; display: flex; gap: 12px; align-items: baseline; }
.changelog h3 small { font-family: var(--mono); font-size: 12px; color: var(--wine); }
.changelog ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.changelog li { margin: 6px 0; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 150px 0 80px; }
.legal article { max-width: 820px; margin-inline: auto; padding: 44px; border-radius: 22px; background: var(--panel-strong); border: 1px solid var(--line); }
.legal h1 { font-size: 40px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal p, .legal li { color: #b9c2cf; }
.todo { color: #ffb3c6; background: rgba(255,46,99,.12); border: 1px dashed rgba(255,46,99,.5); padding: 1px 6px; border-radius: 6px; }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .hero__grid, .trust, .showcase { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .modules { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats, .req { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .device { --rx: 0deg !important; --ry: 0deg !important; }
}
@media (max-width: 760px) {
  section { padding: 84px 0; }
  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: rgba(4,6,10,.97); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links { transform: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .device { order: -1; }
  .tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tab { padding: 12px 14px; }
  .tab strong { font-size: 14px; margin: 0; }
  .tab span { display: none; }
  .tab:hover { transform: none; }
  .terminal { max-width: 100%; font-size: 12px; }
  .float-chip { display: none; }
  .dl-card { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; }
  .dl-card .reactor { margin-inline: auto; }
  .dl-meta { justify-content: center; }
  .req { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .legal article { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* ---------- Vergleichsseite ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--cyan); }
.prose { max-width: 820px; margin-inline: auto; color: #b9c2cf; font-size: 17px; }
.prose h2 { color: var(--text); font-size: clamp(26px, 3.2vw, 36px); margin: 54px 0 14px; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--text); }
.split3 { display: grid; grid-template-columns: repeat(4, 1fr) auto 1.2fr; gap: 14px; align-items: stretch; margin-top: 30px; }
.split3__tool { padding: 22px 18px; border-radius: 16px; background: var(--panel); border: 1px dashed rgba(138,148,166,.35); text-align: center; color: var(--muted); font-size: 14px; }
.split3__tool--missing { border-color: rgba(255,107,142,.45); color: #ff6b8e; }
.split3__tool--missing svg { color: #ff6b8e !important; }
.split3__tool b { display: block; color: var(--text); font-size: 16px; margin: 8px 0 2px; }
.split3__tool svg { width: 30px; height: 30px; color: #6d7788; }
.split3__arrow { display: grid; place-items: center; font-size: 30px; color: var(--cyan); text-shadow: 0 0 14px rgba(0,224,255,.8); animation: nudge 1.6s ease-in-out infinite; }
.split3__one { padding: 22px 18px; border-radius: 16px; text-align: center; background: linear-gradient(145deg, rgba(0,224,255,.12), rgba(255,46,99,.12)); border: 1px solid rgba(0,224,255,.45); box-shadow: 0 0 50px -14px rgba(0,224,255,.55); }
.split3__one img { height: 54px; width: auto; margin: 0 auto 6px; }
.split3__one span { font-size: 14px; color: var(--muted); }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--panel-strong); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.02); }
.compare thead th.is-us { color: var(--cyan); background: rgba(0,224,255,.07); }
.compare td.is-us { background: rgba(0,224,255,.04); color: var(--text); }
.compare tbody tr { transition: background .25s; }
.compare tbody tr:hover { background: rgba(255,255,255,.025); }
.compare tbody th { font-weight: 600; color: var(--text); width: 30%; }
.compare td { color: var(--muted); }
.yes, .no, .soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.yes { color: #2dffb3; } .no { color: #ff6b8e; } .soon { color: #ffc861; }
.yes::before, .no::before, .soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; flex: none; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare-note { font-size: 13px; color: #6d7788; margin-top: 14px; }

/* Hintergrund-Assistent: Demo-Fenster mit Terminal-Fehler und Hilfe-Angebot */
.assist { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,200,97,.45); background: rgba(255,200,97,.08); color: #ffc861; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.4s steps(1) infinite; }
.demo { position: relative; padding: 18px; border-radius: 22px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 90px -40px rgba(255,46,99,.55); min-height: 380px; }
.demo__term { font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #9fb0c4; padding: 16px; border-radius: 12px; background: #05080c; border: 1px solid var(--line); min-height: 210px; }
.demo__term .ok { color: #2dffb3; } .demo__term .err { color: #ff6b8e; } .demo__term .dim { color: #55606f; }
.demo__term div { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.demo__term div.is-shown { opacity: 1; transform: none; }
.demo__toast {
  position: absolute; left: 22px; right: 22px; bottom: 20px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(145deg, rgba(14,22,32,.98), rgba(10,14,20,.98)); border: 1px solid rgba(0,224,255,.45);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.9), 0 0 40px -10px rgba(0,224,255,.6);
  display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.demo__toast.is-shown { opacity: 1; transform: none; }
.demo__avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(0,224,255,.22), rgba(255,46,99,.22)); border: 1px solid rgba(0,224,255,.4); }
.demo__avatar svg { width: 22px; height: 22px; color: var(--cyan); }
.demo__toast b { display: block; font-size: 15px; margin-bottom: 3px; }
.demo__toast p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.demo__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.demo__actions span { padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.demo__actions span:first-child { background: linear-gradient(120deg, var(--red), #8f1240); color: #fff; border-color: transparent; }
.feature-list { display: grid; gap: 12px; margin-top: 26px; }
.feature-list div { display: flex; gap: 12px; color: #b9c2cf; }
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }

@media (max-width: 1020px) {
  .assist { grid-template-columns: 1fr; }
  .split3 { grid-template-columns: 1fr 1fr; }
  .split3__arrow { grid-column: 1 / -1; transform: rotate(90deg); animation: none; }
  .split3__one { grid-column: 1 / -1; }
}


.badge-new { border-color: rgba(45,255,179,.5); background: rgba(45,255,179,.08); color: #2dffb3; }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 24px 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(12px); transition: transform .4s var(--ease), border-color .3s; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(0,224,255,.35); }
.price-card--hot { background: linear-gradient(160deg, rgba(0,224,255,.10), rgba(255,46,99,.10)), var(--panel-strong); border-color: rgba(0,224,255,.5); box-shadow: 0 0 70px -24px rgba(0,224,255,.6); }
.price-card__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--red), #a3164a); box-shadow: 0 6px 24px -6px rgba(255,46,99,.8); white-space: nowrap; }
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card__desc { color: var(--muted); font-size: 14px; min-height: 42px; margin: 0 0 18px; }
.price-card__price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-card__price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card__note { font-size: 13px; color: var(--cyan); min-height: 20px; margin: 8px 0 20px; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; font-size: 14px; flex: 1; }
.price-card li { display: flex; gap: 9px; align-items: flex-start; color: #c3ccd8; }
.price-card li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 5px; background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2300e0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.price-card li.is-off { color: #5d6676; }
.price-card li.is-off::before { background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%235d6676' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.price-card .btn { width: 100%; }
.trial-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(45,255,179,.08); border: 1px solid rgba(45,255,179,.45); color: #2dffb3; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.notice { max-width: 860px; margin: 0 auto 40px; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255,200,97,.4); background: rgba(255,200,97,.07); color: #f1dcb0; font-size: 14.5px; text-align: center; }

/* ---------- Konto ---------- */
.account { max-width: 520px; margin: 0 auto; padding: 34px; border-radius: 24px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(0,0,0,.95), 0 0 90px -50px rgba(0,224,255,.5); }
.account__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(255,255,255,.04); margin-bottom: 24px; }
.account__tabs button { padding: 11px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.account__tabs button.is-active { background: rgba(0,224,255,.12); color: var(--text); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: #b9c2cf; }
.field input { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: rgba(0,224,255,.6); box-shadow: 0 0 0 4px rgba(0,224,255,.12); }
.form-msg { min-height: 22px; font-size: 14px; margin: 4px 0 14px; }
.form-msg.is-error { color: #ff8fab; } .form-msg.is-ok { color: #2dffb3; }
.status-card { padding: 20px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--line); margin-bottom: 20px; }
.status-card__tier { font-size: 28px; font-weight: 800; }
.status-card__tier.is-pro { color: var(--cyan); text-shadow: 0 0 24px rgba(0,224,255,.5); }
.status-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.plan-buttons { display: grid; gap: 10px; margin-bottom: 18px; }
.plan-buttons .btn { justify-content: space-between; }
.linkish { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.linkish:hover { color: var(--cyan); }

@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing { grid-template-columns: 1fr; } .account { padding: 24px 18px; } }
