/* Legal pages share ETENAR's existing type, navigation and colours. */
.et-legal { background:#fff; color:#18384c; }
body:is([data-page=impressum],[data-page=datenschutz],[data-page=medien]):not(.menu-open) .site-header { background:#102e40!important; }
.et-legal-hero { padding:156px 0 44px; background:linear-gradient(120deg,#edf5f9,#f9fbfc); border-bottom:1px solid #dce7ec; }
.et-legal-hero h1 { margin:12px 0 18px; color:#09273e; font-size:clamp(2.4rem,4.4vw,4.1rem); line-height:1.08; letter-spacing:-.045em; overflow-wrap:anywhere; }
.et-legal-hero .lead { max-width:760px; margin:0; color:#466579; font-size:clamp(1rem,1.5vw,1.18rem); line-height:1.65; }
.et-legal-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:56px; padding-top:44px; padding-bottom:88px; align-items:start; }
.et-legal-sidebar { position:sticky; top:100px; }
.et-legal-links { display:grid; gap:4px; border-left:1px solid #dce7ec; }
.et-legal-links a { position:relative; display:flex; align-items:center; min-height:44px; padding:10px 18px; color:#526d7d; background:transparent; text-decoration:none; font-weight:500; font-size:14px; line-height:1.5; }
.et-legal-links a::after { content:""; position:absolute; inset:10px auto 10px -1px; width:2px; background:transparent; }
.et-legal-links a:hover { color:#005a97; }
.et-legal-links a[aria-current=page] { color:#005a97; font-weight:650; }
.et-legal-links a[aria-current=page]::after { background:#007eaf; }
.et-legal-content { min-width:0; max-width:850px; font-size:16px; line-height:1.8; }
.et-legal-content .legal-date { color:#667f8e; font-size:13px; margin:0 0 28px; }
.et-legal-content a { color:#006bbb; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.et-legal-content a:hover { color:#004878; }
.et-legal a:focus-visible { outline:3px solid #0075bb; outline-offset:4px; border-radius:3px; }
.et-legal .legal-toc { padding:24px 28px; margin:0 0 42px; background:#f2f7fa; border:1px solid #dce7ec; border-radius:18px; }
.et-legal .legal-toc h2 { margin:0 0 12px; font-size:18px; }
.et-legal .legal-toc ol { margin:0; padding-left:22px; columns:2; column-gap:30px; font-size:14px; line-height:1.65; }
.et-legal .legal-toc li { padding:4px 0; break-inside:avoid; }
.et-legal .legal-toc a { text-decoration:none; }
.et-legal .legal-section { scroll-margin-top:110px; margin:0 0 38px; padding:0 0 30px; border-bottom:1px solid #e4edf1; }
.et-legal .legal-section:last-child { border:0; margin-bottom:0; padding-bottom:0; }
.et-legal .legal-section h2 { margin:0 0 18px; color:#09273e; font-size:clamp(1.4rem,2.1vw,1.8rem); line-height:1.3; letter-spacing:-.025em; }
.et-legal .legal-section p { margin:0 0 16px; }
.et-legal .legal-section p:last-child { margin-bottom:0; }
.et-legal .legal-section ul { margin:0 0 18px; padding-left:23px; }
.et-legal .legal-section li { margin-bottom:10px; }
body[data-design=v2] #main.et-legal h1 { font-size:clamp(26px,6vw,58px)!important; line-height:1.12!important; overflow-wrap:anywhere; }
body[data-design=v2] #main.et-legal .legal-section h2 { font-size:clamp(22px,2.1vw,29px)!important; line-height:1.3!important; letter-spacing:-.025em!important; }
body[data-design=v2] #main.et-legal .legal-toc h2 { font-size:18px!important; line-height:1.4!important; letter-spacing:-.015em!important; }
.et-legal #widerspruch { padding:25px 28px; background:#f2f7fa; border:1px solid #d6e4ec; border-radius:16px; }
@media(max-width:1080px) {
 .et-legal-hero { padding-top:128px; }
 .et-legal-layout { grid-template-columns:1fr; gap:30px; }
 .et-legal-sidebar { position:static; }
 .et-legal-links { display:flex; flex-wrap:wrap; gap:0 28px; border-left:0; border-bottom:1px solid #dce7ec; }
 .et-legal-links a { padding:12px 0; }
 .et-legal-links a::after { inset:auto 0 -1px; width:auto; height:2px; }
 .et-legal-content { max-width:none; }
}
@media(max-width:600px) {
 .et-legal-hero { padding:114px 0 30px; }
 .et-legal-layout { padding-top:26px; padding-bottom:54px; gap:26px; }
 .et-legal-links { justify-content:space-between; gap:0 4px; }
 .et-legal-links a { padding:12px 0; font-size:12px; }
 .et-legal-content { font-size:15px; line-height:1.75; }
 .et-legal .legal-toc { padding:20px; margin-bottom:32px; }
 .et-legal .legal-toc ol { columns:1; }
 .et-legal .legal-section { scroll-margin-top:90px; }
 .et-legal #widerspruch { padding:20px; }
}
