/* Rechtsseiten der Webseite (Impressum, Datenschutz) — G14-Gestaltung 10.11.2026.
   Gleicher Aufbau wie Stunden-App/App/css/recht.css, nur die Farb-Token kommen aus style.css. */
.recht-seite { --r-grund: var(--tag); --r-text: var(--ink); --r-leise: var(--muted); --r-linie: var(--linie); --r-karte: var(--papier); --r-akzent: var(--akzent); }

.recht-seite { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--r-grund); color: var(--r-text); }
.recht-seite > main { flex: 1; }
.recht-breite { width: min(1120px, calc(100% - 2 * clamp(16px, 4vw, 48px))); margin-inline: auto; }
.recht-kopf { border-bottom: 1px solid var(--r-linie); background: var(--r-karte); }
.recht-kopf .recht-breite { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.recht-marke { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 650; letter-spacing: -.03em; color: var(--r-text); text-decoration: none; }
.recht-marke img, .recht-marke svg { width: 30px; height: 30px; flex: none; }
.recht-marke b { color: var(--r-akzent); }
.recht-zurueck { color: var(--r-leise); font-size: .9rem; text-decoration: none; }
.recht-zurueck:hover, .recht-zurueck:focus-visible { color: var(--r-akzent); }
.recht-titel { padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--r-linie); }
.recht-kicker { margin: 0 0 .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--r-akzent); }
.recht-titel h1 { margin: 0; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; overflow-wrap: anywhere; }
.recht-stand { margin: 1rem 0 0; max-width: 68ch; color: var(--r-leise); font-size: .95rem; line-height: 1.5; }
.recht-raster { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(32px, 6vw, 80px); padding: 48px 0 96px; }
.recht-raster.ohne-inhalt { grid-template-columns: minmax(0, 76ch); }
.recht-inhalt { position: sticky; top: 24px; align-self: start; font-size: .875rem; }
.recht-inhalt p { margin: 0 0 .75rem; font-weight: 600; }
.recht-inhalt ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--r-linie); }
.recht-inhalt a { display: block; margin-left: -1px; padding: .4rem 0 .4rem 1rem; border-left: 2px solid transparent; color: var(--r-leise); line-height: 1.35; text-decoration: none; }
.recht-inhalt a:hover, .recht-inhalt a:focus-visible { color: var(--r-akzent); border-left-color: var(--r-akzent); }
.recht-text { font-size: 1.0625rem; line-height: 1.65; }
.recht-text h2 { margin: 3rem 0 1rem; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.01em; scroll-margin-top: 24px; }
.recht-text > h2:first-child { margin-top: 0; }
.recht-text h3 { margin: 1.75rem 0 .5rem; font-size: 1.1rem; }
.recht-text p, .recht-text li { margin: 0 0 .75rem; color: var(--r-text); }
.recht-text ol, .recht-text ul { margin: 0 0 1rem; padding-left: 1.4em; }
.recht-text li::marker { color: var(--r-leise); }
.recht-text a { color: var(--r-akzent); }
.recht-vorab { padding: 1.1rem 1.4rem; border: 1px solid var(--r-linie); border-radius: 12px; background: var(--r-karte); }
.recht-zeile { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--r-linie); }
.recht-zeile:first-child { padding-top: 0; }
.recht-zeile h2 { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--r-leise); line-height: 1.9; }
.recht-zeile p { margin: 0 0 .4rem; }
.recht-fuss { border-top: 1px solid var(--r-linie); }
.recht-fuss .recht-breite { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; padding: 28px 0 40px; color: var(--r-leise); font-size: .875rem; }
.recht-fuss span { margin-right: auto; }
.recht-fuss a { color: inherit; }
.recht-fuss a:hover { color: var(--r-akzent); }
@media (max-width: 860px) {
  .recht-raster, .recht-raster.ohne-inhalt { grid-template-columns: minmax(0, 1fr); padding: 32px 0 64px; }
  .recht-inhalt { position: static; }
  .recht-zeile { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .recht-fuss span { width: 100%; }
}
@media print {
  .recht-kopf, .recht-inhalt, .recht-fuss { display: none; }
  .recht-raster { display: block; padding: 0; }
  .recht-seite { background: none; }
}
