/* ═══════════════════════════════════════════════════════════════════════════
   LP-NEU-2 Punkt 6 (Max, 14.10.2026): Impressum, Datenschutz und AGB im
   Design der Landingpages. Kopfleiste, Schrift, Farben und Fusszeile kommen
   aus lp-neu.css; hier steht nur, was die Rechtsseiten zusaetzlich brauchen.

   ⛔ WORTLAUT UNVERAENDERT. Diese Datei gestaltet - sie fuegt keinen Text
   hinzu (kein content: mit Worten). Der Textvergleich vorher/nachher steht
   in test/rt3-rechtsseiten-design.test.js.
   ⛔ Keine Animationen, keine Effekte im Textbereich (Max).
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Nichts bewegt sich - auch nicht die Kopfleiste (lp-neu.css gibt ihr sonst einen Schatten beim Scrollen). */
.recht *, .recht *::before, .recht *::after { animation: none !important; transition: none !important; }
html:has(body.recht) { scroll-behavior: auto; }

/* Schmaler dunkler Streifen mit Seitentitel und Stand */
.recht-streifen { background: var(--dunkel); color: #CBD5E1; padding: 34px 0 30px; }
.recht-streifen h1 { color: var(--weiss); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; max-width: 30em; }
.recht-streifen p { margin: 10px 0 0; font-size: 15px; color: #94A3B8; }

/* Inhaltsverzeichnis links, Text rechts; am Handy das Verzeichnis oben */
.recht-raster { display: grid; grid-template-columns: 250px minmax(0, 46rem); gap: 64px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
.recht-inhalt { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 14px; line-height: 1.45; }
.recht-inhalt p { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.recht-inhalt ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.recht-inhalt li a { display: block; padding: 6px 0 6px 14px; color: var(--ink-mid); text-decoration: none; }
.recht-inhalt li a:hover, .recht-inhalt li a:focus-visible { color: var(--navy); text-decoration: underline; }

.recht-text { min-width: 0; font-size: 17px; line-height: 1.7; color: var(--ink); }
.recht-text h2 { margin: 2.4em 0 .6em; color: var(--navy); font-size: 21px; line-height: 1.3; letter-spacing: -.01em; scroll-margin-top: 96px; }
.recht-text > h2:first-child, .recht-text > .block:first-child h2 { margin-top: 0; }
.recht-text p { margin: .8em 0; }
.recht-text a { color: var(--blau-d); }
.recht-text strong { color: var(--ink-stark); }
/* aus den alten Seiten: Bloecke (Impressum/Datenschutz), Anschrift und Fuss (AGB) */
.recht-text .block + .block { margin-top: 0; }
.recht-text .anschrift { margin: .8em 0; }
.recht-text .fuss { margin-top: 3em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-mute); }

@media (max-width: 900px) {
  .recht-raster { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .recht-inhalt { position: static; max-height: none; overflow: visible; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--flaeche); }
  .recht-inhalt ol { border-left: 0; }
  .recht-inhalt li a { padding: 7px 0; }
  .recht-text { font-size: 16px; }
}

/* Drucken: lesbarer Text, keine dunklen Flaechen, kein Verzeichnis, keine Leiste */
@media print {
  .recht .kopfleiste, .recht .recht-inhalt, .recht footer { display: none !important; }
  .recht, .recht .recht-streifen { background: #fff !important; color: #000 !important; }
  .recht .recht-streifen { padding: 0 0 12px; border-bottom: 1px solid #999; }
  .recht .recht-streifen h1, .recht .recht-streifen p, .recht .recht-text, .recht .recht-text h2, .recht .recht-text strong { color: #000 !important; }
  .recht .recht-raster { display: block; padding-top: 12px; padding-bottom: 0; }
  .recht .recht-text a { color: #000; }
  .recht .recht-text h2 { break-after: avoid; }
}
