/* Legal text aligns with the page heading; scoped to legal pages only. */
html body main.heine-legal-page .subhero,
html body main.heine-legal-page .subhero *,
html body .heine-legal-content,
html body .heine-legal-content *,
html body .launch-legal-content,
html body .launch-legal-content *{text-align:left!important;text-align-last:auto!important}
html body main.heine-legal-page .heine-legal-content{max-width:780px;margin-left:0!important;margin-right:auto!important}
html body .heine-legal-content :is(p,h1,h2,h3,h4,h5,h6,blockquote,address,dl){margin-inline-start:0!important;margin-inline-end:0!important}
html body .heine-legal-content :is(ul,ol){padding-inline-start:1.5em}

/* Left edge follows the shared site gutter, not a centered narrow column. */
html body main.heine-legal-page > .section > .wrap{max-width:1180px;margin-inline:auto}
html body main.heine-legal-page .heine-legal-content{width:100%;margin-inline-start:0!important;margin-inline-end:auto!important}
.heine-barrier-contact{margin:20px 0;padding:18px;border:1px solid var(--line,#dcebe5);border-radius:16px;background:var(--soft,#f8fbfa)}
.heine-barrier-contact>summary{cursor:pointer;font-weight:650;color:var(--gd,#17624d)}
.heine-barrier-contact>summary:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.heine-barrier-contact .contact-form{margin-top:18px}

@layer heine-typography {
html body main.heine-legal-page :is(.heine-legal-content h1,.heine-legal-content h2,.heine-legal-content h3,.heine-legal-content h4),
html body .launch-legal-content :is(h1,h2,h3,h4){font-size:var(--heine-text-body,1.125rem)!important;font-weight:700!important;line-height:1.6!important;color:var(--gd,#17624d)!important;letter-spacing:normal!important;margin:18px 0 4px!important}
html body main.heine-legal-page .subhero h1{margin:0!important}
}
html body main.heine-legal-page .subhero{padding-top:24px!important;padding-bottom:4px!important}
html body main.heine-legal-page>.section{padding-top:4px!important}
html body .heine-legal-content :is(h1,h2,h3,h4)+*{margin-top:0!important}
html body .heine-legal-content>p:first-child{margin-top:0!important}

/* 2.0.276: Page titles follow the Drehtür section heading scale. */
@layer heine-typography {
html body main.heine-legal-page .subhero h1,
html body main.launch-legal-content>h1:first-child{font-size:clamp(30px,4vw,46px)!important;line-height:1.05!important;letter-spacing:-.035em!important;font-weight:700!important;color:var(--gd,#17624d)!important;margin:0!important;overflow-wrap:anywhere}
@media(max-width:760px){
html body main.heine-legal-page .subhero h1,
html body main.launch-legal-content>h1:first-child{font-size:34px!important;line-height:1.08!important}
}
}
