/* ══════════════════════════════════════
   VOXARIA.DE – Global Stylesheet
══════════════════════════════════════ */
:root {
  --purple-deep: #1a0a2e;
  --purple-dark: #2d1054;
  --purple-mid: #6b21a8;
  --purple-bright: #a855f7;
  --pink-bright: #ec4899;
  --pink-glow: #f472b6;
  --accent: #c084fc;
  --bg: #0d0618;
  --surface: #150d25;
  --surface2: #1e1035;
  --surface3: #261540;
  --border: rgba(168,85,247,0.2);
  --border-bright: rgba(168,85,247,0.5);
  --text: #f0e8ff;
  --text-muted: #a78bca;
  --text-dim: #6b4f8a;
  --glow: 0 0 40px rgba(168,85,247,0.3);
  --glow-sm: 0 0 15px rgba(168,85,247,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

main { flex: 1; position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,6,24,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  gap: 0;
  white-space: nowrap;
}

/* Logo absolut zentriert */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  /* Herausnehmen aus dem normalen Flow und absolut mittig */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Fallback wenn kein Bild */
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 0 20px rgba(168,85,247,0.5);
  flex-shrink: 0;
}

/* Home + Team – linke Seite der Nav, von der Mitte weg nach links */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-right: auto;
  /* ~1cm Abstand zum Logo auf 27" (~38px) */
  padding-right: 28px;
}

/* Regeln + FAQ – rechte Seite der Nav, von der Mitte weg nach rechts */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  padding-left: 28px;
}

nav a, nav button.nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a:hover, nav button.nav-btn:hover,
nav a.active, nav button.nav-btn.active {
  color: var(--accent);
  background: rgba(168,85,247,0.1);
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.7rem;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-logo-text {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #c084fc, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-copy { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.4rem; }
.footer-disclaimer { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 1rem; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  width: 34px; height: 34px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.footer-socials a:hover { border-color: var(--purple-bright); color: var(--accent); background: rgba(168,85,247,0.1); }

.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}
.footer-col a, .footer-col button.footer-btn {
  display: block;
  background: none; border: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  margin-bottom: 0.4rem;
  padding: 0;
  text-align: left;
  transition: color 0.2s;
}
.footer-col a:hover, .footer-col button.footer-btn:hover { color: var(--accent); }

/* ── PAGE HEADER ── */
.page-header {
  padding: 4rem 5rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(107,33,168,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 0.7rem;
  display: block;
}
.page-header h1 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.page-header p {
  color: var(--text-muted);
  margin-top: 0.7rem;
  font-size: 1rem;
  max-width: 500px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border-radius: 3px; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(200px);
  background: var(--surface2);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  z-index: 1000;
  transition: none;
  box-shadow: var(--glow-sm);
  visibility: hidden;
}
.toast.ready {
  transition: transform 0.3s ease;
  visibility: hidden;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}