/* Selbst gehostete Schrift (DSGVO-konform, kein externer Request).
   Space Grotesk ist eine Variable Font – eine Datei deckt 300–700 ab. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
}

:root {
  --bg: #05060a;
  --text: #eaeefb;
  --muted: #8b93a9;
  --cyan: #00d4ff;
  --blue: #6478ff;
  --violet: #c71fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 50% -10%, #11131f 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 110%, #0c0f1a 0%, transparent 55%),
    var(--bg);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Hintergrund: Netzwerk-Canvas + leuchtende Orbs ---------- */
#network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 20s ease-in-out infinite;
}

.orb--cyan   { width: 380px; height: 380px; background: #00a8d6; top: -90px;  left: -70px; }
.orb--violet { width: 440px; height: 440px; background: #a318d6; bottom: -140px; right: -90px; animation-delay: -7s; }
.orb--blue   { width: 300px; height: 300px; background: #4f46e5; top: 38%; left: 62%; animation-delay: -13s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 24px) scale(0.94); }
}

/* ---------- Karte ---------- */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
}

.card {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background: rgba(15, 18, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Schimmernder Rahmen */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.6), rgba(199, 31, 255, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Status-Badge ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* ---------- Marke ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.brand__mark {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(100, 120, 255, 0.55));
}

.brand__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ---------- Headline ---------- */
.headline {
  margin-top: 22px;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1px;
}

.gradient {
  background: linear-gradient(120deg, #00d4ff, #6478ff 48%, #c71fff);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.tagline {
  margin: 20px auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(15px, 2.3vw, 18px);
  line-height: 1.65;
}

/* ---------- Feature-Pills ---------- */
.features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.features li {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd3e6;
}

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  color: #05060a;
  background: linear-gradient(120deg, #00d4ff, #6478ff);
  box-shadow: 0 10px 30px rgba(70, 110, 255, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(70, 110, 255, 0.55);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
}

/* ---------- Signatur ---------- */
.signature {
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.signature .dot { opacity: 0.5; }

/* ---------- Eintritts-Animation (gestaffelt) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.status,
.brand,
.headline,
.tagline,
.features,
.actions,
.signature {
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand     { animation-delay: 0.08s; }
.headline  { animation-delay: 0.16s; }
.tagline   { animation-delay: 0.24s; }
.features  { animation-delay: 0.32s; }
.actions   { animation-delay: 0.40s; }
.signature { animation-delay: 0.48s; }

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
