﻿  :root {
    --bg: #08080a;
    --surface: #0f0f12;
    --surface-2: #141417;
    --code-bg: #0b0b0e;
    --line: rgba(255,255,255,0.09);
    --line-soft: rgba(255,255,255,0.055);
    --ink: #f4f2ee;
    --muted: #8e8b84;
    --accent: #ffffff;
    --accent-2: #cfcfcf;
    --max: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tx-pill-bg: rgba(9,9,11,.6);
    --tx-pill-border: rgba(255,255,255,.08);
    --tx-hover: rgba(255,255,255,.08);
    --tx-download-bg: #e6e7e8;
    --tx-download-fg: #26292b;
    --tx-shadow: rgba(0,0,0,.4);
    --tx-stars-bg: rgba(15,18,20,.6);
    --tx-stars-border: rgba(255,255,255,.06);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif; line-height: 1.62;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }

  /* SCROLLBAR — slim, rounded, themed */
  html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 100px; border: 2px solid transparent; background-clip: padding-box; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }

  h1,h2,h3 { font-family: "Space Grotesk", system-ui, sans-serif; letter-spacing: -0.025em; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .btn { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: 100px; transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; }
  .btn.primary { background: var(--accent); color: #0a0a0a; box-shadow: 0 14px 44px -16px rgba(255,255,255,.18); }
  .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 20px 54px -12px rgba(255,255,255,.26); }
  .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .btn.ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

  /* BACKGROUND — warm only, no blue/lila */
  .bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
    background:
      radial-gradient(130% 90% at 50% 0%, rgba(200,200,210,.07) 0%, transparent 55%),
      linear-gradient(180deg, #141418 0%, #08080a 50%, #141418 100%);
  }

  /* GLITCH-WELLEN (wie das Dashboard) — via assets/glitch-bg.js */
  .bg.ms-bg {
    background:
      radial-gradient(130% 90% at 50% 0%, rgba(200, 200, 210, 0.12) 0%, transparent 55%),
      linear-gradient(180deg, #141418 0%, #08080a 50%, #141418 100%);
  }
  .bg.ms-bg .tx-waves { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
  .bg.ms-bg .tx-fade-top { position: absolute; left: 0; right: 0; top: 0; height: 32vh; z-index: 1; background: linear-gradient(to bottom, #08080a 0%, transparent 100%); }
  .bg.ms-bg .tx-fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 32vh; z-index: 1; background: linear-gradient(to top, #08080a 0%, transparent 100%); }
  .bg.ms-bg .tx-vignette { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, transparent 30%, #08080a 92%); opacity: 0.7; }
  .bg.ms-bg.tx-bg-fallback { background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 60%); }

  /* GRID (original background texture) — quadratic cells + four corner glows */
  .bg .grid {
    position: absolute; inset: 0; z-index: 0;
    background-image: radial-gradient(circle, rgba(190,190,200,.08) 1.5px, transparent 1.6px);
    background-size: 46px 46px;
    animation: none;
    pointer-events: none;
  }
  @keyframes gridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 46px 46px; }
  }
  /* WHITE ORBS (decorative, animate, fit the dark theme) */
  .bg .orb { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; will-change: transform;
    background:
      radial-gradient(circle at 30% 26%, #ffffff 0%, rgba(255,255,255,0) 20%),
      radial-gradient(circle at 36% 32%, #fcfcfe 0%, #e6e6ec 40%, #c6c6cf 72%, #a4a4ae 100%);
    box-shadow:
      0 24px 60px -14px rgba(0,0,0,.55),
      inset -16px -18px 34px rgba(0,0,0,.32),
      inset 10px 12px 26px rgba(255,255,255,.28); }
  .bg .orb--a { width: 240px; height: 240px; top: 9%; left: 6%; animation: orbA 13s ease-in-out infinite alternate; }
  .bg .orb--b { width: 190px; height: 190px; top: 30%; right: 10%; animation: orbB 17s ease-in-out infinite alternate; }
  .bg .orb--c { width: 270px; height: 270px; bottom: 11%; left: 15%; animation: orbC 15s ease-in-out infinite alternate; }
  .bg .orb--d { width: 170px; height: 170px; bottom: 9%; right: 19%; animation: orbD 19s ease-in-out infinite alternate; }
  @keyframes orbA { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(28px, 42px, 0); } }
  @keyframes orbB { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-30px, -36px, 0); } }
  @keyframes orbC { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(32px, -40px, 0); } }
  @keyframes orbD { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-26px, 38px, 0); } }

  /* TERAX BACKGROUND — animated line-waves (canvas) + fades + vignette */
  .tx-waves { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
  .tx-fade-top { position: absolute; left: 0; right: 0; top: 0; height: 32vh; z-index: 1; background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%); }
  .tx-fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 32vh; z-index: 1; background: linear-gradient(to top, var(--bg) 0%, transparent 100%); }
  .tx-vignette { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 92%); opacity: .7; }
  .tx-bg-fallback { background: radial-gradient(ellipse at center, rgba(255,255,255,.06), transparent 60%); }

  /* NAV — Terax floating pill (1:1) */
  header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 18px 0; transition: padding .3s var(--ease); }
  header.scrolled { padding: 10px 0; }
  .tx-bar { max-width: 1152px; margin: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 16px; border-radius: 100px; border: 1px solid transparent; transition: background .3s var(--ease), border-color .3s, box-shadow .3s; }
  @media (min-width: 1180px) { .tx-bar { margin: 0 auto; } }
  header.scrolled .tx-bar { border-color: var(--tx-pill-border); background: var(--tx-pill-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 16px 50px -18px var(--tx-shadow); }
  .tx-left { display: flex; align-items: center; gap: 10px; }
  .tx-brand { display: flex; align-items: center; gap: 0; font-family: "Space Grotesk", sans-serif; color: var(--ink); }
  .tx-brand img { width: 64px; height: 64px; border-radius: 16px; display: block; object-fit: cover; }
  .tx-words { display: flex; flex-direction: column; line-height: 1; margin-left: -7px; }
  .tx-l1 { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
  .tx-l2 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
  .tx-stars { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 6px 10px; border-radius: 100px; background: var(--tx-stars-bg); border: 1px solid var(--tx-stars-border); color: var(--muted); font-size: 12px; font-weight: 500; }
  .tx-stars:hover { color: var(--ink); }
  .tx-stars svg { width: 13px; height: 13px; }
  .tx-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
  .tx-nav a { color: var(--muted); font-size: 14px; padding: 7px 14px; border-radius: 100px; transition: color .25s, background .25s; white-space: nowrap; }
  .tx-nav a:hover { color: var(--ink); background: var(--tx-hover); }
  .tx-right { display: flex; align-items: center; gap: 6px; }
  .tx-dash-btn { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--ink); border: 1px solid var(--tx-pill-border); border-radius: 100px; font: inherit; font-size: 13px; font-weight: 600; padding: 8px 16px; text-decoration: none; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
  .tx-dash-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--tx-hover); }
  .tx-lang { position: relative; }
  .tx-lang-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--ink); border: 1px solid var(--tx-pill-border); border-radius: 100px; font: inherit; font-size: 13px; padding: 8px 14px; cursor: pointer; transition: border-color .25s, background .25s; }
  .tx-lang-btn:hover { border-color: var(--muted); background: var(--tx-hover); }
  .tx-flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; display: block; flex-shrink: 0; }
  .tx-caret { width: 10px; height: 6px; opacity: .6; transition: transform .25s; }
  .tx-lang.open .tx-caret { transform: rotate(180deg); }
  .tx-lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 156px; background: var(--tx-pill-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--tx-pill-border); border-radius: 12px; padding: 6px; display: none; flex-direction: column; gap: 2px; box-shadow: 0 20px 50px -20px var(--tx-shadow); z-index: 50; }
  .tx-lang.open .tx-lang-menu { display: flex; }
  .tx-lang-opt { display: flex; align-items: center; gap: 10px; background: none; border: none; color: var(--ink); font: inherit; font-size: 13px; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
  .tx-lang-opt:hover { background: var(--tx-hover); }
  #langLabel { display: none; }
  @media (max-width: 859px) {
    .tx-nav { display: none; }
  }
  .logo { display: flex; align-items: center; gap: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: -.01em; }
  .logo img { width: 80px; height: 80px; border-radius: 18px; }
  .logo .words { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; margin-left: -7px; }
  .logo .l1 { font-weight: 700; font-size: 24px; color: var(--ink); }
  .logo .l2 { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

  /* HERO — asymmetric split */
  .hero { position: relative; z-index: 2; padding: 156px 0 92px; }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.0; font-weight: 700; max-width: 14ch; color: #f4f2ee; }
  .hero h1 .silver { display: inline-block; color: #c3c9dc; -webkit-text-fill-color: #c3c9dc; font-style: italic; }
  .hero h1 .silver::after { content: ""; display: inline-block; width: 3px; height: .9em; background: #c3c9dc; margin-left: 3px; vertical-align: -0.06em; border-radius: 1px; animation: blink 1s steps(1) infinite; box-shadow: 0 0 14px rgba(195,201,220,.5); }
  .hero h1 .silver.done::after { display: none; }
  .hero h1 .accent { color: var(--ink); font-style: italic; }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 {
      background: linear-gradient(100deg, #ffffff 30%, #cfd4e6 100%);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
    }
    .hero h1 .silver { -webkit-text-fill-color: #c3c9dc; color: #c3c9dc; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
  }
  .hero .lede { margin-top: 30px; max-width: 46ch; font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); }
  .hero .actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
  .hero .note { margin-top: 26px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
  .hero .note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,77,46,.18); }

  /* CODE CARD (real asset, shared) */
  .code { max-width: 100%; background: var(--code-bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-family: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
  .code .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .code .dot { width: 11px; height: 11px; border-radius: 50%; }
  .code .d1 { background: #ff5f56; } .code .d2 { background: #ffbd2e; } .code .d3 { background: #27c93f; }
  .code .file { margin-left: 10px; font-size: 12.5px; color: var(--muted); }
  .code pre { margin: 0; padding: 20px 22px; font-size: 13.5px; line-height: 1.75; color: #cfccc5; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
  .code .k { color: #f4f2ee; } .code .c { color: #6b6862; } .code .s { color: #b8b8b8; }
  .code .caret { display: inline-block; width: 8px; height: 1.05em; background: var(--accent); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .hero .code { transform: translateY(10px); }

  /* TRUSTED — real logos */
  .trusted { position: relative; z-index: 2; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 18px 0; overflow: hidden; background: rgba(255,255,255,.015); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .trusted .ltrack { display: flex; gap: 48px; align-items: center; width: max-content; animation: tscroll 70s linear infinite; will-change: transform; }
  .trusted .ltrack img { height: 30px; width: auto; opacity: .85; transition: opacity .3s; }
  .trusted .ltrack a:hover img, .trusted .ltrack img:hover { opacity: 1; }
  .foot-legal { font-size: 12px; color: var(--muted); letter-spacing: .015em; max-width: 760px; margin: 0; line-height: 1.6; }
  .legal-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); margin-left: 6px; padding-bottom: 1px; transition: opacity .2s; }
  .legal-link:hover { opacity: .65; }
  .modal { position: fixed; inset: 0; z-index: 100; display: none; }
  .modal.open { display: block; }
  .modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .modal-card { position: relative; max-width: 520px; margin: 13vh auto; background: #0c0c0e; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 30px 30px 24px; box-shadow: 0 30px 90px rgba(0,0,0,.55); animation: modalIn .22s ease; }
  @keyframes modalIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .modal-card h3 { font-family: "Space Grotesk", sans-serif; font-size: 20px; margin: 0 0 14px; color: var(--ink); }
  .modal-body { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
  .modal-body p { margin: 0 0 10px; }
  .modal-body p:last-child { margin-bottom: 0; }
  .modal-links { display: flex; gap: 22px; margin-top: 20px; }
  .modal-links a { color: var(--accent); text-decoration: none; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; }
  .modal-links a:hover { opacity: .7; }
  .modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; transition: color .2s; }
  .modal-x:hover { color: var(--ink); }

  /* MARQUEE */
  .marquee { position: relative; z-index: 2; border-bottom: 1px solid var(--line-soft); padding: 20px 0; overflow: hidden; white-space: nowrap; background: rgba(255,255,255,.015); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee-track { display: flex; width: max-content; animation: mscroll 30s linear infinite; will-change: transform; }
  .marquee-track .mgroup { display: flex; flex-shrink: 0; align-items: center; }
  .marquee span { font-family: "Space Grotesk", sans-serif; font-size: 21px; color: #cfcfcf; margin: 0 38px; }
  .marquee span b { color: var(--ink); font-weight: 500; }
  @keyframes mscroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
  @keyframes tscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* SECTION */
  section { position: relative; z-index: 2; padding: 116px 0; }
  .sec-head { max-width: 720px; margin-bottom: 56px; }
  .sec-head h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 600; margin-top: 4px; line-height: 1.05; }
  .sec-head p { color: var(--muted); margin-top: 16px; font-size: 16.5px; max-width: 52ch; }

  /* CAPABILITIES — alternating, real code */
  .caps { border-top: 1px solid var(--line); }
  .cap { display: flex; gap: 56px; align-items: center; padding: 52px 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease); }
  .cap:hover { padding-left: 14px; }
  .cap:nth-child(even) { flex-direction: row-reverse; }
  .cap-text { flex: 1; min-width: 0; }
  .cap .num { font-family: "Space Grotesk", sans-serif; font-size: 14px; color: var(--muted); letter-spacing: .12em; }
  .cap h3 { font-size: clamp(23px, 2.8vw, 32px); font-weight: 600; margin-top: 10px; position: relative; display: inline-block; }
  .cap h3::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--muted); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
  .cap:hover h3::after { transform: scaleX(1); }
  .cap p { color: var(--muted); margin-top: 14px; font-size: 15.5px; max-width: 46ch; }
  .cap .tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
  .cap .tags em { font-style: normal; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; }
  .cap-code { flex: 0.95; min-width: 0; }
  .cap-code .code { width: 100%; }

  /* STATS band */
  .band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; border-top: 1px solid var(--line); padding-top: 52px; margin-top: 8px; }
  .stat .n { font-family: "Space Grotesk", sans-serif; font-size: clamp(40px, 5vw, 62px); font-weight: 700; line-height: 1; }
  .stat .n .u { color: var(--accent); }
  .stat .l { color: var(--muted); font-size: 14.5px; margin-top: 12px; }

  /* ABOUT */
  .about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .about h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 600; line-height: 1.05; }
  .about p { color: var(--muted); margin-top: 18px; max-width: 48ch; font-size: 16px; }
  .about-media img { width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block; }

  /* TESTIMONIAL */
  .quote { max-width: 960px; margin: 0 auto; text-align: center; }
  .quote blockquote { font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 3.6vw, 46px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
  .quote .by { margin-top: 32px; color: var(--muted); font-size: 14.5px; }
  .quote .by b { color: var(--ink); font-weight: 600; }

  /* FOOTER */
  footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 80px 0 44px; }
  .foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
  .foot-brand .logo { margin-bottom: 20px; }
  .foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 38ch; }
  .foot-col h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
  .foot-col a { display: block; color: var(--ink); font-size: 14.5px; padding: 7px 0; opacity: .82; transition: color .25s, opacity .25s; }
  .foot-col a:hover { color: var(--accent); opacity: 1; }
  .foot-bottom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
  .made-by { font-size: 12px; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
  .made-by a { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 1px; transition: color .2s; }
  .made-by a:hover { color: var(--ink); }

  /* BACK TO TOP */
  .to-top { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .25s; box-shadow: 0 14px 40px -18px rgba(0,0,0,.8); }
  .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
  .to-top:hover { border-color: var(--accent); transform: translateY(-3px); }

  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }

  @media (max-width: 880px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
    .nav-links { display: none; }
    .cap { flex-direction: column; gap: 28px; padding: 40px 0; }
    .about { grid-template-columns: 1fr; }
    .cap:nth-child(even) { flex-direction: column; }
    .stats { grid-template-columns: 1fr 1fr; }
    .foot-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .code .bar { padding: 9px 12px; }
    .code .dot { width: 9px; height: 9px; }
    .code .file { font-size: 11px; }
    .code pre { padding: 14px 14px; font-size: 11.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
  }

  @media (prefers-reduced-motion: reduce) {
    .bg, .bg .grid, .orb, .marquee-track, .trusted .ltrack, .code .caret { animation: none !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }
  /* LEGAL PAGES */
  .legal-page { position: relative; z-index: 2; padding: 150px 0 90px; }
  .legal-page .wrap {
    max-width: 800px;
    margin: 0 auto;
  }
  .legal-page .eyebrow { display: block; margin-bottom: 18px; }
  .legal-page h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.05; }
  .legal-page .updated { color: var(--muted); font-size: 13.5px; margin-top: 14px; }
  .legal-page h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin: 46px 0 14px; }
  .legal-page p { color: var(--muted); margin-top: 12px; font-size: 15.5px; line-height: 1.75; }
  .legal-page ul { color: var(--muted); margin: 12px 0 0 20px; font-size: 15.5px; line-height: 1.75; }
  .legal-page li { margin-top: 6px; }
  .legal-page a { color: var(--accent); border-bottom: 1px solid rgba(255,255,255,.25); }
  .legal-page a:hover { opacity: .7; }
  .legal-page .placeholder { color: var(--accent); font-weight: 600; }
  .legal-page .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 48px; color: var(--ink); border: 1px solid var(--line); border-radius: 100px; padding: 12px 22px; font-size: 14px; font-weight: 600; transition: border-color .25s, transform .25s; }
  .legal-page .back:hover { border-color: var(--accent); transform: translateY(-2px); }
  .legal-sub { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
  .legal-sub a { display: inline-block; border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; font-size: 13.5px; color: var(--ink); border-bottom: none; }
  .legal-sub a:hover { border-color: var(--accent); }

  /* RECHTLICHE SEITEN IN EINER BOX (wie das Dashboard) */
  .legal-card {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(8, 8, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
    padding: clamp(24px, 4vw, 48px);
  }

