/* ================================================
   NACHHILFE MENTOR — Design System v2
   Dark Space Theme · Blue-Cyan · Purple Accents
   ================================================ */

/* ─── 0. Variables & Reset ─────────────────────── */
:root {
  --bg-primary:    #07090f;
  --bg-secondary:  #0d1117;
  --bg-card:       rgba(255,255,255,0.035);
  --bg-card-hover: rgba(255,255,255,0.06);
  --border:        rgba(255,255,255,0.07);
  --border-glow:   rgba(79,172,254,0.45);

  --blue:   #4facfe;
  --cyan:   #00f2fe;
  --purple: #8b5cf6;
  --violet: #7c3aed;
  --pink:   #ec4899;
  --green:  #10b981;

  --grad-blue:   linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --grad-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --grad-mixed:  linear-gradient(135deg, #4facfe 0%, #8b5cf6 50%, #ec4899 100%);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  --glow-blue:   0 0 40px rgba(79,172,254,0.25);
  --glow-purple: 0 0 40px rgba(139,92,246,0.25);

  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   36px;
  --radius-full: 9999px;

  --ease:       cubic-bezier(0.4,0,0.2,1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

  --container:  1200px;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── 1. Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.grad-text {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-purple {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-mixed {
  background: var(--grad-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(79,172,254,0.08);
  border: 1px solid rgba(79,172,254,0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ─── 2. Layout ─────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; overflow: hidden; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── 3. Navigation ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(7,9,15,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 16px;
}
.nav-logo img {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--blue); }

.nav-stores {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-store-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-store-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-store-btn:hover { border-color: var(--border-glow); background: var(--bg-card-hover); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0;
  background: rgba(7,9,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 17px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.mobile-nav .nav-link:hover { border-color: var(--border); }
.mobile-nav-stores {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav-stores .nav-store-btn {
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-md);
}

/* ─── 4. Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.orb-1 { width: 700px; height: 700px; background: rgba(79,172,254,0.12); top: -150px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: rgba(139,92,246,0.12); bottom: -100px; right: -100px; }
.orb-3 { width: 350px; height: 350px; background: rgba(0,242,254,0.07); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-text { max-width: 560px; }
.hero-title {
  font-size: clamp(44px, 5.5vw, 72px);
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding-top: 60px;
}

/* ── Hero device mockup ── */
.hero-device {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}
.device-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(79,172,254,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.device-frame {
  position: relative;
  width: 340px;
  height: min(480px, calc(100vh - var(--nav-height) - 180px));
  background: #111318;
  border: 2px solid #2a2d36;
  border-radius: 36px;
  box-shadow:
    0 0 0 1px #050609,
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 60px 120px rgba(0,0,0,0.75),
    0 0 60px rgba(79,172,254,0.06);
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
}
.device-cam {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: #0d0f1a;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.08);
  z-index: 10;
}
.device-screen {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  overflow: hidden;
  background: #0d0f1a;
}
.device-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.device-bar {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  z-index: 10;
}

.hero-phone { animation: float 6s ease-in-out infinite; position: relative; z-index: 1; }

/* ─── 5. Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--grad-blue);
  color: #07090f;
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(79,172,254,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--border-glow);
  background: rgba(79,172,254,0.06);
  transform: translateY(-2px);
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition);
}
.btn-store:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}
.btn-store svg { width: 28px; height: 28px; flex-shrink: 0; }
.btn-store-text { text-align: left; }
.btn-store-text .label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; display: block; }
.btn-store-text .name { font-size: 17px; font-weight: 700; line-height: 1.2; display: block; }

/* ─── 6. Stats ──────────────────────────────────── */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.stat-item {
  text-align: center;
  padding: 20px 24px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── 7. Features ───────────────────────────────── */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,172,254,0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow-blue);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.blue   { background: rgba(79,172,254,0.12); }
.feature-icon.purple { background: rgba(139,92,246,0.12); }
.feature-icon.cyan   { background: rgba(0,242,254,0.10); }
.feature-icon.pink   { background: rgba(236,72,153,0.12); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon.blue svg   { color: var(--blue); }
.feature-icon.purple svg { color: var(--purple); }
.feature-icon.cyan svg   { color: var(--cyan); }
.feature-icon.pink svg   { color: var(--pink); }

.feature-title { font-size: 20px; margin-bottom: 12px; }
.feature-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ─── 8. App Showcase ───────────────────────────── */
.showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.05) 50%, transparent 100%);
}
.showcase-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 64px;
  position: relative;
}
.showcase-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}
.showcase-phone-wrap.side-left {
  transform: perspective(1000px) rotateY(-14deg) translateX(20px) scale(0.88);
  opacity: 0.65;
}
.showcase-phone-wrap.side-right {
  transform: perspective(1000px) rotateY(14deg) translateX(-20px) scale(0.88);
  opacity: 0.65;
}
.showcase-phone-wrap.center { z-index: 2; }
.showcase-phone-wrap:hover {
  opacity: 1 !important;
  transform: perspective(1000px) rotateY(0) scale(0.95) !important;
}
.showcase-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}
.showcase-phones::before {
  content: '';
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.18), transparent 70%);
  border-radius: 50%;
  bottom: -40px;
  left: 50%; transform: translateX(-50%);
  z-index: 0;
  filter: blur(30px);
  pointer-events: none;
}

/* ─── 9. iPhone Mockup ──────────────────────────── */
.iphone {
  position: relative;
  border-radius: 44px;
  background: #111318;
  border: 2px solid #252830;
  box-shadow:
    0 0 0 1px #050609,
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 50px 100px rgba(0,0,0,0.7),
    0 0 40px rgba(79,172,254,0.04);
  overflow: hidden;
  flex-shrink: 0;
}
.iphone.sm { width: 228px; height: 466px; border-radius: 40px; }
.iphone.md { width: 265px; height: 542px; }
.iphone.lg { width: 296px; height: 606px; border-radius: 50px; }

.iphone-notch {
  position: absolute;
  top: 13px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}
.iphone.sm .iphone-notch { width: 90px; height: 26px; top: 10px; }
.iphone.lg .iphone-notch { width: 120px; height: 32px; top: 14px; }

.iphone-screen {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  overflow: hidden;
  background: #0d0f1a;
}
.iphone.sm .iphone-screen { border-radius: 38px; }
.iphone.lg .iphone-screen { border-radius: 48px; }
.iphone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.iphone-bar {
  position: absolute;
  bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 5px;
  background: rgba(255,255,255,0.22);
  border-radius: 3px;
  z-index: 10;
}
.iphone.sm .iphone-bar { width: 80px; height: 4px; bottom: 7px; }

/* Side button */
.iphone::after {
  content: '';
  position: absolute;
  right: -3px; top: 110px;
  width: 3px; height: 60px;
  background: #1f2229;
  border-radius: 0 3px 3px 0;
  z-index: 5;
}

/* ─── 10. How It Works ──────────────────────────── */
.how-it-works { padding: 100px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(79,172,254,0.5) 0%,
    rgba(139,92,246,0.5) 50%,
    rgba(79,172,254,0.5) 100%);
}
.step { text-align: center; padding: 0 28px; position: relative; z-index: 1; }
.step-badge {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--bg-primary);
  position: relative;
}
.step-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--grad-blue);
  z-index: -1;
}
.step-badge span {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-title { font-size: 20px; margin-bottom: 12px; }
.step-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ─── 11. Download ──────────────────────────────── */
.download { padding: 100px 0; }
.download-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-inner::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(79,172,254,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.download-mascot {
  width: 96px; height: 96px;
  border-radius: 26px;
  margin: 0 auto 32px;
  box-shadow: 0 0 50px rgba(79,172,254,0.3);
  object-fit: cover;
}
.download-title { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.download-subtitle { font-size: 17px; color: var(--text-secondary); margin-bottom: 48px; }
.download-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ─── 12. Footer ────────────────────────────────── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; }
.footer-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 240px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-meta span { display: flex; align-items: center; gap: 6px; }

/* ─── 13. Legal Pages ───────────────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 100px;
  min-height: 100vh;
}
.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-header h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.legal-header p { font-size: 14px; color: var(--text-muted); }

.legal-text-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.95;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

.impressum-cards { display: flex; flex-direction: column; gap: 16px; }
.impressum-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.impressum-card h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.impressum-card p, .impressum-card a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  display: block;
}
.impressum-card a:hover { color: var(--blue); }
.impressum-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 20px;
  margin-bottom: 6px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--blue); }
.legal-back svg { width: 16px; height: 16px; }

/* ─── 14. Animations ────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.animate-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── 15. Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 40px; }
  .showcase-phone-wrap.side-left,
  .showcase-phone-wrap.side-right { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links, .nav-stores { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-subtitle, .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .download-inner { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .iphone.lg { width: 255px; height: 522px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .section-title { font-size: 28px; }
  .download-btns { flex-direction: column; align-items: center; }
  .iphone.lg { width: 230px; height: 471px; }
  .legal-text-block { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-phone { animation: none; }
  .hero-device { animation: none; }
  .device-frame { width: 280px; }
  .animate-up { transition: none; opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Consent banner */
.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(13,17,23,0.97);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.consent-banner[hidden] { display: none; }
.consent-banner p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #c7c9d9;
}
.consent-banner a { color: var(--blue); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent-btn {
  border: 1px solid var(--border-glow);
  background: var(--grad-blue);
  color: #06070b;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.consent-btn-ghost {
  background: transparent;
  color: #c7c9d9;
  border: 1px solid var(--border);
}
@media (max-width: 480px) {
  .consent-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .consent-actions { justify-content: stretch; }
  .consent-btn { flex: 1; }
}
