/* Dachkosten Formular-Finish: offene Lineal-Skizze statt Standard-Inputboxen.
   HTML und Preislogik bleiben unveraendert. Stand 2026-10-21. */
html body .dbrpf .dbrpf__section--contact {
  padding-top:34px!important;
  padding-bottom:30px!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__section-head {
  padding:0!important;
  margin:0 0 27px!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__section-head>div {
  max-width:720px!important;
}
html body .dbrpf .dbrpf__section--contact .hc-contact-scribble {
  display:none!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__section-head h3 {
  margin:0 0 10px!important;
  color:#143f57!important;
  font-size:clamp(21px,1.9vw,26px)!important;
  font-weight:790!important;
  letter-spacing:-.027em!important;
  line-height:1.2!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__section-head p {
  margin:0!important;
  max-width:61ch!important;
  color:#54758a!important;
  font-size:13px!important;
  font-weight:490!important;
  line-height:1.65!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__fields {
  display:grid!important;
  column-gap:26px!important;
  row-gap:23px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field {
  position:relative!important;
  min-width:0!important;
  overflow:visible!important;
  padding:0!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field label {
  display:block!important;
  color:#1a455d!important;
  font-size:12.5px!important;
  font-weight:740!important;
  letter-spacing:-.008em!important;
  line-height:1.4!important;
  margin:0 0 4px!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field label span {
  color:#708b9a!important;
  font-size:11px!important;
  font-weight:480!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__input,
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__textarea {
  display:block!important;
  width:100%!important;
  min-height:49px!important;
  padding:13px 9px 11px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1.5px solid #80a7ba!important;
  border-radius:0!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#143e54!important;
  font:520 14px/1.43 Inter,Arial,sans-serif!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
/* Zweiter kurzer Federstrich: minimal versetzt wie von Hand nachgezogen. */
html body .dbrpf .dbrpf__section--contact .dbrpf__field::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  bottom:-3px!important;
  left:12px!important;
  width:36%!important;
  height:1px!important;
  background:#adc5d0!important;
  transform:rotate(-.28deg)!important;
  transform-origin:left center!important;
  pointer-events:none!important;
  opacity:.85!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field:nth-child(even)::after {
  left:auto!important;
  right:8%!important;
  width:25%!important;
  transform:rotate(.26deg)!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__textarea {
  min-height:107px!important;
  padding-top:14px!important;
  resize:vertical!important;
  line-height:1.6!important;
  background:none!important;
  background-image:none!important;
}
/* Offene linke Notizkante am optionalen Textfeld, kein geschlossener Rahmen. */
html body .dbrpf .dbrpf__section--contact .dbrpf__field--full .dbrpf__textarea {
  border-left:1px solid rgba(130,169,184,.34)!important;
  padding-left:13px!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__input::placeholder,
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__textarea::placeholder {
  color:#819aa8!important;
  font-weight:465!important;
  opacity:1!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__input:focus,
html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__textarea:focus {
  background-color:rgba(255,255,255,.35)!important;
  background-image:none!important;
  border-bottom-color:#146c9e!important;
  outline:2px solid rgba(24,107,153,.55)!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__privacy {
  margin:22px 0 0!important;
  max-width:85ch!important;
  color:#667f8e!important;
  font-size:11px!important;
  line-height:1.6!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__submit-row {
  margin:20px 0 0!important;
  display:flex!important;
  align-items:center!important;
  gap:13px 19px!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__button--submit {
  min-height:48px!important;
  padding:13px 21px!important;
  border:1px solid #09597d!important;
  border-radius:4px!important;
  background:#09597d!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:770!important;
  letter-spacing:-.015em!important;
  transform:none!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__button--submit:hover,
html body .dbrpf .dbrpf__section--contact .dbrpf__button--submit:focus-visible {
  background:#064b6b!important;
  border-color:#064b6b!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__button--submit:focus-visible {
  outline:2px solid #1b83b5!important;
  outline-offset:3px!important;
}
html body .dbrpf .dbrpf__section--contact .dbrpf__trustline {
  color:#628092!important;
  font-size:11px!important;
  font-weight:590!important;
  line-height:1.5!important;
  max-width:270px!important;
}
@media(max-width:720px){
  html body .dbrpf .dbrpf__section--contact {
    padding-top:33px!important;
    padding-bottom:25px!important;
  }
  html body .dbrpf .dbrpf__section--contact .dbrpf__section-head {
    margin-bottom:23px!important;
  }
  html body .dbrpf .dbrpf__section--contact .dbrpf__section-head h3 {
    font-size:22px!important;
  }
  html body .dbrpf .dbrpf__section--contact .dbrpf__fields {
    grid-template-columns:minmax(0,1fr)!important;
    gap:21px!important;
  }
  html body .dbrpf .dbrpf__section--contact .dbrpf__button--submit {
    width:100%!important;
    min-height:52px!important;
  }
  html body .dbrpf .dbrpf__section--contact .dbrpf__trustline {
    text-align:center!important;
    max-width:none!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__input,
  html body .dbrpf .dbrpf__section--contact .dbrpf__field .dbrpf__textarea {
    transition:none!important;
  }
}

/* Vorrang vor globaler Regel fuer input:not(...): keine runden Formularboxen. */
html body .dbrpf .dbrpf__section--contact.dbrpf__section--contact .dbrpf__field input.dbrpf__input {
  border:0!important;
  border-bottom:1.5px solid #80a7ba!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:none!important;
}
html body .dbrpf .dbrpf__section--contact.dbrpf__section--contact .dbrpf__field input.dbrpf__input:focus,
html body .dbrpf .dbrpf__section--contact.dbrpf__section--contact .dbrpf__field input.dbrpf__input:focus-visible {
  border:0!important;
  border-bottom:2px solid #146c9e!important;
  border-radius:0!important;
  background:rgba(255,255,255,.30)!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:2px solid rgba(24,107,153,.55)!important;
  outline-offset:3px!important;
}
