/* ═══════════════════════════════════════════════════════════════════
   B.I.C. — Stylesheet für die Rechtsseiten (Impressum, Datenschutz).
   Gleiche Tokens wie die Startseite, auf Lesbarkeit optimiert.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #05070B;
  --surface:   #0A0E15;
  --text:      #F3F6FA;
  --muted:     #8591A3;
  --accent:    #1898C8;
  --accent-2:  #5FD0FF;
  --line:      rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.22);
  --radius:    18px;

  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --gutter: clamp(20px, 3.6vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(242,244,247,.4); }
a:hover { color: var(--accent-2); text-decoration-color: currentColor; }

.mono {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: .75rem; text-decoration: none; border-radius: 999px;
  transform: translateY(-70px); transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ─────────── Header ─────────── */
.legal-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  background: rgba(5,7,11,.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
/* Logo-Lockup wie auf der Startseite (Globus-Symbol + Wortmarke) */
.lockup {
  display: inline-flex; align-items: center; gap: .55em;
  text-decoration: none; color: var(--text);
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; line-height: 1; font-size: .66rem;
}
.lockup:hover { color: var(--text); }
.lockup__globe { width: 3.1em; height: 3.1em; flex: none; transition: transform .6s var(--ease); }
.lockup:hover .lockup__globe { transform: rotate(-14deg); }
.lockup__words { display: grid; gap: .16em; justify-items: start; }
.lockup__words > span { display: block; white-space: nowrap; }
.lockup__l2 { background: var(--text); color: var(--bg); padding: .14em .3em .1em; border-radius: .12em; }

.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--display); font-size: .875rem; font-weight: 600;
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.back-link:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ─────────── Inhalt ─────────── */
.legal-hero {
  position: relative;
  padding: clamp(64px, 9vw, 128px) var(--gutter) clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.legal-hero::after {   /* dezentes Akzentlicht wie auf der Startseite */
  content: ""; position: absolute; pointer-events: none;
  width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%;
  right: -12%; top: -60%;
  background: radial-gradient(circle, rgba(24,152,200,.14), transparent 62%);
}
.legal-hero__inner { position: relative; max-width: 860px; margin-inline: auto; }
.legal-hero .eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; color: var(--muted);
}
.legal-hero .eyebrow::before {
  content: ""; width: 34px; height: 2px; border-radius: 2px; flex: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal-hero p { margin-top: 18px; color: var(--muted); max-width: 60ch; }

.legal-body {
  max-width: 860px; margin-inline: auto;
  padding: clamp(48px, 6vw, 84px) var(--gutter) clamp(72px, 9vw, 128px);
}

.legal-body section + section { margin-top: clamp(40px, 5vw, 64px); }
.legal-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.legal-body h3 {
  margin-top: 30px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0;
}
.legal-body p { margin-top: 16px; max-width: 68ch; }
.legal-body ul, .legal-body ol { margin-top: 16px; padding-left: 22px; max-width: 68ch; }
.legal-body li { margin-top: 8px; }
.legal-body li::marker { color: var(--muted); }
.legal-body strong { font-weight: 600; }

/* Adressblock */
.addr {
  margin-top: 20px; padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  font-style: normal;
}
.addr .firm { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.addr p { margin-top: 8px; }
.addr a { display: inline-flex; align-items: center; min-height: 40px; }

/* Platzhalter, die vor dem Livegang ausgefüllt werden müssen */
.todo {
  display: inline-block;
  padding: 2px 9px; border-radius: 6px;
  background: rgba(255,193,60,.14);
  border: 1px dashed rgba(255,193,60,.6);
  color: #FFC13C;
  font-family: var(--mono); font-size: .8em; letter-spacing: .04em;
}
.notice {
  margin-top: 26px; padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--radius);
  border: 1px dashed rgba(255,193,60,.5);
  background: rgba(255,193,60,.06);
}
.notice p { margin-top: 0; color: #F5D79A; }
.notice p + p { margin-top: 12px; }

/* ─────────── Footer ─────────── */
.legal-footer {
  border-top: 1px solid var(--line);
  padding: clamp(36px, 4vw, 56px) var(--gutter);
}
.legal-footer__inner {
  max-width: 860px; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
  color: var(--muted);
}
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.legal-footer a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.legal-footer a:hover { color: var(--text); }

@media (max-width: 780px) {
  body { font-size: 1rem; }
  .legal-header { gap: 12px; }
  .back-link { padding: 0 14px; font-size: .8125rem; }
  .brand__plate img { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
