/* Stylesheet für Rechtsseiten (Impressum / Datenschutz) */
:root {
  --ink: #161812;
  --ink-soft: #21241b;
  --paper: #f2f1e8;
  --sage: #7c8a6e;
  --sage-dark: #5b6850;
  --muted: #5d6053;
  --line: rgba(22,24,18,.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
a { color: var(--sage-dark); }

.legal-header {
  background: var(--ink);
  color: #fff;
}
.legal-header .bar {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.legal-header .brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; }
.legal-header .mark { display: inline-flex; align-items: center; flex-shrink: 0; }
.legal-header .mark svg { display: block; }
.legal-header .brand b { font-weight: 700; }
.legal-header .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.legal-header .brand-sub { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,241,232,.74); }
.legal-header .back { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; font-weight: 600; }
.legal-header .back:hover { color: #c4e44d; }

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 26px 90px;
}
h1 {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  margin: 0 0 8px;
  color: var(--ink);
}
.subtitle { color: var(--muted); margin: 0 0 40px; }
h2 {
  font-size: 1.25rem;
  margin: 38px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--sage-dark);
}
h3 { font-size: 1.02rem; margin: 22px 0 6px; }
p, li { color: #34352e; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 6px; }

.todo {
  background: #fff7df;
  border: 1px solid #e7d28a;
  border-left: 5px solid #d8b347;
  border-radius: 8px;
  padding: 4px 14px;
  margin: 6px 0;
}
.todo::before { content: "⚠ Bitte ergänzen/prüfen: "; font-weight: 700; color: #8a6d1a; }

.note {
  background: #fff;
  border-left: 5px solid var(--sage);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 26px 0;
  font-size: .95rem;
  color: #444;
}

.legal-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 28px 20px;
  font-size: .85rem;
  color: var(--muted);
}
.legal-footer a { margin: 0 8px; }

/* Wenn im Pop-up (iframe) eingebettet: eigene Kopf-/Fußzeile ausblenden */
.embedded .legal-header, .embedded .legal-footer { display: none; }
.embedded main { padding-top: 26px; }

/* Blocksatz + Silbentrennung fuer die Rechtstexte */
main p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
