.legal-main{padding-top:1.5rem;padding-bottom:3rem;color:var(--carbon)}
.legal-logo{display:flex;justify-content:center;padding:1.6rem;background:#110f0d}
.legal-logo img{display:block;width:190px;max-width:60%;height:auto}
.legal-heading,.legal-sections{max-width:52rem;margin-inline:auto}
.legal-heading{padding:2rem 0 1.5rem;border-bottom:3px solid var(--carbon)}
.legal-heading h1{margin:0 0 1.25rem;font-size:clamp(2.4rem,5vw,4.5rem);line-height:1;letter-spacing:-.05em;overflow-wrap:anywhere}
.legal-heading .eyebrow{color:var(--clay)}
.legal-sections section{padding:1.5rem 0;border-bottom:1px solid rgba(17,16,14,.18)}
.legal-sections h2{margin:0 0 .8rem;font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.2;letter-spacing:-.025em}
.legal-text{margin:.65rem 0 0;color:#655c54;white-space:pre-line;overflow-wrap:anywhere;line-height:1.7;font-size:.95rem}
@media(max-width:760px){.legal-main{padding-top:1rem}.legal-heading{padding-top:1.5rem}.legal-sections section{padding:1.2rem 0}}
.legal-embedded .legal-main{width:auto;max-width:none;margin:0;padding:1.4rem 1.6rem 2rem}
.legal-embedded .legal-heading{padding-top:0}
.legal-embedded .legal-heading h1{font-size:clamp(2rem,5vw,2.8rem)}
.legal-embedded .legal-text{font-size:.9rem}
.h18-legal-open{overflow:hidden}
.h18-legal-dialog{width:min(760px,calc(100vw - 2rem));height:min(720px,calc(100dvh - 3rem));max-width:none;max-height:none;padding:0;border:1px solid #d9cfc3;background:#fbfaf7;color:#110f0d;box-shadow:0 1.5rem 5rem rgba(0,0,0,.3);overflow:hidden}
.h18-legal-dialog::backdrop{background:rgba(17,15,13,.68)}
.h18-legal-dialog[open]{display:flex;flex-direction:column}
.h18-legal-dialog>header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1.2rem;border-bottom:1px solid #49443e;background:#110f0d;color:#fbfaf7}
.h18-legal-dialog>header strong{font-size:.85rem;font-weight:750}
.h18-legal-dialog>header button{display:flex;align-items:center;gap:.5rem;padding:.45rem .65rem;border:1px solid #746b60;background:transparent;color:#fbfaf7;font:inherit;font-size:.75rem;cursor:pointer}
.h18-legal-dialog>header button:is(:hover,:focus-visible){background:#b77450;color:#fff}
.h18-legal-dialog>iframe{display:block;flex:1 1 auto;width:100%;min-height:0;border:0;background:#fbfaf7}
@media(max-width:600px){.h18-legal-dialog{width:calc(100vw - 1rem);height:calc(100dvh - 1.5rem)}.legal-embedded .legal-main{padding:1.2rem 1rem 1.5rem}}

/* Einheitliche, gut lesbare Rechtsseiten und ein einzelnes Schliess-X. */
body.legal-page{background:#f2ede5!important;color:#000!important}
body.legal-page .legal-main{color:#000!important;padding-top:28px;padding-bottom:40px}
body.legal-page .legal-main :is(h1,h2,h3,p,a,span,li,dt,dd){color:#000!important}
body.legal-page .legal-text{font-size:15px;line-height:1.8}
body.legal-page .legal-heading{padding:0 0 24px;border-bottom:1px solid #b8a996}
body.legal-page .legal-heading h1{font-size:clamp(30px,5vw,44px);line-height:1.15;margin:0 0 16px;letter-spacing:-.035em}
body.legal-page .legal-sections section{padding:24px 0;border-bottom:1px solid #c9bdad}
body.legal-page .legal-sections h2{font-size:19px;line-height:1.35;margin:0 0 12px}
body.legal-page.legal-embedded .legal-logo{display:none}
body.legal-page.legal-embedded .legal-main{padding:28px 30px 38px}
body.legal-page .legal-sources{display:flex;flex-wrap:wrap;gap:8px 18px;margin:14px 0 0;font-size:13px;line-height:1.5}
body.legal-page .legal-sources a{text-decoration:underline;text-underline-offset:3px}
.h18-legal-dialog{width:min(820px,calc(100vw - 32px));height:min(780px,calc(100dvh - 40px));border:1px solid #8d7761;background:#f2ede5;color:#000;border-radius:0}
.h18-legal-dialog>header{min-height:68px;box-sizing:border-box;padding:12px 18px 12px 26px;background:#f2ede5;color:#000;border-bottom:1px solid #c9bdad}
.h18-legal-dialog>header strong{font-size:16px;color:#000!important}
.h18-legal-dialog>header button{position:relative;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #a58a71;border-radius:0;background:transparent;color:#000!important;font-size:0;line-height:0}
.h18-legal-dialog>header button>span{display:none}
.h18-legal-dialog>header button::before,.h18-legal-dialog>header button::after{content:"";position:absolute;left:50%;top:50%;width:19px;height:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.h18-legal-dialog>header button::after{transform:translate(-50%,-50%) rotate(-45deg)}
.h18-legal-dialog>header button:is(:hover,:focus-visible){background:#deccba;border-color:#8d5a3e;color:#000!important}
.h18-legal-dialog>header button:focus-visible{outline:2px solid #8d5a3e;outline-offset:3px}
.h18-legal-dialog>iframe{background:#f2ede5}
@media(max-width:600px){body.legal-page.legal-embedded .legal-main{padding:22px 20px 30px}.h18-legal-dialog{width:calc(100vw - 16px);height:calc(100dvh - 20px)}.h18-legal-dialog>header{padding:10px 12px 10px 20px}}
