/* =============================================================================
   LEGAL PAGES — DÜSSTANBUL
   Gemeinsames Styling für Impressum, Datenschutz, AGB
============================================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #0a0a0a;
  --cream: #faf7f2;
  --ink: #0a0a0a;
  --muted: #888;
  --line: rgba(255,255,255,0.08);
  --red: #c8102e;
  --red-hot: #e11d2e;
  --gold: #d4a574;
  --f-display: "Bebas Neue", Impact, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Inter", -apple-system, system-ui, sans-serif;
  --maxw: 860px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--red); color: #fff; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ========== NAV ========== */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.legal-nav__brand {
  display: flex; align-items: center; gap: 12px;
  transition: opacity .2s var(--ease);
}
.legal-nav__brand:hover { opacity: .85; }
.legal-nav__brand img { height: 36px; width: auto; border-radius: 999px; }
.legal-nav__brand span {
  font-family: var(--f-display); font-size: 18px; letter-spacing: 0.08em;
}
.legal-nav__brand em { color: var(--red); font-style: normal; margin-left: 4px; }
.legal-nav__back {
  font-size: 13px; color: var(--muted);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.legal-nav__back:hover { border-color: var(--red); color: var(--cream); }

@media (max-width: 600px) {
  .legal-nav__brand span { display: none; }
}

/* ========== MAIN ========== */
.legal {
  padding: clamp(50px, 8vw, 100px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  isolation: isolate;
}
.legal::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(200,16,46,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 15%, rgba(139,10,31,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor;
}

.legal__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--cream);
}
.legal__lead {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(16px, 1.4vw, 18px);
  color: rgba(250,247,242,0.7);
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 600px;
}

.legal__section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.legal__section:last-of-type { border-bottom: none; }

.legal__section h2 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 18px;
  position: relative;
  padding-left: 16px;
}
.legal__section h2::before {
  content: ""; position: absolute; left: 0; top: 0.35em; bottom: 0.35em; width: 3px;
  background: var(--red);
  border-radius: 2px;
}

.legal__section p,
.legal__section .rich p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(250,247,242,0.82);
  margin-bottom: 14px;
  max-width: 68ch;
}
.legal__section p:last-child,
.legal__section .rich p:last-child { margin-bottom: 0; }

.legal__section a {
  color: var(--red);
  border-bottom: 1px solid rgba(200,16,46,0.4);
  transition: border-color .2s var(--ease);
}
.legal__section a:hover { border-color: var(--red); }

/* ========== FOOTER ========== */
.legal-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  background: #050505;
}
.legal-footer .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--muted);
}
.legal-footer__links { display: flex; gap: 24px; }
.legal-footer__links a { transition: color .2s var(--ease); }
.legal-footer__links a:hover { color: var(--red); }
