/* Shared styles for legal pages (Impressum, Datenschutz, AVV) */
:root {
  --bg: #0A0A0F;
  --bg-elevated: #12121A;
  --gold: #E8B976;
  --gold-light: #F0CB94;
  --ink-100: #FAFAFA;
  --ink-200: #C7C7CE;
  --ink-300: #A1A1A8;
  --ink-400: #71717A;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: transparent;
  color: var(--ink-100);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232,185,118,.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232,185,118,.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
header.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10,10,15,.7);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink-100);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand .arabic {
  font-family: 'Amiri', serif;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}
.nav-links { display: flex; gap: 1.5rem; font-size: .9rem; }
.nav-links a { color: var(--ink-300); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink-100); }

main { position: relative; z-index: 1; }
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
.page-header { margin-bottom: 3rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.lede { color: var(--ink-300); font-size: 1.05rem; max-width: 60ch; }

section.legal {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.005));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
}
section.legal h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .9rem;
  color: var(--gold);
  letter-spacing: -0.005em;
}
section.legal p { margin: 0 0 .8rem; color: var(--ink-200); }
section.legal p:last-child { margin-bottom: 0; }
section.legal ul { margin: 0 0 .8rem; padding-left: 1.25rem; color: var(--ink-200); }
section.legal li { margin-bottom: .4rem; }
section.legal li:last-child { margin-bottom: 0; }
section.legal .muted { color: var(--ink-300); font-size: .95rem; }
section.legal a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,185,118,.3);
  transition: border-color .15s;
}
section.legal a:hover { border-bottom-color: var(--gold); }
section.legal strong { color: var(--ink-100); font-weight: 600; }

section.legal.highlight {
  background: linear-gradient(180deg, rgba(232,185,118,.04), rgba(232,185,118,.01));
  border-color: rgba(232,185,118,.18);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 2rem;
  color: var(--ink-300);
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s, transform .15s;
}
.back:hover { color: var(--ink-100); transform: translateX(-2px); }

footer.legal-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding-top: 2rem;
  font-size: .85rem;
  color: var(--ink-400);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
footer.legal-footer a { color: var(--ink-300); text-decoration: none; transition: color .15s; }
footer.legal-footer a:hover { color: var(--ink-100); }
footer.legal-footer .links { display: flex; gap: 1.25rem; }

@media (max-width: 600px) {
  section.legal { padding: 1.25rem 1.25rem; }
  .nav-links { display: none; }
}
