/* Impressum und Datenschutzerklärung (statische Seiten neben dem Portal) sowie die Rechtslinks
 * auf der Anmeldeseite und in der Fußzeile des Portals. Farben und Schriften kommen aus app.css. */
.recht-seite { min-height: 100vh; min-height: 100dvh; padding: 32px 16px 56px; background: radial-gradient(circle at 50% 0, var(--brand-soft), transparent 44%), var(--bg); }
.recht-karte { width: min(760px, 100%); margin-inline: auto; padding: clamp(22px, 6vw, 40px); }
.recht-karte h1 { margin-bottom: 24px; }
.recht-karte h2 { margin: 28px 0 8px; }
.recht-karte h3 { margin: 18px 0 6px; }
.recht-karte section > h2:first-child { margin-top: 0; }
.recht-karte section { margin-top: 26px; }
.recht-karte p, .recht-karte li { overflow-wrap: anywhere; }
.recht-karte ul { padding-left: 1.2em; }
.recht-karte li { margin-bottom: 6px; }
.recht-stand { color: var(--muted); font-size: .9rem; }
.recht-zurueck { display: inline-block; margin-bottom: 18px; font-weight: 700; text-decoration: none; }
.recht-zurueck:hover { text-decoration: underline; }
.recht-fuss { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; }
.recht-fuss a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration: none; }

/* Links unter der Anmeldekarte und am Fuß des Portals: immer erreichbar, aber ruhig. */
.recht-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 18px; font-size: .86rem; }
.recht-links a { color: var(--muted); }
.recht-links a:hover { color: var(--brand); }
.auth-shell .recht-links { grid-column: 1; }
.portal-fuss { width: min(100% - 32px, var(--max)); margin: 0 auto; padding: 0 0 28px; }
.portal-fuss .recht-links { justify-content: flex-start; margin-top: 0; }
