/* Impressum und Datenschutz (spiel/impressum.html, spiel/datenschutz.html): Leseseiten im Stil des Spiels.
   Farben und Schrift aus ui/stil.css (hell und dunkel, auch data-theme wie im Spiel), hier nur der Aufbau.
   stil.css sperrt das Scrollen für die Spielfläche; diese Seiten scrollen normal. Anker in den Seiten dürfen keine
   Kennung der Spielfläche tragen (app, karte, kopf, seite, fenster, dock, meldungen, start, werkzeuge), die stil.css
   gestaltet (#karte etwa liegt absolut über der ganzen Seite). */

html, body.recht { height: auto; overflow: auto; }
body.recht {
    font-size: 15.5px;
    line-height: 1.6;
    background: var(--papier);
    -webkit-text-size-adjust: 100%;
}
.recht-breite { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.recht-kopf { background: var(--papier-hell); border-bottom: 1px solid var(--rand); }
.recht-kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.recht a.recht-marke { display: inline-flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; font-weight: 700; font-size: 17px; }
.recht-marke svg { width: 52px; height: auto; flex: none; }
.recht-marke .b-koerper { fill: var(--akzent); }
.recht-marke .b-dach { fill: var(--akzent); opacity: 0.75; }
.recht-marke .b-streifen { fill: var(--tinte); opacity: 0.14; }
.recht-marke .b-fenster { fill: var(--papier-hell); opacity: 0.92; }
.recht-marke .b-tuer { fill: var(--papier-tief); stroke: var(--papier-hell); stroke-width: 1.5; }
.recht-marke .b-rad { fill: var(--tinte); }
.recht-marke .b-nabe { fill: var(--papier-tief); }
.recht-marke .b-licht { fill: var(--warn); }
.recht-marke .recht-unter { display: block; font-weight: 400; color: var(--tinte-2); font-size: 12.5px; line-height: 1.2; }
.recht-meta { color: var(--tinte-3); font-size: 13px; }

.recht main { padding-top: 18px; padding-bottom: 32px; }
.recht-zurueck { display: inline-block; font-size: 14px; text-decoration: none; margin-bottom: 10px; }
.recht-zurueck:hover { text-decoration: underline; }
.recht-oben { margin: 6px 0 2px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tinte-3); }
.recht h1 { font-size: clamp(26px, 6vw, 34px); margin: 0 0 4px; hyphens: manual; }
.recht-stand { color: var(--tinte-2); font-size: 13px; margin-bottom: 18px; }
.recht-lead { font-size: 16.5px; color: var(--tinte); }

.recht section { margin-top: 26px; }
.recht h2 { font-size: 20px; margin: 0 0 10px; padding-top: 6px; border-top: 1px solid var(--rand-2); scroll-margin-top: 12px; }
.recht h3 { font-size: 16px; margin: 20px 0 8px; scroll-margin-top: 12px; }
.recht p { margin: 0 0 10px; }
.recht ul, .recht ol { margin: 0 0 12px; padding-left: 22px; }
.recht li { margin-bottom: 4px; }
.recht address { font-style: normal; margin: 0 0 10px; padding: 10px 14px; background: var(--papier-hell); border: 1px solid var(--rand); border-radius: var(--radius-klein); width: fit-content; max-width: 100%; }
.recht a { color: var(--akzent); overflow-wrap: anywhere; }
.recht code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--papier-tief); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }

/* Angaben als Liste aus Begriff und Erklärung, breit zweispaltig, auf dem Handy untereinander */
.recht-fakten { display: grid; grid-template-columns: minmax(8em, 11em) 1fr; gap: 8px 16px; margin: 12px 0 14px; padding: 12px 14px; background: var(--papier-hell); border: 1px solid var(--rand); border-radius: var(--radius); }
.recht-fakten dt { font-weight: 650; color: var(--tinte-2); }
.recht-fakten dd { margin: 0; }
.recht-fakten dt code { font-weight: 500; overflow-wrap: normal; }
.recht-fakten.recht-schluessel { grid-template-columns: minmax(8em, 16em) 1fr; }
.recht-fakten dd > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .recht-fakten, .recht-fakten.recht-schluessel { grid-template-columns: 1fr; gap: 2px; }
    .recht-fakten dd { margin-bottom: 8px; }
    .recht-fakten dd:last-child { margin-bottom: 0; }
}

.recht-kasten { margin: 12px 0 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--akzent-hell); border: 1px solid var(--rand); }
.recht-kasten h4 { margin: 0 0 6px; font-size: 13px; color: var(--tinte); }
.recht-kasten p:last-child { margin-bottom: 0; }

.recht-kurz { padding: 14px 16px; background: var(--papier-hell); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); }
.recht-kurz h2 { border-top: 0; padding-top: 0; }
.recht-kurz ul { margin-bottom: 0; }

.recht-inhalt { margin-top: 18px; }
.recht-inhalt p { font-weight: 650; margin-bottom: 4px; }
.recht-inhalt ol { margin-bottom: 0; }

.recht-fuss { padding-bottom: 28px; font-size: 14px; }
.recht-fuss nav { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid var(--rand); padding-top: 14px; }
.recht-fuss a { color: var(--tinte-2); }
.recht-fuss a[aria-current="page"] { color: var(--tinte); font-weight: 650; text-decoration: none; }
