/* entsorgo Seiten – A/B-Test Gewerbe „Kontakt-Popup“, variant B: dialog with the contact form of /kontakt/.
   Outside #entsorgo-seiten (printed in wp_footer), so the Elementor form keeps the styles it has on /kontakt/. */
.gw-kd {
  box-sizing: border-box;
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: rgb(17, 53, 71);
  box-shadow: 0 24px 60px rgba(17, 53, 71, .35);
  overflow: auto;
  overscroll-behavior: contain;
}
.gw-kd::backdrop { background: rgba(17, 53, 71, .62); }
.gw-kd__box { position: relative; padding: 28px clamp(18px, 4vw, 40px) 28px; }
.gw-kd button.gw-kd__close {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(227, 241, 249);
  color: rgb(17, 53, 71);
  cursor: pointer;
}
.gw-kd button.gw-kd__close:hover { background: rgb(205, 230, 244); }
.gw-kd button.gw-kd__close:focus-visible { outline: 2px solid rgb(63, 175, 239); outline-offset: 2px; }
.gw-kd .gw-kd__title { margin: 0 52px 6px 0; font: 700 26px/1.15 "Roboto Condensed", Roboto, sans-serif; color: rgb(17, 53, 71); }
.gw-kd .gw-kd__sub { margin: 0 0 20px; font: 400 14px/1.45 Roboto, sans-serif; color: rgba(17, 53, 71, .75); }
html.gw-kd-open { overflow: hidden; }
@media (max-width: 600px) {
  .gw-kd { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .gw-kd__box { padding: 20px 16px 28px; }
  .gw-kd .gw-kd__title { font-size: 22px; }
}
