/* Small behavior/accessibility additions. Original design remains in original.css. */
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.w-form-done:focus,
.w-form-fail:focus {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.w-checkbox:focus-within .w-checkbox-input {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
[data-contact-form][aria-busy="true"] input[type="submit"] {
  opacity: 0.65;
  cursor: wait;
}

/* Preserve the original mobile composition while preventing sideways scrolling. */
html,
body {
  overflow-x: clip;
}

/* eRecht24 legal documents retain the site typography and wrap long legal terms. */
.erecht24-text { overflow-wrap: anywhere; }
.erecht24-text h1 { margin-bottom: 2rem; }
.erecht24-text h2 { margin-top: 2.5rem; }
.erecht24-text h3 { margin-top: 1.75rem; }
.erecht24-text h4 { margin-top: 1.25rem; margin-bottom: .5rem; }
.erecht24-text p, .erecht24-text ul { margin-bottom: 1rem; }

/* Keep server-rendered content readable when JavaScript is disabled. */
html:not(.w-mod-js) [style*="opacity: 0"],
html:not(.w-mod-js) [style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
}
/* Intrinsic raster dimensions reserve space while preserving responsive sizing. */
img[width][height]:not([class]) { height: auto; }

/* Preserve the original responsive portrait size despite intrinsic HTML dimensions. */
#ueber-uns .image-cover.ozan {
  height: auto;
}
