/* FAQ / Wissensdatenbank block */

.wissen-faq-section {
  padding: 80px 0;
  background: #f5f6f8;
  border-top: 1px solid #e9eaeb;
}

.wissen-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.wissen-faq-label {
  margin: 0 0 16px;
  padding-left: 42px;
  position: relative;
  font-family: "Source Serif Pro", "Source Serif 4", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #535862;
}

.wissen-faq-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 2px;
  background: #1643d5;
  transform: translateY(-50%);
}

.wissen-faq-intro {
  padding-right: 16px;
}

.wissen-faq-heading {
  margin: 0 0 12px;
  padding-left: 42px;
  font-family: "Source Serif 4", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  color: #000e26;
}

.wissen-faq-subtitle {
  margin: 0 0 28px;
  padding-left: 42px;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #50576b;
}

.wissen-faq-subtitle em {
  font-family: "Source Serif Pro", "Source Serif 4", serif;
  font-style: italic;
  font-weight: 600;
  color: #1643d5;
}

.wissen-faq-cta {
  min-width: 220px;
  margin-left: 42px;
}

.wissen-faq-panel {
  min-width: 0;
}

.wissen-faq-tab-select {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: #000e26;
}

.wissen-faq-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  max-width: 609px;
  background: #fff;
  border: 1px solid #e5e9ee;
  border-radius: 8px;
}

.wissen-faq-tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #000e26;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.wissen-faq-tab:hover {
  color: #1643d5;
}

.wissen-faq-tab.is-active {
  background: #d3e7ff;
  color: #1643d5;
}

.wissen-faq-tabpanel {
  display: none;
}

.wissen-faq-tabpanel.is-active {
  display: block;
}

.wissen-faq-search {
  margin-bottom: 20px;
}

.wissen-faq-search .search-form__container {
  min-height: 48px;
  border-color: #e9eaeb;
  border-radius: 12px;
  background: #fff;
  flex-direction: row;
}

.wissen-faq-search .search-form__field {
  height: 48px;
  font-size: 16px;
  color: #535862;
  border-radius: 0 11px 11px 0;
}

.wissen-faq-search .search-form__button {
  width: 48px;
  min-width: 48px;
  height: 48px;
  background: #fff;
  border-right: 1px solid #e9eaeb;
  border-radius: 11px 0 0 11px;
}

.wissen-faq-search .search-form__button svg path {
  stroke: #000e26;
}

.wissen-faq-accordion {
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.wissen-faq-item {
  border-bottom: 1px solid #e9eaeb;
  background: #fff;
}

.wissen-faq-item:last-child {
  border-bottom: 0;
}

.wissen-faq-item.is-collapsed-list {
  display: none;
}

.wissen-faq-item.is-filter-hidden {
  display: none !important;
}

.wissen-faq-item__heading {
  margin: 0;
}

.wissen-faq-item__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.wissen-faq-item__question {
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #000e26;
}

.wissen-faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.wissen-faq-item__icon-minus {
  display: none;
}

.wissen-faq-item__trigger[aria-expanded="true"] .wissen-faq-item__icon-plus {
  display: none;
}

.wissen-faq-item__trigger[aria-expanded="true"] .wissen-faq-item__icon-minus {
  display: block;
}

.wissen-faq-item__content[hidden] {
  display: none;
}

.wissen-faq-item__answer {
  padding: 0 24px 24px;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #50576b;
}

.wissen-faq-item__answer p {
  margin: 0 0 12px;
}

.wissen-faq-item__answer p:last-child {
  margin-bottom: 0;
}

.wissen-faq-empty {
  margin: 16px 0 0;
  font-size: 16px;
  color: #535862;
}

.wissen-faq-more {
  margin-top: 20px;
}

.wissen-faq-more.is-hidden {
  display: none;
}

@media (max-width: 991px) {
  .wissen-faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wissen-faq-section {
    padding: 56px 0;
  }

  .wissen-faq-heading {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .wissen-faq-tab-select {
    display: none;
  }

  .wissen-faq-tabs {
    display: grid;
    width: 100%;
    max-width: none;
  }

  .wissen-faq-item__question {
    font-size: 16px;
  }

  .wissen-faq-item__trigger {
    padding: 16px 20px;
  }

  .wissen-faq-item__answer {
    padding: 0 20px 20px;
  }

  .wissen-faq-heading,
  .wissen-faq-subtitle {
    padding-left: 0;
  }

  .wissen-faq-cta {
    margin-left: 0;
  }
}
