/* ============== FAQ ============== */
.faq-section {
  max-width: 1400px;
  margin: 80px auto 0 auto;
  padding: 0 0;
}

.faq-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

.faq-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 5px;
  background-color: #000;
}

.container {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.faq-question h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  flex: 1;
  transition: color 0.2s ease;
}

.faq-question:hover h3 {
  color: #1e40af;
}

.faq-question::after {
  content: "+";
  font-size: 28px;
  color: #1e40af;
  font-weight: 300;
  transition: transform 0.3s ease;
  margin-left: 20px;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 0 28px 0;
  color: #6b7280;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-answer-content strong {
  color: #1f2937;
  font-weight: 600;
}

.faq-answer-content a {
  color: #1e40af;
  text-decoration: none;
}

.faq-answer-content a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .faq-section h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    padding: 24px 0;
  }

  .faq-question h3 {
    font-size: 1rem;
    padding-right: 1rem;
  }

  .faq-question::after {
    font-size: 24px;
  }

  .faq-answer-content {
    padding: 0 0 24px 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }

    .faq-section h2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .faq-section h2::after {
        left: 20px !important;
    }
}

@media (max-width: 768px) {
    /* Nur die H2-Überschrift verschieben */
    .faq-section > h2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .faq-section > h2::after {
        left: 20px !important;
    }
    
    /* Container ohne extra Padding */
    .faq-section .container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .faq-section > h2 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .faq-section > h2::after {
        left: 15px !important;
    }
}

@media (min-width: 700px) and (max-width: 820px) {
  .faq-section > h2 {
    padding-left: 0 !important;
  }

  .faq-section > h2::after {
    left: 0 !important;
  }

  .faq-section {
    padding-left: 0;
    padding-right: 0;
  }

  .faq-section .container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .faq-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .faq-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 481px) and (max-width: 1025px) {
  .faq-section .section-header h2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -0px;
  }

  .faq-section .section-header h2::after {
    left: 0 !important;
  }
}
