/* Gemeinsames Design für die Rechtstexte (Impressum, Datenschutz, AGB)
   übernimmt Farben & Schriften der Hauptseite. */
:root {
  --bg:        #F5EDE0;
  --bg-deep:   #E8D5C0;
  --bg-card:   #FBF6EE;
  --ink:       #2C1810;
  --ink-soft:  #5B3A28;
  --mute:      #8C6B53;
  --line:      rgba(44,24,16,.14);
  --accent:    #C98E6B;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Lato', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --script: 'Caveat', 'Playfair Display', cursive;
  --pad-x: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }

/* Kopfzeile */
.legal-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  background: rgba(245,237,224,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal-header .logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .01em;
  text-decoration: none;
}
.legal-header .logo .dot { color: var(--accent); }
.legal-header .back {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); text-decoration: none;
  transition: color .2s ease;
}
.legal-header .back:hover { color: var(--accent); }

/* Inhalt */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 56px var(--pad-x) 96px; }
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.legal-wrap h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5.5vw, 50px);
  line-height: 1.1;
  margin: 0 0 8px;
}
.legal-wrap h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 26px);
  margin: 2.4em 0 .5em;
}
.legal-wrap h3 { font-size: 17px; font-weight: 700; margin: 1.6em 0 .3em; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); }
.legal-wrap ul { padding-left: 1.2em; }
.legal-wrap li { margin: .3em 0; }
.legal-wrap a:not(.back):not(.logo) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-wrap strong { color: var(--ink); font-weight: 700; }
.lead { font-size: 17px; color: var(--mute); margin: 0 0 8px; }

/* Hinweis-Box (Platzhalter / bitte anpassen) */
.note {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 14px;
  color: var(--mute);
}

/* Fußzeile */
.legal-footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad-x) 48px;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--mute);
}
.legal-footer a { color: var(--mute); text-decoration: none; }
.legal-footer a:hover { color: var(--accent); }
.legal-footer .links a { margin-left: 4px; }
