/* Gemeinsames Layout fuer Impressum, Datenschutz und Nutzungsbedingungen */
:root {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; background: var(--bg-color); color: var(--text-main); line-height: 1.65; }
a { color: var(--primary); }

header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-color); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.back { font-size: 0.9rem; font-weight: 600; text-decoration: none; }

main { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.stand { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.toc { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.toc strong { display: block; margin-bottom: 0.5rem; }
.toc ol { padding-left: 1.25rem; columns: 2; column-gap: 2rem; font-size: 0.92rem; }
.toc a { text-decoration: none; }
h2 { font-size: 1.3rem; font-weight: 700; margin: 2.5rem 0 0.75rem; padding-top: 0.5rem; scroll-margin-top: 80px; }
h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
p, li { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 0.7rem; }
ul, ol { padding-left: 1.3rem; margin-bottom: 0.7rem; }
strong { color: var(--text-main); }
.box { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 1rem 0; }
.box p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1rem; font-size: 0.92rem; background: var(--surface-color); }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border: 1px solid var(--border-color); color: var(--text-muted); }
th { color: var(--text-main); background: #f1f5f9; font-weight: 600; }

footer { background: #0b1120; color: #94a3b8; padding: 2rem 1.5rem; font-size: 0.88rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; justify-content: space-between; }
footer a { color: #cbd5e1; text-decoration: none; margin-right: 1.25rem; }
footer a:hover { color: #fff; }

@media (max-width: 640px) {
    h1 { font-size: 1.6rem; }
    .toc ol { columns: 1; }
    table, thead, tbody, tr, th, td { font-size: 0.85rem; }
}
@media print {
    header, footer, .toc { display: none; }
    main { padding: 0; }
}

/* Logo (ueberall Link zur Startseite) */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-main); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.logo-icon { flex-shrink: 0; transition: transform 0.2s ease; }
.logo:hover .logo-icon { transform: rotate(-6deg) scale(1.06); }
.logo-accent { color: #2563eb; }
.logo-badge { font-size: 0.7rem; font-weight: 700; background: #ede9fe; color: #6d28d9; padding: 2px 9px; border-radius: 20px; margin-left: 2px; }
[data-theme="dark"] .logo-accent { color: #60a5fa; }
