/* Production styles for Dachreinigung Kosten. */
/* Dachreinigung-Kosten | unified top blue + seamless hero, 2026-10-30
   The white navigation and lower editorial gradients remain unchanged. */
:root { --hc-unified-top-blue:#a6c6d6; }

/* Home: do not change the calculator, its inputs or its price calculation. */
html body:not(.hc-subpages-refined) main#wp--skip-link--target {
  background-color:var(--hc-unified-top-blue)!important;
}
/* All six editorial subpages: eliminate the solid white band above the
   dynamically positioned dark-blue editorial gradient. */
html body.hc-subpages-refined main#wp--skip-link--target {
  background-color:var(--hc-unified-top-blue)!important;
  background-image:none!important;
}
html body.hc-subpages-refined main .entry-content {
  background-color:transparent!important;
}

/* Hero photograph fades into precisely the same blue as the page beneath it. */
html body .dbrh-hero {
  background-color:var(--hc-unified-top-blue)!important;
}
html body .dbrh-hero .dbrh-hero__overlay {
  background:
    linear-gradient(to top,
      #a6c6d6 0%,
      rgba(166,198,214,.95) 8%,
      rgba(166,198,214,.66) 23%,
      rgba(166,198,214,.10) 57%,
      rgba(166,198,214,0) 80%),
    linear-gradient(90deg,
      rgba(181,210,224,.94) 0%,
      rgba(185,214,228,.86) 32%,
      rgba(193,216,229,.65) 56%,
      rgba(183,211,225,.20) 90%,
      rgba(183,211,225,.05) 100%)!important;
}
html body .dbrh-hero::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;right:0!important;
  bottom:-1px!important;
  top:auto!important;
  height:110px!important;
  background:linear-gradient(180deg,rgba(166,198,214,0) 0%,rgba(166,198,214,.45) 40%,#a6c6d6 100%)!important;
  filter:none!important;
  z-index:1!important;
  opacity:1!important;
  pointer-events:none!important;
}
/* Preserve body/header separation as on the original homepage. */
html body header.dbr-final-header {
  background:#fff!important;
}

/* Continuity with the already existing CSS-variable controlled lower fades.
   Only the first two stops change; remaining article/FAQ stop positions stay
   exactly where the existing JS places them. */
html body.hc-subpages-homefade.hc-cleaning-gradient-shift main#wp--skip-link--target::before {
 background:linear-gradient(180deg,
    #a6c6d6 0px,
    #bfd6e2 var(--hc-one-pale,240px),
    #d5e8f2 var(--hc-one-divider,570px),
    #a9c8d8 var(--hc-one-heading,680px),
    #4c7690 var(--hc-one-article,870px),
    #234e68 var(--hc-one-dark-approach,1120px),
    #153f59 var(--hc-one-dark,1900px),
    #28566f var(--hc-one-region-first,2200px),
    #aac7d7 var(--hc-one-region-third,2550px),
    #d3e6ef var(--hc-one-region-bottom,3020px),
    #e7f2f8 var(--hc-one-faq,3370px),
    #f3f9fc 100%)!important;
}
html body.hc-informative-unified main#wp--skip-link--target::before {
 background:linear-gradient(180deg,
  #a6c6d6 0px,
  #bfd6e2 var(--hc-info-pale,170px),
  #d4e8f2 var(--hc-info-first,310px),
  #80a5b9 var(--hc-info-body,500px),
  #315c74 var(--hc-info-mid,770px),
  #153f59 var(--hc-info-dark,980px),
  #2d5972 var(--hc-info-region,1100px),
  #85a9ba var(--hc-info-region-next,1450px),
  #c4dbe7 var(--hc-info-region-end,1810px),
  #edf6fa var(--hc-info-faq,2140px),
  #f3f9fc 100%)!important;
}
@media(max-width:750px){
 html body .dbrh-hero .dbrh-hero__overlay {
  background:
    linear-gradient(to top,#a6c6d6 0%,rgba(166,198,214,.88) 10%,rgba(166,198,214,.47) 33%,rgba(166,198,214,.04) 74%),
    linear-gradient(90deg,rgba(189,215,228,.96) 0%,rgba(190,216,229,.88) 57%,rgba(185,213,227,.65) 100%)!important;
 }
 html body .dbrh-hero::after {height:75px!important;}
}
/* Avoid motion in the fade; this is a static pixel-perfect background. */

/* Higher-specificity legacy correction on roof-service subpages:
   their old 'background:#fff!important' otherwise overrides the unified blue. */
html body.hc-subpages-homefade.hc-cleaning-gradient-shift main#wp--skip-link--target {
  background-color:#a6c6d6!important;
  background-image:none!important;
}

/* Calculator gradient: the roof shape in step 5 defines the top colour.
   Keep it uniform from the beginning through step 5, then retain the
   established gradient and its contact/footer progression. */
html body section.dbrpf.hc-ref-calculator {
  background-color:#a6c6d6!important;
  background-image:linear-gradient(180deg,
    #a6c6d6 0%, #a6c6d6 9%, #a6c6d6 18%,
    #a6c6d6 29%, #a6c6d6 40%,
    #94b9ca 51%, #75a2b7 61%, #5b8ba4 70%,
    #46768f 78%, #477890 84%, #6597ac 91%,
    #8db7c8 96%, #b1cddb 100%)!important;
}
@media(max-width:750px){
 html body section.dbrpf.hc-ref-calculator {
  background-image:linear-gradient(180deg,
    #a6c6d6 0%, #a6c6d6 12%, #a6c6d6 25%,
    #a6c6d6 40%, #a3c4d3 53%, #83adbf 64%,
    #6496ad 75%, #4d819b 85%,
    #7baabd 94%, #b1cddb 100%)!important;
 }
}

/* The two legal documents do not have a photo hero. Keep their readable
   white document cards while matching the site-wide colour behind them. */
html body.hc-legal-blue {
  background:linear-gradient(180deg,#a6c6d6 0%,#a6c6d6 42%,#d1e3ed 83%,#fff 100%)!important;
}
html body.hc-legal-blue > header {background:#fff!important;}

/* About page uses a bespoke editorial/portrait hero rather than .dbrh-hero.
   Restore colour continuity without hiding its actual image or copy. */
html body.hc-about-storypage .hc-about-hero {
  background:#a6c6d6!important;
  background-image:none!important;
}
html body.hc-about-storypage .hc-about-hero__background {
  background:
    linear-gradient(90deg,rgba(166,198,214,.97) 0%,rgba(166,198,214,.77) 35%,rgba(166,198,214,.18) 100%),
    linear-gradient(0deg,#a6c6d6 0%,rgba(166,198,214,.05) 60%,#a6c6d6 100%),
    url("/wp-content/uploads/2026/08/kostenheader.jpeg") center/cover no-repeat!important;
}
html body.hc-about-storypage .hc-about-hero__portrait::after {
  background:
    linear-gradient(to top,#a6c6d6 0%,rgba(166,198,214,.06) 44%,transparent 62%),
    linear-gradient(90deg,#a6c6d6 0%,rgba(166,198,214,.04) 38%,transparent 55%)!important;
}
html body.hc-about-storypage .hc-about-story,
html body.hc-about-storypage .hc-about-story__navwrap,
html body.hc-about-storypage .hc-about-chapter--opening {
  background:#a6c6d6!important;
  background-image:none!important;
}
html body.hc-about-storypage .hc-about-chapter--person {
  background:linear-gradient(180deg,#a6c6d6 0%,#c6dee9 35%,#f1f8fb 100%)!important;
}


/* H&C / Dachreinigung-Kosten v34 2026-10-30
   Unterseiten: white through section 1, gentle fade through first half of 2.
   Original blue/dark continuation and calculation remain unaffected. */
html body.hc-subpages-refined {
  --hc-fade-first-white:#ffffff;
  --hc-fade-target-blue:#a6c6d6;
}
html body.hc-subpages-refined main#wp--skip-link--target {
  position:relative!important;
  isolation:isolate!important;
  background-color:var(--hc-fade-target-blue)!important;
}
html body.hc-subpages-refined main#wp--skip-link--target::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  top:0!important;left:0!important;right:0!important;bottom:auto!important;
  height:var(--hc-white-fade-end,1550px)!important;
  max-height:none!important;
  pointer-events:none!important;
  opacity:1!important;
  background:linear-gradient(180deg,
    #fff 0%,#fff 45%,rgba(255,255,255,.98) 53%,
    rgba(255,255,255,.88) 65%,rgba(255,255,255,.55) 81%,
    rgba(255,255,255,.22) 93%,rgba(255,255,255,0) 100%)!important;
}
html body.hc-subpages-refined main#wp--skip-link--target .entry-content {
  position:relative!important;z-index:1!important;
}
html body.hc-subpages-refined .dbrh-hero {
  background:#fff!important;
}
html body.hc-subpages-refined .dbrh-hero .dbrh-hero__overlay {
  background:
    linear-gradient(0deg,#fff 0%,rgba(255,255,255,.98) 9%,
      rgba(255,255,255,.82) 25%,rgba(255,255,255,.25) 56%,rgba(255,255,255,.06) 100%),
    linear-gradient(90deg,rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.93) 25%,rgba(255,255,255,.68) 54%,rgba(255,255,255,.07) 100%)!important;
}
html body.hc-subpages-refined .dbrh-hero::after {
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 44%,#fff 100%)!important;
  filter:none!important;
}
html body.hc-about-storypage .hc-about-hero {
  background:#fff!important;background-image:none!important;
}
html body.hc-about-storypage .hc-about-hero__background {
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.91) 27%,rgba(255,255,255,.27) 100%),
    linear-gradient(0deg,#fff 0%,rgba(255,255,255,.08) 55%,#fff 100%),
    url("/wp-content/uploads/2026/08/kostenheader.jpeg") center/cover no-repeat!important;
}
html body.hc-about-storypage .hc-about-hero__portrait::after {
  background:linear-gradient(0deg,#fff 0%,rgba(255,255,255,.18) 27%,transparent 50%),
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.05) 23%,transparent 57%)!important;
}
html body.hc-about-storypage .hc-about-story,
html body.hc-about-storypage .hc-about-story__navwrap,
html body.hc-about-storypage .hc-about-chapter--opening {
  background:transparent!important;background-image:none!important;
}
html body.hc-about-storypage .hc-about-chapter--person {
  background:transparent!important;background-image:none!important;
}
/* Legal pages preserve their white reading cards and get the same white top. */
html body.hc-legal-blue {
  background:linear-gradient(180deg,#fff 0%,#fff 16%,#f5fafc 27%,#d4e7f0 51%,#a6c6d6 70%,#f0f7fb 100%)!important;
}
/* On all pages the navigation is an unbroken white surface. */
html body header.dbr-final-header {background:#fff!important;}
/* The original legal-page inline CSS defines generic nav selectors; isolate
   the shared header from those generic overrides. */
html body.hc-legal-blue header.dbr-final-header {
  position:sticky!important;top:0!important;z-index:9999!important;
  height:91px!important;min-height:91px!important;
  background:#fff!important;box-shadow:0 1px 0 rgba(15,37,48,.09)!important;
}
html body.hc-legal-blue .dbr-final-header-inner {
  height:90px!important;min-height:90px!important;
}
html body.hc-legal-blue .dbr-final-header nav.dbr-final-nav {
  min-height:0!important;flex-wrap:nowrap!important;
}
html body.hc-legal-blue .dbr-clone-mobile-menu {min-height:0!important;}
html body.hc-legal-blue .dbr-final-logo img {height:72px!important;max-height:72px!important;object-fit:contain!important;}
@media(max-width:820px) {
  html body.hc-legal-blue header.dbr-final-header {
    height:76px!important;min-height:76px!important;
  }
  html body.hc-legal-blue .dbr-final-header-inner {
    height:76px!important;min-height:76px!important;
  }
  html body.hc-legal-blue .dbr-final-logo img {height:65px!important;max-height:65px!important;}
  html body.hc-legal-blue .dbr-clone-menu-toggle {display:block!important;}
  html body.hc-legal-blue .dbr-clone-mobile-menu.is-open {display:flex!important;}
}

