/* ===== Legal Page Styles =====
   Used by: privacy.html, terms.html, imprint.html (EN + DE)
   Layered on top of the main style.css — only what's specific to long-form legal content. */

.legal-back {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid var(--line-soft);
}
.legal-back-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-back a.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.legal-back a.back:hover { color: var(--ink); }
.legal-back a.back svg { width: 14px; height: 14px; }

.legal-back .lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
}
.legal-back .lang-switch a {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color .2s, background .2s;
}
.legal-back .lang-switch a.active {
  background: var(--surface-2);
  color: var(--ink);
}
.legal-back .lang-switch a:hover:not(.active) { color: var(--ink-2); }

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 96px;
  position: relative;
}

.legal-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.legal h1 {
  font-weight: 600;
  font-size: clamp(36px, 9vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--ink);
}

.legal h2 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--ink);
}
.legal h2:first-of-type { margin-top: 0; }

.legal h3 {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 16px 0;
  padding-left: 0;
  list-style: none;
}
.legal ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.legal ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--chrome-2);
  font-weight: 700;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-3);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}
.legal a:hover { text-decoration-color: var(--chrome-2); }

.legal strong { color: var(--ink); font-weight: 600; }

.legal .contact-block {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.legal .contact-block strong { color: var(--ink); }

.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
