/* ============================================================
   Aurora Webseite — Shared Styles
   Wird von index.html, impressum.html und datenschutz.html geladen
   ============================================================ */

html, body { color: #e6eee9; }
html { background-color: #050807; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #08110d;
  background-image:
    radial-gradient(ellipse 60% 30% at 15% 12%, rgba(0, 217, 111, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 25% at 85% 28%, rgba(61, 255, 163, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 30% at 50% 50%, rgba(0, 180, 130, 0.07), transparent 65%),
    radial-gradient(ellipse 55% 25% at 20% 72%, rgba(0, 217, 111, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 28% at 80% 88%, rgba(61, 255, 163, 0.08), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Aurora Borealis Hintergrund — CSS-Only fuer Hero/Demo */
.aurora-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  background: radial-gradient(ellipse at 50% 100%, #0a1f17 0%, #050807 60%, #050807 100%);
}
.aurora-bg::before,
.aurora-bg::after {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(0, 217, 111, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 25% at 70% 35%, rgba(61, 255, 163, 0.25), transparent 65%),
    radial-gradient(ellipse 35% 20% at 50% 25%, rgba(0, 180, 130, 0.22), transparent 70%);
  filter: blur(40px);
  mix-blend-mode: screen;
  animation: aurora-drift 18s ease-in-out infinite;
}
.aurora-bg::after {
  background:
    radial-gradient(ellipse 30% 20% at 20% 30%, rgba(0, 217, 111, 0.30), transparent 60%),
    radial-gradient(ellipse 45% 25% at 80% 50%, rgba(61, 255, 163, 0.22), transparent 60%);
  animation-delay: -9s;
  animation-duration: 22s;
}

/* Sterne */
.stars {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 60% 8%,  rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 35% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 75% 45%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 10% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 45% 60%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 25% 75%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 65% 85%, rgba(255,255,255,0.5), transparent);
  animation: aurora-pulse 8s ease-in-out infinite;
}

/* Kartenrand-Glow im Aurora-App-Stil */
.card-aurora {
  background: linear-gradient(180deg, rgba(15,22,20,0.85) 0%, rgba(10,15,13,0.95) 100%);
  border: 1px solid rgba(0, 217, 111, 0.18);
  box-shadow: 0 0 0 1px rgba(0, 217, 111, 0.04), 0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}
.card-aurora:hover {
  border-color: rgba(0, 217, 111, 0.45);
  box-shadow: 0 0 24px rgba(0, 217, 111, 0.18), 0 12px 40px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

/* Pill Button */
.btn-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-primary {
  background: #00d96f; color: #050807;
  box-shadow: 0 0 0 1px rgba(0,217,111,0.4), 0 8px 24px rgba(0,217,111,0.25);
}
.btn-primary:hover {
  background: #3dffa3;
  box-shadow: 0 0 0 1px rgba(61,255,163,0.6), 0 12px 32px rgba(0,217,111,0.45);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,0.04); color: #e6eee9;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,217,111,0.4);
}

/* Top-Nav blur on scroll */
.nav-scrolled {
  background: rgba(5, 8, 7, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 217, 111, 0.12);
}

/* Section divider */
.divider-aurora {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,217,111,0.35), transparent);
}

/* Rechtstexte (Impressum, Datenschutz) */
.legal-content { color: #c8d3ce; line-height: 1.75; }
.legal-content h1 {
  font-size: 2.5rem; font-weight: 700; color: #ffffff;
  margin-bottom: 0.5rem; line-height: 1.15;
}
.legal-content h2 {
  font-size: 1.75rem; font-weight: 700; color: #00d96f;
  margin-top: 3rem; margin-bottom: 1rem; line-height: 1.25;
}
.legal-content h3 {
  font-size: 1.25rem; font-weight: 600; color: #ffffff;
  margin-top: 2rem; margin-bottom: 0.75rem;
}
.legal-content h4 {
  font-size: 1rem; font-weight: 600; color: #e6eee9;
  margin-top: 1.5rem; margin-bottom: 0.5rem;
}
.legal-content p { margin-bottom: 1rem; color: #c8d3ce; }
.legal-content ul, .legal-content ol {
  margin: 1rem 0; padding-left: 1.5rem; color: #c8d3ce;
}
.legal-content ul { list-style: none; }
.legal-content ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; }
.legal-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 6px; height: 6px; border-radius: 50%; background: #00d96f;
}
.legal-content ol li { margin-bottom: 0.5rem; }
.legal-content a { color: #3dffa3; border-bottom: 1px solid rgba(61,255,163,0.3); }
.legal-content a:hover { color: #00d96f; border-bottom-color: #00d96f; }
.legal-content strong { color: #ffffff; font-weight: 600; }
.legal-content .placeholder {
  background: rgba(245, 165, 36, 0.1);
  border: 1px dashed rgba(245, 165, 36, 0.5);
  color: #f5a524;
  padding: 0.15rem 0.5rem; border-radius: 0.375rem;
  font-family: ui-monospace, monospace; font-size: 0.9em;
}
.legal-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: 0.95rem;
}
.legal-content th, .legal-content td {
  border: 1px solid rgba(0,217,111,0.15);
  padding: 0.75rem 1rem; text-align: left;
}
.legal-content th {
  background: rgba(0,217,111,0.06);
  color: #ffffff; font-weight: 600;
}

/* Animationen — die @keyframes liegen im Tailwind-Config-Block */
