:root {
  --primary: #5e7fca;
  --primary-light: #8aa3d6;
  --primary-dark: #3d5aa8;
  --accent: #5e7fca;
  --radar: #5e7fca;
  --bg-deep: #070b12;
  --bg-start: #0c1220;
  --bg-mid: #11182a;
  --surface: #0c111c;
  --surface-elevated: #121a28;
  --card: #0c111c;
  --border: rgba(186, 200, 224, 0.1);
  --border-strong: rgba(94, 127, 202, 0.35);
  --text: #f4f7fb;
  --text-muted: #8b97ab;
  --text-soft: #d5dce8;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Pacifico", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 24px 64px rgba(0, 0, 0, 0.42);
  --shadow-glow: none;
  --header-offset: 5.5rem;
}

html {
  scroll-padding-top: var(--header-offset);
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent],
.lenis.lenis-smooth [data-native-scroll] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: #070b12;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 48% at 50% 0%, rgba(94, 127, 202, 0.42), transparent 58%),
    linear-gradient(180deg, #10182a 0%, #070b12 38%, #05080f 100%);
}

.bg-mesh {
  display: none !important;
}

.haven-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  background:
    radial-gradient(ellipse 92% 78% at 50% 46%, rgba(94, 127, 202, 0.1), transparent 72%);
}

.haven-atmosphere,
.haven-sky {
  display: none !important;
}

.sky-pin {
  display: none;
}

.bg-orb--1,
.bg-orb--2 {
  display: none !important;
}

.haven-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner,
.section-inner,
.cta,
.site-header,
.cookie-banner,
.footer-inner {
  position: relative;
  z-index: 2;
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.018;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.preview-chip {
  display: none !important;
}

html.is-preview .site-header {
  top: 0;
}

html.is-preview .hero {
  padding-top: 8.5rem;
}

html.is-preview .legal-page,
html.is-preview .feature-page {
  padding-top: 7.5rem;
}

.page,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.cookie-banner {
  z-index: 200;
}

/* —— Header —— */
.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: visible;
  transform: none;
  padding: 0.7rem clamp(1.1rem, 3vw, 2.25rem);
  border-radius: 0;
  background: #070b12;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: #070b12;
  box-shadow: none;
}

.brand-name {
  font-size: 1.28rem;
}

.nav-desktop a,
.nav-drop__btn {
  color: var(--text-soft);
  border-radius: 999px;
}

.nav-drop__menu {
  background: #0c111c;
  border-radius: 18px;
}

.nav-cta {
  margin-left: 0 !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px !important;
  background: #5e7fca !important;
  color: #fff !important;
  box-shadow: none;
}

.nav-cta:hover {
  background: #6d8fd4 !important;
}

.nav-mobile summary {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-mobile__panel {
  background: rgba(10, 16, 28, 0.96);
  border-radius: 18px;
}

@media (max-width: 767px) {
  html.is-preview .site-header {
    top: 0;
  }

  .site-header {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    padding: 0.75rem 1rem;
    background: #070b12;
  }
}

/* —— Hero —— */
.hero {
  min-height: 100svh;
  align-items: flex-start;
  padding: 8.5rem 0 5rem;
}

.hero-inner {
  max-width: 46rem;
  text-align: center;
}

.hero-radar,
.hero-emblem {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
}

.hero-radar__ring {
  display: none;
}

.hero-radar .haven-mark--hero,
.hero-emblem .haven-mark--hero {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 72px;
  height: 72px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-wordmark {
  margin: 0;
  font-size: clamp(3.4rem, 12vw, 5.4rem);
  letter-spacing: 0.2px;
  line-height: 0.95;
}

.hero-display {
  margin: 1.15rem 0 0;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 520;
  font-family: var(--font-body);
  letter-spacing: -0.038em;
  line-height: 1.18;
  color: #f5f5f7;
}

.hero-lead {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.35rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-meta {
  margin: 1.35rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

.hero-actions {
  margin: 2rem 0 1.5rem;
}

.hero-pills {
  display: none;
}

.hero-stores {
  padding-top: 0;
  border-top: none;
}

.hero-stores__label {
  display: none;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3.25rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-cue__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  animation: none;
}

.fly {
  animation: haven-fly 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--fly, 0) * 75ms);
}

@keyframes haven-fly {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Buttons —— */
.btn {
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: #5e7fca;
  color: #fff;
  box-shadow: 0 10px 28px rgba(94, 127, 202, 0.28);
}

.btn-primary:hover {
  background: #6d8fd4;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}

.store-badge {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.app-store-link {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.28s var(--ease), filter 0.28s var(--ease);
}

.app-store-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.app-store-link img {
  display: block;
  height: 44px;
  width: auto;
}

.app-store-link--lg img {
  height: 52px;
}

.webzugriff-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  height: 44px;
  padding: 0 0.95rem 0 0.72rem;
  border-radius: 8px;
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  transition: transform 0.28s var(--ease), filter 0.28s var(--ease);
}

.webzugriff-cta:hover,
.webzugriff-cta:focus-visible {
  color: #111;
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.webzugriff-cta__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.webzugriff-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.webzugriff-cta__kicker {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #333;
}

.webzugriff-cta__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.webzugriff-cta--lg {
  height: 52px;
  padding: 0 1.15rem 0 0.9rem;
  border-radius: 9px;
}

.webzugriff-cta--lg .webzugriff-cta__icon {
  width: 26px;
  height: 26px;
}

.webzugriff-cta--lg .webzugriff-cta__kicker {
  font-size: 0.64rem;
}

.webzugriff-cta--lg .webzugriff-cta__name {
  font-size: 1.18rem;
}

@media (min-width: 480px) {
  .app-store-link img {
    height: 48px;
  }

  .app-store-link--lg img {
    height: 56px;
  }

  .webzugriff-cta {
    height: 48px;
  }

  .webzugriff-cta--lg {
    height: 56px;
  }
}

/* —— Sections —— */
.section {
  padding: 7rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3.25rem;
}

.section-head h2,
.cta-title {
  font-size: clamp(2.05rem, 5vw, 3.15rem);
  font-weight: 560;
  letter-spacing: -0.042em;
  line-height: 1.12;
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-label {
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.onboarding-grid {
  gap: 1.25rem;
}

.onboarding-card {
  padding: 2.1rem 1.9rem 1.9rem;
  background: #0c111c;
  border-color: rgba(186, 200, 224, 0.14);
  box-shadow: none;
  border-radius: 28px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.onboarding-card::before {
  display: none;
}

.onboarding-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.onboarding-card__step {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.38);
}

.onboarding-card h3 {
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  font-weight: 560;
}

.onboarding-card p {
  color: var(--text-muted);
}

.onboarding-note {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

.section--alt::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.02));
}

.radar-veil {
  position: relative;
  z-index: 2;
  background: #070b12;
  box-shadow:
    0 -64px 72px 28px #070b12,
    0 48px 64px 20px #070b12;
}

.app-screen {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-screen-wrap {
  position: relative;
}

.app-screen-wrap::before {
  content: "";
  position: absolute;
  inset: 12% -18% auto;
  height: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.feature {
  background: #0c111c;
  border-color: rgba(186, 200, 224, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.feature:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-icon {
  background: rgba(94, 127, 202, 0.14);
  color: #c5d2ee;
}

.feature-link {
  color: #8aa3d6;
}

.cta {
  margin: 2rem 0 5rem;
  padding: clamp(3rem, 7vw, 4.25rem) clamp(1.5rem, 4vw, 2.75rem);
  background:
    radial-gradient(ellipse 80% 80% at 50% -30%, rgba(94, 127, 202, 0.16), transparent 55%),
    #0c111c;
  border-color: rgba(94, 127, 202, 0.22);
}

.cookie-banner__btn--primary {
  background: #5e7fca;
  color: #fff;
}

.cta__glow {
  display: none;
}

.site-footer {
  padding-top: 3.5rem;
}

.cookie-banner {
  left: 50%;
  right: auto;
  bottom: 1rem;
  width: min(920px, calc(100% - 1.5rem));
  transform: translateX(-50%);
  padding: 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 16, 28, 0.92);
  box-shadow: var(--shadow-md);
}

.cookie-banner__btn {
  border-radius: 999px;
}

.legal-page,
.feature-page {
  padding-top: 8.5rem;
}

.feature-page__hero h1,
.legal-page h1 {
  font-size: clamp(2.15rem, 5vw, 3.3rem);
  font-weight: 560;
  letter-spacing: -0.042em;
  line-height: 1.12;
}

.feature-page__lead {
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.features-hub__card {
  background: #0c111c;
  border-color: rgba(186, 200, 224, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.features-hub__card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding: 7.25rem 0 3.25rem;
  }

  .cookie-banner {
    bottom: 0;
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 22px 22px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fly,
  .bg-orb--1,
  .bg-orb--2,
  .scroll-cue__line {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
