/* Public McMaler theme. Private Business pages retain their own styling. */
html{color-scheme:light}
html[data-mc-public-theme=dark]{color-scheme:dark}
html body.portal{
 --mc-bg:#f7f7f7;--mc-paper:#fff;--mc-lead:#ededed;--mc-blue:#f2f2f2;--mc-yellow:#f5f5f5;--mc-ink:#242424;--mc-muted:#484848;--mc-line:#d7d7d7;--mc-head:#f7f7f7;--mc-focus:#494949;
 --mc-accent:#424242;--mc-sun:#fff12b;--mc-lead-gradient:linear-gradient(145deg,#fbfbfb 3%,#ececec 60%,#e5e5e5);
 --mc-photo:#191919;--mc-photo-ink:#fff;
 --mc-button:var(--mc-sun);--mc-button-hover:#f2df24;--mc-button-text:#191919;
 --mc-graphite:var(--mc-head);--mc-graphite-deep:var(--mc-lead);--mc-graphite-card:var(--mc-paper);--mc-graphite-line:var(--mc-line);
 --mc-content:var(--mc-bg);--mc-card:var(--mc-paper);--mc-content-line:var(--mc-line);--mc-content-ink:var(--mc-ink);--mc-content-muted:var(--mc-muted);--mc-action:var(--mc-button);--mc-action-hover:var(--mc-button-hover);
 --coal:var(--mc-bg);--panel:var(--mc-paper);--light:var(--mc-ink);--muted:var(--mc-muted);--edge:var(--mc-line);--acid:var(--mc-ink);
 background:var(--mc-bg)!important;color:var(--mc-ink);
}
html[data-mc-public-theme=dark] body.portal{
 --mc-bg:#191919;--mc-paper:#222;--mc-lead:#222;--mc-blue:#202020;--mc-yellow:#252525;--mc-ink:#fff;--mc-muted:#d4d4d4;--mc-line:#4c4c4c;--mc-head:#191919;--mc-focus:#d7d7d7;
 --mc-accent:#fff12b;--mc-sun:#fff12b;--mc-lead-gradient:linear-gradient(145deg,#292929 0%,#202020 58%,#191919);
 --mc-button:var(--mc-sun);--mc-button-hover:#f2df24;--mc-button-text:#191919;
}
html body.portal main{background:var(--mc-bg);color:var(--mc-ink);color-scheme:inherit}
html body.portal .portal-header:is(.scroll-glass,:not(.scroll-glass)),html body.portal .portal-drawer{background:var(--mc-head)!important;border-bottom:1px solid var(--mc-line);color:var(--mc-ink)}
html body.portal.portal-home .portal-header:not(.scroll-glass) :is(.portal-logo,.mc-project-contact,.mc-header-menu-toggle,.mc-header-menu summary),
html body.portal .portal-header :is(.portal-logo,.mc-project-contact,.mc-header-menu-toggle,.mc-header-menu summary,.mc-header-menu a){color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important;text-shadow:none!important}
html body.portal .portal-header .mc-header-menu::before{background:var(--mc-line)!important}
html body.portal .portal-header .mc-header-menu-panel{background:var(--mc-paper)!important;border-color:var(--mc-line);color-scheme:inherit}
html body.portal .mc-header-menu-group{border-color:var(--mc-line)}
html body.portal .mc-header-menu-group>summary span{border-color:var(--mc-muted)}
html body.portal .portal-header :is(.mc-header-menu-title,.mc-menu-region-label){color:var(--mc-muted)!important}
html body.portal .portal-footer{background:var(--mc-lead)!important;color:var(--mc-ink);border-top:1px solid var(--mc-line)}
html body.portal .portal-footer :is(a,h2,p,span,button){color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important}
html body.portal :is(a,summary,button,input,select,textarea):focus-visible{outline:2px solid var(--mc-focus);outline-offset:3px}
.mc-theme-controls:not([hidden]){display:inline-flex;gap:4px;padding:3px;border:1px solid var(--mc-line);border-radius:999px;background:var(--mc-paper)}
.mc-theme-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:50px;border:1px solid transparent;border-radius:999px;background:transparent;font:inherit;cursor:pointer}
html body.portal .portal-footer .mc-theme-controls button[aria-pressed=true]{background:var(--mc-button);color:var(--mc-button-text)!important;-webkit-text-fill-color:var(--mc-button-text)!important;border-color:var(--mc-button)}
html body.portal.portal-home .mc-home-hero-transition{background:var(--mc-lead-gradient)!important}
html body.portal.portal-home .mc-home-hero-transition .mc-home-stage{background:transparent!important}
html body.portal.portal-home .mc-home-stage .mc-home-stage-copy :is(h1,h1 span,p),html body.portal .p-subhero :is(h1,p),html body.portal .mc-menu-page :is(h1,h2,h3,p,a){color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important}
html body.portal .mc-home-campaign-card{border-color:var(--mc-line)}
html body.portal .p-subhero{background:var(--mc-lead-gradient)!important}
html body.portal .p-subhero::before{background:none!important}
html body.portal.portal-home :is(.mc-project-check,.mc-home-quality-band,.mc-home-quality-panel){background:var(--mc-blue)!important}
html body.portal.portal-home :is(.mc-move-paint,.p-band){background:var(--mc-yellow)!important}
html body.portal.portal-home .mc-city-band{background:var(--mc-lead)!important}
html body.portal.portal-home :is(.mc-project-check,.mc-move-paint,.mc-home-quality-panel) :is(h2,h3,p,label,legend,small,strong,summary){color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important}
html body.portal :is(.p-glass,.mc-partner-info-panel,.mc-partner-info-card,.mc-partner-benefits article,.mc-workflow-faq details,.mc-partner-conflict-faq details,.mc-move-package,.mc-project-check-steps li,.mc-move-estimate,.mc-move-local){background:var(--mc-paper)!important;border-color:var(--mc-line)!important;color:var(--mc-ink)!important}
html body.portal :is(.mc-partner-info-panel,.mc-partner-info-card,.mc-partner-conflict-faq,.mc-owner-mika,.mc-directory-row,.mc-move-package) :is(h2,h3,h4,p,dt,dd,summary,small,strong,legend),html body.portal .mc-owner-mika h2{color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important}
html body.portal .mc-partner-conflict-faq a,html body.portal .mc-partner-conflict-note{color:var(--mc-ink)!important}
html body.portal .mc-partner-info-panel.mc-partner-legal-panel{background:var(--mc-blue)!important}
html body.portal .mc-partner-info-eyebrow,html body.portal :is(.mc-move-kicker,.p-label,.mc-partner-label,.mc-home-quality-label,.mc-workflow-kicker){text-transform:none!important;letter-spacing:normal!important}
html body.portal .mc-painter-card.mc-directory-row{background:var(--mc-paper)!important;border-color:var(--mc-line)!important}
html body.portal .mc-owner-mika{background:var(--mc-lead)!important;border-color:var(--mc-line)!important}
html body.portal .mc-workflow-hero{background-color:var(--mc-photo)!important}
html body.portal :is(.mc-workflow-hero,.mc-partner-info-hero,.mc-partner-demo-visual) :is(h1,h2,h1 span,p){color:var(--mc-photo-ink)!important;-webkit-text-fill-color:var(--mc-photo-ink)!important}
html body.portal :is(.mc-project-nav,.mc-home-search-dock,#directory-filter,.calculator-workspace,.mc-project-inquiry,.p-application) :is(input:not([type=checkbox],[type=radio]),select,textarea){background:var(--mc-paper)!important;color:var(--mc-ink)!important;border-color:var(--mc-line)!important}
html body.portal :is(.mc-header-project,.mc-home-search-dock form,#directory-filter,#directory-filter .mc-directory-search-extra,.calculator-workspace,.calc-step,.mc-project-inquiry,.p-application){background:var(--mc-paper)!important;border-color:var(--mc-line)!important;color:var(--mc-ink)!important;color-scheme:inherit}
html body.portal :is(.mc-home-search-dock,#directory-filter,.calculator-workspace,.mc-project-inquiry,.p-application) :is(h2,h3,p,label,label>span,legend,small){color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important}
html body.portal .mc-header-project button svg{stroke:var(--mc-ink)}
html body.portal :is(.mc-header-project,.mc-home-search-dock,#directory-filter,.calculator-workspace,.mc-project-inquiry,.p-application) :is(input,textarea)::placeholder{color:var(--mc-muted)!important}
html body.portal :is(.p-btn,.cta,.mc-directory-profile-action,.mc-editorial-action,.mc-project-check-cta,.mc-move-whatsapp),
html body.portal.portal-home :is(#news,#leistungen) :is(.mc-news-card,.p-service) .p-text,
html body.portal.portal-home .mc-brand-actions .p-btn.p-outline{background:var(--mc-button)!important;border-color:var(--mc-button)!important;color:var(--mc-button-text)!important;-webkit-text-fill-color:var(--mc-button-text)!important}
html body.portal :is(.p-btn,.cta,.mc-directory-profile-action,.mc-editorial-action,.mc-project-check-cta,.mc-move-whatsapp) :is(span,strong),html body.portal.portal-home #leistungen .p-service .p-text span{color:var(--mc-button-text)!important;-webkit-text-fill-color:var(--mc-button-text)!important}
html body.portal :is(.p-btn,.cta,.mc-directory-profile-action,.mc-editorial-action,.mc-project-check-cta,.mc-move-whatsapp):hover{background:var(--mc-button-hover)!important;border-color:var(--mc-button-hover)!important}
html[data-mc-public-theme=dark] body.portal :is(.mc-home-search-dock,#directory-filter) :is(.mc-trade-picker label,.mc-home-search-toggle,.mc-directory-search-toggle){background:#292929!important;border-color:#626262!important}
html[data-mc-public-theme=dark] body.portal :is(.mc-home-search-dock,#directory-filter) .mc-trade-picker label:has(input:checked){background:#444!important;border-color:#aaa!important}
html[data-mc-public-theme=dark] body.portal :is(.mc-home-search-toggle,.mc-directory-search-toggle) span{background:#eee!important}
html[data-mc-public-theme=dark] body.portal :is(.mc-move-package,.mc-partner-option):has(input:checked){outline:2px solid #ddd}
html[data-mc-public-theme=dark] body.portal :is(.macky-glass-body,.macky-public,.macky-answer,.macky-tiles li){background:#242424!important;border-color:#606060!important;color:#fafafa!important}
html[data-mc-public-theme=dark] body.portal :is(.macky-public,.macky-glass-body) :is(p,h2,h3,button,a,strong,span){color:#fafafa!important}
html[data-mc-public-theme=dark] body.portal :is(.macky-public,.macky-glass-body) .macky-primary{background:#fff!important;color:#191919!important;border-color:#fff!important}
html[data-mc-public-theme=dark] body.portal :is(.mc-owner-mika,.macky-entry,.macky-head-cloud,.macky-public) img{filter:grayscale(1)}
html[data-mc-public-theme=dark] body.portal .macky-head-cloud svg{filter:grayscale(1)}
html[data-mc-public-theme=dark] body.portal .macky-public::before{filter:grayscale(1)}
@media(max-width:600px){.mc-theme-controls{order:10}.mc-theme-controls button{min-width:54px}}
html body.portal.portal-home .portal-header .mc-brand-lockup :is(span,strong){color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important}
html body.portal :is(.mc-painter-directory .mc-directory-row-info,.mc-painter-directory .mc-directory-row-info .mc-directory-brand) :is(span,strong,button),html body.portal .mc-painter-directory .mc-directory-map-action{color:var(--mc-ink)!important}
html body.portal .mc-move-cta{background:var(--mc-button)!important;color:var(--mc-button-text)!important;border-color:var(--mc-button)!important}
html body.portal .mc-move-recommended{background:var(--mc-lead)!important;color:var(--mc-ink)!important;border-color:var(--mc-line)!important}
html[data-mc-public-theme=dark] body.portal :is(.mc-move-result,.mc-move-conditions,.mc-move-area-field,.mc-move-estimate,.mc-move-local) :is(input,output,strong,button,small){accent-color:#e9e9e9}
html[data-mc-public-theme=dark] body.portal input:is([type=checkbox],[type=radio]),html[data-mc-public-theme=dark] body.portal input[type=range]{accent-color:#e9e9e9!important}
html[data-mc-public-theme=dark] body.portal .mc-move-paint :is(.mc-move-area-field input,.mc-move-local input){background:#292929!important;color:#fff!important;border-color:#626262!important}
html[data-mc-public-theme=dark] body.portal .mc-painter-card .mc-directory-brand span[aria-hidden]{color:#aaa!important}
html[data-mc-public-theme=dark] body.portal :is(.calc-step,.calculator-workspace) :is(.calc-summary,.calc-card,.summary-card,fieldset){color:var(--mc-ink);border-color:var(--mc-line)}

/* Take precedence over the shared-header and campaign styles at every breakpoint. */
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header]{
 background:var(--mc-head)!important;
 border-bottom:1px solid var(--mc-line)!important
}
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header][data-header-scrolled]{
 background:var(--mc-head)!important
}
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header] .portal-nav.mc-project-nav > .portal-logo,
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header] :is(.mc-project-contact,.mc-header-menu-toggle){
 color:var(--mc-ink)!important;
 -webkit-text-fill-color:var(--mc-ink)!important
}
html[data-mc-public-theme] body.portal.portal-home :is(.mc-home-stage .mc-brand-actions,.mc-home-search-dock form) > .p-btn,
html[data-mc-public-theme] body.portal.portal-home .mc-home-stage .p-btn{
 color:var(--mc-button-text)!important;-webkit-text-fill-color:var(--mc-button-text)!important;
 background:var(--mc-button)!important;border-color:var(--mc-button)!important;box-shadow:none!important
}
html[data-mc-public-theme] body.portal.portal-home :is(.mc-home-stage,.mc-home-search-dock form) .p-btn > span{
 color:var(--mc-button-text)!important;-webkit-text-fill-color:var(--mc-button-text)!important
}
html[data-mc-public-theme] body.portal.portal-home :is(.mc-home-stage,.mc-home-search-dock form) .p-btn:hover{
 background:var(--mc-button-hover)!important;border-color:var(--mc-button-hover)!important
}
html[data-mc-public-theme=dark] body.portal .mc-partner-info-hero{background:#242424!important}
html[data-mc-public-theme=dark] body.portal .mc-partner-info-hero .mc-partner-demo-link,
html[data-mc-public-theme=dark] body.portal.mc-painter-mini-site .mc-mini-hero h1 span{color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important}
html[data-mc-public-theme=dark] body.portal.mc-partner-page :is(.mc-partner-options,#partner-preise,#partner-recht)::before{
 background:radial-gradient(ellipse at 12% 13%,#444 0,transparent 58%),radial-gradient(ellipse at 94% 80%,#343434 0,transparent 67%)
}
html[data-mc-public-theme=dark] body.portal.mc-partner-page #partner-preise .mc-partner-invitation{background:#232323!important;border-color:#575757!important;color:#f6f6f6!important}
html[data-mc-public-theme=dark] body.portal.mc-partner-page #partner-preise .mc-partner-invitation :is(h2,h3,p,strong,span,dt,dd,.mc-partner-contract-facts a){
 color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important
}
html[data-mc-public-theme=dark] body.portal.mc-partner-page .mc-partner-contract-facts dt{border-color:#5a5a5a}
html[data-mc-public-theme=dark] body.portal .mc-profile-dialog :is(.mc-pf-radio,.mc-pf-check):has(input:checked),
html[data-mc-public-theme=dark] body.portal .mc-profile-dialog .mc-pf-total{background:#ffffff19;color:#fff;border-color:#bbb}
html[data-mc-public-theme=dark] body.portal .macky-glass-body .macky-form:focus-within{outline-color:#ddd}
html body.portal :is(.mc-move-kicker,.p-label,.mc-partner-label,.mc-home-quality-label,.mc-workflow-kicker,.mc-partner-info-eyebrow,.mc-partner-label,.macky-tag){
 text-transform:none!important;letter-spacing:normal!important;font-weight:450!important
}

/* Accordion marks have their own foreground and do not inherit CTA colors. */
html[data-mc-public-theme] body.portal.portal-home #fragen .mc-faq summary .mc-faq-toggle,
html[data-mc-public-theme] body.portal.portal-home #fragen .mc-faq details[open] .mc-faq-toggle{
 background:#f7f7f7!important;border-color:#aaa!important
}
html[data-mc-public-theme] body.portal.portal-home #fragen .mc-faq summary .mc-faq-toggle::before,
html[data-mc-public-theme] body.portal.portal-home #fragen .mc-faq summary .mc-faq-toggle::after{
 background:#191919!important
}
html[data-mc-public-theme] body.portal main details > summary:not(:has(.mc-faq-toggle)){
 position:relative;list-style:none;padding-inline-end:max(38px, 2.4em)!important
}
html[data-mc-public-theme] body.portal main details > summary:not(:has(.mc-faq-toggle))::-webkit-details-marker{display:none}
html[data-mc-public-theme] body.portal main details > summary:not(:has(.mc-faq-toggle))::marker{content:""}
html[data-mc-public-theme] body.portal main details > summary:not(:has(.mc-faq-toggle))::after{
 content:""!important;display:block;position:absolute;inset:auto 13px auto auto;top:50%;
 width:14px;height:14px;transform:translateY(-50%);pointer-events:none;
 color:inherit!important;background:
 linear-gradient(currentColor,currentColor) center / 14px 2px no-repeat,
 linear-gradient(currentColor,currentColor) center / 2px 14px no-repeat!important
}
html[data-mc-public-theme] body.portal main details[open] > summary:not(:has(.mc-faq-toggle))::after{
 background:linear-gradient(currentColor,currentColor) center / 14px 2px no-repeat!important
}

/* The price/profile cards remain paper-colored inside the dark shell. */
html[data-mc-public-theme=dark] body.portal.mc-partner-page :is(.mc-partner-options .mc-partner-info-panel,.mc-partner-option-choices details,.mc-workflow-faq,.mc-workflow-faq details){
 background:#f7f7f7!important;border-color:#c5c5c5!important;color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.mc-partner-page :is(.mc-partner-options,.mc-workflow-faq) :is(summary,h2,h3,p,strong,figcaption,.mc-partner-sample-link,.mc-partner-option-title,.mc-partner-option-label){
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.mc-partner-page :is(.mc-partner-options,.mc-workflow-faq) :is(a,summary,button):focus-visible{outline-color:#191919!important}
html[data-mc-public-theme=dark] body.portal.mc-partner-page :is(.mc-partner-option-price,.mc-partner-option-label,.mc-partner-territory,.mc-partner-territory svg){
 background:#ededed!important;border-color:#b8b8b8!important
}
html[data-mc-public-theme=dark] body.portal.mc-partner-page .mc-partner-territory svg{filter:grayscale(1)}
html[data-mc-public-theme=dark] body.portal.mc-partner-page .mc-partner-workflow .mc-partner-benefits article :is(h3,p,strong,span){
 color:var(--mc-ink)!important;-webkit-text-fill-color:var(--mc-ink)!important
}
html[data-mc-public-theme=dark] body.portal.portal-home #ablauf :is(.p-heading,.p-step) :is(h2,h3,p,a,.p-label){
 color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important
}

/* Legacy regional and editorial routes retain their light content surface. */
html[data-mc-public-theme=dark] body.portal.portal-legacy:not(.mc-contact-page) main,
html[data-mc-public-theme=dark] body.portal main.mc-market-paper{
 background:#f4f4f4!important;color:#191919
}
html[data-mc-public-theme=dark] body.portal.portal-legacy:not(.mc-contact-page) main :is(.story-copy,.side){
 background:#fff!important;border-color:#d3d3d3!important;color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.portal-legacy:not(.mc-contact-page) main :is(h1,h2,h3,h4,p,summary,li,a):not(.cta),
html[data-mc-public-theme=dark] body.portal main.mc-market-paper :is(h1,h2,h3,h4,p,summary,li,a):not(.p-btn){
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal :is(main.mc-market-paper,main .mc-all-services) a:focus-visible,
html[data-mc-public-theme=dark] body.portal.portal-legacy:not(.mc-contact-page) main :focus-visible{outline-color:#191919!important}
html[data-mc-public-theme=dark] body.portal .mc-all-services .p-heading>a{
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.portal-legal .mc-legal-tabs a{
 color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important
}
html[data-mc-public-theme=dark] body.portal.portal-legal .mc-legal-tabs a[aria-current]{
 background:#f7f7f7!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}

/* Dark contact card with bright labels; neutral buttons with dark lettering. */
html[data-mc-public-theme=dark] body.portal.mc-contact-page main .form-wrap :is(h2,h3,p,legend,label,small,a,span){
 color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important
}
html[data-mc-public-theme=dark] body.portal.mc-contact-page .mc-project-inquiry :is(input[type=file],input[type=date]){
 background:#222!important;color:#f6f6f6!important;color-scheme:dark
}
html[data-mc-public-theme=dark] body.portal.mc-contact-page .mc-project-inquiry input::file-selector-button{
 background:#f7f7f7;color:#191919;border-color:#ccc
}
html[data-mc-public-theme=dark] body.portal main :is(a,button).p-btn,
html[data-mc-public-theme=dark] body.portal main :is(a,button).cta,
html[data-mc-public-theme=dark] body.portal main :is(.p-btn,.cta) :is(span,strong){
 background-color:var(--mc-button)!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal main :is(a,button):is(.p-btn,.cta):hover,
html[data-mc-public-theme=dark] body.portal main :is(.p-btn,.cta):hover :is(span,strong){
 background-color:var(--mc-button-hover)!important
}
/* Remaining mixed-surface exceptions found in the dark-route visual check. */
html[data-mc-public-theme=dark] body.portal.portal-home #qualitaet .mc-home-quality-card :is(h3,p){
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.portal-home #news a.p-btn.p-outline,
html[data-mc-public-theme=dark] body.portal .mc-all-services .mc-services-extra > a{
 background:#f7f7f7!important;border-color:#ccc!important;
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal .calculator-workspace .estimate-card .summary-lines .summary-empty{
 background:#f7f7f7!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal main.mc-market-paper .mc-market-band :is(h2,h3,p,a):not(.p-btn){
 color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important
}
html[data-mc-public-theme=dark] body.portal.portal-legacy:not(.mc-contact-page) main .faq{
 background:#ededed!important
}
html[data-mc-public-theme=dark] body.portal.portal-legacy:not(.mc-contact-page) main .faq :is(h2,summary,p,a){
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
/* Form and live estimator ship older scoped rules; anchor colors to their actual surfaces. */
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main section#mc-inquiry-panel.form-wrap.mc-project-inquiry{
 background:#f7f7f7!important;color:#191919!important;border-color:#c5c5c5!important;color-scheme:light
}
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main section#mc-inquiry-panel.form-wrap.mc-project-inquiry :is(#inquiry-title,p,legend,label,small,a,span){
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main #contactForm :is(input:where(:not([type=checkbox],[type=radio],[type=hidden])),select,textarea){
 background:#fff!important;color:#191919!important;border-color:#767676!important;color-scheme:light
}
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main #contactForm button.cta.send{
 color:#191919!important;-webkit-text-fill-color:#191919!important;background:#fff!important;border:1px solid #767676!important
}
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main section#mc-inquiry-panel.form-wrap.mc-project-inquiry p.notice{
 background:#ececec!important;border-color:#b9b9b9!important
}
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main section#mc-inquiry-panel.form-wrap.mc-project-inquiry :focus-visible{
 outline-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal main .calculator-workspace #richtwert.estimate-card #summaryLines p.summary-empty{
 background:#f7f7f7!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}

/* Neutral accents away from contrast-critical form surfaces. */
html[data-mc-public-theme] body.portal.portal-home .mc-home-stage .mc-home-stage-copy h1 span,
html[data-mc-public-theme] body.portal .portal-header :is(.mc-header-menu-title,.mc-menu-region-label){
 color:var(--mc-accent)!important;-webkit-text-fill-color:var(--mc-accent)!important
}
html[data-mc-public-theme] body.portal .mc-header-menu-group>summary span{border-color:var(--mc-accent)}
html[data-mc-public-theme=dark] body.portal input:is([type=checkbox],[type=radio]),html[data-mc-public-theme=dark] body.portal input[type=range]{accent-color:var(--mc-sun)!important}
html[data-mc-public-theme] body.portal .portal-header .mc-header-menu-toggle:focus-visible{outline-color:var(--mc-focus)}

/* Each public page ends on the same dark section; the page itself stays in one look. */
html[data-mc-public-theme] body.portal footer.portal-footer{
 background:linear-gradient(145deg,#2c2c2c,#191919 72%)!important;
 border-top:1px solid #444444;color:#fff
}
html[data-mc-public-theme] body.portal footer.portal-footer :is(a,h2,p,span,button){
 color:#fff!important;-webkit-text-fill-color:#fff!important
}
html[data-mc-public-theme] body.portal footer.portal-footer a.portal-logo{
 color:#fff!important;-webkit-text-fill-color:#fff!important
}
html[data-mc-public-theme] body.portal footer.portal-footer :is(a,button):focus-visible{
 outline-color:#d7d7d7!important
}
/* Replace leftover legacy green controls, but preserve their surface-specific contrast. */
html[data-mc-public-theme] body.portal :is(.mc-move-recommended,.mc-partner-option-label,.mc-directory-tier,.mc-directory-badge){
 background:#e4e4e4!important;color:#242424!important;-webkit-text-fill-color:#242424!important;border-color:#a9a9a9!important
}
html[data-mc-public-theme=light] body.portal .mc-move-package:has(input:checked){outline:2px solid #818181;outline-offset:1px}
html[data-mc-public-theme=light] body.portal input:is([type=checkbox],[type=radio],[type=range]){accent-color:#797979}
html[data-mc-public-theme=light] body.portal.mc-partner-page .mc-partner-info-hero .mc-partner-demo-link,
html[data-mc-public-theme=light] body.portal .mc-brand-lockup :is(span,strong){color:inherit!important}
html[data-mc-public-theme=light] body.portal.mc-partner-page .mc-partner-info-hero .mc-partner-demo-link{
 color:#d7d7d7!important;-webkit-text-fill-color:#d7d7d7!important
}
html[data-mc-public-theme=light] body.portal .macky-public .macky-primary{
 background:#d7d7d7!important;color:#191919!important;border-color:#d7d7d7!important
}
html[data-mc-public-theme=light] body.portal .macky-glass-body .macky-form:focus-within{outline-color:#d7d7d7}
/* Neutral badges, secondary links and action chips. */
html[data-mc-public-theme=light] body.portal.mc-partner-page main :is(.mc-partner-info-eyebrow,.mc-partner-label,.mc-partner-sample-link,.mc-workflow-key){
 color:#424242!important;-webkit-text-fill-color:#424242!important
}
html[data-mc-public-theme=light] body.portal :is(main .mc-brand-partner,main .mc-partner-info-hero,main .macky-public) :is(.p-label,.mc-partner-label,.macky-tag){
 color:#d7d7d7!important;-webkit-text-fill-color:#d7d7d7!important
}
html[data-mc-public-theme=light] body.portal :is(.mc-home-quality-number,.mc-partner-option-price){
 background:#e4e4e4!important;color:#242424!important;-webkit-text-fill-color:#242424!important;
 border-color:#a9a9a9!important
}
html[data-mc-public-theme] body.portal.portal-home main .mc-project-check .mc-project-check-copy a.p-btn.mc-project-check-cta,
html[data-mc-public-theme] body.portal.portal-home main .mc-project-check-steps li>span,
html[data-mc-public-theme] body.portal.portal-home main #qualitaet a.mc-home-quality-link,
html[data-mc-public-theme] body.portal.mc-partner-page main a.p-btn.mc-partner-link,
html[data-mc-public-theme] body.portal main :is(a,button).p-btn.mc-whatsapp,
html[data-mc-public-theme] body.portal main .p-glass > a.p-btn,
html[data-mc-public-theme] body.portal main a.mc-muster-action{
 background:#fff!important;border-color:#818181!important;
 color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=light] body.portal main .mc-muster-kicker{
 color:#d7d7d7!important;-webkit-text-fill-color:#d7d7d7!important
}
html[data-mc-public-theme] body.portal main .mc-muster-badge{
 background:#343434!important;color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5!important
}

/* Shared anthracite header; the menu panel and pinned search follow the surface palette. */
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header],
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header][data-header-scrolled]{
 background:#191919!important;border-bottom-color:#45464a!important;color:#fff
}
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header] .portal-nav.mc-project-nav > .portal-logo,
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header] :is(.mc-project-contact,.mc-header-menu-toggle){
 color:#fff!important;-webkit-text-fill-color:#fff!important
}
html[data-mc-public-theme] body.portal header.site-header.portal-header[data-mcmaler-header] .mc-header-menu::before{background:#6b6b6b!important}
html[data-mc-public-theme] body.portal header[data-mcmaler-header] :is(.portal-logo,.mc-project-contact,.mc-header-menu-toggle):focus-visible{outline-color:#d7d7d7}

/* Fixed anthracite look, including neutral action colors on older form controls. */
html[data-mc-public-theme=dark] body.portal .mc-header-menu-panel{
 color:var(--mc-ink);border:1px solid #5b5b5b
}
html[data-mc-public-theme=dark] body.portal.portal-legacy.mc-workflow-page.mc-contact-page main #contactForm button.cta.send{
 background:#fff!important;border-color:#818181!important
}
html[data-mc-public-theme=dark] body.portal .mc-header-project input::placeholder{
 color:#d4d4d4!important
}
html[data-mc-public-theme=dark] body.portal :is(.mc-home-quality-number,.mc-partner-option-price){
 background:#dedede!important;border-color:#a9a9a9!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal :is(.macky-public,.macky-glass-body) .macky-primary{
 background:#fff!important;border-color:#a9a9a9!important;color:#191919!important
}

/* The matching card's own background determines its contrast on either services entry point. */
html[data-mc-public-theme=dark] body.portal.portal-home main #leistungen{scroll-margin-top:106px}
html[data-mc-public-theme=dark] body.portal.portal-home main .mc-home-paper:not(.mc-all-services) #leistungen .p-heading :is(h2,p,.p-label),
html[data-mc-public-theme=dark] body.portal.portal-home main .mc-home-paper:not(.mc-all-services) #leistungen .p-service>div :is(h3,p){
 color:#fff!important;-webkit-text-fill-color:#fff!important
}
html[data-mc-public-theme=dark] body.portal.portal-home main #leistungen .p-service>div{min-width:0}
html[data-mc-public-theme=dark] body.portal.portal-home main #leistungen .p-service>div :is(h3,p){overflow-wrap:anywhere;max-width:100%}
html[data-mc-public-theme=dark] body.portal.portal-home main #leistungen .p-service>div .p-text{
 display:inline-flex;align-items:center;min-height:44px;padding:4px 11px;border-radius:999px;
 background:#fff!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}
html[data-mc-public-theme=dark] body.portal.portal-home main .mc-all-services #leistungen{padding-top:clamp(112px,12vw,154px)}
html[data-mc-public-theme=dark] body.portal.portal-home main .mc-all-services #leistungen :is(.p-heading h1,.p-heading p,.p-service h3,.p-service p){
 color:#202124!important;-webkit-text-fill-color:#202124!important
}
html[data-mc-public-theme=dark] body.portal.portal-home main .mc-all-services #leistungen .p-service>div .p-text{border:1px solid #c1c1c1}

/* Brand accent. Black text is paired explicitly with each yellow background. */
html[data-mc-public-theme] body.portal .mc-header-menu-group>summary span{border-color:var(--mc-sun)}
html[data-mc-public-theme] body.portal :is(.mc-move-recommended,.mc-partner-option-label,.mc-home-quality-number){background:var(--mc-sun)!important;color:#191919!important;-webkit-text-fill-color:#191919!important;border-color:#857827!important}
html[data-mc-public-theme] body.portal.portal-home main .mc-project-check .mc-project-check-copy a.p-btn.mc-project-check-cta,
html[data-mc-public-theme] body.portal.mc-partner-page main a.p-btn.mc-partner-link,
html[data-mc-public-theme] body.portal main :is(.p-glass > a.p-btn,a.mc-muster-action){
 background:var(--mc-sun)!important;border-color:#857827!important;color:#191919!important;-webkit-text-fill-color:#191919!important
}

/* Slightly tighter shared page and header rails, while retaining full-width bands. */
body.portal {
  --portal-width: min(1248px, calc(100% - 96px));
  --mc-header-rail: min(1248px, calc(100% - 104px));
}

body.portal .portal-header[data-mcmaler-header] .portal-nav.mc-project-nav {
  width: var(--mc-header-rail) !important;
}

body.portal.mc-contact-page .wrap {
  width: min(1096px, calc(100% - 48px));
}

body.portal.mc-painter-mini-site {
  --profile-rail: min(1096px, calc(100% - clamp(28px, 6.5vw, 88px)));
}

@media (max-width: 900px) {
  body.portal { --portal-width: calc(100% - 64px); }
}

@media (max-width: 760px) {
  body.portal {
    --portal-width: calc(100% - 40px);
    --mc-header-rail: var(--portal-width);
  }

  body.portal.mc-contact-page .wrap { width: calc(100% - 36px); }
}

@media (max-width: 360px) {
  body.portal { --portal-width: calc(100% - 36px); }
  body.portal.mc-contact-page .wrap { width: calc(100% - 32px); }
  body.portal.mc-painter-mini-site { --profile-rail: calc(100% - 24px); }
}

/* The floating cloud sits on the transparent dialog, above the rounded chat surface. */
html[data-mc-public-theme] body.portal .macky-public.macky-float-panel {
  background: none !important;
}
