/* Marketing Schmiede V222 – targeted contrast + mobile spacing fixes only */

/* Subpages use the light V213 surface. Force inherited legacy white/grey copy back to dark. */
body.ms-polish-v213:not(.meta-home){
  --ink:#11121f!important;
  --soft:#4f566a!important;
  --muted:#5e606b!important;
  --muted2:#6a6f80!important;
  color:#11121f!important;
}

body.ms-polish-v213:not(.meta-home) main .hero :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main .hero-card :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main :is(.section-head,.section-title,.form-intro,.final-inner,.faq-layout,.legal-head,.v106-page-hero,.msu-directory-head) :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main .section.dark :is(.section-head,.statement,.form-intro) :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main .section.purple :is(.section-head,.statement,.form-intro) :is(h1,h2,h3,h4){
  color:#11121f!important;
  -webkit-text-fill-color:#11121f!important;
}

body.ms-polish-v213:not(.meta-home) main :is(.hero-copy,.lead,.sub),
body.ms-polish-v213:not(.meta-home) main .hero p,
body.ms-polish-v213:not(.meta-home) main .hero-card p,
body.ms-polish-v213:not(.meta-home) main :is(.section-head,.section-title,.form-intro,.final-inner,.faq-layout,.legal-head,.v106-page-hero,.msu-directory-head) p,
body.ms-polish-v213:not(.meta-home) main .section.dark :is(.section-head,.statement-copy,.form-intro) p,
body.ms-polish-v213:not(.meta-home) main .section.purple :is(.section-head,.statement-copy,.form-intro) p{
  color:#50566a!important;
  -webkit-text-fill-color:#50566a!important;
  opacity:1!important;
}

body.ms-polish-v213:not(.meta-home) main .section.dark,
body.ms-polish-v213:not(.meta-home) main .section.purple,
body.ms-polish-v213:not(.meta-home) main .final{
  background:transparent!important;
  color:#11121f!important;
}

body.ms-polish-v213:not(.meta-home) main .section.dark :is(.kicker,.eyebrow),
body.ms-polish-v213:not(.meta-home) main .section.purple :is(.kicker,.eyebrow),
body.ms-polish-v213:not(.meta-home) main .final :is(.kicker,.eyebrow){
  color:#7b00ff!important;
  -webkit-text-fill-color:#7b00ff!important;
}

body.ms-polish-v213:not(.meta-home) main .section.dark .statement-copy strong,
body.ms-polish-v213:not(.meta-home) main .section.purple .statement-copy strong,
body.ms-polish-v213:not(.meta-home) main .final strong,
body.ms-polish-v213:not(.meta-home) main summary{
  color:#11121f!important;
  -webkit-text-fill-color:#11121f!important;
}


/* Remaining legacy service blocks that became light through the V213 surface. */
body.msu-page.v128-legal-page.ms-polish-v213:not(.meta-home) main > .section .service-detail-v63 :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main .service-detail-v63 :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main .section.dark article.service :is(h1,h2,h3,h4),
body.ms-polish-v213:not(.meta-home) main .section.purple article.service :is(h1,h2,h3,h4){
  color:#11121f!important;
  -webkit-text-fill-color:#11121f!important;
}

body.ms-polish-v213:not(.meta-home) main .service-detail-v63 p,
body.ms-polish-v213:not(.meta-home) main .section.dark article.service p,
body.ms-polish-v213:not(.meta-home) main .section.purple article.service p{
  color:#50566a!important;
  -webkit-text-fill-color:#50566a!important;
  opacity:1!important;
}

/* Keep intended gradient accent words purple. */
body.ms-polish-v213:not(.meta-home) main :is(.ms-headline-gold,.gold-text,.gradient-text,.text-gradient),
body.ms-polish-v213:not(.meta-home) main .hero h1 > span{
  -webkit-text-fill-color:transparent!important;
}

/* Homepage mobile only: remove oversized gaps before the two logo/headline blocks shown. */
@media(max-width:760px){
  body.meta-home.v211 #roi-rechner{
    padding-bottom:10px!important;
  }
  body.meta-home #video{
    padding-top:14px!important;
  }
  body.meta-home #video .video-card{
    padding-top:0!important;
  }
  body.meta-home #video .video-copy .ms-title-watermark,
  body.meta-home #video .video-copy .ms-mini-logo,
  body.meta-home #video .video-copy .ms-mini-logo-image{
    margin-top:0!important;
    margin-bottom:8px!important;
  }
  body.meta-home #video .video-copy .eyebrow{
    margin-top:0!important;
  }

  body.meta-home #authority{
    padding-bottom:10px!important;
  }
  body.meta-home #proof-brands{
    padding-top:16px!important;
  }
  body.meta-home #proof-brands .compact-proof-card{
    padding-top:0!important;
  }
  body.meta-home #proof-brands .compact-proof-head .ms-title-watermark,
  body.meta-home #proof-brands .compact-proof-head .ms-mini-logo,
  body.meta-home #proof-brands .compact-proof-head .ms-mini-logo-image{
    margin-top:0!important;
    margin-bottom:8px!important;
  }
  body.meta-home #proof-brands .compact-proof-head{
    margin-top:0!important;
    padding-top:0!important;
  }
}

/* V227 – legal hero contrast: dark purple backgrounds require light copy. */
body.ms-polish-v213 .legal-hero :is(h1,h2,h3,h4){
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  opacity:1!important;
}
body.ms-polish-v213 .legal-hero p{
  color:#e9e9f2!important;
  -webkit-text-fill-color:#e9e9f2!important;
  opacity:1!important;
}
body.ms-polish-v213 .legal-hero .eyebrow{
  color:#d8bdff!important;
  -webkit-text-fill-color:#d8bdff!important;
  opacity:1!important;
}
