/* mindloop – Rechtsseiten (Impressum, Datenschutz, AGB), erzeugt mit werkzeug/rechtsseiten.py
   Ruhig und gut lesbar: eine Spalte, Fließtext 17 px, Zeilen um die 70 Zeichen, die Kurzfassung oben in einem Kasten
   wie bei scryp. Baut auf style.css auf (Schriften, Farben, Logo, Fußzeile). */

.recht__kopf {
  display: flex;
  justify-content: center;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.recht__seite { padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 104px); }
.recht__text { max-width: 44rem; margin: 0 auto; overflow-wrap: break-word; }

.recht__titel {
  margin: 10px 0 12px;
  font: 600 clamp(34px, 5.4vw, 56px)/1.05 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.recht__stand { color: var(--muted); font-size: 15px; }

.recht__kurz {
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 24px;
  background: var(--soft);
}
.recht__text .recht__kurz > h2 { margin: 0 0 10px; font: 600 20px/1.3 var(--font-display); letter-spacing: -0.01em; }
.recht__kurz ul { margin-bottom: 0; }

.recht__inhalt { margin: 36px 0 8px; }
.recht__inhalt h2 { margin: 0 0 8px; font: 600 15px/1.4 var(--font); letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.recht__inhalt ol { list-style: decimal; padding-left: 1.4em; }
.recht__inhalt li { margin: 4px 0; }
.recht__inhalt a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

.recht__text section > h2 {
  margin: clamp(40px, 5vw, 56px) 0 12px;
  font: 600 clamp(22px, 2.6vw, 28px)/1.2 var(--font-display);
  letter-spacing: -0.02em;
  scroll-margin-top: 24px;
}
.recht__text h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.recht__text p { margin: 0 0 14px; }
.recht__text ul, .recht__text section ol { margin: 0 0 14px; padding-left: 1.3em; }
.recht__text ul { list-style: disc; }
.recht__text section ol { list-style: decimal; }
.recht__text li { margin: 6px 0; padding-left: 2px; }
.recht__text li::marker { color: var(--faint); }
.recht__text strong { font-weight: 600; }
.recht__text a { color: var(--kicker); text-underline-offset: 3px; }
.recht__text a:hover { text-decoration-thickness: 2px; }
.recht__offen { padding: 1px 6px; border-radius: 6px; background: #fff1a8; color: #5c4a00; font-size: 0.92em; }
.recht__knopf { margin: 22px 0 26px; }
.recht__text .recht__knopf a { color: #fff; text-decoration: none; }

@media print {
  .recht__kopf, .footer, .skip { display: none; }
  .recht__seite { padding: 0; }
  .recht__kurz { background: none; border: 1px solid #ccc; }
  .recht__text a { color: inherit; }
}
