/* 01.11.2026 — Formular: identische Radio-Aussenkreise und aktive Innenpunkte,
   identische Randstaerken wie Neukunde/Bestandskunde.
   Kompatibel mit bestehender Rechner-Logik. */
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) label.dbrpf-choice .dbrpf-choice__indicator {
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  box-sizing:border-box !important;
  flex:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  border:1.3px solid #adc5d2 !important;
  border-radius:50% !important;
  background:#ffffff !important;
  box-shadow:none !important;
}
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) label.dbrpf-choice .dbrpf-choice__indicator::before {
  content:none !important;
  display:none !important;
}
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) label.dbrpf-choice .dbrpf-choice__indicator::after {
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  width:9px !important;
  height:9px !important;
  min-width:9px !important;
  min-height:9px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:#168dcb !important;
  box-shadow:none !important;
  opacity:0 !important;
  transform:translate(-50%,-50%) scale(.6) !important;
  transition:opacity .12s ease, transform .12s ease !important;
  pointer-events:none !important;
}
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) label.dbrpf-choice input[type="radio"]:checked ~ .dbrpf-choice__indicator {
  border:1.8px solid #168dcb !important;
  background:#fff !important;
  box-shadow:none !important;
}
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) label.dbrpf-choice input[type="radio"]:checked ~ .dbrpf-choice__indicator::after {
  opacity:1 !important;
  transform:translate(-50%,-50%) scale(1) !important;
}
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) label.dbrpf-choice input[type="radio"]:focus-visible ~ .dbrpf-choice__indicator {
  outline:2px solid #0875a9 !important;
  outline-offset:3px !important;
}
/* Keine weiteren Text-/Hero-Schriftanpassungen. */
/* Exakt vorgerenderte Bildausschnitte: Himmel + Dach + Hausfassade.
   Desktop 3.26:1 fuer schmale Bildkachel, Mobil 0.9:1 fuer hohes Foto. */
@media (min-width:701px) {
 html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) [data-dbr-section="roof"]
 label.dbrpf-choice--roof-photo:has(input[name="roof_form"][value="hipped"])
 img.dbrpf-choice__form-photo {
   content:url("/_hc-home-20261027/assets/roof-hipped-desktop-facade-sky-v6.webp") !important;
   object-fit:cover !important;
   object-position:center !important;
 }
}
@media (max-width:700px) {
 html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c) [data-dbr-section="roof"]
 label.dbrpf-choice--roof-photo:has(input[name="roof_form"][value="hipped"])
 img.dbrpf-choice__form-photo {
   content:url("/_hc-home-20261027/assets/roof-hipped-mobile-facade-sky-v6.webp") !important;
   object-fit:cover !important;
   object-position:50% 33% !important;
 }
}


/* 03.11.2026: Desktop access selection dot centered within visible radio circle. */
@media (min-width:701px) {
  html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c)
  [data-dbr-section="access"] label.dbrpf-choice input[type="radio"]:checked ~ .dbrpf-choice__indicator::after {
    position:static !important;
    transform:none !important;
  }
}


/* ACCESS DOT 03.11.2026 v2: circle and center dot painted together. */
/* Use a radial-gradient, not a positional pseudo-element, to avoid offset dots. */
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c)
[data-dbr-section="access"] label.dbrpf-choice input[type="radio"]:checked ~ .dbrpf-choice__indicator {
  background-color:#fff !important;
  background-image:radial-gradient(circle at center, #168dcb 0px, #168dcb 4px, transparent 4.3px) !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:100% 100% !important;
  overflow:hidden !important;
}
html body #preisrechner:not(#__hc_no_a#__hc_no_b#__hc_no_c)
[data-dbr-section="access"] label.dbrpf-choice input[type="radio"]:checked ~ .dbrpf-choice__indicator::after {
  content:none !important;
  display:none !important;
}
