
/* ///// *** ANFANG POP_UP alle Seiten *** ///// */
/* Wrapper – standardmäßig versteckt */
.popup-wrapper {
  display: none;
}

/* Wenn JS die Klasse .is-visible setzt, wird das Popup angezeigt */
.popup-wrapper.is-visible {
  display: block;
}

/* Hintergrund-Overlay */
.popup-overlay {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

/* Box in der Mitte */
.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: #ffffff;
  padding: 2rem 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  text-align: center;
  font-family: "Open Sans", Arial, sans-serif;
}

/* Überschrift */
.popup-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Text */
.popup-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Schließen-Button (x) */
.popup-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* Beim Hover leicht einfärben */
.popup-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Body sperren, wenn Popup offen ist (kein Scrollen im Hintergrund) */
body.popup-overlay-open {
  overflow: hidden;
}

/* Mobile-Anpassungen */
@media (max-width: 480px) {
  .popup-box {
    padding: 1.5rem 1.8rem;
  }

  .popup-title {
    font-size: 1.2rem;
  }

  .popup-content p {
    font-size: 0.95rem;
  }
}
/* ///// *** ENDE POP_UP alle Seiten *** ///// */