/* Rechtstexte, Regeln und Listenseiten, Design-System 2 (31.10.2026): Kopf linksbündig, Artikel (2/3) neben der Spalte "Weiterlesen" (1/3), Fließtext 14/21. */
body.pg-legal, body.pg-list { padding: 0 !important; margin: 0; }
body.pg-legal .pl-hero { margin-top: 0 !important; padding: 60px 0 0 !important; background: none !important; text-align: left !important; }
body.pg-legal .pl-hero .wrap { max-width: 1600px; text-align: left !important; }
body.pg-legal .pl-hero .crumb { text-align: left; font-size: 14px; line-height: 21px; font-weight: 600; color: var(--ds-text); margin: 0 0 6px; }
body.pg-legal .pl-hero .crumb a { color: var(--ds-accent); text-decoration: none; }
body.pg-legal .pl-hero .topic-num { display: inline-block; font-size: 16px; line-height: 24px; font-weight: 800; color: var(--ds-text); background: none; border-radius: 0; padding: 0; margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
body.pg-legal .pl-hero h1 { font-size: 40px !important; line-height: 48px !important; font-weight: 900 !important; margin: 0 0 4px !important; text-align: left; max-width: 820px; }
body.pg-legal .pl-hero .updated, body.pg-legal .pl-hero .sub { margin: 0; max-width: 820px; text-align: left; font-size: 14px; font-weight: 600; color: var(--ds-muted) !important; line-height: 21px; }
body.pg-legal .wrap.lg-body, body.pg-list .wrap.lg-body { max-width: 1600px; padding: 24px 20px 80px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 80px; align-items: start; }
body.pg-list .wrap.lg-body { display: block; padding-top: 14px; }
body.pg-legal .lg-body > :not(.ds-aside) { grid-column: 1; max-width: 860px; }
body.pg-legal .lg-body > .ds-aside { grid-column: 2; grid-row: 1 / span 60; position: sticky; top: calc(var(--ds-header-h) + 42px + 24px); padding-top: 4px; }
body.pg-legal .lg-body .card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0 0 8px; }
body.pg-legal .lg-body .toc { background: var(--ds-surface); border-radius: var(--ds-radius); padding: 20px 26px; margin-bottom: 30px; }
body.pg-legal .lg-body .toc a { font-weight: 600; }
body.pg-legal .lg-body h2 { font-size: 22px; line-height: 30px; font-weight: 900; color: var(--ds-text); margin: 34px 0 8px; letter-spacing: 0; }
body.pg-legal .lg-body h3 { font-size: 18px; line-height: 27px; font-weight: 800; color: var(--ds-text); margin: 22px 0 6px; }
body.pg-legal .lg-body h2:first-child, body.pg-legal .lg-body .card > h2:first-child { margin-top: 20px; }
body.pg-legal .lg-body p, body.pg-legal .lg-body li { color: var(--ds-text); font-size: 14px; line-height: 21px; }
body.pg-legal .lg-body p { margin: 0 0 12px; }
body.pg-legal .lg-body .notice { border-radius: var(--ds-radius); font-size: 14px; background: var(--ds-surface); border: 0; }
body.pg-legal .lg-body table { border-collapse: collapse; width: 100%; }
body.pg-legal .lg-body th, body.pg-legal .lg-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
body.pg-legal .lg-body a { color: var(--ds-accent-ink); }
html.dark body.pg-legal .lg-body a { color: var(--ds-accent); }
/* Spalte "Weiterlesen" */
.ds-aside__title { margin: 0 0 20px; font-size: 16px; line-height: 24px; font-weight: 900; }
.ds-aside a { display: block; font-size: 12px; line-height: 18px; font-weight: 800; color: var(--ds-text-strong) !important; text-decoration: underline; }
.ds-aside a:hover { color: var(--ds-accent) !important; }
.ds-aside p { font-size: 12px !important; line-height: 21px !important; margin: 0 0 22px !important; color: var(--ds-text) !important; }
/* Cookie-Hinweis auf Rechts- und Regelseiten unten links neben dem Nach-oben-Knopf (14.11.2026, Nutzerwunsch): unten rechts verdeckte er bei
   niedrigen Fenstern die Spalte "Weiterlesen". Bis 640 px bleibt er wie überall über die ganze Breite unten. */
@media (min-width: 641px) { body.pg-legal .ds-toast--cookie { right: auto; left: 80px; width: 400px; } }
@media (max-width: 991px) {
  body.pg-legal .wrap.lg-body { display: block; padding-top: 10px; }
  body.pg-legal .lg-body > .ds-aside { position: static; margin-top: 40px; border-top: 1px solid var(--ds-line); padding-top: 24px; }
  body.pg-legal .pl-hero { padding-top: 36px !important; }
  body.pg-legal .pl-hero h1 { font-size: 32px !important; line-height: 38px !important; }
}
