/* Steinreinigung Richter — clean, consistent form checkmarks, 2026-10-20.
   Fixes double-rendered checkbox ticks and the overfull 23px glyph inside an 18px circle.
   Deliberately scoped to the existing contact block on every page. */

/* Advantage list: one simple green VECTOR tick, never a crossed-out circle. */
html body #kontakt#kontakt#kontakt.richter-restored-contact .nico-final-benefits > div > span[aria-hidden="true"] {
  display: inline-flex !important;
  flex: 0 0 21px !important;
  width: 21px !important;
  min-width: 21px !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: none !important;
}
html body #kontakt#kontakt#kontakt.richter-restored-contact .nico-final-benefits > div > span[aria-hidden="true"]::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 21px !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3.5 12.5 5.4 5.1L20.5 5.8' fill='none' stroke='%2381ce25' stroke-width='3.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
html body #kontakt#kontakt#kontakt.richter-restored-contact .nico-final-benefits > div > span[aria-hidden="true"]::after {
  content: none !important;
  display: none !important;
}
html body #kontakt#kontakt#kontakt.richter-restored-contact .nico-final-benefits > div {
  align-items: center !important;
  column-gap: 10px !important;
}

/* Form inputs: one glyph only. No conflicting text PLUS CSS-border tick. */
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
  box-sizing: border-box !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #c5c8ca !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  transform: none !important;
  cursor: pointer !important;
}
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"]::before,
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"]::after,
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"]:checked::before,
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"]:checked::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"]:checked {
  border-color: #69b31a !important;
  background-color: #69b31a !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.6 9.2 7.2 12.5 14.3 5.5' fill='none' stroke='white' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}
html body section#kontakt#kontakt#kontakt#kontakt.richter-restored-contact.richter-form-unified form#contactForm#contactForm#contactForm input[type="checkbox"]:focus-visible {
  outline: 2px solid #9add50 !important;
  outline-offset: 2px !important;
}
