/* Shared styles for impressum.html and datenschutz.html — matches the landing pages */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-latin-400-700.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('fonts/jost-latin-300-600.woff2') format('woff2');
  font-weight: 300 600;
  font-display: swap;
}
  /* Stand-in fonts sized to match Playfair Display and Jost, so text doesn't re-wrap
     (and move the form) when the brand fonts arrive. Values from measuring the page's
     own text; one family per common system font. */
  @font-face { font-family: 'PF Times'; src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Times'), local('Liberation Serif'), local('Tinos'); font-weight: 400 600; size-adjust: 110.6%; }
  @font-face { font-family: 'PF Times'; src: local('Times New Roman Bold'), local('TimesNewRomanPS-BoldMT'), local('Times Bold'), local('Liberation Serif Bold'), local('Tinos Bold'); font-weight: 700 900; size-adjust: 106.9%; }
  @font-face { font-family: 'PF Noto'; src: local('Noto Serif'), local('NotoSerif-Regular'), local('NotoSerif'); font-weight: 400 600; size-adjust: 94%; }
  @font-face { font-family: 'PF Noto'; src: local('Noto Serif Bold'), local('NotoSerif-Bold'); font-weight: 700 900; size-adjust: 91%; }
  @font-face { font-family: 'PF DejaVu'; src: local('DejaVu Serif'), local('DejaVuSerif'); font-weight: 400 600; size-adjust: 87.5%; }
  @font-face { font-family: 'PF DejaVu'; src: local('DejaVu Serif Bold'), local('DejaVuSerif-Bold'); font-weight: 700 900; size-adjust: 81.3%; }
  @font-face { font-family: 'Jost Arial'; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Liberation Sans'), local('Arimo'); font-weight: 100 400; size-adjust: 92.6%; }
  @font-face { font-family: 'Jost Arial'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold'), local('Arimo Bold'); font-weight: 500 900; size-adjust: 95.3%; }
  @font-face { font-family: 'Jost Roboto'; src: local('Roboto'), local('Roboto-Regular'); font-weight: 100 400; size-adjust: 93.4%; }
  @font-face { font-family: 'Jost Roboto'; src: local('Roboto Bold'), local('Roboto-Bold'); font-weight: 500 900; size-adjust: 101.3%; }
  @font-face { font-family: 'Jost DejaVu'; src: local('DejaVu Sans'), local('DejaVuSans'); font-weight: 100 400; size-adjust: 82.1%; }
  @font-face { font-family: 'Jost DejaVu'; src: local('DejaVu Sans Bold'), local('DejaVuSans-Bold'); font-weight: 500 900; size-adjust: 80.2%; }

:root {
  --ink: #2B2420;
  --paper: #FBF6F0;
  --dark: #241619;
  --terracotta: #BE6A48;
  --terracotta-deep: #A85A3B;
  --gold: #BFA054;
  --muted: #8B8178;
  --line: #E8DDD1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Jost', 'Jost Arial', 'Jost Roboto', 'Jost DejaVu', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER ---------- */
.legal-header { background: var(--dark); color: #F3EAE0; padding: 22px 0; }
.legal-header .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; }
.legal-header .wordmark { font-family: 'Playfair Display', 'PF Times', 'PF Noto', 'PF DejaVu', Georgia, serif; font-size: 18px; color: #FBF6F0; text-decoration: none; }
.legal-header .back-links { font-size: 14px; color: #C9BEB2; }
.legal-header .back-links a { color: var(--gold); text-decoration: none; }
.legal-header .back-links a:hover { text-decoration: underline; }

/* ---------- CONTENT ---------- */
.legal-page { padding-top: 48px; padding-bottom: 56px; }
.legal-page h1 { font-family: 'Playfair Display', 'PF Times', 'PF Noto', 'PF DejaVu', Georgia, serif; font-weight: 700; font-size: clamp(28px, 5vw, 36px); line-height: 1.25; margin-bottom: 18px; }
.legal-page h2 { font-family: 'Jost', 'Jost Arial', 'Jost Roboto', 'Jost DejaVu', sans-serif; font-size: 16px; font-weight: 600; margin-top: 28px; margin-bottom: 8px; color: var(--ink); }
.legal-page p { font-size: 15px; color: #4A4038; margin-bottom: 10px; overflow-wrap: anywhere; }
.legal-page a { color: var(--terracotta-deep); }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px 0; text-align: center; font-size: 12px; color: var(--muted); }
footer .fm-name { color: var(--terracotta-deep); font-weight: 500; }
footer .legal-links { margin-top: 10px; }
footer .legal-links a { color: var(--muted); text-decoration: underline; margin: 0 8px; }
footer .legal-links a:hover { color: var(--terracotta-deep); }
