/* Responsive layout normalization — H&C 2026-11-02. Avoid root zoom / 111vw hacks on touch screens. */
@media screen and (max-width:1600px) and (pointer:coarse) {
  html { zoom:1!important; width:100%!important; max-width:100%!important; overflow-x:clip!important; -webkit-text-size-adjust:100%!important; text-size-adjust:100%!important; }
  html body, html body .wp-site-blocks, html body main#wp--skip-link--target { box-sizing:border-box!important; width:100%!important; max-width:100%!important; overflow-x:clip!important; }
  html body main#wp--skip-link--target #startseite-hero.dbrh-hero {
    box-sizing:border-box!important;
    width:100vw!important; min-width:0!important; max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important; margin-right:0!important;
    padding-left:max(16px, env(safe-area-inset-left, 0px))!important;
    padding-right:max(16px, env(safe-area-inset-right, 0px))!important;
    height:auto!important; max-height:none!important; min-height:320px!important;
  }
  html body #startseite-hero.dbrh-hero .dbrh-hero__inner,
  html body #startseite-hero.dbrh-hero .dbrh-hero__content {
    box-sizing:border-box!important; width:100%!important; max-width:100%!important; min-width:0!important;
    margin-left:0!important; margin-right:0!important;
  }
  html body #startseite-hero.dbrh-hero .dbrh-hero__content h1,
  html body #startseite-hero.dbrh-hero .dbrh-hero__lead,
  html body #startseite-hero.dbrh-hero .hc-hero-followup {
    max-width:100%!important; white-space:normal!important; overflow-wrap:break-word!important; text-indent:0!important;
  }
  html body main#wp--skip-link--target #preisrechner.dbrpf {
    box-sizing:border-box!important;
    position:relative!important; left:50%!important; right:auto!important;
    transform:translateX(-50%)!important;
    width:100vw!important; min-width:0!important; max-width:100vw!important; margin:0!important;
  }
  html body main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__inner,
  html body main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__frame {
    box-sizing:border-box!important;
    width:100%!important; min-width:0!important; max-width:100%!important;
    margin-left:auto!important; margin-right:auto!important;
  }
  html body .hc-fullwidth-price-bar { box-sizing:border-box!important; max-width:100%!important; min-width:0!important; }
  html body .hc-coverage.hc-coverage--atlas { box-sizing:border-box!important; width:100%!important; min-width:0!important; max-width:100%!important; }
}
@media screen and (min-width:600px) and (max-width:1600px) and (pointer:coarse) and (orientation:landscape) {
  html body #startseite-hero.dbrh-hero h1 { font-size:clamp(25px,3.1vw,35px)!important; line-height:1.1!important; }
  html body #startseite-hero.dbrh-hero .dbrh-hero__content { width:min(100%,700px)!important; }
}
@media screen and (max-width:1600px) and (pointer:coarse) {
  html body #preisrechner .dbrpf__area-field-wrap,
  html body #preisrechner .dbrpf__area-field {
    box-sizing:border-box!important; width:100%!important; max-width:100%!important; min-width:0!important;
  }
  html body #preisrechner .dbrpf__area-field {position:relative!important; display:block!important;}
  html body #preisrechner .dbrpf__area-field input.dbrpf__input--area {
    display:block!important; box-sizing:border-box!important; width:100%!important; max-width:100%!important;
    min-width:0!important; padding-right:58px!important;
  }
  html body #preisrechner .dbrpf__area-field > span {
    position:absolute!important; right:10px!important; left:auto!important; top:50%!important;
    transform:translateY(-50%)!important; margin:0!important; z-index:1!important;
  }
}

@media screen and (max-width:700px) and (pointer:coarse) {
  html body #preisrechner .dbrpf__area-field-wrap,
  html body #preisrechner .dbrpf__area-field {
    max-width:calc(100vw - 60px)!important;
  }
}

/* Expanded dual-screen and large foldable viewport; keep desktop-like centered content. */
@media screen and (min-width:1101px) and (max-width:1600px) and (pointer:coarse) {
  html body main#wp--skip-link--target #startseite-hero.dbrh-hero .dbrh-hero__inner {
    width:100%!important; max-width:1180px!important; margin-left:auto!important; margin-right:auto!important;
  }
  html body main#wp--skip-link--target #startseite-hero.dbrh-hero .dbrh-hero__content {
    width:min(100%,810px)!important; max-width:810px!important; margin-left:0!important; margin-right:auto!important;
  }
}
