/* Shared visual emphasis for existing required fields; validation remains native. */
.contact-form .required-fields-note,
.checkout-form .required-fields-note {
  box-sizing:border-box;
  width:100%;
  margin:0 0 18px;
  padding:14px 16px;
  border:2px solid var(--orange, #ff6628);
  border-radius:12px;
  background:#fff7f2;
  color:var(--orange, #ff6628);
  font-size:clamp(17px, 1.5vw, 20px);
  font-weight:800;
  line-height:1.45;
  overflow-wrap:anywhere;
}
:is(.contact-form, .checkout-form) :is(input, select, textarea):required:enabled:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([aria-invalid="true"]) {
  border:2px solid var(--orange, #ff6628);
}
:is(.contact-form, .checkout-form) input:required:enabled:is([type="checkbox"], [type="radio"]) {
  appearance:none;
  -webkit-appearance:none;
  display:inline-grid;
  place-content:center;
  box-sizing:border-box;
  flex:0 0 18px;
  width:18px;
  height:18px;
  min-width:18px;
  padding:0;
  border:2px solid var(--orange, #ff6628);
  border-radius:4px;
  background:#fff;
  cursor:pointer;
}
:is(.contact-form, .checkout-form) input:required:enabled[type="radio"] {border-radius:50%}
:is(.contact-form, .checkout-form) input:required:enabled[type="checkbox"]:checked {background:var(--orange, #ff6628)}
:is(.contact-form, .checkout-form) input:required:enabled[type="checkbox"]:checked::before {
  content:"";
  width:4px;
  height:8px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:translateY(-1px) rotate(45deg);
}
:is(.contact-form, .checkout-form) input:required:enabled[type="radio"]:checked::before {
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--orange, #ff6628);
}
.checkout-form .payment-choice:has(input:required:enabled) {border:2px solid var(--orange, #ff6628)}
:is(.contact-form, .checkout-form) :is(input, select, textarea):required:enabled:focus-visible {
  outline:3px solid var(--orange, #ff6628);
  outline-offset:3px;
}
@media (forced-colors:active) {
  :is(.contact-form, .checkout-form) input:required:enabled:is([type="checkbox"], [type="radio"]) {appearance:auto}
  :is(.contact-form, .checkout-form) input:required:enabled:is([type="checkbox"], [type="radio"])::before {content:none}
}

/* Align the visible contact-form content below the measured sticky header. */
#kontaktformular{scroll-margin-top:var(--section-anchor-offset,180px)}
@media(max-width:640px){#kontaktformular{scroll-margin-top:var(--section-anchor-offset,300px)}}
