/*
 * KT public-site orange action contract.
 *
 * This deliberately small stylesheet is loaded after page-local Builder CSS.
 * It normalises every known orange action surface to the approved KT orange
 * and keeps its copy dark enough for WCAG AA. Page-specific layout, spacing
 * and secondary-button treatments remain untouched.
 */
html body .site[data-ktw-route] {
  --kt-brand-orange: #ef7d30 !important;
  --ktw-brand-orange: #ef7d30 !important;
  --kt-altbau-orange: #ef7d30 !important;
  --kt-calc-orange: #ef7d30 !important;
  --kt-doc-orange: #ef7d30 !important;
  --kt-eigen-orange: #ef7d30 !important;
  --kt-model-orange: #ef7d30 !important;
  --kt-orange: #ef7d30 !important;
  --kt-service-orange: #ef7d30 !important;
  --kt-source-orange: #ef7d30 !important;
  --kt-wp-orange: #ef7d30 !important;
  --ktar-brand-orange: #ef7d30 !important;
  --ktw-dhw-orange: #ef7d30 !important;
  --ktw-orange: #ef7d30 !important;
  --ktw-product-orange: #ef7d30 !important;
  --ktw-project-orange: #ef7d30 !important;
  --pump-orange: #ef7d30 !important;
  --subsidy-orange: #ef7d30 !important;
  --ktw-orange-action-text: #06283d !important;
}

html:root:root body .site.site[data-ktw-route] :is(
  .ktw-shell-cta,
  .btn-primary,
  .btn.primary,
  .button.primary,
  .kt-button-primary,
  .kt-home-request,
  .kt-home-card-cta,
  .kt-consultation-submit,
  .kt-consultation-button,
  .kt-contact-request-submit,
  .kt-doc-button--primary,
  .ktw-config-btn.primary,
  .ktw-login-modal__submit,
  .ktw-subsidy-button,
  .ktw-calculator-intent__button,
  .kt-source-button--primary,
  .kt-r290-button--primary,
  .kt-eigen-button--primary,
  .kt-eigen-link,
  .kt-altbau-button--primary,
  .kt-service-btn-primary,
  .kt-service-text-link,
  .ktw-aw-btn--primary,
  .ktw-pump-button.is-primary,
  .ktw-project-button--orange,
  .kt-solutions-link,
  .ktw-perfect-system-link,
  .primary-action,
  .primary-btn,
  .download-action.primary,
  .pdf-action.primary,
  .agb-pdf-link
),
html:root:root body .site.site[data-ktw-route] :is(
  .kt-product-hero,
  .kt-product-cta,
  .kt-products-grid,
  .kt-products-cta,
  .kt-product-clean-cta,
  .kt-hotwater-hero-copy,
  .kt-hotwater-product,
  .kt-hotwater-cta,
  .kt-dhw-hero,
  .kt-dhw-card,
  .kt-dhw-cta,
  .kt-cloud-hero-copy,
  .kt-cloud-frame-head
) a,
html:root:root body .site.site[data-ktw-route] .kt-hotwater-references > div:first-child a,
html:root:root body .site.site[data-ktw-route] .kt-cloud-frame-launch-actions button,
html:root:root body .site.site[data-ktw-route] .kt-cloud-help-actions .kt-cloud-help-primary,
html:root:root body .site.site[data-ktw-route] .ktw-doc-search button,
html:root:root body .site.site[data-ktw-route="dokumente"] :is(
  .doc-file,
  article.doc-file,
  .file,
  .record,
  .download-card,
  .document-card,
  .portal-card,
  .catalog-card,
  .library-card,
  .result-card
) :is(a, button, .btn, .button, [role="button"]),
html:root:root body .site.site[data-ktw-route] :is(
  .ktw-adaptmax-table thead a,
  .kt-adapt-model-rail a[aria-current="page"]
),
html:root:root body .site.site[data-ktw-route="kt-waermesysteme"] .kt-home-filter:is(:hover, .is-active),
html:root:root body .site.site[data-ktw-route] .ktw-shell-ar-promo > a {
  -webkit-text-fill-color: #06283d !important;
  background: #ef7d30 !important;
  background-color: #ef7d30 !important;
  background-image: none !important;
  border-color: #ef7d30 !important;
  color: #06283d !important;
}

html:root:root body .site.site[data-ktw-route] :is(
  .ktw-shell-cta,
  .btn-primary,
  .btn.primary,
  .button.primary,
  .kt-button-primary,
  .kt-home-request,
  .kt-home-card-cta,
  .kt-consultation-submit,
  .kt-consultation-button,
  .kt-contact-request-submit,
  .kt-doc-button--primary,
  .ktw-config-btn.primary,
  .ktw-login-modal__submit,
  .ktw-subsidy-button,
  .ktw-calculator-intent__button,
  .kt-source-button--primary,
  .kt-r290-button--primary,
  .kt-eigen-button--primary,
  .kt-eigen-link,
  .kt-altbau-button--primary,
  .kt-service-btn-primary,
  .kt-service-text-link,
  .ktw-aw-btn--primary,
  .ktw-pump-button.is-primary,
  .ktw-project-button--orange,
  .kt-solutions-link,
  .ktw-perfect-system-link,
  .primary-action,
  .primary-btn,
  .download-action.primary,
  .pdf-action.primary,
  .agb-pdf-link
) :is(span, strong, small, b, i, em, p),
html:root:root body .site.site[data-ktw-route] :is(
  .kt-product-hero,
  .kt-product-cta,
  .kt-products-grid,
  .kt-products-cta,
  .kt-product-clean-cta,
  .kt-hotwater-hero-copy,
  .kt-hotwater-product,
  .kt-hotwater-cta,
  .kt-dhw-hero,
  .kt-dhw-card,
  .kt-dhw-cta,
  .kt-cloud-hero-copy,
  .kt-cloud-frame-head
) a :is(span, strong, small, b, i, em, p),
html:root:root body .site.site[data-ktw-route] .ktw-shell-ar-promo > a :is(span, strong, small, b, i, em, p) {
  -webkit-text-fill-color: #06283d !important;
  color: #06283d !important;
}

html:root:root body .site.site[data-ktw-route] :is(
  .ktw-shell-cta,
  .btn-primary,
  .btn.primary,
  .button.primary,
  .kt-button-primary,
  .kt-home-request,
  .kt-home-card-cta,
  .kt-consultation-submit,
  .kt-consultation-button,
  .kt-contact-request-submit,
  .kt-doc-button--primary,
  .ktw-config-btn.primary,
  .ktw-login-modal__submit,
  .ktw-subsidy-button,
  .ktw-calculator-intent__button,
  .kt-source-button--primary,
  .kt-r290-button--primary,
  .kt-eigen-button--primary,
  .kt-eigen-link,
  .kt-altbau-button--primary,
  .kt-service-btn-primary,
  .kt-service-text-link,
  .ktw-aw-btn--primary,
  .ktw-pump-button.is-primary,
  .ktw-project-button--orange,
  .kt-solutions-link,
  .ktw-perfect-system-link,
  .primary-action,
  .primary-btn,
  .download-action.primary,
  .pdf-action.primary,
  .agb-pdf-link
):is(:hover, :focus, :focus-visible, :active),
html:root:root body .site.site[data-ktw-route] :is(
  .kt-product-hero,
  .kt-product-cta,
  .kt-products-grid,
  .kt-products-cta,
  .kt-product-clean-cta,
  .kt-hotwater-hero-copy,
  .kt-hotwater-product,
  .kt-hotwater-cta,
  .kt-dhw-hero,
  .kt-dhw-card,
  .kt-dhw-cta,
  .kt-cloud-hero-copy,
  .kt-cloud-frame-head
) a:is(:hover, :focus, :focus-visible, :active),
html:root:root body .site.site[data-ktw-route] .kt-hotwater-references > div:first-child a:is(:hover, :focus, :focus-visible, :active),
html:root:root body .site.site[data-ktw-route] .kt-cloud-frame-launch-actions button:is(:hover, :focus, :focus-visible, :active),
html:root:root body .site.site[data-ktw-route] .kt-cloud-help-actions .kt-cloud-help-primary:is(:hover, :focus, :focus-visible, :active),
html:root:root body .site.site[data-ktw-route] .ktw-doc-search button:is(:hover, :focus, :focus-visible, :active),
html:root:root body .site.site[data-ktw-route] .ktw-shell-ar-promo > a:is(:hover, :focus, :focus-visible, :active) {
  -webkit-text-fill-color: #06283d !important;
  background: #ef7d30 !important;
  background-color: #ef7d30 !important;
  background-image: none !important;
  border-color: #ef7d30 !important;
  color: #06283d !important;
}

html body .ktw-cookie-actions button[data-ktw-consent="granted"] {
  -webkit-text-fill-color: #06283d !important;
  background: #ef7d30 !important;
  background-color: #ef7d30 !important;
  background-image: none !important;
  border-color: #ef7d30 !important;
  color: #06283d !important;
}
