/* Compact layout parity with db-richter.de. Scoped to Steinreinigung Richter.
   19 October 2026. Preserves all form inputs, endpoints, upload and CTA links. */
html body #kontakt.richter-form-unified .wrap > .dbr-contact-card{
  max-width:740px!important;width:100%!important;margin:0 auto!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
}
html body #kontakt.richter-form-unified .wrap > .dbr-contact-card > .nico-final-panel{
  width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;
}
html body #kontakt.richter-form-unified .wrap > .dbr-contact-card > .dbr-contact-form-panel{
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:0!important;padding:20px!important;gap:7px!important;
}
html body #kontakt.richter-form-unified .dbr-contact-form-panel .dbr-form-sales-title{
 font-size:24px!important;line-height:1.22!important;margin:0 0 14px!important;
}
html body #kontakt.richter-form-unified #contactForm{
 gap:8px!important;
}
html body #kontakt.richter-form-unified #contactForm .dbr-form-field{
 margin:0!important;
}
html body #kontakt.richter-form-unified #contactForm .sp-new-service-options{
 gap:2px!important;
}
html body #kontakt.richter-form-unified #contactForm .sp-form-option-pair,
html body #kontakt.richter-form-unified #contactForm .sp-form-addons{
 gap:4px 6px!important;
}
html body #kontakt.richter-form-unified #contactForm :is(.sp-req-choice,.sp-addon){
 min-height:22px!important;line-height:1.2!important;
}
html body #kontakt.richter-form-unified #contactForm .richter-warranty-disclosure{
 margin:5px 0 0!important;padding:0!important;color:#d3d9dc!important;
 font-size:11px!important;line-height:1.4!important;min-width:0!important;
}
html body #kontakt.richter-form-unified #contactForm .richter-warranty-disclosure summary{
 cursor:pointer!important;display:list-item!important;list-style:revert!important;
 color:#cbe4f7!important;min-height:22px!important;
 padding:3px 0!important;margin:0!important;
 font-size:11px!important;font-weight:650!important;
}
html body #kontakt.richter-form-unified #contactForm .richter-warranty-disclosure .richter-warranty-note{
 font-size:11px!important;line-height:1.45!important;margin:7px 0!important;color:#d3d9dc!important;
}
html body #kontakt.richter-form-unified #contactForm .dbr-upload-box{
 padding:7px!important;gap:3px!important;
 min-height:0!important;height:auto!important;
}
html body #kontakt.richter-form-unified #contactForm .dbr-upload-trigger{
 min-height:0!important;padding:4px!important;
}
html body #kontakt.richter-form-unified #contactForm .dbr-file-list{
 min-height:0!important;padding:3px 6px!important;font-size:10px!important;
}
html body #kontakt.richter-form-unified #contactForm .sp-contact-name-email{
 margin:4px 0!important;gap:6px!important;
}
html body #kontakt.richter-form-unified #contactForm :is(input[type=text],input[type=email],input[type=tel]){
 min-height:36px!important;height:36px!important;
}
html body #kontakt.richter-form-unified #contactForm .dbr-form-field>label:not(.sp-req-choice):not(.sp-addon),
html body #kontakt.richter-form-unified #contactForm .field-heading{
 margin-bottom:4px!important;
}

/* Service cards: six offers, all retained, without oversized card heights. */
html body main#stein-profis-home .sp-services{
 padding:34px 0 36px!important;
}
html body main#stein-profis-home .sp-services .sp-section-intro{
 min-height:0!important;height:auto!important;margin:0 0 16px!important;
}
html body main#stein-profis-home .sp-services .richter-service-grid{
 gap:10px!important;align-items:stretch!important;
 grid-auto-rows:auto!important;
}
html body main#stein-profis-home .sp-services .richter-service-card{
 min-height:0!important;height:auto!important;max-height:none!important;
}
html body main#stein-profis-home .sp-services .richter-service-card>img{
 min-height:0!important;max-height:none!important;height:92px!important;
 width:100%!important;object-fit:cover!important;object-position:center!important;
}
html body main#stein-profis-home .sp-services .richter-service-card>div:first-of-type{
 min-height:0!important;height:auto!important;padding:9px 12px 3px!important;
}
html body main#stein-profis-home .sp-services .richter-service-card>div:last-of-type{
 min-height:0!important;height:auto!important;padding:4px 12px 10px!important;
}
html body main#stein-profis-home .sp-services .richter-service-card .richter-button{
 min-height:29px!important;padding:6px 9px!important;
}

/* Remaining homepage segments match the compact rhythm of db-richter.de. */
html body main#stein-profis-home .richter-gallery{
 padding:30px 0!important;
}
html body main#stein-profis-home .richter-gallery .richter-gallery-grid figure{
 max-height:300px!important;overflow:hidden!important;
}
html body main#stein-profis-home .systems{
 padding:32px 18px 35px!important;
}
html body main#stein-profis-home .dbr-home-faq-section .dbr-home-faq{
 padding-top:35px!important;padding-bottom:35px!important;
}
html body main#stein-profis-home .dbr-home-faq-right{
 gap:6px!important;
}
@media (max-width:760px){
 html body #kontakt.richter-form-unified .wrap > .dbr-contact-card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  max-width:none!important;width:100%!important;
 }
 html body #kontakt.richter-form-unified .wrap > .dbr-contact-card > .nico-final-panel{
  height:520px!important;min-height:520px!important;max-height:520px!important;
 }
 html body #kontakt.richter-form-unified .wrap > .dbr-contact-card > .dbr-contact-form-panel{
  padding:20px 20px 22px!important;min-height:0!important;gap:8px!important;
 }
 html body #kontakt.richter-form-unified .dbr-contact-form-panel .dbr-form-sales-title{
  font-size:25px!important;line-height:1.24!important;margin:0 0 19px!important;
 }
 html body #kontakt.richter-form-unified #contactForm{
  gap:9px!important;
 }
 html body main#stein-profis-home #steinreinigung{
  padding-top:30px!important;padding-bottom:30px!important;
 }
 html body main#stein-profis-home #steinreinigung .genuine-cleaning-photo{
  height:225px!important;min-height:225px!important;max-height:225px!important;overflow:hidden!important;
 }
 html body main#stein-profis-home #steinreinigung .genuine-cleaning-photo img{
  width:100%!important;height:100%!important;object-fit:cover!important;
 }
 html body main#stein-profis-home #steinreinigung .feature-grid{
  gap:16px!important;
 }
 html body main#stein-profis-home #steinreinigung .feature-copy p{
  line-height:1.52!important;margin-bottom:13px!important;
 }
 html body main#stein-profis-home .sp-services{
  padding:28px 0 30px!important;
 }
 html body main#stein-profis-home .sp-services .sp-section-intro{
  margin:0 0 12px!important;
 }
 html body main#stein-profis-home .sp-services .richter-service-grid{
  gap:8px!important;
 }
 html body main#stein-profis-home .sp-services .richter-service-card{
  min-height:125px!important;height:125px!important;max-height:none!important;
 }
 html body main#stein-profis-home .sp-services .richter-service-card>img{
  width:35%!important;min-height:123px!important;max-height:123px!important;height:123px!important;
 }
 html body main#stein-profis-home .sp-services .richter-service-card>div:first-of-type{
  padding:8px 10px 2px!important;
 }
 html body main#stein-profis-home .sp-services .richter-service-card>div:last-of-type{
  padding:1px 10px 8px!important;
 }
 html body main#stein-profis-home .richter-gallery{
  padding:27px 0!important;
 }
 html body main#stein-profis-home .richter-gallery .richter-gallery-grid figure{
  height:140px!important;max-height:140px!important;
 }
 html body main#stein-profis-home .richter-gallery .richter-gallery-grid figure img{
  height:110px!important;object-fit:cover!important;
 }
 html body main#stein-profis-home .expect{
  padding:34px 0!important;
 }
 html body main#stein-profis-home .expect .photo-panel{
  height:215px!important;min-height:0!important;max-height:215px!important;
 }
 html body main#stein-profis-home .expect .photo-panel img{
  height:100%!important;object-fit:cover!important;
 }
 html body main#stein-profis-home .expect .feature-grid{
  gap:18px!important;
 }
 html body main#stein-profis-home .expect .features{
  gap:6px!important;
 }
 html body main#stein-profis-home .systems{
  padding:27px 15px 31px!important;
 }
 html body main#stein-profis-home .dbr-home-faq-section .dbr-home-faq{
  padding:30px 18px!important;gap:13px!important;
 }
 html body main#stein-profis-home .dbr-home-faq-right{
  gap:7px!important;
 }
}

/* Final specificity: override legacy #leistungen card heights instead of only the generic class. */
html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card{
 min-height:210px!important;height:210px!important;max-height:210px!important;
}
html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card > img{
 min-height:90px!important;max-height:90px!important;height:90px!important;object-fit:cover!important;
}
html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card > div:first-of-type{
 padding:9px 12px 2px!important;min-height:0!important;
}
html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card > div:last-of-type{
 padding:4px 12px 9px!important;min-height:0!important;
}
@media(max-width:760px){
 html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card{
  min-height:128px!important;height:128px!important;max-height:128px!important;
 }
 html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card > img{
  width:35%!important;min-height:126px!important;height:126px!important;max-height:126px!important;
  object-fit:cover!important;
 }
 html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card > div:first-of-type{
  padding:8px 10px 1px!important;
 }
 html body main#stein-profis-home section#leistungen.sp-services .richter-service-grid > article.richter-service-card > div:last-of-type{
  padding:1px 10px 8px!important;
 }
}
