/* Unterseiten (AGB, Impressum, Datenschutz, 404): gleiche Leiste und derselbe Morgenhimmel, ruhiger Lesesatz auf Papier. */
.recht { position: relative; z-index: 1; padding: calc(var(--leiste-h) + clamp(32px, 7vh, 72px)) 0 clamp(40px, 8vh, 80px); }
.recht__kopf { max-width: 860px; }
.recht__kopf .titel { font-size: clamp(2.6rem, 6vw, 5rem); }
.recht__kopf p { margin: 18px 0 0; }
.recht__rahmen { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; margin-top: clamp(26px, 5vh, 48px); }
.recht__rahmen--einspaltig { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.recht__inhalt { color-scheme: light; background: var(--papier); color: var(--papier-tinte); border-radius: calc(var(--radius) + 4px); box-shadow: var(--schatten); padding: clamp(20px, 3.6vw, 48px); }
.recht__inhalt h2 { margin: 1.8em 0 .5em; font: 700 1.3rem/1.15 var(--sc-font-display); letter-spacing: .03em; text-transform: uppercase; color: var(--papier-tinte); scroll-margin-top: calc(var(--leiste-h) + 16px); }
.recht__inhalt h2:first-child { margin-top: 0; }
.recht__inhalt h3 { margin: 1.4em 0 .4em; font-weight: 600; font-size: 1.05rem; }
.recht__inhalt p, .recht__inhalt li { max-width: 36em; line-height: 1.65; } /* rund 68 Zeichen je Zeile */
.recht__inhalt a { color: var(--orange-dunkel); display: inline-block; padding: 5px 0; }
.recht__inhalt .leise { color: var(--papier-leise); }
.luecke { padding: 10px 14px; border-radius: 6px; background: #fbe6d2; color: #4d2605; border: 1px dashed #d99a63; font-size: .92rem; }
.luecke b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.angaben { display: grid; gap: 6px; margin: 0; }
.angaben div { display: grid; grid-template-columns: 11rem 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px solid #e3dacf; }
.angaben dt { color: var(--papier-leise); }
.angaben dd { margin: 0; }
.inhaltsliste { position: sticky; top: calc(var(--leiste-h) + 24px); }
.inhaltsliste h2 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.inhaltsliste ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.inhaltsliste a { display: block; padding: 11px 10px; border-radius: 4px; text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.inhaltsliste a:hover, .inhaltsliste a:focus-visible { color: var(--ink); background: var(--nacht-2); }
.inhaltsliste a b { color: var(--orange); font: 700 1rem var(--sc-font-display); margin-right: 6px; }
.lesehilfe { margin: 0 0 clamp(26px, 4vh, 40px); padding: clamp(16px, 2.6vw, 26px); border-radius: 6px; background: #f7f2ec; border: 1px solid #e0d6ca; }
.lesehilfe h2 { margin-top: 0; }
.lesehilfe__hinweis { margin: 0 0 12px; font-weight: 600; color: var(--orange-dunkel); }
.lesehilfe ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.lesehilfe li { max-width: 36em; }
.lesehilfe__blick { gap: 10px !important; }
.lesehilfe__mehr { margin-top: 18px; border-top: 1px solid #e0d6ca; }
.lesehilfe__knopf { width: 100%; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; background: none; border: 0; font: 600 1rem/1.3 var(--sc-font-text); color: var(--orange-dunkel); text-align: left; }
.lesehilfe__knopf::after { content: "–"; font-size: 1.3rem; }
.lesehilfe__knopf[aria-expanded="false"]::after { content: "+"; }
.lesehilfe__mehr ul[hidden] { display: none; }
.lesehilfe__mehr ul { margin-top: 6px; }
.lesehilfe a { min-width: 32px; text-align: center; font-weight: 600; }
.paragraf { padding-top: 6px; border-top: 1px solid #e3dacf; margin-top: 26px; }
.paragraf:first-of-type { border-top: 0; }
.recht__stand { margin-top: 28px; font-size: .85rem; color: var(--papier-leise); }
.recht-fuss { position: relative; z-index: 1; border-top: 1px solid var(--glas-rand); background: rgba(5, 8, 22, .55); padding: 18px 0 26px; font-size: .82rem; color: var(--ink-soft); }
.recht-fuss .fuss__zeile { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.recht-fuss a { display: inline-flex; align-items: center; min-height: 32px; }

@media (max-width: 900px) {
  .recht__rahmen { grid-template-columns: minmax(0, 1fr); }
  .inhaltsliste { position: static; }
  .inhaltsliste ol { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
}
@media (max-width: 640px) {
  .angaben div { grid-template-columns: 1fr; gap: 0; }
  /* Telefon: Lesehilfe ohne inneren Kasten, damit die Zeilen breit genug bleiben */
  .recht__inhalt { padding: 20px 16px; }
  .lesehilfe { padding: 0; border: 0; background: none; }
  .lesehilfe ul { padding-left: 1em; }
}
