/* === Grundstruktur === */
.nph-accordion {
  width: 100%;
  margin: 25px 0 0 !important;
}
@media (max-width: 767px) {
  .nph-accordion {
    margin: 5px 0 0 !important;
  }
}

.nph-accordion__intro {
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  margin-bottom: 16px;
}

/* === Einzelnes Panel === */
.nph-accordion__item {
  border-top: 1px solid #005634;
}
.nph-accordion__item:first-of-type {
  border-top: none;
}
/* === Header + Trigger === */
.nph-accordion__header {
  margin: 0;
}

.nph-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 22.5px 0 22.5px 55px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nph-accordion__trigger:hover,
.nph-accordion__trigger:focus {
  color: var(--color-green);
  outline: none;
}

/* === Symbol (Plus/Minus) === */
.nph-accordion__icon {
  position: absolute;
  left: 12px;
}
.nph-accordion__icon::before {
  content: "";
  display: inline-block;
  background-color: var(--color-green);
  -webkit-mask: url("/wp-content/uploads/plus.svg") no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask: url("/wp-content/uploads/plus.svg") no-repeat 50% 50%;
  mask-size: contain;
  vertical-align: middle;
  height: 20px;
  width: 20px;
}

.nph-accordion__trigger[aria-expanded="true"] .nph-accordion__icon::before {
  -webkit-mask: url("/wp-content/uploads/minus.svg") no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask: url("/wp-content/uploads/minus.svg") no-repeat 50% 50%;
  mask-size: contain;
}
@media (min-width: 1080px) {
  .nph-accordion__trigger .nph-accordion__title {
    padding-right: 23vw;
  }
}
.nph-accordion__trigger .nph-accordion__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  font-family: var(--wp--preset--font-family--red-hat-display);
  text-align: left;
}

@media (max-width: 600px) {
  .nph-accordion__trigger .nph-accordion__title {
    font-size: 18px;
    line-height: 27px;
  }
}
/* === Panel-Bereich === */
.nph-accordion__panel {
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.7s ease, padding-bottom 0.4s ease;
}

.nph-accordion__panel[hidden] {
  display: block; /* wichtig für Transition */
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
}

.nph-accordion__panel:not([hidden]) {
  max-height: 1000px; /* ausreichend für Animation */
  opacity: 1;
  padding-bottom: 1rem;
}

/* === Inhalt === */
.nph-accordion__content {
  padding: 0 0 0.75rem 55px;
  font-size: 1rem;
  line-height: 1.6; 
}
.nph-accordion__content > *:first-child {
  margin-top: 0;
}
.nph-accordion__content > *:last-child {
  margin-bottom: 0;
}
@media (min-width: 1080px) {
  .nph-accordion__content {
    padding: 0 23vw 0.75rem 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nph-accordion__panel {
    transition: none;
  }
}
@media (max-width: 600px) {
  .nph-accordion__content {
    padding: 0 0 15px 0;
  }
}
