/* ============================================================
   PZH Header mit Kurzanfrage
   Wrapper: .pzh-header-ka
   ============================================================ */

.pzh-header-ka {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
    padding-bottom: 100px;
}

/* ── Background ── */
.pzh-header-ka__background {
  position: absolute;
  inset: 0;
  z-index: 0;
    height: calc(100% - 100px);
}

.pzh-header-ka__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(90deg, rgba(60, 60, 59, 0.75) 0%, rgba(60, 60, 59, 0.45) 45%, rgba(60, 60, 59, 0.15) 100%);
}

.pzh-header-ka__image {
  position: absolute;
  inset: 0;
}

.pzh-header-ka__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Container (Two-Column) ── */
.pzh-header-ka__container {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 25px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* ── Left: Content ── */
.pzh-header-ka__content {
  flex: 0 0 calc(50% - 24px);
  max-width: calc(50% - 24px);
  min-width: 0;
}

.pzh-header-ka__icon {
  margin-bottom: 16px;
}

.pzh-header-ka__icon img {
  max-width: 80px;
  height: auto;
}

.pzh-header-ka .pzh-headline,
.pzh-header-ka .pzh-h1 {
    width: 1100px;
      max-width: 100%;
      font-weight: 400;
      line-height: 1.2;
      text-align: left;
      color: #ffffff;
      margin-bottom: 15px;
}

.pzh-header-ka__subline {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── Buttons ── */
.pzh-header-ka__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pzh-header-ka .pzh-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background: #839B00;
  color: #ffffff;
  border: 2px solid #839B00;
}

.pzh-header-ka .pzh-btn:hover {
  background: #b2dc00;
  border-color: #b2dc00;
  color: #ffffff;
}

.pzh-header-ka .pzh-btn--inverted {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.pzh-header-ka .pzh-btn--inverted:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ── Certificates (eigene Zeile, unterhalb der Spalten) ── */
.pzh-header-ka__certificates {
    position: absolute;
    height: 200px;
    display: flex;
    bottom: -100px;
    gap: 25px;
}

.pzh-header-ka__certificates a {
  display: inline-block;
  height: 200px;
  width: auto;
}

.pzh-header-ka__certificates a img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* ── Right: Form ── */
.pzh-header-ka__form {
  flex: 0 0 calc(50% - 24px);
  max-width: calc(50% - 24px);
  min-width: 0;
}

.pzh-header-ka__form .pzh-wizard {
  max-width: 100%;
  transition: height 1s ease-in-out;
}

/* FIXES FOR CHECKLIST*/
#site.vc_pagebuilder_active .pzh-header-ka .pzh-header-ka__subline ul {
    margin: 30px 0;
}
#site.vc_pagebuilder_active .pzh-header-ka .pzh-header-ka__subline ul > li {
    position: relative;
    padding-left: 37px;
    margin: 0 0 14px;
    list-style-type: none;
}
#site.vc_pagebuilder_active .pzh-header-ka .pzh-header-ka__subline ul > li:before {
    mask-image: url("/wp-content/themes/hph-gmbh/img/check.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    -webkit-mask-image: url("/wp-content/themes/hph-gmbh/img/check.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: top left;
    background: unset;
    background-color: #839B00;
    transform: unset;
}







/* ── Responsive: Mobile ── */
@media (max-width: 480px) {
  .pzh-header-ka__container {
    padding: 28px 16px;
    gap: 24px;
  }

  .pzh-header-ka .pzh-headline,
  .pzh-header-ka .pzh-h1 {
    font-size: 1.45rem;
  }

  .pzh-header-ka__certificates img {
    height: 60px;
  }
}


/* ── Responsive: Tablet ── */
@media (max-width: 1200px) {



  .pzh-header-ka {
    padding-bottom: 250px;
  }

  .pzh-header-ka__overlay {
    background: linear-gradient(180deg, rgba(60, 60, 59, 0.7) 0%, rgba(60, 60, 59, 0.5) 100%);
  }

  .pzh-header-ka__container {
    flex-direction: column;
    padding: 40px 24px 16px;
    gap: 32px;
  }

  .pzh-header-ka__form {
    flex: none;
    width: 100%;
    max-width: 480px;
  }

  .pzh-header-ka__buttons {
    justify-content: center;
  }

  .pzh-header-ka__certificates {
    justify-content: center;
    padding: 0 24px 32px;
    bottom: -270px;
    max-width: 480px;

  }

  .pzh-header-ka__certificates a {
    height: 150px;
  }

  .pzh-header-ka .pzh-headline,
  .pzh-header-ka .pzh-h1 {
    font-size: 1.75rem;
  }
        .pzh-icon-options.pzh-icon-options--grid {
          grid-template-columns: 1fr !important;
        }
}


@media(max-width: 767px) {
  .pzh-header-ka__content {
    display: block;
    flex: none;
    max-width: 100%;
    padding: 25px;
  }

  .pzh-header-ka {
    padding-bottom: 150px;
  }

  .pzh-header-ka__certificates a {
    height: 100px;
  }

  .pzh-header-ka__certificates {

    bottom: -230px;
    max-width: 100%px;
  }


}