*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #05070a;
  --card-bg-top: #151822;
  --card-bg-bottom: #090b11;
  --accent: #ff2a5f;
  --accent-soft: rgba(255, 42, 95, 0.25);
  --text-main: #ffffff;
  --text-muted: #9da4b7;
  --ring: rgba(0, 0, 0, 0.65);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text-main);
  overflow: hidden;
}

/* ---------------- Background video ---------------- */

.bg-video {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  background: #000;
}

.bg-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 110%;
  min-height: 110%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.18);
  transition: transform 0.6s ease-out;
}


/* Wenn du gar keine Overlay-Ebene mehr benutzt, kannst du dieses div im HTML löschen.
   Hier bewusst kein Hintergrund, damit das Video nicht erneut gedimmt wird. */
.bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---------------- Centered card ---------------- */

.page-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.glass-card {
  position: relative;
  width: 100%;
  max-width: 1300px;        /* Breite wie im Referenz-Screenshot */
  aspect-ratio: 21 / 12;     /* flache, breite Card */
  border-radius: 40px;
  /* background: radial-gradient(circle at top, #1c1f29, #0c0e16); */
  /* Shadow bewusst entfernt – wenn du wieder einen willst, füge hier box-shadow hinzu */
  padding: 32px 64px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  /* backdrop-filter: blur(22px); */
  margin: 0 auto;
}

/* ---------------- Top navigation ---------------- */

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    0 0 0 0 var(--accent-soft),
    0 0 12px rgba(255, 42, 95, 0.8);
  animation: pulse 2.3s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow:
      0 0 0 0 var(--accent-soft),
      0 0 16px rgba(255, 42, 95, 0.9);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(255, 42, 95, 0),
      0 0 10px rgba(255, 42, 95, 0.4);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 42, 95, 0),
      0 0 6px rgba(255, 42, 95, 0.2);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* stellt sicher, dass alle Links in der Top-Navigation weiß sind */
.top-nav a,
.top-nav a:link,
.top-nav a:visited {
  color: var(--text-main);
  text-decoration: none;
}

/* alle Zustände auf weiß festnageln */
.nav-link,
.nav-link:link,
.nav-link:visited {
  color: var(--text-main);
  text-decoration: none;
}

.nav-link:hover,
.nav-link:active {
  color: var(--text-main);
}


.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link--active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.nav-link--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffd6ec);
}

.divider {
  opacity: 0.35;
}

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

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;     /* Content nach unten, wie im Screenshot */
  justify-content: center;
  padding-bottom: 84px;      /* Platz für Icons (falls du sie später unten reinziehst) */
}

/* Bild füllt die komplette Card und hat die gleichen Rundungen */

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Bild füllt die Card */
  transform-origin: center;
  transition: transform 4s ease-out;
}

/* Leichter Gradient für Lesbarkeit des Textes */

.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}


/* ---------------- Headline and content ---------------- */

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.headline {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: 0.7em;
  text-transform: uppercase;
  white-space: nowrap;
}

.headline-letter {
  display: inline-block;
}

.headline-spacer {
  display: inline-block;
  width: 2.2em;
}

.subline {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.primary-btn {
  margin-top: 10px;
  padding: 12px 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), rgba(4, 6, 10, 0.9));
  color: var(--text-main);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.25s ease;
}

.primary-btn-arrow {
  font-size: 13px;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), rgba(4, 6, 10, 0.95));
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.primary-btn:hover .primary-btn-arrow {
  transform: translateY(2px);
}

/* ---------------- Social row ---------------- */

.social-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.1), rgba(8, 10, 16, 0.9));
  color: var(--text-main);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.14), rgba(8, 10, 16, 0.96));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

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

@media (max-width: 1024px) {
  body {
    overflow: auto;
  }

  .glass-card {
    aspect-ratio: auto;
    height: auto;
    padding: 24px 32px 32px;
    border-radius: 28px;
  }

  .headline {
    letter-spacing: 0.55em;
  }

  .headline-spacer {
    width: 1.4em;
  }
}

@media (max-width: 640px) {
  .glass-card {
    padding: 22px 18px 26px;
    border-radius: 22px;
  }

  .top-nav {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .top-nav a:link,
  .top-nav a:visited {
    color: var(--text-main);
  }

  .hero {
    padding-bottom: 60px;
  }

  .headline {
    font-size: 18px;
    letter-spacing: 0.4em;
  }

  .subline {
    letter-spacing: 0.28em;
  }

  .social-row {
    justify-content: center;
  }
}
