/* =========================================
   Sina #WOMAN Pop-ups
   Sichtbare Divi-Seite bleibt erhalten.
   Diese Datei enthält Popup-System + kleine
   Layout-Kompatibilität für die #WOMAN-Seite.
========================================= */

/* Optionale Layout-Kompatibilität, falls das alte Divi-Code-Modul entfernt wird */
.woman-projects-section {
  background: #fff !important;
  border-top: 1px solid rgba(0,0,0,0.13);
  padding: 46px 0 0 !important;
}

.woman-projects-section .et_pb_row,
.woman-why-section .et_pb_row {
  width: 90% !important;
  max-width: 1120px !important;
}

.woman-projects-heading-row {
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

.woman-projects-heading-row h2,
.woman-why-section h2 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  padding-bottom: 0;
}

@media only screen and (min-width: 981px) {
  div.et_pb_section.et_pb_section_0 {
    background-size: auto 105% !important;
    background-position: 80% top !important;
    background-repeat: no-repeat !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
  div.et_pb_section.et_pb_section_0 {
    background-size: auto 105% !important;
    background-position: 88% top !important;
    background-repeat: no-repeat !important;
  }
}

.woman-project-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.13);
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

.woman-project-item .et_pb_column:first-child {
  width: 51% !important;
  margin-right: 6% !important;
}

.woman-project-item .et_pb_column:last-child {
  width: 43% !important;
}

.woman-project-image,
.woman-project-image .et_pb_image_wrap {
  width: 100%;
}

.woman-project-image img {
  width: 100%;
  aspect-ratio: 2.55 / 1;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.woman-project-copy h3 {
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.18;
  letter-spacing: 0.03em;
  font-weight: 800;
  padding-bottom: 13px;
}

.woman-project-copy .woman-subline {
  margin-top: -6px;
  margin-bottom: 13px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}

.woman-project-copy p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 460px;
}

.woman-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: #000 !important;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 800;
  text-decoration: none !important;
}

.woman-more span {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.woman-more:hover {
  opacity: 0.55;
}

.woman-why-section {
  background: linear-gradient(90deg, #f8e8a8 0%, #f2cf62 100%) !important;
  padding: 40px 0 42px !important;
}

.woman-why-section p {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
  font-weight: 600;
  max-width: 720px;
  margin-top: 10px;
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .woman-why-section p {
    font-size: 21px;
    line-height: 1.45;
  }
}

/* =========================================
   Popup-System
========================================= */

html.woman-modal-open,
body.woman-modal-open {
  overflow: hidden !important;
}

.woman-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.34s ease,
    visibility 0s linear 0.34s;
}

.woman-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.woman-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 207, 98, 0.28) 0, rgba(242, 207, 98, 0) 34%),
    rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.34s ease;
}

.woman-modal.is-open .woman-modal__overlay {
  opacity: 1;
}

.woman-modal__panel {
  isolation: isolate;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, calc(100vw - 42px));
  max-height: min(82vh, 760px);
  transform: translate(-50%, -46%) scale(0.975);
  opacity: 0;
  background: #fff;
  border: none !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.18),
    0 3px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.42s cubic-bezier(.19, 1, .22, 1),
    opacity 0.34s ease;
}

.woman-modal__panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: #f2cf62;
  border-radius: 48% 52% 54% 46%;
  opacity: 0.72;
  z-index: 0;
  transform: rotate(-12deg);
  pointer-events: none !important;
}

.woman-modal.is-open .woman-modal__panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.woman-modal__head,
.woman-modal__body {
  position: relative;
  z-index: 1;
}

.woman-modal__head {
  padding: 58px 64px 24px;
  border-bottom: none !important;
}

.woman-modal__kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
}

.woman-modal__kicker::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 3px;
  background: #f2cf62;
}

.woman-modal__head h2 {
  max-width: 720px;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.045em;
  font-weight: 900;
  padding: 0;
}

.woman-modal__subtitle {
  margin-top: 17px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.woman-modal__body {
  padding: 18px 64px 62px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.woman-modal__body p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.82;
  margin-bottom: 1.05em;
}

.woman-modal__body p:last-child {
  margin-bottom: 0;
}

.woman-modal__body em {
  font-style: italic;
}

.woman-modal__body::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 34px;
  background: #f2cf62;
}

.woman-modal__close {
  position: absolute !important;
  top: 24px;
  right: 26px;
  z-index: 50 !important;
  pointer-events: auto !important;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #f2cf62;
  color: #000;
  font-size: 30px;
  line-height: 38px;
  font-family: Arial, sans-serif;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.woman-modal__close:hover {
  transform: rotate(6deg) scale(1.06);
  background: #ffd94f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

@media (max-width: 980px) {
  .woman-projects-section {
    padding-top: 34px !important;
  }

  .woman-project-item {
    display: block;
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }

  .woman-project-item .et_pb_column:first-child,
  .woman-project-item .et_pb_column:last-child {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .woman-project-item .et_pb_column:first-child {
    margin-bottom: 22px !important;
  }

  .woman-project-image img {
    aspect-ratio: 1.75 / 1;
  }

  .woman-project-copy h3 {
    max-width: 92%;
  }

  .woman-modal__panel {
    width: calc(100vw - 24px);
    max-height: 86vh;
  }

  .woman-modal__panel::before {
    top: -80px;
    right: -100px;
    width: 220px;
    height: 220px;
  }

  .woman-modal__head {
    padding: 52px 28px 18px;
  }

  .woman-modal__body {
    padding: 16px 28px 44px;
  }

  .woman-modal__head h2 {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: 0.035em;
  }

  .woman-modal__body p {
    font-size: 15.5px;
    line-height: 1.78;
  }

  .woman-modal__close {
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 28px;
    line-height: 34px;
  }
}
