/* Rechtstexte zum Einbetten auf der Agentur-Seite (14.10.2026; /agb/einbettung,
   /widerruf/einbettung, /datenschutz/einbettung). Eigenes kleines Blatt statt app.css: nur
   Text, kein Kopf, keine Fusszeile, keine Navigation. Die Tokens sind dieselben Werte wie in
   app.css (Plane, Flaeche, Text, Rand, erster Slot fuer Links); hell/dunkel ueber
   prefers-color-scheme der einbettenden Seite bzw. des Browsers. */

:root {
  color-scheme: light;

  --plane: #f9f9f7;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #898781;
  --border: rgba(11, 11, 11, 0.1);
  --link: #2a78d6;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --plane: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #898781;
    --border: rgba(255, 255, 255, 0.1);
    --link: #3987e5;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

/* Kein min-height/100vh: die Hoehe, die einbettung.js meldet, ist die des Textes -- sonst
   wuechse der Rahmen mit jeder Meldung ein Stueck weiter. */
body {
  margin: 0;
  padding: 16px;
  background: var(--plane);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.einbettung__text {
  max-width: 44rem;
  margin: 0 auto;
}

.einbettung__hinweis {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

h2,
.card__title {
  margin: 20px 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

h3 {
  margin: 16px 0 6px;
  font-size: 1rem;
}

p,
ul,
ol {
  margin: 0 0 10px;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 6px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}

a {
  color: var(--link);
  overflow-wrap: anywhere;
}

/* Die Karten der Datenschutzerklaerung (_privacy_body.html) sind hier nur Abschnitte. */
.card {
  margin: 0;
}

.card__head {
  margin: 0;
}

.einbettung__fenster {
  margin: 20px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}
