/* Hinweis-Popup (Ersatz für das TYPO3-Popup) */
.popup-wrapper { display: none; }
.popup-wrapper.is-open { display: block; }
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998; }
.popup-item {
  position: fixed; z-index: 9999; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 64px); overflow: auto;
  background: #fff; border-top: 6px solid #00aca8; border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3); padding: 28px 24px 20px; text-align: center;
}
.popup-item .within-bounds { width: auto; padding: 0; margin: 0; }
.popup-wrapper .popup-item h2 { color: #008b88; font-size: 22px !important; text-transform: none; line-height: 1.35; margin: 0 0 14px; }
.popup-item a { display: inline-block; background: #00aca8; color: #fff; padding: 8px 18px; border-radius: 3px; text-decoration: none; }
.popup-close {
  position: absolute; top: 6px; right: 10px; border: 0; background: none;
  font-size: 32px; line-height: 1; color: #666; cursor: pointer;
}
.popup-close:hover { color: #000; }
