/* ============ GIVORA X – Grundsystem ============ */
:root {
  --bg: #07080a;
  --bg-2: #0d0f13;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.68);
  --ink-3: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --blue: #219cec;
  --blue-soft: rgba(33, 156, 236, 0.35);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

/* ============ Intro ============ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.intro-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(33, 156, 236, 0.55), rgba(33, 156, 236, 0) 55%);
  opacity: 0;
  pointer-events: none;
}
.intro-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: min(72vw, 640px);
  aspect-ratio: 1827 / 343;
  transform-origin: 0 0;
  will-change: transform;
}
.intro-word { width: 76.9%; }          /* 1405 / 1827 */
.intro-x { width: 23.1%; }             /* 422 / 1827 */
.intro-word, .intro-x { opacity: 0; }
.intro-skip {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  padding: 8px 14px;
  font: 500 12px/1 "Poppins", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
@media (hover: hover) {
  .intro-skip:hover { color: var(--ink); border-color: var(--ink-3); }
}

/* ============ Navigation ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(7, 8, 10, 0.85), rgba(7, 8, 10, 0));
}
.nav-brand img { height: 22px; width: auto; }
.is-loading .nav-brand img { opacity: 0; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav-burger { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow {
  position: absolute;
  left: 0; top: 0;
  width: 200px; height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  /* weicher Lichtfleck ohne sichtbaren Rand */
  background: radial-gradient(closest-side, rgba(33, 156, 236, 0.46), rgba(33, 156, 236, 0.36) 12%, rgba(33, 156, 236, 0.23) 28%, rgba(33, 156, 236, 0.12) 45%, rgba(33, 156, 236, 0.05) 62%, rgba(33, 156, 236, 0.015) 80%, rgba(33, 156, 236, 0) 100%);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
}
.hero-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue), 0 0 24px var(--blue-soft);
}
.hero-title {
  margin: 0 0 28px;
  font-size: clamp(44px, 7.4vw, 112px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; padding-bottom: 0.06em; } /* Platz für Ü-Punkte beim Einblenden */
.hero-title .word { display: inline-block; will-change: transform; }
.hero-title.is-revealed .line { overflow: visible; }
.hero-title .accent { color: var(--blue); }
.hero-text {
  max-width: 460px;
  margin: 0 0 40px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 300;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.16s var(--ease-out), background-color 0.2s var(--ease-out),
              box-shadow 0.25s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s var(--ease-out); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 32px rgba(33, 156, 236, 0.35);
}
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.22); color: var(--ink); }
@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 10px 44px rgba(33, 156, 236, 0.6); }
  .btn-primary:hover svg { transform: translateX(3px); }
  .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.04); }
}
.btn:focus-visible, .nav-links a:focus-visible, .intro-skip:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Produkt im Hero */
.hero-product {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}
.product-halo {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 156, 236, 0.45), rgba(33, 156, 236, 0) 65%);
  filter: blur(20px);
}
.product-img {
  position: relative;
  width: 82%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 1px rgba(33, 156, 236, 0.8)) brightness(0.92);
  will-change: transform;
}
.product-floor {
  position: absolute;
  left: 22%; right: 22%; bottom: 8%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(33, 156, 236, 0.5), rgba(33, 156, 236, 0) 70%);
  filter: blur(8px);
}
.product-chip {
  position: absolute;
  left: 0; bottom: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 15, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
}
.chip-num {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(33, 156, 236, 0.15);
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
}
.chip-name { font-weight: 600; }
.chip-status { color: var(--ink-3); }

/* Scroll-Hinweis */
.scroll-hint {
  position: absolute;
  left: 0; right: 0;
  width: max-content;
  margin: 0 auto;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-hint i {
  position: relative;
  width: 1px; height: 44px;
  background: var(--line);
  overflow: hidden;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--blue);
  animation: scroll-line 2s var(--ease-out) infinite;
}
@keyframes scroll-line { to { top: 100%; } }

/* Platzhalter-Abschnitt */
.next {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.next h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.next p:last-of-type { color: var(--ink-3); margin: 0; }

/* Startzustand für Animationen (nur mit JS) */
.js .reveal-fade { opacity: 0; }
.js .hero-product { opacity: 0; }

/* ============ Mobil ============ */
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav-brand img { height: 18px; }
  .nav-burger {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px; height: 44px;
    margin-right: -10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s var(--ease-out);
  }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(7, 8, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
  }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }

  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 4px); padding-bottom: 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-product { order: -1; max-width: 270px; margin-bottom: 12px; }
  .product-chip { left: 0; right: 0; width: max-content; margin: 0 auto; bottom: 0; white-space: nowrap; }
  .hero-copy { text-align: left; }
  .eyebrow { margin-bottom: 18px; }
  .hero-title { margin-bottom: 20px; }
  .hero-text { margin-bottom: 28px; }
  .btn { height: 48px; padding: 0 22px; font-size: 14px; }
  .scroll-hint { display: none; }
}
