/* H&C Dachreinigung-Kosten | Telefon Querformat.
   Ein Rechner-Layout, eine Preisanzeige; Portrait/Desktop bleiben unangetastet.
   2026-11-02 */
@media screen and (orientation: landscape) and (max-height: 620px) and (max-width: 1300px) and (pointer: coarse) {
  html body.home main#wp--skip-link--target #preisrechner.dbrpf,
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__inner,
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__frame {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Eine durchgaengige Spalte statt Desktop-Sidebar plus Mobilpreis. */
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__workspace {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px clamp(12px, 2.5vw, 22px) 24px !important;
  }
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__price-column,
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__mobile-price {
    display: none !important;
  }
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__fields-column {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  /* Livepreis ist Teil des Formularflusses; kein Sticky-Overlay vor Optionen. */
  html body.home main#wp--skip-link--target #preisrechner.dbrpf .dbrpf__fields-column > .hc-fullwidth-price-bar {
    box-sizing: border-box !important;
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 1 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 0 12px !important;
    padding: 10px 14px !important;
    border: 1px solid #b9d9c7 !important;
    border-radius: 10px !important;
    background: #eaf7ef !important;
    box-shadow: none !important;
  }
  html body.home #preisrechner.dbrpf .hc-fullwidth-price-bar__label {
    display: block !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #345c48 !important;
    font: 700 clamp(12px, 1.7vw, 14px)/1.2 Arial, Helvetica, sans-serif !important;
    white-space: nowrap !important;
  }
  html body.home #preisrechner.dbrpf .hc-fullwidth-price-bar__value {
    display: block !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #137347 !important;
    font: 800 clamp(20px, 2.6vw, 25px)/1.1 Arial, Helvetica, sans-serif !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
  }

  /* Optionen auf die vorhandene Bildschirmbreite anpassen. */
  html body.home #preisrechner.dbrpf .dbrpf__section {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: clamp(13px, 2vw, 21px) !important;
  }
  html body.home #preisrechner.dbrpf .dbrpf__choices--two,
  html body.home #preisrechner.dbrpf .dbrpf__choices--three,
  html body.home #preisrechner.dbrpf .dbrpf__roof-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 100% !important;
  }
  html body.home #preisrechner.dbrpf .dbrpf-choice {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
  html body.home #preisrechner.dbrpf .dbrpf-choice__copy {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
}
@media screen and (orientation: landscape) and (max-height: 620px) and (max-width: 690px) and (pointer: coarse) {
  html body.home #preisrechner.dbrpf .dbrpf__choices--two,
  html body.home #preisrechner.dbrpf .dbrpf__choices--three,
  html body.home #preisrechner.dbrpf .dbrpf__roof-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
