/* Einheitlicher, handskizzierter Redaktionsstil fuer alle Rechnerabschnitte.
   Keine zur Hoehe gestreckten SVGs, kein zusaetzlicher Karten-Plastiklook. */
html body .dbrpf .dbrpf__section,
html body .dbrpf .dbrpf__section:nth-of-type(even),
html body .dbrpf .dbrpf__section--contact {
  position:relative!important;
  padding-top:32px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf__section::before,
html body .dbrpf .dbrpf__section:nth-of-type(even)::before,
html body .dbrpf .dbrpf__section--contact::before {
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:auto!important;
  inset:0 0 auto!important;
  width:100%!important;
  height:22px!important;
  background:url("./assets/hc-rule-unified.svg?v=1") center top / 100% 22px no-repeat!important;
  filter:none!important;
  opacity:1!important;
  z-index:2!important;
  pointer-events:none!important;
}
html body .dbrpf .dbrpf__section::after,
html body .dbrpf .dbrpf__section:nth-of-type(even)::after,
html body .dbrpf .dbrpf__section--contact::after {
  content:none!important;
  display:none!important;
}
html body .dbrpf .dbrpf__section-head {
  margin-bottom:14px!important;
  padding:0!important;
}
html body .dbrpf .dbrpf__section-head h3 {
  font-weight:780!important;
  letter-spacing:-.018em!important;
  color:#133f5a!important;
}
html body .dbrpf .dbrpf__section-head p {
  color:#647d8d!important;
  line-height:1.5!important;
}
html body .dbrpf .dbrpf-choice,
html body .dbrpf .dbrpf-choice:nth-child(even),
html body .dbrpf .dbrpf-choice:hover,
html body .dbrpf .dbrpf-choice.is-selected,
html body .dbrpf .dbrpf-choice:has(input:checked) {
  position:relative!important;
  border:0!important;
  border-radius:3px!important;
  background:rgba(255,255,255,.59)!important;
  box-shadow:none!important;
  padding:15px 13px!important;
  transform:none!important;
  transition:background-color .17s ease!important;
}
html body .dbrpf .dbrpf-choice:hover {
  background:rgba(255,255,255,.92)!important;
}
html body .dbrpf .dbrpf-choice:has(input:checked),
html body .dbrpf .dbrpf-choice.is-selected {
  background:rgba(228,244,235,.9)!important;
}
html body .dbrpf .dbrpf-choice::before,
html body .dbrpf .dbrpf-choice:nth-child(even)::before,
html body .dbrpf .dbrpf-choice:has(input:checked)::before {
  content:""!important;
  position:absolute!important;
  inset:-2px!important;
  background:url("./assets/hc-choice-unified.svg?v=1") center / 100% 100% no-repeat!important;
  filter:none!important;
  z-index:2!important;
  pointer-events:none!important;
}
html body .dbrpf .dbrpf-choice__copy strong {
  color:#183e54!important;
  font-size:14px!important;
  letter-spacing:-.012em!important;
  font-weight:780!important;
}
html body .dbrpf .dbrpf-choice__copy small {
  color:#546e7d!important;
  font-size:11.5px!important;
  line-height:1.4!important;
  font-weight:480!important;
  max-width:100%!important;
}
html body .dbrpf .dbrpf-choice__price,
html body .dbrpf .dbrpf-choice--discount .dbrpf-choice__price,
html body .dbrpf .dbrpf-access__price {
  background:#e5eef3!important;
  color:#155a82!important;
  padding:4px 8px!important;
  border-radius:4px!important;
  box-shadow:none!important;
  letter-spacing:0!important;
  font-size:11px!important;
  font-weight:760!important;
}
html body .dbrpf .dbrpf-choice--discount .dbrpf-choice__price {
  background:#397f5c!important;
  color:white!important;
}
html body .dbrpf .dbrpf-choice__indicator {
  border:1.5px solid #7eabc0!important;
  background:white!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf-choice:has(input:checked) .dbrpf-choice__indicator {
  border-color:#327d58!important;
}
html body .dbrpf .dbrpf-choice:has(input:focus-visible) {
  outline:2px solid #197ab0!important;
  outline-offset:3px!important;
}
/* Ein Fotoformat fuer Dachzustand und Dachform (Desktop). */
html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo,
html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo {
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  align-items:start!important;
  align-content:start!important;
  column-gap:9px!important;
  row-gap:8px!important;
  min-height:196px!important;
}
html body .dbrpf .dbrpf-choice__roof-photo,
html body .dbrpf .dbrpf-choice__form-photo {
  display:block!important;
  grid-column:1 / -1!important;
  grid-row:1!important;
  width:100%!important;
  height:95px!important;
  object-fit:cover!important;
  object-position:center!important;
  aspect-ratio:16/9!important;
  border:0!important;
  border-radius:2px!important;
  filter:saturate(.92)!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__indicator,
html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo .dbrpf-choice__indicator {
  grid-column:1!important;
  grid-row:2!important;
  margin:1px 0 0!important;
}
html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__copy,
html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo .dbrpf-choice__copy {
  grid-column:2!important;
  grid-row:2!important;
}
html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__price,
html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo .dbrpf-choice__price {
  grid-column:2!important;
  grid-row:3!important;
  justify-self:start!important;
  width:max-content!important;
}
/* Leicht nachvollziehbare Eingaben ohne fertiges SaaS-Template. */
html body .dbrpf .dbrpf__area-field::before {
  background-image:url("./assets/hc-choice-unified.svg?v=1")!important;
  opacity:1!important;
}
html body .dbrpf .dbrpf__area-field .dbrpf__input--area {
  background:rgba(255,255,255,.84)!important;
  border:0!important;
  border-radius:3px!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf-access {
  background:rgba(255,255,255,.63)!important;
  border:1px solid rgba(119,164,183,.4)!important;
  border-radius:3px!important;
  box-shadow:none!important;
  align-self:stretch!important;
}
html body .dbrpf .dbrpf-access.is-selected {
  background:rgba(230,244,235,.95)!important;
}
html body .dbrpf .dbrpf__field .dbrpf__input,
html body .dbrpf .dbrpf__field .dbrpf__textarea {
  background:rgba(255,255,255,.9)!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf__price-card {
  isolation:auto!important;
}
/* Bedienelemente und der gruene Livepreis bleiben voll funktional. */
@media(max-width:720px) {
  html body .dbrpf .dbrpf__section,
  html body .dbrpf .dbrpf__section:nth-of-type(even),
  html body .dbrpf .dbrpf__section--contact {
    padding-top:32px!important;
  }
  html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo,
  html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo {
    grid-template-columns:96px 20px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:7px 9px!important;
    min-height:116px!important;
    align-items:start!important;
    align-content:center!important;
    padding:11px!important;
  }
  html body .dbrpf .dbrpf-choice__roof-photo,
  html body .dbrpf .dbrpf-choice__form-photo {
    grid-column:1!important;
    grid-row:1 / 3!important;
    height:92px!important;
    align-self:center!important;
  }
  html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__indicator,
  html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo .dbrpf-choice__indicator {
    grid-column:2!important;
    grid-row:1!important;
  }
  html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__copy,
  html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo .dbrpf-choice__copy {
    grid-column:3!important;
    grid-row:1!important;
  }
  html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo .dbrpf-choice__price,
  html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo .dbrpf-choice__price {
    grid-column:3!important;
    grid-row:2!important;
  }
}
@media(max-width:370px) {
  html body .dbrpf [data-dbr-section="condition"] .dbrpf-choice--condition-photo,
  html body .dbrpf [data-dbr-section="roof"] .dbrpf-choice--roof-photo {
    grid-template-columns:78px 19px minmax(0,1fr)!important;
    column-gap:7px!important;
  }
  html body .dbrpf .dbrpf-choice__form-photo,
  html body .dbrpf .dbrpf-choice__roof-photo {height:87px!important;}
}
@media(prefers-reduced-motion:reduce){
 html body .dbrpf .dbrpf-choice {transition:none!important;}
}

/* Dachform zuerst als zwei gleichwertige Bildentscheidungen, danach
   Zugang als optionale Zusatzangabe: keine riesige leere Drittkarte. */
html body .dbrpf .dbrpf__roof-grid {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:13px!important;
  align-items:stretch!important;
}
html body .dbrpf .dbrpf__choices--roof {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
html body .dbrpf .dbrpf-access {
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:0!important;
  min-height:70px!important;
  padding:13px 16px!important;
}
html body .dbrpf .dbrpf-access__icon {
  grid-column:1!important;
  grid-row:1!important;
}
html body .dbrpf .dbrpf-access__copy {
  grid-column:2!important;
  grid-row:1!important;
}
html body .dbrpf .dbrpf-access__price {
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
}
@media(max-width:720px){
  html body .dbrpf .dbrpf__choices--roof {
    grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
  }
  html body .dbrpf .dbrpf-access {
    grid-template-columns:35px minmax(0,1fr) auto!important;
    padding:12px!important;
    gap:9px!important;
  }
}
