/* TESSAR — Rechtsseiten (Impressum · Datenschutz · Nutzungsbedingungen)
 * Editorialer Pearl-Layout, abgeleitet aus Brand v2.0 Tokens. */

* { box-sizing: border-box; }

body.legal {
  margin: 0;
  background: var(--brand-paper);
  color: var(--grau-700);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Kopfzeile ───────────────────────────────────────────────── */
.legal-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 6vw, 80px);
  background: color-mix(in srgb, var(--brand-paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grau-200);
}
.legal-head .brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}
.legal-head .wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 17px;
  color: var(--brand-anthrazit);
}
.legal-head .brand-sub {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--grau-500);
}
.legal-head .back {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-anthrazit);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: gap 0.25s ease, color 0.2s ease;
}
.legal-head .back .arr { color: var(--brand-accent); }
.legal-head .back:hover { gap: 13px; color: var(--brand-accent); }

/* ── Inhaltsspalte ───────────────────────────────────────────── */
.legal-wrap {
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) clamp(24px, 6vw, 40px) 40px;
}
.legal-overline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 20px;
}
.legal-wrap h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.018em;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.04;
  color: var(--brand-anthrazit);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 40, "SOFT" 60, "WONK" 0;
}
.legal-lead {
  font-size: 18.5px;
  color: var(--grau-700);
  max-width: 60ch;
  margin: 0 0 12px;
}
.legal-rule {
  height: 1px;
  background: var(--grau-200);
  border: 0;
  margin: 40px 0;
}
.legal-wrap h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(24px, 3.2vw, 31px);
  line-height: 1.16;
  color: var(--brand-anthrazit);
  margin: 52px 0 16px;
  font-variation-settings: "opsz" 36, "SOFT" 60, "WONK" 0;
}
.legal-wrap h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--brand-anthrazit);
  margin: 30px 0 8px;
}
.legal-wrap p { margin: 0 0 16px; }
.legal-wrap a { color: var(--brand-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal-wrap a:hover { color: var(--brand-accent-soft); }
.legal-wrap strong { color: var(--brand-anthrazit); font-weight: 600; }

.legal-wrap ul { margin: 0 0 18px; padding: 0; list-style: none; }
.legal-wrap ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal-wrap ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.66em;
  width: 6px; height: 6px;
  background: var(--brand-accent);
  border-radius: 1px;
}

/* Adress-/Datenblock */
.legal-block {
  font-family: var(--font-mono);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--grau-700);
  background: color-mix(in srgb, var(--grau-100) 60%, var(--brand-paper));
  border-left: 2px solid var(--brand-accent);
  padding: 20px 26px;
  margin: 0 0 22px;
}
.legal-block .lbl {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grau-500);
  margin-bottom: 4px;
}

/* ── Fußzeile ───────────────────────────────────────────────── */
.legal-foot {
  margin-top: 72px;
  background: var(--brand-anthrazit);
  color: rgba(246,244,238,0.62);
}
.legal-foot-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px clamp(24px, 6vw, 64px) 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.7;
}
.legal-foot .fmark {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 15px;
  color: var(--brand-paper);
  flex: 1 1 100%;
  margin-bottom: 6px;
  position: relative;
}
/* Bordeaux-Linie NUR unter „TE" (glyphen-verankert, 09.06.2026). */
.legal-foot .fmark .wm-te { position: relative; }
.legal-foot .fmark .wm-te::after {
  content: ""; position: absolute;
  left: 0; right: 0.2em; bottom: -5px; height: 3px;
  background: var(--brand-anchor);
}
.legal-foot a { color: rgba(246,244,238,0.82); text-decoration: none; }
.legal-foot a:hover { color: var(--brand-paper); }
.legal-foot .sep { color: rgba(246,244,238,0.3); }
