/* Our legal pages under /rechtliches/ (D-127, src/http/platform-legal.ts).
   Platform brand on porcelain; one readable column; the list of legal pages beside it
   on wide screens and below it on phones. No capitals, Newsreader for headings. */
.legal-page { margin: 0; background: var(--bestellt-porcelain); color: var(--bestellt-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.legal-page :focus-visible { outline: 3px solid var(--bestellt-green); outline-offset: 3px; border-radius: 4px; }
.lg-wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.lg-header { border-bottom: 1px solid var(--bestellt-zinc); background: #fff; }
.lg-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.lg-header .wordmark svg { height: 26px; }
.lg-login { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 8px; color: var(--bestellt-ink); font-weight: 600; text-decoration: none; }
.lg-login:hover { background: rgb(21 24 26 / .06); }
.lg-main { padding: 40px 0 64px; }
.lg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: start; }
.lg-doc { max-width: 44rem; font-size: 16px; line-height: 1.6; }
.lg-doc h1 { margin: 0 0 8px; font-family: var(--bestellt-serif); font-size: clamp(32px, 5vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; font-variation-settings: "opsz" 60; }
.lg-lead { margin: 0 0 32px; color: var(--bestellt-stone); font-size: 18px; }
.lg-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #fbf3e4; color: #5c4317; font-size: 15px; }
.lg-doc section { padding: 24px 0; border-top: 1px solid var(--bestellt-zinc); }
.lg-doc h2 { margin: 0 0 12px; font-family: var(--bestellt-serif); font-size: 22px; font-weight: 600; line-height: 1.3; font-variation-settings: "opsz" 24; }
.lg-doc p { margin: 0 0 12px; }
.lg-doc ul { margin: 0 0 12px; padding-left: 22px; }
.lg-doc li { margin: 0 0 6px; }
.lg-doc dl { display: grid; gap: 8px; margin: 0 0 12px; }
.lg-doc dl > div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 16px; }
.lg-doc dt { font-weight: 600; }
.lg-doc dd { margin: 0; }
.lg-doc a { color: var(--bestellt-green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.lg-date { margin: 8px 0 0; padding-top: 24px; border-top: 1px solid var(--bestellt-zinc); color: var(--bestellt-stone); font-size: 14px; }
.lg-nav { position: sticky; top: 24px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--bestellt-zinc); border-radius: 12px; background: #fff; }
.lg-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--bestellt-ink); font-size: 15px; text-decoration: none; }
.lg-nav a:hover { background: var(--bestellt-porcelain); }
.lg-nav a[aria-current] { background: #e4ede8; color: var(--bestellt-green); font-weight: 600; }
.lg-footer { border-top: 1px solid var(--bestellt-zinc); }
.lg-footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 64px; color: var(--bestellt-stone); font-size: 14px; }
.lg-footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
@media (max-width: 760px) {
  .lg-main { padding: 24px 0 48px; }
  .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lg-nav { position: static; }
  .lg-doc dl > div { grid-template-columns: 1fr; gap: 2px; }
}
