/* Full-page overlay */
.mh-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;              /* Abstand zum Rand */
}

.mh-overlay--hidden {
  display: none !important;
}

.mh-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.mh-overlay__dialog {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  max-height: 90vh;
  max-width: 860px;
  width: calc(100vw - 40px);
  border-radius: 8px; /* optional, wirkt schöner */
}

.mh-overlay__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}

.mh-overlay__content {
  margin: 0 auto;
  padding: 60px 20px 20px;
  max-width: 860px;
  width: 100%;
}

body.mh-no-scroll {
  overflow: hidden;
}
