:root {
  --bg: #010101;
  --panel: #0a0a0a;
  --text: #f3f3f3;
  --muted: #9aa4ab;
  --cyan: #24d8df;
  --danger: #ff6f00;
  --line: #1e272d;
  --green: #7effb4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Mono", "Fira Code", Menlo, Monaco, monospace;
  background:
    radial-gradient(circle at 80% 10%, rgba(36, 216, 223, 0.08), transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(255, 111, 0, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.14;
  background: repeating-linear-gradient(
    180deg,
    rgba(170, 255, 210, 0.12) 0px,
    rgba(170, 255, 210, 0.12) 1px,
    transparent 1px,
    transparent 4px
  );
}

#matrixBg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: screen;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(1, 1, 1, 0.78);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--cyan);
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 34px;
  width: 34px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(36, 216, 223, 0.4);
}

.logo-fallback {
  height: 34px;
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(36, 216, 223, 0.4);
  background: rgba(36, 216, 223, 0.1);
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
}

.brand-dot {
  color: var(--danger);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: color 0.2s ease;
}

.site-nav nav a:hover {
  color: var(--cyan);
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #102127, #0c181d);
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
}

.hero-kicker {
  color: var(--danger);
  letter-spacing: 0.28em;
  font-size: 12px;
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.04;
  letter-spacing: 0.06em;
  color: var(--text);
  text-shadow: 0 0 40px rgba(36, 216, 223, 0.25);
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
  margin: 26px 0 34px;
  font-size: 15px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 14px 28px;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #102127, #0c181d);
  border-color: rgba(36, 216, 223, 0.5);
  box-shadow: 0 0 24px rgba(36, 216, 223, 0.12);
}

.btn-primary:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 34px rgba(36, 216, 223, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* ---------- HUD Strip ---------- */

.hud-strip {
  margin-top: 48px;
  width: min(340px, 80%);
  height: 9px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.hud-strip span {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 110, 56, 0.35), rgba(122, 255, 169, 0.75));
  box-shadow: 0 0 10px rgba(93, 255, 145, 0.3);
  animation: hudPulse 2.2s ease-in-out infinite;
}

.hud-strip span:nth-child(2) { animation-delay: 0.16s; }
.hud-strip span:nth-child(3) { animation-delay: 0.32s; }
.hud-strip span:nth-child(4) { animation-delay: 0.48s; }
.hud-strip span:nth-child(5) { animation-delay: 0.64s; }

@keyframes hudPulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 96px 24px;
  scroll-margin-top: 70px;
}

.section-title {
  color: var(--cyan);
  letter-spacing: 0.22em;
  font-size: 14px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.section-lede {
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
  font-size: 15px;
  margin-bottom: 40px;
}

/* ---------- Konzept ---------- */

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.concept-item {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(88, 250, 146, 0.06), 0 8px 30px rgba(0, 0, 0, 0.45);
}

.concept-num {
  color: var(--danger);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.concept-item h3 {
  margin: 12px 0 10px;
  font-size: 15px;
  line-height: 1.5;
}

.concept-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(88, 250, 146, 0.06), 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(126, 255, 180, 0.3);
  pointer-events: none;
}

.feature-card::before {
  top: 7px;
  left: 7px;
  border-right: none;
  border-bottom: none;
}

.feature-card::after {
  right: 7px;
  bottom: 7px;
  border-left: none;
  border-top: none;
}

.feature-card:hover {
  border-color: rgba(36, 216, 223, 0.45);
  transform: translateY(-2px);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(36, 216, 223, 0.5);
  color: var(--cyan);
  font-size: 13px;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.steps-cta {
  margin-top: 44px;
  text-align: center;
}

/* ---------- Grenzen ---------- */

.limits {
  display: grid;
  gap: 14px;
}

.limit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.limit-badge {
  flex-shrink: 0;
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.limit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.limit-item strong {
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footer-brand {
  margin: 0;
  color: var(--cyan);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.footer-cta {
  margin-top: 10px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  transition: color 0.2s ease;
}

.footer-cta:hover {
  color: var(--danger);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .concept-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav nav {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 18px;
  }

  .hero {
    padding: 72px 18px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    text-align: center;
  }
}
