/* Richter / Premium Kontakt + drei Dachformen | 2026-10-21.
 * Der Rechner und die Datenverarbeitung werden nicht ersetzt.
 * Umsetzung passt Konzept 02 an bestehende Typografie, Hellblau und live-Preis an. */

/* 3 Dachbilder in gleich grossen, transparenten Feldern */
html body .dbrpf .dbrpf__choices--roof.dbrpf__choices--three {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:13px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  padding:7px 8px 12px!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  color:#194159!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__form-photo {
  display:block!important;
  width:100%!important;
  height:116px!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  border-radius:3px!important;
  filter:none!important;
  box-shadow:none!important;
  margin:0 0 10px!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo:has(input[value="pitched"]) .dbrpf-choice__form-photo {
  object-position:center 35%!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo:has(input[value="hipped"]) .dbrpf-choice__form-photo {
  object-position:center 55%!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__copy {
  min-width:0!important;
  max-width:100%!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__copy strong {
  font-size:13px!important;
  line-height:1.35!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__copy small {
  font-size:11px!important;
  line-height:1.43!important;
  min-height:47px!important;
  overflow-wrap:break-word!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__price {
  margin-top:auto!important;
  color:#255a44!important;
  background:rgba(61,136,94,.11)!important;
  font-size:11px!important;
  padding:4px 8px!important;
  border-radius:3px!important;
  font-weight:770!important;
}
/* Ränder fuer Auswahl bleiben unabhaengig vom selektierten Zustand.
   Es gelten die bereits zuletzt freigegebenen sanften Fade-Linien. */

/* Premium Kontakt als eigener Markenbereich – klar statt KI-Glanzoptik. */
html body .dbrpf .dbrpf__section--contact.hc-contact-premium {
  position:relative!important;
  isolation:isolate!important;
  padding:36px 34px 35px!important;
  margin-top:32px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  background:
    linear-gradient(113deg,rgba(9,36,60,.97) 0%,rgba(10,43,69,.97) 64%,rgba(16,52,70,.96) 100%)!important;
  background-image:linear-gradient(113deg,rgba(9,36,60,.97) 0%,rgba(10,43,69,.97) 64%,rgba(16,52,70,.96) 100%)!important;
  color:#f5f8f8!important;
  border:1px solid rgba(143,176,184,.28)!important;
  border-radius:9px!important;
  box-shadow:0 12px 36px rgba(24,57,72,.09)!important;
  overflow:hidden!important;
}
html body .dbrpf .dbrpf__section--contact.hc-contact-premium::before {
  content:""!important;
  position:absolute!important;
  top:0!important;left:0!important;right:0!important;bottom:auto!important;
  height:3px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(232,194,119,.72) 21%,#f3d396 49%,rgba(232,194,119,.72) 77%,transparent 100%)!important;
  opacity:1!important;
  pointer-events:none!important;
  border:0!important;
  box-shadow:none!important;
}
html body .dbrpf .dbrpf__section--contact.hc-contact-premium::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:0!important;right:-7%!important;left:auto!important;bottom:auto!important;
  width:52%!important;height:260px!important;
  background:radial-gradient(ellipse at 75% 0%,rgba(72,124,133,.26),transparent 72%)!important;
  opacity:1!important;
  pointer-events:none!important;
  z-index:0!important;
  transform:none!important;
}
html body .dbrpf .hc-contact-premium > * {
  position:relative!important;
  z-index:1!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__section-head {
  display:block!important;
  margin:0 0 6px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__section-head h3 {
  color:#fff!important;
  font-size:clamp(25px,2.7vw,34px)!important;
  line-height:1.14!important;
  letter-spacing:-.03em!important;
  font-weight:800!important;
  max-width:24ch!important;
  margin:0 0 11px!important;
  text-shadow:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__section-head p {
  color:#cbdde3!important;
  font-size:13px!important;
  line-height:1.63!important;
  max-width:58ch!important;
  margin:0!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__eyebrow {display:none!important}
html body .dbrpf .hc-premium-contact__intro {
  display:flex!important;
  gap:12px!important;
  align-items:center!important;
  margin:0 0 23px!important;
  color:#efd39b!important;
}
html body .dbrpf .hc-premium-contact__kicker {
  color:#efd39b!important;
  font-size:9px!important;
  font-weight:780!important;
  letter-spacing:.13em!important;
  white-space:nowrap!important;
}
html body .dbrpf .hc-premium-contact__line {
  flex:1!important;
  max-width:85px!important;
  height:1px!important;
  background:linear-gradient(90deg,rgba(232,194,119,.57),transparent)!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__fields {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:21px 17px!important;
  margin:0!important;
  padding:0!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field {
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field--full {
  grid-column:1/-1!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field label,
html body .dbrpf .hc-contact-premium .hc-upload__title {
  display:block!important;
  color:#f0f6f8!important;
  font-size:11px!important;
  font-weight:710!important;
  margin:0 0 7px!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field label span:not(.hc-upload__copy):not(.hc-upload__choose) {
  color:#c5d6d8!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > input.dbrpf__input,
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea,
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > input.dbrpf__input:focus,
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea:focus {
  width:100%!important;
  box-sizing:border-box!important;
  background:#0e324f!important;
  background-image:none!important;
  background-color:#0e324f!important;
  border:1px solid rgba(179,202,212,.42)!important;
  border-radius:4px!important;
  outline:none!important;
  box-shadow:none!important;
  color:#fff!important;
  padding:13px 12px!important;
  font-size:12px!important;
  min-height:47px!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > input.dbrpf__input:focus-visible,
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea:focus-visible {
  border-color:#e8c77e!important;
  outline:1px solid #e8c77e!important;
  outline-offset:2px!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea {
  min-height:100px!important;
  height:100px!important;
  max-height:100px!important;
  resize:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > input.dbrpf__input::placeholder,
html body .dbrpf .hc-contact-premium .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea::placeholder {
  color:#9db9c9!important;
  opacity:1!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__zone {
  padding:0!important;
  margin:0!important;
  min-height:73px!important;
  background:rgba(5,24,43,.35)!important;
  background-image:none!important;
  border:1px dashed rgba(178,207,212,.48)!important;
  border-radius:4px!important;
  outline:none!important;
  box-shadow:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__zone::before,
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__zone::after {
  display:none!important;
  content:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__trigger {
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  min-height:73px!important;
  box-sizing:border-box!important;
  padding:13px!important;
  margin:0!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__icon {
  flex:0 0 21px!important;
  color:#e7c57b!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__copy strong {
  color:#fff!important;font-weight:750!important;font-size:11px!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__field.hc-upload .hc-upload__copy small {
  color:#bacbd4!important;font-size:10px!important;line-height:1.4!important;
}
html body .dbrpf .hc-contact-premium .hc-upload__choose {
  display:inline-flex!important;
  color:#e8c87e!important;
  border:1px solid rgba(236,207,151,.52)!important;
  background:transparent!important;
  border-radius:3px!important;
  padding:8px!important;
  font-size:10px!important;
  box-shadow:none!important;
}
html body .dbrpf .hc-contact-premium .hc-upload__files li {
  color:#f0f5f8!important;
  background:rgba(255,255,255,.07)!important;
  border-bottom:1px solid rgba(255,255,255,.17)!important;
}
html body .dbrpf .hc-contact-premium .hc-upload__error,
html body .dbrpf .hc-contact-premium .dbrpf__error:not([hidden]),
html body .dbrpf .hc-contact-premium .dbrpf__privacy-error:not([hidden]) {
  color:#ffd2c8!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__privacy-consent {
  margin:21px 0 17px!important;
  padding:0!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__privacy-consent .dbrpf__privacy-label {
  display:flex!important;
  align-items:flex-start!important;
  color:#e0e9eb!important;
  font-size:11px!important;
  line-height:1.6!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__privacy-consent .dbrpf__privacy-label a {
  color:#f2d493!important;
  text-decoration:underline!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__privacy-checkbox {
  border-color:#bdcbd2!important;
  background:transparent!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__submit-row {
  display:flex!important;
  margin:0!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__button--submit {
  background:linear-gradient(180deg,#f2d590,#d6ac5d)!important;
  background-color:#e2bc75!important;
  border:1px solid #d4ab5b!important;
  border-radius:4px!important;
  color:#192d38!important;
  padding:13px 23px!important;
  min-height:50px!important;
  font-size:13px!important;
  font-weight:820!important;
  box-shadow:0 2px 0 rgba(0,0,0,.13)!important;
  text-shadow:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__button--submit:hover {
  background:linear-gradient(180deg,#f6dfaa,#dfb66b)!important;
  transform:none!important;
}
html body .dbrpf .hc-contact-premium .dbrpf__button--submit svg {
  stroke:#192d38!important;
}
/* Banner/footer/Preisbereich bleiben unveraendert. */
@media(max-width:700px) {
  html body .dbrpf .dbrpf__choices--roof.dbrpf__choices--three {
    grid-template-columns:1fr!important;gap:14px!important;
  }
  html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__form-photo {
    height:148px!important;
  }
  html body .dbrpf .hc-contact-premium {
    padding:29px 18px 27px!important;
    margin-top:20px!important;
  }
  html body .dbrpf .hc-contact-premium .dbrpf__fields {
    grid-template-columns:1fr!important;gap:18px!important;
  }
  html body .dbrpf .hc-contact-premium .hc-upload__choose {
    display:none!important;
  }
  html body .dbrpf .hc-contact-premium .dbrpf__button--submit {
    width:100%!important;
  }
}
@media (min-width:701px) and (max-width:1100px){
 html body .dbrpf .dbrpf__choices--roof.dbrpf__choices--three {gap:9px!important;}
 html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__form-photo {height:96px!important;}
 html body .dbrpf .hc-contact-premium {padding:30px 22px!important;}
}

/* Final overrides: Vorgänger-CSS benutzte zwei identische Kontakt-Sektionsklassen
   und ueberschrieb die Premium-Felder mit hellen Verlaufstexturen. */
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > input.dbrpf__input,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > input.dbrpf__input:focus,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea:focus,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > input.dbrpf__input:focus-visible,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea:focus-visible {
  background-color:#0d314a!important;
  background:#0d314a!important;
  background-image:none!important;
  border:1px solid rgba(185,207,211,.48)!important;
  border-radius:4px!important;
  outline:none!important;
  box-shadow:none!important;
  color:#fff!important;
}
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > input.dbrpf__input:focus-visible,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium.dbrpf__section--contact .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea:focus-visible {
  border-color:#e5c782!important;
  outline:1px solid #e5c782!important;
  outline-offset:2px!important;
}
html body .dbrpf .dbrpf__section--contact.hc-contact-premium .dbrpf__fields > .dbrpf__field > input.dbrpf__input::placeholder,
html body .dbrpf .dbrpf__section--contact.hc-contact-premium .dbrpf__fields > .dbrpf__field > textarea.dbrpf__textarea::placeholder {
  color:#adc8d3!important;
  opacity:1!important;
}
html body .dbrpf .dbrpf__choices--roof .dbrpf-choice--roof-photo .dbrpf-choice__form-photo {
  background:rgba(96,137,149,.13)!important;
}

/* Sichtbarer persoenlicher Hinweis und Platz fuer mobile Sticky-Preisanzeige. */
html body .dbrpf .hc-contact-premium .dbrpf__section-head p {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#cbdde3!important;
  margin:0 0 7px!important;
  max-width:56ch!important;
}
@media(max-width:700px){
  html body .dbrpf .dbrpf__section--contact.hc-contact-premium {
    padding-top:69px!important;
    scroll-margin-top:115px!important;
  }
}
