:root {
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --accent: #5e7fca;
  --bg-deep: #070b12;
  --bg-start: #0f172a;
  --bg-mid: #1e3a5f;
  --surface: rgba(15, 23, 42, 0.65);
  --surface-elevated: rgba(30, 41, 59, 0.55);
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(96, 165, 250, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-brand: "Pacifico", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 80px rgba(59, 130, 246, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(30, 58, 95, 0.4), transparent),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-deep) 100%);
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.bg-orb--1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -120px;
  background: rgba(59, 130, 246, 0.12);
}

.bg-orb--2 {
  width: 400px;
  height: 400px;
  bottom: 5%;
  left: -120px;
  background: rgba(30, 64, 175, 0.2);
}

a {
  color: var(--primary-light);
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 11, 18, 0.92);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-name {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  line-height: 1;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }
}

.nav-desktop--simple {
  display: flex;
  gap: 0.15rem;
}

@media (max-width: 767px) {
  .nav-desktop--simple a {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
  }
}

.nav-desktop a,
.nav-mobile__panel a {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover,
.nav-mobile__panel a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  margin-left: 0.5rem !important;
  padding: 0.55rem 1.1rem !important;
  color: white !important;
  background: var(--accent) !important;
  box-shadow: 0 4px 14px rgba(94, 127, 202, 0.35);
}

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

/* Mobile nav */
.nav-mobile {
  position: relative;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile__icon,
.nav-mobile__icon::before,
.nav-mobile__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  position: relative;
}

.nav-mobile__icon::before,
.nav-mobile__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-mobile__icon::before {
  top: -6px;
}

.nav-mobile__icon::after {
  top: 6px;
}

.nav-mobile__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-mobile__panel a {
  display: block;
  padding: 0.65rem 0.85rem !important;
  border-radius: 8px;
}

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section-inner {
  width: 100%;
}

/* —— Hero (Splash-Anmutung wie in der App) —— */
.hero {
  display: flex;
  justify-content: center;
  padding: 6.5rem 0 3.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 7.5rem 0 4.5rem;
  }
}

.hero-inner {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  animation: rise 0.8s var(--ease) both;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}

.haven-mark--hero {
  display: grid;
  margin: 0 auto 1.25rem;
}

.haven-mark--lg {
  display: grid;
  margin: 0 auto 1.25rem;
}

.hero-wordmark {
  font-family: var(--font-brand);
  font-size: clamp(2.75rem, 10vw, 3.5rem);
  margin: 0;
  font-weight: 400;
  color: white;
  line-height: 1;
}

.hero-slogan {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 auto 1.75rem;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .hero-actions .btn {
    width: auto;
    min-width: 11rem;
  }
}

.hero-stores {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.hero-stores__label {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-stores__row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (min-width: 480px) {
  .hero-stores__row {
    flex-direction: row;
    justify-content: center;
    gap: 0.65rem;
  }
}

.store-badge--compact {
  padding: 0.55rem 0.9rem;
  min-width: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 480px) {
  .store-badge--compact {
    width: auto;
    min-width: 9.5rem;
  }
}

.store-badge--compact small {
  font-size: 0.62rem;
  text-transform: none;
  letter-spacing: 0;
}

.store-badge--compact strong {
  font-size: 0.82rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(94, 127, 202, 0.35);
}

.btn-primary:hover {
  background: #6d8fd4;
  box-shadow: 0 8px 24px rgba(94, 127, 202, 0.45);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  width: 100%;
}

.store-badge:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  background: rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
  color: var(--text);
}

.store-badge--disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

.store-badge--disabled:hover {
  border-color: var(--border);
  background: rgba(0, 0, 0, 0.3);
  transform: none;
  color: var(--text-soft);
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.store-badge--lg {
  padding: 0.85rem 1.35rem;
  width: auto;
  min-width: 210px;
}

.haven-mini {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  color: white;
}

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

.section--alt {
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: -1;
}

.section-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.25rem;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 28rem;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.section-head p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* —— Onboarding cards —— */
.onboarding-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .onboarding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.onboarding-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.onboarding-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.9;
}

.onboarding-card--1::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.onboarding-card--2::before { background: linear-gradient(90deg, #22c55e, #4ade80); }
.onboarding-card--3::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.onboarding-card--4::before { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }

.onboarding-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.onboarding-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.onboarding-card--1 .onboarding-card__icon { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.onboarding-card--2 .onboarding-card__icon { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.onboarding-card--3 .onboarding-card__icon { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.onboarding-card--4 .onboarding-card__icon { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }

.onboarding-card__icon svg {
  width: 22px;
  height: 22px;
}

.onboarding-card__step {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.6;
}

.onboarding-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  padding-right: 2rem;
}

.onboarding-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.onboarding-note {
  margin: 0;
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  line-height: 1.6;
}

/* —— Demo —— */
.demo-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .demo-layout {
    grid-template-columns: 1fr auto;
    gap: 3.5rem;
    align-items: center;
  }

  .demo-layout .app-screen-wrap {
    justify-self: end;
  }
}

/* —— App-Bildschirm (iPhone 16 Pro Proportionen, nur Screen) —— */
.app-screen-wrap {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.app-screen {
  width: 320px;
  height: 696px;
  border-radius: 44px;
  overflow: hidden;
  background: #0a0e14;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 960px) {
  .app-screen {
    width: 360px;
    height: 783px;
  }
}

.phone-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  background: #0a0e14;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-appbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex-shrink: 0;
  min-height: 56px;
  padding: 0 8px;
  background: linear-gradient(135deg, #0d47a1 0%, #151b24 42%, #151b24 100%);
  color: white;
}

.map-appbar__side {
  display: flex;
  align-items: center;
  min-width: 0;
}

.map-appbar__side--left {
  justify-content: flex-start;
}

.map-appbar__side--right {
  justify-content: flex-end;
}

.map-appbar__center {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.4px;
  text-align: center;
  white-space: nowrap;
}

.map-appbar__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: white;
  opacity: 0.95;
  cursor: default;
  flex-shrink: 0;
}

.map-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #212121;
}

.map-stage__map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.map-stage__map .leaflet-container {
  height: 100%;
  width: 100%;
  background: #212121;
  font-family: var(--font-body);
}

.map-stage__map .leaflet-control-zoom {
  margin-bottom: 5.5rem !important;
  margin-right: 0.4rem !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.map-stage__map .leaflet-control-zoom a {
  background: #1e2632 !important;
  color: #cbd5e1 !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 16px !important;
}

.map-stage__map .leaflet-control-attribution {
  font-size: 0.5rem !important;
  background: transparent !important;
  color: rgba(148, 163, 184, 0.45) !important;
}

.map-overlay {
  position: absolute;
  z-index: 400;
  pointer-events: none;
}

.map-overlay--search {
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #94a3b8;
  background: #1e2632;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.map-overlay--search svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.map-overlay--toolbar {
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: stretch;
  height: 48px;
  border-radius: 14px;
  background: #1e2632;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.38);
  pointer-events: auto;
  overflow: hidden;
  z-index: 410;
}

.map-toolbar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0 0.4rem;
  border: none;
  background: transparent;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.map-toolbar__btn svg {
  color: #42a5f5;
  flex-shrink: 0;
}

.map-toolbar__caret {
  color: #94a3b8 !important;
  margin-left: -2px;
}

.map-toolbar__sep {
  width: 1px;
  align-self: center;
  height: 26px;
  background: rgba(148, 163, 184, 0.28);
}

.map-filter-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  padding: 0.65rem 0.9rem 1.1rem;
  border-radius: 18px 18px 0 0;
  background: #1e2632;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.map-filter-sheet[hidden] {
  display: none;
}

.map-filter-sheet__handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 0.65rem;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.4);
}

.map-filter-sheet__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: #42a5f5;
}

.map-filter-sheet__label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

.map-filter-sheet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: inherit;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip--on {
  color: white;
  background: rgba(21, 101, 192, 0.7);
  border-color: rgba(66, 165, 245, 0.45);
}

/* Detail-Sheet in der App (Vorschau → Weiterlesen → Quelle) */
.map-detail-sheet {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 66px;
  z-index: 420;
  max-height: 52%;
  overflow-y: auto;
  padding: 0.5rem 0.75rem 0.85rem;
  border-radius: 18px;
  background: #151b24;
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  animation: sheet-rise 0.28s var(--ease) both;
  -webkit-overflow-scrolling: touch;
}

.map-detail-sheet--expanded {
  max-height: 72%;
  bottom: 66px;
}

.map-detail-sheet[hidden] {
  display: none;
}

@keyframes sheet-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-detail-sheet__handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 0.5rem;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.35);
}

.map-detail-sheet__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.map-detail-card__head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  padding-right: 1.5rem;
}

.map-detail-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #1e2632;
  display: grid;
  place-items: center;
  color: #42a5f5;
}

.map-detail-card__title-block {
  flex: 1;
  min-width: 0;
}

.map-detail-card__title-block h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f1f5f9;
}

.map-detail-card__meta {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
}

.map-detail-card__preview {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.map-detail-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  color: #42a5f5;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
}

.map-detail-card__back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0;
  border: none;
  background: none;
  color: #42a5f5;
  font-weight: 600;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
}

.map-detail-card__fulltext {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.map-detail-card__coords {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}

.map-detail-card__quelle {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.75rem;
  color: #94a3b8;
  word-break: break-all;
}

.map-detail-card__quelle a {
  color: #42a5f5;
}

.map-nav-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.35rem 0.25rem 0.5rem;
  background: #151b24;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.map-nav-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.3rem 0;
  font-size: 0.62rem;
  font-weight: 500;
  color: #94a3b8;
}

.map-nav-bar__item svg {
  width: 22px;
  height: 22px;
  opacity: 0.7;
}

.map-nav-bar__item--on {
  color: #42a5f5;
}

.map-nav-bar__item--on svg {
  opacity: 1;
  color: #42a5f5;
}

/* Radar-Pins wie in der App (Electric Blue #00B0FF) */
.radar-pin {
  position: relative;
  width: 36px;
  height: 36px;
}

.radar-pin__glow {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(0, 176, 255, 0.22);
  filter: blur(4px);
}

.radar-pin__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(0, 176, 255, 0.5);
}

.radar-pin__ring--3 {
  width: 30px;
  height: 30px;
  border-color: rgba(0, 176, 255, 0.45);
}

.radar-pin__ring--2 {
  width: 20px;
  height: 20px;
  border-width: 1.8px;
  border-color: rgba(0, 176, 255, 0.6);
}

.radar-pin__ring--1 {
  width: 11px;
  height: 11px;
  border-width: 1.5px;
  border-color: rgba(0, 176, 255, 0.8);
}

.radar-pin__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 1.2px #00b0ff;
}

.radar-pin--user .radar-pin__glow {
  background: rgba(0, 191, 165, 0.25);
}

.radar-pin--user .radar-pin__ring {
  border-color: rgba(0, 191, 165, 0.55);
}

.radar-pin--user .radar-pin__core {
  box-shadow: 0 0 0 1.2px #00bfa5;
}

.radar-pin--community .radar-pin__ring--2 {
  border-color: rgba(255, 255, 255, 0.75);
  border-width: 1.4px;
}

.app-shell__carousel-wrap {
  height: 360px;
  overflow: hidden;
}

.vf-carousel {
  display: flex;
  gap: 0;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.vf-carousel::-webkit-scrollbar {
  display: none;
}

.vf-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0.75rem 1rem 1rem;
  height: 100%;
  cursor: pointer;
  outline: none;
}

.vf-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.125rem;
  border-radius: 18px;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.vf-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.vf-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.9);
  display: grid;
  place-items: center;
  color: var(--primary-light);
}

.vf-card__icon svg {
  width: 24px;
  height: 24px;
}

.vf-card__title-block {
  flex: 1;
  min-width: 0;
}

.vf-card__title-block h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.vf-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.vf-card__badges {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.vf-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
}

.vf-badge--open {
  background: rgba(220, 38, 38, 0.25);
  color: #fecaca;
}

.vf-badge--done {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.vf-badge--score {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-soft);
}

.vf-card__text {
  flex: 1;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

.vf-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
}

.vf-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.app-shell__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vf-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.vf-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.vf-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 3.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.65rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  background: rgba(7, 10, 15, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-bottom-nav .on {
  color: var(--primary-light);
}

.demo-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.demo-hint--inline {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.vf-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* —— Features —— */
.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* —— CTA —— */
.cta {
  position: relative;
  margin: 1rem 0 4rem;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  pointer-events: none;
}

.cta h2 {
  position: relative;
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta p {
  position: relative;
  margin: 0 auto 1.75rem;
  color: var(--text-soft);
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.6;
}

.store-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta-contact {
  position: relative;
  margin: 1.5rem 0 0 !important;
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
}

.cta-contact a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
}

.cta-contact a:hover {
  text-decoration: underline;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-brand {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  line-height: 1;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.site-footer nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.site-footer .copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* —— Legal pages —— */
.legal-page {
  padding: 7rem 0 4rem;
  max-width: 42rem;
}

.legal-page h1 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.legal-page .subtitle {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.legal-page h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-soft);
  line-height: 1.65;
}

.legal-page .note {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #bae6fd;
  font-size: 0.88rem;
}

.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-page ul li {
  margin-bottom: 0.35rem;
}

.legal-page a {
  color: var(--primary-light);
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.legal-nav a {
  color: var(--text-soft);
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--text);
}

/* —— Feature subpages —— */
.feature-page {
  padding: 7rem 1.25rem 4rem;
  max-width: 46rem;
  margin: 0 auto;
}

.feature-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.feature-breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
}

.feature-breadcrumb a:hover {
  color: var(--text);
}

.feature-page__hero {
  margin-bottom: 2.5rem;
}

.feature-page__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.65rem;
}

.feature-page__hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
}

.feature-page__lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.feature-section {
  margin-bottom: 2.25rem;
}

.feature-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.feature-section p {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.feature-section p:last-child {
  margin-bottom: 0;
}

.feature-steps,
.benefit-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.feature-steps li,
.benefit-list li {
  margin-bottom: 0.5rem;
}

.feature-page .note {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #bae6fd;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.feature-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.feature-nav a {
  color: var(--text-soft);
  text-decoration: none;
}

.feature-nav a:hover {
  color: var(--text);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
}

.feature-link:hover {
  color: var(--text);
}

.features-hub {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .features-hub {
    grid-template-columns: repeat(2, 1fr);
  }
}

.features-hub__card {
  display: block;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.features-hub__card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  text-decoration: none;
}

.features-hub__card h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.features-hub__card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem;
  background: rgba(15, 23, 42, 0.97);
  border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie-banner__text a {
  color: var(--primary-light);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__btn {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
}

.cookie-banner__btn--primary {
  background: var(--accent);
  border-color: transparent;
  color: white;
}

.cookie-banner__btn:hover {
  opacity: 0.92;
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.82rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
