/* ==========================================================================
   Lumen — Marketing-Website
   Farben und Formsprache spiegeln bewusst das "Mitternacht"-Theme der App.
   ========================================================================== */

:root {
  --bg: #0b0b10;
  --bg-1: #101017;
  --bg-2: #16161f;
  --bg-3: #1c1c28;
  --line: #26262f;
  --line-soft: #1c1c25;

  --text: #eceef5;
  --dim: #a2a3b5;
  --faint: #6a6b80;

  --accent: #7c6cf5;
  --accent-hi: #9c8fff;
  --accent-soft: #7c6cf526;
  --accent-line: #7c6cf559;
  --on-accent: #0b0a17;

  --mint: #35d6a4;
  --amber: #e0a32e;
  --amber-soft: #e0a32e1f;
  --amber-line: #e0a32e4d;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;

  --shadow: 0 30px 80px -20px #00000090, 0 10px 30px -10px #0000007a;
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

::selection { background: var(--accent-soft); color: var(--text); }

/* Sehr feines Filmkorn über der ganzen Seite, damit große dunkle Flächen
   nicht bandingartig wirken. */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(155deg, var(--accent-hi), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px -8px #7c6cf570;
}
.btn-primary:hover { box-shadow: 0 14px 36px -6px #7c6cf590; transform: translateY(-1px); }

.btn-ghost {
  background: var(--bg-2);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-3); border-color: #363642; }

.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------- Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  background: #0b0b10b3;
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark { width: 28px; height: 28px; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; color: var(--dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s;
}
.nav-cta:hover { background: var(--bg-3); border-color: var(--accent-line); }

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

.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px 24px 40px;
  display: grid;
  gap: 56px;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 780px;
  z-index: -1;
  background:
    radial-gradient(480px 320px at 30% 30%, #7c6cf54d, transparent 70%),
    radial-gradient(420px 320px at 75% 15%, #2ec5c840, transparent 70%),
    radial-gradient(500px 380px at 50% 55%, #f2683c26, transparent 70%);
  filter: blur(10px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  margin-bottom: 22px;
}
.grad {
  background: linear-gradient(135deg, var(--accent-hi), #2ec5c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18px;
  color: var(--dim);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--faint);
}

.hero-shot {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--bg-1);
}
.hero-shot img { width: 100%; }

/* ----------------------------------------------------------------- Strip */

.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strip-item span { font-size: 13px; color: var(--faint); }

/* -------------------------------------------------------------- Sections */

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--dim); font-size: 17px; }

.features, .showcase, .privacy, .download {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px;
}

/* --------------------------------------------------------------- Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card--wide { grid-column: span 2; }

.feature-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: var(--accent-line);
  background: var(--bg-2);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-hi);
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 19px; margin-bottom: 9px; }
.feature-card p { color: var(--dim); font-size: 15px; }

.swatch-row { display: flex; gap: 8px; margin-top: 18px; }
.swatch-row span { width: 22px; height: 22px; border-radius: 50%; }

/* -------------------------------------------------------------- Showcase */

.showcase-item {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 90px;
}
.showcase-item:last-child { margin-bottom: 0; }
.showcase-item--reverse { direction: rtl; }
.showcase-item--reverse > * { direction: ltr; }

.showcase-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hi);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.showcase-text h3 { font-size: 26px; margin-bottom: 14px; }
.showcase-text p { color: var(--dim); font-size: 16px; }

.showcase-shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--bg-1);
}

/* --------------------------------------------------------------- Privacy */

.privacy-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 90% 10%, #7c6cf52e, transparent 70%);
  pointer-events: none;
}

.privacy-text h2 { font-size: 30px; margin: 14px 0 26px; }

.check-list { display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--dim);
  font-size: 15.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent-hi);
  border-bottom: 2px solid var(--accent-hi);
  transform: rotate(-45deg);
}

.privacy-visual { display: grid; place-items: center; }
.shield {
  width: 200px; height: 200px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--bg-3), var(--bg-1));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 60px #7c6cf51a, 0 20px 60px -20px #00000090;
}
.shield svg { width: 84px; height: 84px; color: var(--accent-hi); }

/* ---------------------------------------------------------- Bekannte Grenze */

.limitation {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 100px;
}

.limitation-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--amber-soft);
  border: 1px solid var(--amber-line);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.limitation-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--amber-soft);
  color: var(--amber);
}
.limitation-icon svg { width: 22px; height: 22px; }

.limitation-text h3 { font-size: 17px; margin-bottom: 10px; }
.limitation-text p { color: var(--dim); font-size: 14.5px; margin-bottom: 10px; }
.limitation-text p:last-child { margin-bottom: 0; }
.limitation-text a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* -------------------------------------------------------------- Download */

.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.download-card--primary {
  border-color: var(--accent-line);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  box-shadow: 0 20px 50px -20px #7c6cf540;
}

.download-card-head { display: flex; align-items: flex-start; gap: 14px; }
.ico-lg { width: 30px; height: 30px; color: var(--accent-hi); flex: none; margin-top: 2px; }
.download-card-head h3 { font-size: 18px; margin-bottom: 4px; }
.download-card-head p { color: var(--dim); font-size: 14px; }

.download-meta {
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
}

.download-footnote {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--faint);
  line-height: 1.7;
}
.download-footnote a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }

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

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 24px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--faint);
  font-size: 13.5px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--dim);
}
.footer-brand .brand-mark { width: 22px; height: 22px; }

.footer-meta { text-align: right; }
.footer-meta p { margin: 0; }
.footer-credit { margin-top: 2px !important; color: var(--faint); font-size: 12.5px; }

@media (max-width: 480px) {
  .footer-meta { text-align: left; }
}

/* -------------------------------------------------------------- Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------------------------------------------------------------- Mobile */

@media (max-width: 860px) {
  .nav-links { gap: 16px; font-size: 13.5px; }
  .nav-links a:not(.nav-cta) { display: none; }

  .strip-inner { grid-template-columns: repeat(2, 1fr); }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }

  .showcase-item, .showcase-item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .privacy-card { grid-template-columns: 1fr; padding: 36px 24px; text-align: left; }
  .limitation-card { flex-direction: column; padding: 24px; }
  .privacy-visual { display: none; }

  .download-cards { grid-template-columns: 1fr; }

  .features, .showcase, .privacy, .download { padding: 72px 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 64px 18px 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
}

/* ---------------------------------------------------------- Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
