/* ========================================================================
   umadum — Website
   Design: modern, viel Weißraum, große Typo, Brand-Farben der App
   ======================================================================== */

:root {
  --mint: #89e0c3;
  --accent: #0be09d;
  --accent-deep: #2d9e7a;
  --ink: #10201a;
  --ink-soft: #33453f;
  --muted: #5f7069;
  --bg: #fbfdfc;
  --panel: #ffffff;
  --panel-tint: #f0f8f4;
  --line: #e3ede8;
  --shadow: 0 20px 60px -20px rgba(16, 32, 26, 0.18);
  --radius: 20px;
  --header-bg: rgba(251, 253, 252, 0.8);

  /* Kategorie-Farben (identisch zur App) */
  --cat-concert: #7e57c2;
  --cat-festival: #ff7043;
  --cat-food: #e53935;
  --cat-sport: #1e88e5;
  --cat-culture: #3949ab;
  --cat-market: #8d6e63;
  --cat-party: #d81b60;
  --cat-family: #43a047;
  --cat-other: #757575;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9f4ef;
    --ink-soft: #c4d4cd;
    --muted: #91a49c;
    --bg: #0d1512;
    --panel: #141f1a;
    --panel-tint: #16241e;
    --line: #22322b;
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
    --header-bg: rgba(13, 21, 18, 0.8);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #04160f; }

a { color: var(--accent-deep); }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand svg { display: block; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover { background: var(--panel-tint); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 700; }

.nav-links a.app-link {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  padding: 0.4rem 1rem;
  margin-left: 0.35rem;
}

.nav-links a.app-link:hover { background: var(--accent-deep); color: #fff; }

@media (max-width: 640px) {
  .nav-links a { font-size: 0.85rem; padding: 0.3rem 0.5rem; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(11, 224, 157, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(11, 224, 157, 0.7); }

.btn-secondary {
  background: var(--panel-tint);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover { transform: translateY(-2px); background: var(--panel); }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.25rem 3rem;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background:
    radial-gradient(45% 60% at 30% 30%, rgba(137, 224, 195, 0.35), transparent 70%),
    radial-gradient(40% 55% at 75% 20%, rgba(11, 224, 157, 0.22), transparent 70%);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .hero::before {
    background:
      radial-gradient(45% 60% at 30% 30%, rgba(11, 224, 157, 0.14), transparent 70%),
      radial-gradient(40% 55% at 75% 20%, rgba(137, 224, 195, 0.1), transparent 70%);
  }
}

.hero > * { position: relative; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--panel-tint);
  border: 1px solid var(--line);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-deep), var(--accent) 60%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  max-width: 560px;
  margin: 1.4rem auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Store-Badges */

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.2rem;
  border-radius: 12px;
  background: #10201a;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}

@media (prefers-color-scheme: dark) {
  .store-badge { background: #1c2b25; }
}

.store-badge:hover { transform: translateY(-2px); background: #1a3129; }

.store-badge svg { flex: none; }

.store-badge .badge-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.store-badge .badge-top { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.store-badge .badge-store { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

.store-badge.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.6);
}

/* Sprachumschalter */

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.35rem;
}

.lang-switch a {
  padding: 0.28rem 0.65rem !important;
  border-radius: 0 !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--muted);
}

.lang-switch a.current {
  background: var(--accent-deep);
  color: #fff;
  pointer-events: none;
}

.hero-facts {
  display: flex;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-facts li { display: flex; align-items: center; gap: 0.4rem; }
.hero-facts svg { color: var(--accent-deep); flex: none; }

/* Telefon-Mockup */

.hero-phone {
  margin: 3.5rem auto 0;
  max-width: 340px;
  filter: drop-shadow(0 40px 60px rgba(16, 32, 26, 0.25));
}

.hero-phone svg { width: 100%; height: auto; display: block; }

@keyframes radar-pulse {
  0%   { r: 10; opacity: 0.7; }
  70%  { r: 34; opacity: 0; }
  100% { r: 34; opacity: 0; }
}

.pulse { animation: radar-pulse 2.6s ease-out infinite; transform-box: fill-box; }

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/* Sektionen                                                           */
/* ------------------------------------------------------------------ */

section { padding: 4.5rem 1.25rem; }

.section-inner { max-width: 1080px; margin: 0 auto; }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0 0 0.6rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 800;
}

.section-head p { color: var(--muted); margin: 1rem 0 0; font-size: 1.05rem; }

.alt-bg { background: var(--panel-tint); }

/* Schritte */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.step {
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step h3 { margin: 0 0 0.4rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Feature-Grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

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

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--panel-tint);
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}

.feature-card h3 { margin: 0 0 0.45rem; font-size: 1.15rem; letter-spacing: -0.015em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Tag-Chips */

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 760px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.chip .dot { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.85); }

.chip-outline {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
}

.chip-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 1.6rem; }

/* Mitmachen — zweispaltige Karten */

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.split-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.split-card h3 { margin: 0 0 0.5rem; font-size: 1.3rem; letter-spacing: -0.02em; }
.split-card > p { color: var(--muted); margin: 0 0 1.2rem; font-size: 0.97rem; }

.check-list { list-style: none; margin: 0; padding: 0; }

.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.check-list svg { flex: none; margin-top: 0.25rem; color: var(--accent-deep); }

/* Werte-Leiste */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.value h3 { margin: 0.6rem 0 0.25rem; font-size: 1.05rem; }
.value p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.value svg { color: var(--accent-deep); }

/* Abschluss-CTA */

.final-cta { text-align: center; }

.final-cta h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 800;
}

.final-cta p { color: var(--muted); max-width: 480px; margin: 1rem auto 0; font-size: 1.05rem; }

.platform-note {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Scroll-Reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------ */
/* Unterseiten (Changelog, Impressum, Datenschutz)                     */
/* ------------------------------------------------------------------ */

.subpage {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.subpage h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.subpage h2 { margin-top: 2.2rem; font-size: 1.25rem; letter-spacing: -0.015em; }
.subpage ul { padding-left: 1.3rem; }
.subpage li { margin: 0.3rem 0; }

.changelog-date {
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel-tint);
  padding: 3rem 1.25rem 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand p { color: var(--muted); margin: 0.6rem 0 0; max-width: 32ch; }

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.35rem 0; }

.footer-col a { color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--accent-deep); }

.footer-meta {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner + .footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-meta a { color: var(--muted); }
