/* ─────────────────────────────────────────────────────────────
   Shared Style – Legal pages (Impressum, Datenschutz, AGB)
   Call & Chat Management
   ───────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Accessibility: Skip-Link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.7rem 1.2rem;
  background: #7c3aed;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ── Accessibility: Focus-Styles ── */
:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 1px;
}

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #c084fc;
  --accent-bright: #e9d5ff;
  --dark: #08060f;
  --dark2: #0f0a1e;
  --dark3: #171029;
  --card-bg: rgba(30, 20, 55, 0.6);
  --card-border: rgba(192, 132, 252, 0.18);
  --text: #ede9fe;
  --muted: #a8a0c7;
  --white: #ffffff;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(124, 58, 237, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(192, 132, 252, 0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
main, nav, footer { position: relative; z-index: 1; }

/* NAVBAR */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(8, 6, 15, 0.7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(192, 132, 252, 0.12);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
  background: #000;
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
}

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(192,132,252,0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* PAGE-HERO */
.page-hero {
  padding: 9rem 2rem 3rem;
  text-align: center;
  position: relative;
}
.page-hero .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.3rem 0.9rem;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 999px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(120deg, var(--accent-bright) 0%, var(--accent) 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CONTENT */
main.content {
  max-width: 820px;
  margin: 1rem auto 4rem;
  padding: 2.5rem 2rem 3.5rem;
  background: linear-gradient(145deg, rgba(30,20,55,0.55), rgba(15,10,30,0.55));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px -20px rgba(124,58,237,0.25);
  position: relative;
  z-index: 1;
}
main.content h2 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.2rem 0 0.9rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(192, 132, 252, 0.15);
}
main.content h2:first-child { margin-top: 0; }
main.content h3 {
  color: var(--accent-bright);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 1.6rem 0 0.6rem;
}
main.content p {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}
main.content p strong { color: var(--white); }
main.content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(192,132,252,0.4);
  transition: color 0.2s;
}
main.content a:hover { color: var(--accent-bright); }
main.content ul, main.content ol {
  color: var(--text);
  margin: 0.75rem 0 1.25rem 1.4rem;
}
main.content li { margin-bottom: 0.4rem; font-size: 0.96rem; }
main.content em { color: var(--accent-bright); font-style: italic; }

/* FOOTER */
footer {
  background: #050309;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-top: 1px solid rgba(192, 132, 252, 0.12);
}
footer p { font-size: 0.85rem; color: var(--muted); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.footer-logo-icon {
  width: 28px; height: 28px;
  background: #000;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 860px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(8, 6, 15, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(192,132,252,0.15);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex !important;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { padding: 0.85rem 0; border-bottom: 1px solid rgba(192,132,252,0.08); list-style: none; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { font-size: 1.05rem; }
  main.content { margin: 1rem 1rem 3rem; padding: 2rem 1.5rem; }
  footer { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 2.5rem; }
}
