/* Impressum und Datenschutz: gleiche Sprache wie die Landingpage (Hygiene-Weiß, Petrol-Tinte, Tiger-Orange als Akzent) */
:root {
  --bg: #F2F4F3;
  --surface: #FFFFFF;
  --raised: #E7ECEB;
  --line: #D3DBDA;
  --text: #142024;
  --muted: #4C5A5E;
  --steel: #1B2B30;
  --tiger: #F16513;
  --tiger-text: #A8410A;
  --tiger-soft: #FDE8DA;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1080px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body.lg { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--steel); text-decoration-color: var(--tiger); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--tiger-text); }
:focus-visible { outline: 3px solid var(--tiger); outline-offset: 2px; border-radius: 4px; }
h1, h2 { color: var(--steel); letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
p:last-child { margin-bottom: 0; }

.lg-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* Kopfzeile */
.lg-top { position: sticky; top: 0; z-index: 10; background: rgb(242 244 243 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lg-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.lg-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--steel); text-decoration: none; }
.lg-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .95rem; }
.lg-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lg-nav a:hover { color: var(--steel); background: var(--raised); }
.lg-nav a[aria-current="page"] { color: var(--steel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.lg-nav .lg-back { background: var(--tiger); color: var(--text); font-weight: 500; }
.lg-nav .lg-back:hover { background: #FF7A2E; color: var(--text); }

/* Kopfbereich der Seite */
.lg-hero { padding: clamp(48px, 9vw, 104px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(60rem 22rem at 85% -10%, rgb(241 101 19 / .14), transparent 70%); border-bottom: 1px solid var(--line); }
.lg-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tiger-text); }
.lg-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--tiger); }
.lg-hero h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; font-weight: 700; }
.lg-lead { margin: 0; max-width: 38rem; color: var(--muted); font-size: 1.15rem; }

.lg-content { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }

/* Karten */
.lg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 16px; }
.lg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); }
.lg-card h2 { margin: 0 0 14px; font-size: .8rem; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lg-card-accent { margin-bottom: 40px; border-color: transparent; background: var(--steel); color: #E9EFEE; position: relative; overflow: hidden; }
.lg-card-accent::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tiger); }
.lg-card-accent h2 { color: #FDB58A; }
.lg-card-accent strong { color: #fff; }
.lg-address { font-style: normal; font-size: 1.1rem; line-height: 1.55; margin-bottom: .8em; }
.lg-address:last-child { margin-bottom: 0; }
.lg-small { font-size: .94rem; color: var(--muted); }
.lg-mono { font-family: var(--mono); font-size: 1rem; }
.lg-facts { display: grid; grid-template-columns: minmax(7.5rem, max-content) minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.lg-facts-tight { grid-template-columns: 4rem minmax(0, 1fr); }
.lg-facts-tight a[href^="tel:"] { white-space: nowrap; }
.lg-facts dt { color: var(--muted); font-size: .94rem; }
.lg-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .lg-facts { grid-template-columns: 1fr; gap: 2px; }
  .lg-facts dd { margin-bottom: 10px; }
}

/* Fließtext-Abschnitte */
.lg-prose { max-width: 46rem; }
.lg-prose section { padding: 28px 0; border-top: 1px solid var(--line); }
.lg-prose section:first-child { border-top: 0; padding-top: 0; }
.lg-prose h2 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.3; }
.lg-prose h3 { margin: 18px 0 6px; font-size: 1.05rem; color: var(--steel); }
.lg-prose ul { padding-left: 1.2em; margin: 0 0 .8em; }
.lg-prose li { margin-bottom: 6px; }
.lg-prose li::marker { color: var(--tiger); }
.lg-prose address { font-style: normal; margin-bottom: .8em; }
.lg-prose code { font-family: var(--mono); font-size: .88em; background: var(--raised); padding: 1px 6px; border-radius: 4px; }

.lg-credit { margin-top: 32px; padding: 20px 24px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); font-size: .94rem; }
.lg-credit h2 { margin: 0 0 6px; font-size: .78rem; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.lg-meta { margin-top: 32px; color: var(--muted); font: .85rem var(--mono); }

/* Datenschutz: Inhaltsverzeichnis links, Text rechts */
.lg-doc { display: grid; grid-template-columns: 1fr; gap: 32px; }
.lg-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; font-size: .95rem; }
.lg-toc-title { margin: 0 0 8px; font: 500 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lg-toc ol { margin: 0; padding-left: 1.4em; }
.lg-toc li { margin-bottom: 4px; }
.lg-toc li::marker { color: var(--muted); font-family: var(--mono); font-size: .85em; }
.lg-toc a { text-decoration: none; color: var(--text); }
.lg-toc a:hover { color: var(--tiger-text); text-decoration: underline; }
@media (min-width: 900px) {
  .lg-doc { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
  .lg-toc { position: sticky; top: 92px; }
  .lg-doc .lg-meta { grid-column: 2; margin-top: 0; }
}

mark.todo { background: var(--tiger-soft); color: var(--tiger-text); padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.lg-card-accent mark.todo { background: rgb(241 101 19 / .25); color: #FFD9C2; }

/* Fußzeile */
.lg-foot { border-top: 1px solid var(--line); background: var(--surface); font-size: .9rem; color: var(--muted); }
.lg-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.lg-foot a { color: var(--muted); }

@media print {
  .lg-top, .lg-foot, .lg-toc { display: none; }
  .lg-hero { background: none; padding: 0 0 16px; }
  .lg-card-accent { background: none; color: inherit; border: 1px solid #999; }
  .lg-card-accent h2, .lg-card-accent strong { color: inherit; }
}
