/* === Funnel Modal Base === */
#oz-funnel-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
  background-color: #000;
  width: 100%;
  height: 100dvh; /* wichtig: für iOS Dynamic Island */
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
}

#oz-funnel-modal.oz-active {
  display: flex;
}

.oz-funnel-overlay {
  position: absolute;
  inset: 0;
  background: #000; /* kein transparent mehr */
}

.oz-funnel-container {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000; /* wichtig für iOS */
}

#oz-funnel-frame {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
  color-scheme: dark;
  display: block;
}

.oz-close {
  position: absolute;
  top: env(safe-area-inset-top, 20px);
  right: 30px;
  font-size: 2rem;
  color: white !important;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
}

/* === Scroll sperren === */
html.oz-no-scroll,
body.oz-no-scroll {
  overflow: hidden !important;
  height: 100%;
  touch-action: none;
}

/* iOS fix: verhindert "durchsichtige" Leiste unten */
body.oz-no-scroll::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  z-index: -1;
}
/* @media (min-width: 1200px) {
  #oz-funnel-modal {
    width: 80% !important;
    height: 90%;
    left: 10% !important;
    top: 10% !important;
    background-color: #000;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
}
 */