/* ---------- Reset & Basis ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #0d0814; /* fast schwarz, leicht violett */
  color: #fff;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* korrekte Höhe auf Mobilgeräten */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hintergrund-Video – füllt den gesamten Bereich (keine Ränder) */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* füllt Breite & Höhe, ohne Ränder */
  object-position: center;
  background: #0d0814;
  z-index: 0;
}

/* Overlay: dunkler + lila Verlauf von allen Seiten, unten am kräftigsten */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* lila Rahmen-Verlauf von allen Seiten nach innen */
    radial-gradient(
      ellipse 115% 115% at center,
      rgba(123, 47, 247, 0) 40%,
      rgba(123, 47, 247, 0.3) 75%,
      rgba(123, 47, 247, 0.6) 100%
    ),
    /* unten am kräftigsten, nach oben auslaufend */
    linear-gradient(
      to top,
      rgba(123, 47, 247, 0.65) 0%,
      rgba(123, 47, 247, 0.28) 32%,
      rgba(123, 47, 247, 0.08) 58%,
      rgba(13, 8, 20, 0) 78%
    ),
    /* dunkle Grundabdunklung für Lesbarkeit */
    rgba(13, 8, 20, 0.5);
}

/* ---------- Navbar ---------- */
.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center; /* Logo mittig */
  padding: 1.75rem 2.5rem;
}

.navbar__brand img {
  height: auto;
  width: clamp(165px, 17vw, 230px);
  max-width: 65vw;
  display: block;
}

/* ---------- Headline / Subheadline (unteres Drittel) ---------- */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* nach unten */
  text-align: center;
  padding: 0 2rem 14vh; /* Abstand nach unten zum Footer */
}

.hero__headline {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #ffffff;
  /* sehr dezenter Glow – premium & ruhig */
  text-shadow:
    0 0 24px rgba(168, 85, 247, 0.22),
    0 2px 24px rgba(0, 0, 0, 0.45);
}

/* Akzent-Zeile der Headline */
.hero__headline-accent {
  background: linear-gradient(90deg, #a855f7 0%, #c77dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__subheadline {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 300;
  max-width: 640px;
  color: #cbb6e6; /* sanftes Lila */
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* ---------- CTA-Button ---------- */
.hero__cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.95rem 2.4rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b2ff7 0%, #a855f7 100%);
  box-shadow: 0 8px 30px rgba(123, 47, 247, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(123, 47, 247, 0.6);
}

.hero__cta:active {
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  padding: 1.75rem 2rem 2.25rem;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #a855f7;
}

.footer__sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 600px) {
  .navbar {
    padding: 1.25rem 1.5rem;
    justify-content: center;
  }
  .navbar__brand img {
    width: clamp(150px, 52vw, 200px);
  }
  .hero__content {
    padding-bottom: 16vh;
  }
}
