/* Gemeinsames Stylesheet für die Rechtsseiten (Impressum, Datenschutz).
   Hell, gut lesbar, barrierearme Kontraste. Nutzt die selbst gehostete Inter. */

:root {
  --lg-bg:#f7f9fc; --lg-surface:#ffffff; --lg-ink:#0f172a; --lg-ink-2:#334155;
  --lg-muted:#5b6675; --lg-border:#e2e8f0; --lg-accent:#0e7490; --lg-accent-2:#06b6d4;
  --lg-maxw:800px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:var(--lg-bg);color:var(--lg-ink);line-height:1.7;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
a{color:var(--lg-accent);text-decoration:underline;text-underline-offset:2px;}
a:hover{color:var(--lg-accent-2);}
:focus-visible{outline:3px solid var(--lg-accent-2);outline-offset:2px;border-radius:3px;}

.lg-container{width:100%;max-width:var(--lg-maxw);margin-inline:auto;padding-inline:clamp(1.1rem,4vw,2rem);}

.lg-header{border-bottom:1px solid var(--lg-border);background:var(--lg-surface);}
.lg-header .lg-container{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:64px;}
.lg-brand{font-weight:800;font-size:1.05rem;letter-spacing:-.02em;color:var(--lg-ink);text-decoration:none;}
.lg-back{font-size:.9rem;font-weight:600;}

main.lg-container{padding-block:clamp(2rem,5vw,3.5rem);}

.lg-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--lg-accent);margin-bottom:.6rem;}
h1{font-size:clamp(1.7rem,4vw,2.4rem);font-weight:800;line-height:1.15;letter-spacing:-.02em;margin-bottom:.4rem;}
.lg-updated{color:var(--lg-muted);font-size:.85rem;margin-bottom:2rem;}

h2{font-size:clamp(1.15rem,2.2vw,1.4rem);font-weight:700;line-height:1.3;margin:2.2rem 0 .7rem;padding-top:.4rem;}
h3{font-size:1.02rem;font-weight:700;margin:1.4rem 0 .4rem;}
p{margin:0 0 .9rem;color:var(--lg-ink-2);}
ul,ol{margin:0 0 1rem 1.3rem;color:var(--lg-ink-2);}
li{margin-bottom:.35rem;}
strong{color:var(--lg-ink);}

.lg-note{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:1rem 1.2rem;font-size:.9rem;color:#713f12;margin:1.2rem 0 2rem;}
.lg-note strong{color:#713f12;}

.lg-card{background:var(--lg-surface);border:1px solid var(--lg-border);border-radius:14px;padding:1.3rem 1.5rem;margin-bottom:1.4rem;}
.lg-card p:last-child{margin-bottom:0;}
.lg-placeholder{color:#9a3412;background:#ffedd5;border-radius:4px;padding:0 .3rem;font-weight:600;}
.lg-closing{margin-top:2rem;color:var(--lg-muted);font-size:.85rem;}

.lg-toc{background:var(--lg-surface);border:1px solid var(--lg-border);border-radius:14px;padding:1.1rem 1.4rem;margin-bottom:2rem;}
.lg-toc strong{display:block;margin-bottom:.5rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--lg-muted);}
.lg-toc ol{margin:0 0 0 1.2rem;}
.lg-toc li{margin-bottom:.25rem;}

.lg-footer{border-top:1px solid var(--lg-border);background:var(--lg-surface);margin-top:2rem;}
.lg-footer .lg-container{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;padding-block:1.6rem;}
.lg-footer-copy{font-size:.82rem;color:var(--lg-muted);}
.lg-footer-nav{display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;}
.lg-footer-nav a,.lg-cookie-btn{font-size:.82rem;font-weight:500;color:var(--lg-accent);background:none;border:none;padding:0;cursor:pointer;font-family:inherit;text-decoration:underline;}
.lg-footer-nav a:hover,.lg-cookie-btn:hover{color:var(--lg-accent-2);}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
