:root {
  --bg: #0a0f18;
  --bg2: #111827;
  --panel: #151d2e;
  --panel2: #1a2438;
  --border: #2a3854;
  --text: #eef3fb;
  --muted: #8fa3bf;
  --accent: #22c55e;
  --accent2: #6366f1;
  --warn: #fbbf24;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --glow-green: rgba(34, 197, 94, 0.45);
  --glow-indigo: rgba(99, 102, 241, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(34, 197, 94, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 5%, var(--glow-indigo), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 40%, rgba(34, 197, 94, 0.07), transparent 45%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: #93c5fd; text-decoration: none; }
a:hover { text-decoration: underline; }

img, video { max-width: 100%; display: block; }

.hidden { display: none !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 15, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--accent); }

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.header-install-btn {
  flex-shrink: 0;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav button, .nav a.btn-link {
  background: transparent;
  border: none;
  color: var(--muted);
  font: inherit;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.nav button:hover, .nav button.active, .nav a.btn-link:hover {
  color: var(--text);
  background: var(--panel2);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #16a34a) !important;
  color: #052e16 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 18px var(--glow-green);
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Layout */
main { flex: 1; max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem 5rem; width: 100%; }

.app-loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.app-loading {
  color: var(--muted);
  font-size: 0.95rem;
  animation: pulseLoad 1.2s ease-in-out infinite;
}

@keyframes pulseLoad {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.view { animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.hero-visual {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: var(--panel2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(34, 197, 94, 0.08);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: minmax(130px, 30vw) minmax(110px, 24vw);
  gap: 4px;
  max-height: 420px;
}

.hero-collage-cell {
  overflow: hidden;
  min-height: 0;
}

.hero-collage-cell-1 {
  grid-row: 1 / span 2;
}

.hero-collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-collage-cell img {
    animation: heroKenBurns 22s ease-in-out infinite alternate;
  }
  .hero-collage-cell-2 img { animation-delay: -4s; }
  .hero-collage-cell-3 img { animation-delay: -9s; }
  .hero-collage-cell-4 img { animation-delay: -14s; }
}

@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}

.hero-collage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 24, 0.08) 0%,
    rgba(10, 15, 24, 0.45) 45%,
    rgba(10, 15, 24, 0.94) 100%
  );
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 1;
  margin-top: -5.5rem;
  padding: 0 1.5rem 2.25rem;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-live-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-live-badge .pulse-dot {
    animation: livePulse 2s ease infinite;
  }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-headline {
  background: linear-gradient(135deg, #ffffff 0%, #bbf7d0 42%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subline {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: rgba(238, 243, 251, 0.82);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.35rem 0 0.25rem;
}

.hero-stat {
  min-width: 7.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(21, 29, 46, 0.72);
  border: 1px solid rgba(42, 56, 84, 0.85);
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1.1;
}

.hero-stat span {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-scroll-hint {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.85;
}

.home-section {
  margin-top: 2.5rem;
}

.home-section-header {
  margin-bottom: 1.1rem;
}

.home-section-header .section-title {
  margin-bottom: 0.35rem;
}

.home-section-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.section-title {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title-accent::after {
  content: '';
  flex: 1;
  min-width: 2rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.home-step {
  position: relative;
  padding: 1.15rem 1rem 1rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(26, 36, 56, 0.95), rgba(21, 29, 46, 0.85));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.home-step:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(34, 197, 94, 0.06);
}

.home-step-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.home-step-num {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(34, 197, 94, 0.12);
  line-height: 1;
}

.home-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.home-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.home-cta {
  margin-top: 2.75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(99, 102, 241, 0.12)),
    var(--panel);
  border: 1px solid rgba(34, 197, 94, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-cta p {
  margin: 0 auto 1.25rem;
  max-width: 480px;
  color: var(--muted);
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.btn-xl {
  padding: 0.85rem 1.5rem;
  font-size: 1.02rem;
  border-radius: 12px;
}

.btn-glow {
  box-shadow: 0 8px 28px var(--glow-green);
}

.btn-glow:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.city-chip-hot {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.city-chip-hot:hover {
  background: rgba(34, 197, 94, 0.16);
  border-color: var(--accent);
}

.hero-showcase {
  margin-top: 2rem;
}

.hero-showcase-lead {
  color: var(--muted);
  max-width: 720px;
  margin: -0.35rem 0 1.25rem;
  line-height: 1.5;
}

.hero-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.hero-gallery-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel2);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  font: inherit;
  color: inherit;
}

.hero-gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(34, 197, 94, 0.1);
}

.hero-gallery-card::after {
  content: 'Entdecken →';
  display: block;
  padding: 0.45rem 0.85rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.hero-gallery-card:hover::after {
  opacity: 1;
  transform: none;
}

.hero-gallery-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gallery-tag {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
}

.hero-gallery-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem 0.9rem;
}

.hero-gallery-body strong {
  font-size: 0.95rem;
}

.hero-gallery-body span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-gallery-credit {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
}

.demo-video-section {
  margin-top: 2.5rem;
  padding: 1.35rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21, 29, 46, 0.6), rgba(26, 36, 56, 0.4));
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.demo-video-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-video-lead {
  color: var(--muted);
  max-width: 720px;
  margin: -0.35rem 0 1.1rem;
  line-height: 1.5;
}

.demo-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.demo-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: #000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 40px rgba(34, 197, 94, 0.08);
}

.demo-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}

.demo-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: opacity 0.15s, transform 0.2s;
}

.demo-video-poster:hover img {
  opacity: 0.75;
  transform: scale(1.02);
}

.demo-video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.92);
  color: #052e16;
  font-size: 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.demo-video-aside h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.demo-video-points {
  margin: 0.85rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.demo-video-points li + li {
  margin-top: 0.35rem;
}

.demo-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  margin: 0 0 0.85rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero p.lead {
  color: rgba(143, 163, 191, 0.95);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 1.35rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, #4ade80, var(--accent), #16a34a);
  color: #052e16;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent2), #4f46e5);
  color: #fff;
}

.btn-ghost {
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.875rem; }

/* Cards & grid */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(42, 56, 84, 0.9);
}

.home-price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.25);
}

.card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.price-list-lead {
  color: var(--muted);
  margin: -0.35rem 0 1rem;
  font-size: 0.92rem;
}

.price-section-title {
  font-size: 0.95rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.price-cell {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.price-unit {
  color: var(--muted);
  font-size: 0.82rem;
}

.price-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.price-table-compact {
  font-size: 0.82rem;
}

.price-table-compact td,
.price-table-compact th {
  padding: 0.4rem 0.45rem;
}

.price-list-compact .price-section-title:first-child {
  margin-top: 0;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-live { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.badge-video { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; }
.badge-demand { background: rgba(251, 191, 36, 0.15); color: #fde68a; }

/* Forms */
.form-group { margin-bottom: 0.85rem; }

label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font: inherit;
}

textarea { min-height: 90px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent2);
  outline-offset: 1px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.chip.selected {
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
}

.chip-landmark {
  text-align: left;
  line-height: 1.35;
}

.chip-price {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.guide-tour-toggle {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel2);
  cursor: pointer;
}

.guide-tour-toggle input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.card-premium {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08), transparent);
}

.walker-agb-card .legal-block {
  max-height: 180px;
  overflow: auto;
  padding-right: 0.25rem;
}

.walker-agb-compact .legal-block {
  max-height: 140px;
}

.route-map-section {
  margin-top: 1.25rem;
}

.route-map-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.route-map-section-lead {
  margin: 0 0 0.65rem;
  max-width: 72ch;
}

.route-map-wrap {
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel2);
}

.route-map-wrap-readonly {
  height: 360px;
}

.route-map-wrap-editor {
  height: min(68vh, 720px);
  min-height: 440px;
}

.route-map-editor-inner,
.route-map-editor-inner .route-map-canvas,
.route-map-wrap > .route-map-canvas {
  height: 100%;
  width: 100%;
}

.route-map-editor-inner {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  min-height: 100%;
}

.route-map-editor-inner .route-map-canvas {
  flex: 1;
  min-height: min(58vh, 620px);
}

.route-map-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: 100vh !important;
  max-height: none;
  min-height: 0;
  border-radius: 0;
  margin: 0;
  padding: 0.65rem;
  background: var(--bg, #0f172a);
  box-shadow: none;
}

.route-map-fullscreen .route-map-editor-inner {
  flex: 1;
  min-height: 0;
}

.route-map-fullscreen .route-map-canvas {
  flex: 1;
  min-height: 0 !important;
}

body.route-map-fs-open {
  overflow: hidden;
}

.route-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.route-map-fs-btn {
  margin-left: auto;
}

.route-map-wrap-editor .route-map-waypoint {
  width: 24px;
  height: 24px;
  font-size: 0.72rem;
}

.route-map-fullscreen .route-map-fs-btn {
  margin-left: 0;
}

.route-map-hint,
.route-map-privacy {
  font-size: 0.78rem;
  color: var(--warn);
  margin: 0;
}

.route-map-spot-pin,
.route-map-feature-pin {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.leaflet-container {
  font-family: inherit;
  background: #1e293b;
}

.route-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
}

.route-map-direction-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}

.route-map-stats {
  margin: 0;
  font-size: 0.78rem;
}

.route-map-arrow-icon,
.route-map-waypoint-icon,
.route-map-endpoint-icon {
  background: transparent !important;
  border: none !important;
}

.route-map-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 1rem;
  color: #15803d;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(0, 0, 0, 0.35);
  line-height: 1;
}

.route-map-waypoint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #052e16;
  font-size: 0.68rem;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.route-map-endpoint {
  display: inline-block;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.route-map-start {
  background: #22c55e;
  color: #052e16;
}

.route-map-end {
  background: #f97316;
  color: #fff;
}

.gps-status {
  margin-top: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--border);
}

.gps-status-warn {
  border-color: var(--warn);
  color: var(--warn);
}

/* Map placeholder */
.map-wrap {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.map-dots {
  position: absolute;
  inset: 0;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.map-dot.live { background: var(--accent); }
.map-dot.video { background: var(--accent2); }
.map-dot.ondemand { background: var(--warn); }

.map-legend {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(10, 15, 24, 0.85);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}

/* City list */
.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}

.city-row:hover { background: var(--panel2); border-color: var(--border); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filters select, .filters input {
  width: auto;
  min-width: 140px;
}

/* Video library */
.video-card video {
  width: 100%;
  border-radius: 10px;
  background: #000;
  aspect-ratio: 16/9;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.video-card-highlight {
  outline: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* Live studio */
.live-preview {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 9/16;
  max-height: 480px;
  object-fit: cover;
}

.rec-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--danger);
  font-weight: 700;
  font-size: 0.85rem;
}

.rec-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  50% { opacity: 0.4; }
}

.status-bar {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--panel2);
  border: 1px solid var(--border);
  margin: 0.75rem 0;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  z-index: 200;
  box-shadow: var(--shadow);
}

.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* PWA install banner */
.install-app-card {
  border-color: rgba(34, 197, 94, 0.25);
  margin-bottom: 1rem;
}

.install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 90;
}

.legal-page { max-width: 720px; margin: 0 auto; }

.legal-page h2.section-title { margin-bottom: 1.25rem; }

.legal-block {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
}

.legal-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent);
}

.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 0.65rem;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-block a { color: #93c5fd; }

.legal-patent {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.08);
}

.legal-patent h3 { color: #a5b4fc; }

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 0.35rem;
}

.site-footer-links a { color: var(--muted); font-size: 0.85rem; }

/* Walker cards */
.walker-grid { margin-top: 0.5rem; }

.walker-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s;
}

.walker-card-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.walker-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.walker-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.walker-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.stars { letter-spacing: 0.05em; }

.star-full { color: #fbbf24; }

.star-half { color: #fbbf24; opacity: 0.55; }

.star-empty { color: #475569; }

.walker-reviews { display: flex; flex-direction: column; gap: 0.45rem; }

.walker-review {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-left: 3px solid var(--border);
  background: var(--panel2);
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
}

.walker-review p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.walker-review cite {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: normal;
}

.city-row-walkers { align-items: flex-start; }

.city-walkers-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.city-walker-preview {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--border);
}

.city-walker-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}

.city-walker-review {
  margin-top: 0.35rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.76rem;
}

.city-walker-review p { margin: 0.15rem 0; }

.review-form .chip.selected {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
}

.tip-custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.tip-custom-input {
  flex: 1;
  min-width: 120px;
  max-width: 160px;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: inherit;
  font: inherit;
}

.tip-presets .chip.selected {
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.15);
}

.walker-mini { font-size: 0.88rem; }

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* Chat */
.chat-view { max-width: 720px; margin: 0 auto; }

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

.chat-privacy {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.06);
}

.chat-thread {
  min-height: 280px;
  max-height: min(55vh, 480px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.chat-empty {
  color: var(--muted);
  text-align: center;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.chat-msg { max-width: 88%; }

.chat-msg-mine { align-self: flex-end; }

.chat-msg-theirs { align-self: flex-start; }

.chat-msg-system {
  align-self: center;
  max-width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.chat-msg-system span {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background: var(--panel2);
  border-radius: 999px;
}

.chat-msg-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.chat-msg-mine .chat-msg-meta { text-align: right; }

.chat-bubble {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.4;
  word-break: break-word;
}

.chat-msg-mine .chat-bubble {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(22, 163, 74, 0.15));
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.chat-msg-theirs .chat-bubble {
  background: var(--panel2);
  border: 1px solid var(--border);
}

.chat-compose {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-compose textarea { min-height: 72px; }

.admin-section-title {
  margin: 1.25rem 0 0.65rem;
  font-size: 1rem;
  color: var(--muted);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.admin-table th { color: var(--muted); font-weight: 600; }

.feedback-form-card .star-picker {
  display: flex;
  gap: 0.25rem;
  margin: 0.75rem 0 1rem;
}

.feedback-form-card .star-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0.15rem;
}

.feedback-form-card .star-btn.active,
.feedback-form-card .star-btn:hover {
  color: #fbbf24;
}

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: stretch; }
  .header-right { flex-direction: column; align-items: stretch; width: 100%; }
  .header-install-btn { width: 100%; justify-content: center; }
  .nav { justify-content: center; }
  .hero { padding-top: 1.5rem; }
  .hero-visual { border-radius: 10px; }
  .hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 130px 110px 110px;
    max-height: none;
  }
  .hero-collage-cell-1 { grid-row: 1 / span 2; grid-column: 1 / span 2; }
  .hero-body { margin-top: -3rem; padding: 0 0.85rem 1.5rem; }
  .hero-gallery-grid { grid-template-columns: 1fr; }
  .demo-video-layout { grid-template-columns: 1fr; }
  .home-steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 0.45rem; }
  .hero-stat { min-width: calc(50% - 0.25rem); flex: 1; }
}
