/* Offene Bildkarten brauchen eine eigene dunkle Textfarbe. */
body.sr-unified main .overview-card{display:flex!important;flex-direction:column!important;position:relative!important;min-height:0!important;height:auto!important;overflow:visible!important;background:transparent!important;color:#253026!important;}
body.sr-unified main .overview-card::before,body.sr-unified main .overview-card::after{display:none!important;}
body.sr-unified main .overview-card .overview-card-image{position:relative!important;inset:auto!important;flex:none!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;overflow:hidden!important;border-radius:4px!important;}
body.sr-unified main .overview-card .overview-card-image::after{display:none!important;}
body.sr-unified main .overview-card .overview-card-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
body.sr-unified main .overview-card .overview-card-body{position:static!important;inset:auto!important;transform:none!important;width:auto!important;flex:1!important;padding:24px 0 28px!important;background:transparent!important;color:#253026!important;text-shadow:none!important;}
body.sr-unified main .overview-card .overview-card-body :is(h2,h3,h4,strong){color:#253026!important;text-shadow:none!important;}
body.sr-unified main .overview-card .overview-card-body p{color:#515b4f!important;opacity:1!important;text-shadow:none!important;font-size:16px!important;line-height:1.7!important;}
body.sr-unified main .overview-card .overview-card-body .overview-kicker{display:block;color:#506735!important;opacity:1!important;font-size:11px!important;line-height:1.5!important;letter-spacing:.1em!important;margin-bottom:12px!important;}
body.sr-unified main .overview-card .overview-card-body>a:not(.btn){display:inline-block;color:#38532c!important;opacity:1!important;border-color:#9cab91!important;font-size:14px!important;line-height:1.5!important;margin-top:12px!important;text-shadow:none!important;}
/* Leseflächen und redaktionelle Karten folgen derselben Farb- und Schriftgestaltung. */
body.sr-unified main :is(.rg-section,.ratgeber-section){padding-block:clamp(40px,5vw,68px)!important;}
body.sr-unified main :is(.rg-section-alt,.ratgeber-section-alt){background:#f2efe7!important;}
body.sr-unified main :is(.rg-card,.rg-box,.rg-note,.rg-tip,.ratgeber-card,.partner-card){background:#f8f6f0!important;color:#253026!important;border:1px solid #d7dbcc!important;border-radius:6px!important;box-shadow:none!important;}
body.sr-unified main :is(.rg-card,.rg-box,.rg-note,.rg-tip,.ratgeber-card,.partner-card) :is(h2,h3,h4,strong){color:#253026!important;}
body.sr-unified main :is(.rg-card,.rg-box,.rg-note,.rg-tip,.ratgeber-card,.partner-card) p{color:#515b4f!important;}
body.sr-unified main :is(.rg-section,.ratgeber-section) :is(p,li){font-size:17px;line-height:1.8;}
body.sr-unified main :is(.rg-text,.rg-copy,.ratgeber-text){max-width:850px;}
body.sr-unified main :is(.rg-card,.ratgeber-card,.partner-card)>a:not(.btn){color:#38532c!important;}
body.sr-unified main :is(.quote-box,.quote-card){border-radius:6px!important;box-shadow:none!important;}
body.sr-unified main :is(.rg-hero,.ratgeber-hero) h1{line-height:1.12!important;}
/* Werkzeuge und Formulare behalten ihre Funktion und erhalten klare Fokusmarkierungen. */
body.sr-unified main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:6px;}
body.sr-unified main iframe{max-width:100%;}
@media(max-width:600px){
 body.sr-unified main .overview-card .overview-card-body{padding:20px 0 24px!important;}
 body.sr-unified main :is(.rg-section,.ratgeber-section) :is(p,li){font-size:16px;}
}
/* Dunkle Flächen: lokale helle Schrift statt globaler Fließtextfarbe. */
body.sr-unified main .quote-box{background:#18231b!important;}
body.sr-unified main .quote-box :is(p,blockquote,h2,h3,strong,em){color:#f8f6f0!important;opacity:1!important;text-shadow:none!important;}
body.sr-unified main .quote-box p{font-size:clamp(25px,3vw,42px)!important;line-height:1.5!important;font-weight:500!important;}
body.sr-unified main .dark-cta-box{background:#203126!important;}
body.sr-unified main .dark-cta-box :is(h2,h3,p){color:#f8f6f0!important;opacity:1!important;}
body.sr-unified main :is(.dark-cta-box,.hero-editorial,.partner-hero,.leistungen-cta-box,.home-project-cta-inner) .btn.btn-secondary{color:#fff!important;border:1px solid #b5c0af!important;background:transparent!important;opacity:1!important;text-shadow:none!important;}
@media(hover:hover){body.sr-unified main :is(.dark-cta-box,.hero-editorial,.partner-hero,.leistungen-cta-box,.home-project-cta-inner) .btn.btn-secondary:hover{color:#fff!important;background:#ffffff14!important;border-color:#fff!important;}}
body.sr-unified main :is(.quote-box,.dark-cta-box) :is(a,button):focus-visible{outline-color:#fff!important;}
