/* Nur die drei rechtlichen Testseiten; gemeinsame Website-Gestaltung erhalten. */
.legal-section{padding:64px 0 80px}
.legal-copy{max-width:820px}
.legal-copy h1{font-size:clamp(2.25rem,4vw,3.5rem);margin:0 0 22px}
.legal-lead{font-size:1.08rem;color:var(--muted);margin:0}
.legal-placeholder{margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--ice)}
.legal-placeholder h2{font-size:1.4rem;margin:0 0 12px}
.legal-placeholder p{margin:0}
.legal-placeholder p+p{margin-top:12px}
.legal-page .site-footer a[aria-current="page"]{color:#fff;text-decoration:underline;text-underline-offset:4px}
@media(max-width:740px){.legal-section{padding:48px 0 60px}.legal-placeholder{padding:20px}}

/* Impressum: firmeneigene Angaben und längere Rechtstexte klar gliedern. */
.imprint-page .legal-copy{max-width:1000px}
.imprint-intro{margin-bottom:32px}
.imprint-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:46px}
.imprint-card{min-width:0;padding:28px;border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:14px;background:linear-gradient(150deg,var(--ice),#fff 90%)}
.imprint-card h2{margin:0 0 22px;font-family:inherit;font-size:1.12rem;line-height:1.4;letter-spacing:0}
.imprint-company{margin:0 0 10px;font-size:1.12rem;font-weight:700;color:var(--ink)}
.imprint-page address{font-style:normal;line-height:1.75}
.imprint-facts,.imprint-contact{margin:0}
.imprint-facts dt,.imprint-contact dt{margin-top:20px;font-size:.82rem;color:var(--muted);line-height:1.55}
.imprint-contact dt:first-child{margin-top:0}
.imprint-facts dd,.imprint-contact dd{margin:5px 0 0;line-height:1.65;overflow-wrap:anywhere}
.imprint-page .legal-copy a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.imprint-page .legal-copy a:hover{color:var(--navy)}
.imprint-page .legal-copy a:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:2px}
.imprint-hours{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.imprint-hours h3{font-family:inherit;font-size:.92rem;margin:0 0 12px;letter-spacing:0}
.imprint-hours dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;margin:0;font-size:.9rem;line-height:1.65}
.imprint-hours dt,.imprint-hours dd{margin:0}
.imprint-hours dd{text-align:right}
.imprint-text{max-width:820px}
.imprint-text>section{padding:28px 0;border-top:1px solid var(--line)}
.imprint-text h2{margin:0 0 16px;font-size:clamp(1.3rem,2.3vw,1.6rem);line-height:1.35}
.imprint-text p{margin:0;line-height:1.8}
.imprint-text p+p{margin-top:16px}
.imprint-text .imprint-caption{margin-bottom:14px;font-size:.88rem;color:var(--muted)}
@media(max-width:740px){.imprint-overview{grid-template-columns:1fr;gap:18px;margin-bottom:32px}.imprint-card{padding:24px}.imprint-intro{margin-bottom:26px}.imprint-text>section{padding:24px 0}}
@media(max-width:380px){.imprint-card{padding:20px}.imprint-hours dl{grid-template-columns:1fr;gap:2px}.imprint-hours dd{text-align:left}.imprint-hours dt:not(:first-child){margin-top:8px}}

/* AGB: bestehende Rechtsseitengestaltung, fortlaufend lesbare Vertragsabschnitte. */
.terms-intro{margin-bottom:32px}
.terms-page .legal-copy h1{overflow-wrap:anywhere;hyphens:manual}
.terms-text>section{padding:28px 0;border-top:1px solid var(--line)}
.terms-text>section:first-child{padding:24px 28px;margin-bottom:28px;border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:14px;background:linear-gradient(150deg,var(--ice),#fff 90%)}
.terms-text h2{margin:0 0 16px;font-size:clamp(1.3rem,2.3vw,1.6rem);line-height:1.45;overflow-wrap:anywhere;hyphens:manual}
.terms-text p{margin:0;line-height:1.8;overflow-wrap:anywhere;hyphens:auto}
.terms-text p+p{margin-top:18px}
.terms-clause-number{margin-right:.2em;font-weight:600;color:var(--navy);white-space:nowrap}
@media(max-width:740px){.terms-intro{margin-bottom:26px}.terms-text>section{padding:24px 0}.terms-text>section:first-child{padding:22px;margin-bottom:24px}}

/* Datenschutz: gemeinsame Rechtsseitengestaltung, nur abgegrenzte privacy-Klassen. */
.privacy-page .legal-copy{max-width:1000px}
.privacy-intro{margin-bottom:32px}
.privacy-page h1{hyphens:manual;overflow-wrap:anywhere}
.privacy-page address{font-style:normal;line-height:1.75}
.privacy-page .legal-copy a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.privacy-page .legal-copy a:hover{color:var(--navy)}
.privacy-page .legal-copy a:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:2px}
.privacy-text{max-width:820px}
.privacy-text>section{padding:28px 0;border-top:1px solid var(--line)}
.privacy-text h2{margin:0 0 16px;font-size:clamp(1.3rem,2.3vw,1.6rem);line-height:1.45;hyphens:manual;overflow-wrap:anywhere}
.privacy-text p,.privacy-text li{line-height:1.8;overflow-wrap:anywhere}
.privacy-text p{margin:0}
.privacy-text p+p,.privacy-text ul+p{margin-top:16px}
.privacy-text ul{margin:16px 0;padding-left:24px}
.privacy-text li+li{margin-top:10px}
.privacy-date{margin:16px 0 0;font-size:.85rem;color:var(--muted)}
@media(max-width:740px){.privacy-intro{margin-bottom:26px}.privacy-text>section{padding:24px 0}.privacy-text ul{padding-left:20px}}
