/* D13, Befund 1: Rechtstitel ohne Praegeeffekt; nur Bildschirm. */
@media screen {
 :root:root:root:root:root .page-hero h1,
 :root:root:root:root:root .page-hero h1 span {
 color:#f4f0e6!important;-webkit-text-fill-color:#f4f0e6!important;
 text-shadow:none!important;filter:none!important;background:none!important;
 -webkit-background-clip:border-box!important;background-clip:border-box!important;
 }
 :root:root:root:root:root .page-hero h1 {background-color:#101522!important;}
 :root:root:root:root:root .page-hero h1::before,
 :root:root:root:root:root .page-hero h1::after {display:none!important;}
}

/* Befund 2: lesbare Schlusszeile. */
@media screen {
 :root:root:root:root:root[data-d13-closing] .rs-banner.rs-fuss,
 :root:root:root:root:root[data-d13-closing] .rs-banner.rs-fuss span {
 color:#d8d4c9!important;-webkit-text-fill-color:#d8d4c9!important;
 opacity:1!important;font-size:16px!important;line-height:1.6!important;text-shadow:none!important;
 }
 :root:root:root:root:root[data-d13-closing] .rs-banner.rs-fuss {background:#101522!important;}
}

/* Befund 3: Schlusszeile folgt der gewaehlten Dokument-Sprache. */
:root:root:root:root:root[data-d13-closing][lang="de"] .rs-fuss [data-en],
:root:root:root:root:root[data-d13-closing][lang="en"] .rs-fuss [data-de]{display:none!important;}
:root:root:root:root:root[data-d13-closing][lang="de"] .rs-fuss [data-de],
:root:root:root:root:root[data-d13-closing][lang="en"] .rs-fuss [data-en]{display:inline!important;}

/* Befund 4: vorhandene Paragraphen, sprachweise oder synchron gepaart. */
.d13-disc-choice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;}
.d13-disc-choice select{font:inherit;color:inherit;background:#101522;min-height:44px;padding:8px 12px;}
.d13-disc-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;scroll-margin-top:100px;}
html[lang="de"] [data-disc-lang="en"],html[lang="en"] [data-disc-lang="de"]{display:none;}
.d13-disc-both .d13-disc-pair{grid-template-columns:1fr 1fr;}
.d13-disc-both [data-disc-lang]{display:block;}
.d13-disc-scroll{overflow-x:auto;}
.d13-disc-both .d13-disc-pairs{min-width:700px;}


.d13-disc-both.d13-disc-both [data-disc-lang]{display:block;}

/* Befund 5: getrennte, umbrechende Verify-Fusslinks. */
:root:root:root:root:root .d13-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;}
:root:root:root:root:root .d13-footer-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;white-space:normal;overflow-wrap:anywhere;max-width:100%;text-decoration:underline;}
:root:root:root:root:root[lang="de"] .d13-footer-links [data-en],
:root:root:root:root:root[lang="en"] .d13-footer-links [data-de]{display:none!important;}


/* Befund 10: Zahl ueber Erklaerung, Vergleich in voller Breite. */
.d13-numbers-comparison{margin:24px auto;padding-left:0;max-width:760px;}
@media(max-width:700px){
 :root:root:root:root:root .num-list{padding:0!important;}
 :root:root:root:root:root .num-list li{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 8px;}
 :root:root:root:root:root .num-list .fig{text-align:left;min-width:0;}
 :root:root:root:root:root .d13-numbers-comparison{margin-left:0;padding-left:0;max-width:100%;}
}

/* Befund 11: Dokumentlink unmittelbar unter dem Kartentitel. */
.d13-evidence-title{font-size:20px;margin:0 0 12px;}
:root:root:root:root:root #bsfz-bescheid > a.check{display:flex;align-items:center;flex-wrap:wrap;min-height:44px;padding:10px 12px;background:#101522;color:#f4f0e6;text-decoration:underline;text-underline-offset:4px;}


/* Befund 13: genau eine abgesetzte Rechtsnavigation. */
.d13-legal-group{margin:24px auto;max-width:900px;border-top:1px solid #635838;padding-top:24px;}
.d13-legal-title{margin:0 0 12px;font-size:18px;}
:root:root:root:root:root .d13-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;}
:root:root:root:root:root .d13-legal a{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;text-decoration:underline;text-underline-offset:4px;}
:root:root:root:root:root[lang="de"] .d13-legal-group [data-en],
:root:root:root:root:root[lang="en"] .d13-legal-group [data-de]{display:none!important;}
:root:root:root:root:root[lang="de"] .d13-legal-group [data-de],
:root:root:root:root:root[lang="en"] .d13-legal-group [data-en]{display:inline!important;}


/* Befund 14: kurze Schlusszeile nach Entfernen des doppelten Angebotstextes. */
:root:root:root:root:root:root:root[data-d13-closing] .rs-banner.rs-fuss.d13-closing{display:block!important;}


/* Befund 16: vorhandene Abschlussgruppen in einem Footer; KI-Hinweise bleiben an ihrem Platz. */
:root:root:root:root:root footer.d13-footer{display:flex;flex-direction:column;gap:24px;padding-block:32px!important;min-height:0!important;margin-top:32px!important;}
:root:root:root:root:root footer.d13-footer > :is(.fbrand,.meta,.foot-links,.aug-foothub,.siegel-band,.brand-mark,.nav-links,.d13-legal-group,.rs-fuss){margin-block:0!important;min-height:0!important;}
:root:root:root:root:root footer.d13-footer > .rs-fuss{padding-block:12px!important;}


/* Befund 17: Register mit einer waehlbaren Sprache und Sprunglink. */
html[data-d13-registry][lang="de"] :is(section.language,.d13-registry-copy span)[lang="en"],
html[data-d13-registry][lang="en"] :is(section.language,.d13-registry-copy span)[lang="de"]{display:none;}
.d13-registry-language{display:flex;gap:12px;flex-wrap:wrap;}
.d13-registry-language button{font:inherit;color:inherit;background:#101522;border:1px solid #c9a23f;padding:8px 12px;min-height:44px;cursor:pointer;}
.d13-registry-language button[aria-pressed="true"]{text-decoration:underline;text-underline-offset:4px;color:#f4f0e6;}
html[data-d13-registry] .language summary{cursor:pointer;min-height:44px;padding:8px 0;}
html[data-d13-registry] #registry-terms{scroll-margin-top:90px;}


/* Befund 18: vorhandene Definitionen und eindeutige Datenlinks. */
html[data-d13-registry] table{table-layout:fixed;}
html[data-d13-registry] th:first-child{width:56%;}
html[data-d13-registry] td,html[data-d13-registry] th{overflow-wrap:anywhere;}
html[data-d13-registry] .d13-definition{font-size:16px;line-height:1.6;margin:12px 0 0;}
html[data-d13-registry] .d13-data-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 6px;text-decoration:underline;}
@media(max-width:640px){html[data-d13-registry] th:first-child{width:72%;}}


/* Befund 19: ganze Summary-Zeile, deutliches 44px-Symbol. */
:root:root:root:root:root .faq-item > summary.faq-q{display:grid;grid-template-columns:minmax(0,1fr) 44px;min-height:44px;width:100%;align-items:start;}
:root:root:root:root:root .faq-item > summary.faq-q h2{min-width:0;}
:root:root:root:root:root .qs-liste .faq-plus{width:44px;height:44px;margin-top:0;opacity:1;background:#101522;border-color:#d8d4c9;}
:root:root:root:root:root .qs-liste .faq-plus::before,
:root:root:root:root:root .qs-liste .faq-plus::after{width:18px;height:3px;background:#f4f0e6;}


/* Befund 20: Direktlink zum Datenschutz dauerhaft erkennbar. */
:root:root:root:root:root .page-hero a.d13-privacy-link{color:#fff8df!important;-webkit-text-fill-color:#fff8df!important;text-decoration:underline!important;text-underline-offset:4px;font-style:normal;pointer-events:auto;}


/* Befund 26: sichtbare Mail-Links mit Tastaturfokus. */
:root:root:root:root:root a.d13-mail-link{text-decoration:underline!important;text-underline-offset:4px;overflow-wrap:anywhere;}
:root:root:root:root:root a.d13-mail-link:focus-visible{outline:2px solid #f4f0e6;outline-offset:4px;border-radius:2px;}


/* Befund 27: Soziallinks ohne frei umbrechende Trennpunkte. */
:root:root:root:root:root footer .sr-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 20px;}


/* Befund 16: bestehendes padding-bottom:0 mit staerkerer Spezifitaet ueberstimmen. */
:root:root:root:root:root:root:root:root:root footer#d13-page-footer{padding-top:32px!important;padding-bottom:32px!important;}


@media(min-width:641px){html[data-d13-registry] th:nth-child(2){width:24%;overflow-wrap:normal;white-space:nowrap;}}
