/* Styles for "Wir helfen Ihnen gern weiter" page */

#wir-helfen {
  --hero-image: url('../img/kontakt/hero.png');

}

#wir-helfen .hero {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 20%, rgba(0, 0, 0, 0.05) 60%), var(--hero-image) center/cover no-repeat;
}





@media (max-width: 768px) {
  #wir-helfen .wir-helfen-intro {
    padding: 72px 0;
  }
}

#wir-helfen .wir-helfen-contact h2 {
  color: #394669;
  text-align: center;
}

#wir-helfen .container-form {
  background: linear-gradient(53.44deg, #F39406 12.69%, #F9A72E 46.37%);
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 65px 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Formularz "Wir helfen Ihnen gern weiter" */

#wir-helfen .container-form,
#wir-helfen .container-form .wpcf7 {
  width: 100%;
}

#wir-helfen .wpcf7-form {
  width: 100%;

  margin: 0 auto;
  color: #fff;
  display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

#wir-helfen .form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  width: 100%;
}

#wir-helfen .form-row.two-cols {
  flex-wrap: wrap;
}

#wir-helfen .form-row.two-cols .form-field {
  flex: 1;
  max-width: 300px;
}

/* drugi wiersz (E-Mail) */
#wir-helfen .wpcf7-form > .form-row:nth-of-type(2),
#wir-helfen .wpcf7-form > .form-row:nth-of-type(1) {
  width: 100%;
  max-width: 618px !important;
}

#wir-helfen .form-row:not(.two-cols) {
  flex-direction: column;
}

#wir-helfen .form-label {
  font-weight: 600;
  margin: 0 0 6px;
}

#wir-helfen .wpcf7-form input[type="text"],
#wir-helfen .wpcf7-form input[type="email"],
#wir-helfen .wpcf7-form textarea {
  width: 100%;
  padding: 14px 12px;
  border: none;
  border-bottom: 1px solid #CACACA;
  border-radius: 0px;
  background: #fff;
  color: #969696;
  font-size: 18px;
  line-height: 1.4;
  box-sizing: border-box;
}

#wir-helfen .wpcf7-form input::placeholder,
#wir-helfen .wpcf7-form textarea::placeholder {
  color: #8a8a8a;
}

#wir-helfen .wpcf7-form textarea {
  min-height: 220px;
  resize: vertical;
  box-sizing: border-box;
  width: 100%;
}

#wir-helfen .consent-row {
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

#wir-helfen .consent-row a {
  color: #fff;
  text-decoration: underline;
}

#wir-helfen .wpcf7-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

#wir-helfen .submit-row {
  justify-content: flex-end;
  margin-top: 12px;
}

#wir-helfen .wpcf7-submit.cta.cta-secondary {
  background: linear-gradient(53deg, #da453d 0%, #e15c4c 45%, #da453d 100%);
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: 12px 26px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

#wir-helfen .wpcf7-submit.cta.cta-secondary:hover,
#wir-helfen .wpcf7-submit.cta.cta-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}

@media (max-width: 1024px) {
  #wir-helfen .wpcf7-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #wir-helfen .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

/* layout: consent + submit in one line */
#wir-helfen .wpcf7-form .form-row.consent-row,
#wir-helfen .wpcf7-form .form-row.submit-row {
  align-items: center;
  margin-bottom: 0;
}

#wir-helfen .wpcf7-form .form-row.consent-row {
  flex: 1;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  justify-content: space-between;
}

#wir-helfen .wpcf7-form .form-row.submit-row {
  flex: 0 0 auto;
}

#wir-helfen .wpcf7-form .form-row.consent-row .wpcf7-form-control-wrap {
  flex-shrink: 0;
}

#wir-helfen .wpcf7-form .form-row.consent-row + .form-row.submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

/* Obok siebie na desktopie */
#wir-helfen .wpcf7-form .form-row.consent-row,
#wir-helfen .wpcf7-form .form-row.submit-row {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: row;
  vertical-align: middle;
}

#wir-helfen .wpcf7-form .form-row.consent-row {
  flex: 1 1 auto;
  min-width: 0;

}

#wir-helfen .wpcf7-form .form-row.submit-row {
  flex: 0 0 auto;
  margin-left: 12px;
}

@media (max-width: 768px) {
  #wir-helfen .wpcf7-form .form-row.consent-row {
    flex: 1 1 100%;
    flex-direction: column;
    display: flex;
    max-width: 100%;
  }
  #wir-helfen .wpcf7-form .form-row.submit-row {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    flex-direction: row;
    display: flex;
  }
  #wir-helfen .wpcf7-form .form-row.consent-row + .form-row.submit-row {
    justify-content: flex-start;
  }
}


.form__submit {
  display: flex;
  flex-direction: column;
}

/* Checkbox styl */
#wir-helfen .wpcf7-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#wir-helfen .wpcf7-form input[type="checkbox"]:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #fff;
}

/* CTA yellow (z innych podstron) */
.cta-y {
  background: #FF9900;
}

/* Sekcja "Arbeiten im Hospiz" */
#wir-helfen .wir-helfen-work {
  margin-top: 90px;
  padding: 96px 0;
  background: linear-gradient(202.02deg, #7B9CCD 42.54%, #3E4E67 112.81%);

}

#wir-helfen .wir-helfen-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

#wir-helfen .wir-helfen-work-copy h2 {
  margin: 0 0 16px;
  color: #fff;
}

#wir-helfen .wir-helfen-work-copy p {
  margin: 0 0 18px;
  color: #fff;
}

#wir-helfen .wir-helfen-work-copy .cta-y {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#wir-helfen .wir-helfen-cta-card {
  background: #fff;
  border-radius: 10px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-heading {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 30px;
  color: #F39406;
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-main > img {
  border-radius: 50%;
  width: 199px;
  height: 199px;
  object-fit: cover;
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-info {
  color: #1f242b;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-row img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

#wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-info a {
  color: inherit;
}

@media (max-width: 960px) {
  #wir-helfen .wir-helfen-work {
    padding: 80px 0;
  }

  #wir-helfen .wir-helfen-work-grid {
    grid-template-columns: 1fr;
  }

  #wir-helfen .wir-helfen-cta-card {
    justify-self: center;
  }

    #wir-helfen .wir-helfen-cta-card .ueber-uns-team-cta-main {
    flex-direction: column;
  }
}


.wpcf7-list-item {
  margin: 0;
}


