/* Dachreinigung-Kosten H&C Design: dated local v4 refinements only. */
html body .dbrh-hero .hc-richter-hero-brand {
  position:relative!important;
  display:block!important;
  width:155px!important;
  max-width:38%!important;
  height:auto!important;
  margin:0 0 12px!important;
  padding:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  z-index:3!important;
}
html body .dbrh-hero .hc-richter-hero-brand img {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:96px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.16))!important;
  transform:none!important;
  opacity:1!important;
}
@media(max-width:700px) {
  html body .dbrh-hero .hc-richter-hero-brand {width:117px!important;margin-bottom:8px!important;}
  html body .dbrh-hero .hc-richter-hero-brand img {max-height:67px!important;}
}

/* Clear discount labels aligned in each customer's upper-right corner. */
html body .dbrpf.hc-ref-calculator [data-dbr-section="customer"] .dbrpf-choice--discount,
html body .dbrpf.hc-ref-calculator [data-dbr-section="customer"] .dbrpf-choice--discount:hover,
html body .dbrpf.hc-ref-calculator [data-dbr-section="customer"] .dbrpf-choice--discount.is-selected {
  position:relative!important;
  padding-right:77px!important;
}
html body .dbrpf.hc-ref-calculator [data-dbr-section="customer"] .dbrpf-choice--discount .dbrpf-choice__price {
  display:inline-flex!important;
  position:absolute!important;
  top:7px!important;
  right:7px!important;
  bottom:auto!important;
  left:auto!important;
  justify-content:center!important;
  align-items:center!important;
  width:auto!important;
  height:23px!important;
  min-width:56px!important;
  margin:0!important;
  padding:3px 7px!important;
  border:1px solid #b5dec7!important;
  border-radius:5px!important;
  background:#e8f7ef!important;
  background-image:none!important;
  color:#176c4d!important;
  font:800 11px/1 Inter,Arial,sans-serif!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  transform:none!important;
  pointer-events:none!important;
  z-index:4!important;
}
@media(max-width:560px){
 html body .dbrpf.hc-ref-calculator [data-dbr-section="customer"] .dbrpf-choice--discount {
   padding-right:76px!important;
   min-height:67px!important;
 }
}

/* One gentle transition from the dark contact section into a progressively lighter bottom. */
html body .dbrpf.hc-ref-calculator .dbrpf__inner::before {
  background:linear-gradient(180deg,
    #f4f9fc 0%,#e1edf4 14%,#96b5c5 27%,#48758d 38%,
    #244f68 46%,#153f59 54%,#234d65 65%,#48748c 78%,
    #7fa5b8 90%,#b2cbd8 100%)!important;
}
html body .dbr-partner-slider.dbr-section-surface {
  background:linear-gradient(180deg,#b2cbd8 0%,#c4d9e4 100%)!important;
  background-color:#b2cbd8!important;
}
html body .hc-coverage.hc-coverage--atlas {
  background:linear-gradient(180deg,#c4d9e4 0%,#d5e6ee 58%,#dcecf3 100%)!important;
  background-color:#d5e6ee!important;
}
html body footer#footer.dbr-premium-footer-root,
html body #footer.dbr-premium-footer-root {
  background:linear-gradient(180deg,#dcecf3 0%,#e5f1f6 52%,#eef7fa 100%)!important;
  background-image:linear-gradient(180deg,#dcecf3 0%,#e5f1f6 52%,#eef7fa 100%)!important;
  background-color:#e5f1f6!important;
  color:#173d54!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-ft-brand p,
html body footer#footer.dbr-premium-footer-root .dbr-ft-brand-note {
  color:#385c70!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-ft-col .dbr-ft-title {
  color:#126e8c!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-ft-col>a,
html body footer#footer.dbr-premium-footer-root .dbr-ft-contact-link,
html body footer#footer.dbr-premium-footer-root .dbr-ft-contact .dbr-ft-contact-name,
html body footer#footer.dbr-premium-footer-root .dbr-ft-contact .dbr-ft-address {
  color:#173d54!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-ft-col>a:hover,
html body footer#footer.dbr-premium-footer-root .dbr-ft-contact-link:hover {
  color:#116b86!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-ft-bottom {
  color:#5d798a!important;
  border-top-color:rgba(28,88,117,.19)!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-ft-bottom a {
  color:#244e65!important;
}
html body footer#footer.dbr-premium-footer-root .dbr-footer-socials a:hover {
  opacity:1!important;
  transform:none!important;
}

/* Divider with the same blue fade as partner rules, above step 7. */
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .hc-contact-top-rule {
  position:relative!important;
  display:block!important;
  height:2px!important;
  min-height:2px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
  padding:0!important;
  flex:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:linear-gradient(90deg,rgba(6,72,117,0) 0%,rgba(6,91,146,.35) 16%,rgba(8,110,174,.85) 50%,rgba(6,91,146,.35) 84%,rgba(6,72,117,0) 100%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .hc-contact-top-rule::before,
html body .dbrpf.hc-ref-calculator .dbrpf__section--contact.hc-contact-premium .hc-contact-top-rule::after {
  content:none!important;
  display:none!important;
}

/* Restore the reference live-price breakdown; keep trust checks and the existing roof photo beneath. */
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__selection-summary {
  display:grid!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__price-details-toggle {
  display:flex!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__price-details:not([hidden]) {
  display:block!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .dbrpf__price-details[hidden] {
  display:none!important;
}
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-estimate,
html body .dbrpf.hc-ref-calculator .dbrpf__price-card .hc-ref-price-note {
  display:block!important;
}
@media(min-width:751px){
  html body .dbrpf.hc-ref-calculator .dbrpf__price-card {
    max-height:calc(100dvh - 105px)!important;
    overflow-y:auto!important;
    scrollbar-width:thin!important;
  }
}
@media(max-width:750px){
  html body .dbrpf.hc-ref-calculator .dbrpf__price-card {
    position:relative!important;max-height:none!important;overflow:visible!important;
  }
}

/* Rechner: Dachfläche auf Desktop bis zur Mitte der ersten Zustandskarte. */
@media (min-width:751px) {
  html body .dbrpf.hc-ref-calculator [data-dbr-section="area"] .dbrpf__area-panel .dbrpf__area-field-wrap {
    box-sizing:border-box!important;
    width:16.6667%!important;
    min-width:120px!important;
    max-width:none!important;
    margin-left:0!important;
  }
  html body .dbrpf.hc-ref-calculator [data-dbr-section="area"] .dbrpf__area-panel .dbrpf__area-field-wrap .dbrpf__area-field {
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}
@media (max-width:750px) {
  html body .dbrpf.hc-ref-calculator [data-dbr-section="area"] .dbrpf__area-panel .dbrpf__area-field-wrap {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
}
