/* ============================================
   FAQ.CSS — Styles für fragen.html
   
   Hero + Search/Filter + Accordion
   Inline-SVG-Icons
   ============================================ */

/* ============================================
   HERO (kompakt)
   ============================================ */

.faq-hero {
  position: relative;
  background: linear-gradient(135deg, #1a83a4 0%, #2BC4D8 100%);
  color: #fff;
  padding: 130px 0 70px 0;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .faq-hero {
    padding: 110px 0 50px 0;
  }
}

.faq-hero__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-hero__tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-transform: uppercase;
}

.faq-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.faq-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.faq-hero__subtitle a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

/* ============================================
   MAIN
   ============================================ */

.faq-main {
  background: #f8f9fa;
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .faq-main {
    padding: 2.5rem 0;
  }
}

.faq-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   SEARCH-BAR
   ============================================ */

.faq-search {
  position: relative;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(26, 131, 164, 0.08);
  transition: all 0.2s;
}

.faq-search:focus-within {
  box-shadow: 0 6px 20px rgba(26, 131, 164, 0.15);
  transform: translateY(-1px);
}

.faq-search__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
  width: 20px;
  height: 20px;
}

.faq-search__input {
  width: 100%;
  border: 2px solid transparent;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1rem 1rem 3.25rem;
  font-size: 1rem;
  color: #2c3e50;
  transition: border-color 0.2s;
  font-family: inherit;
}

.faq-search__input:focus {
  border-color: #2BC4D8;
  outline: none;
}

.faq-search__input::placeholder {
  color: #adb5bd;
}

/* ============================================
   KATEGORIE-FILTER (Pills)
   ============================================ */

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.faq-filter {
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #6c757d;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.faq-filter:hover {
  border-color: #2BC4D8;
  color: #1a83a4;
}

.faq-filter--active {
  background: #1a83a4;
  border-color: #1a83a4;
  color: #fff;
}

.faq-filter--active:hover {
  background: #2BC4D8;
  border-color: #2BC4D8;
  color: #fff;
}

/* ============================================
   KATEGORIE-ÜBERSCHRIFT
   ============================================ */

.faq-kategorie {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a83a4;
  margin: 2.5rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 4px solid #2BC4D8;
  line-height: 1.3;
}

.faq-kategorie:first-of-type {
  margin-top: 0;
}

/* ============================================
   FAQ-ITEM (Accordion)
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
  border: 1px solid #f0f0f0;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(26, 131, 164, 0.08);
  border-color: #d4f0f4;
}

.faq-item--hidden {
  display: none;
}

/* Frage (Button) */

.faq-frage {
  margin: 0;
}

.faq-frage button {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.2s;
  font-family: inherit;
  line-height: 1.4;
}

.faq-frage button:hover {
  color: #1a83a4;
}

.faq-frage button:focus {
  outline: none;
  background: #f0fbfc;
}

@media (max-width: 575px) {
  .faq-frage button {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Plus/Minus Icon */

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #f0fbfc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a83a4;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s;
}

.faq-frage button:hover .faq-icon {
  background: #1a83a4;
  color: #fff;
}

.faq-frage button[aria-expanded="true"] .faq-icon {
  background: #1a83a4;
  color: #fff;
  transform: rotate(180deg);
}

/* Antwort */

.faq-antwort {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #495057;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}

.faq-antwort p {
  margin: 1rem 0 0 0;
}

.faq-antwort p:first-child {
  margin-top: 1rem;
}

.faq-antwort strong {
  color: #2c3e50;
  font-weight: 600;
}

.faq-antwort a {
  color: #1a83a4;
  text-decoration: underline;
  font-weight: 500;
}

.faq-antwort a:hover {
  color: #2BC4D8;
}

@media (max-width: 575px) {
  .faq-antwort {
    padding: 0 1.25rem 1.1rem 1.25rem;
  }
}

/* ============================================
   EMPTY STATE
   ============================================ */

.faq-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed #d4f0f4;
  border-radius: 16px;
  color: #6c757d;
}

.faq-empty__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  color: #2BC4D8;
}

.faq-empty__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a83a4;
  margin-bottom: 0.5rem;
}

.faq-empty__text {
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   CTA AM ENDE
   ============================================ */

.faq-cta {
  margin-top: 3rem;
  background: linear-gradient(135deg, #1a83a4 0%, #2BC4D8 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .faq-cta {
    padding: 2rem 1.5rem;
  }
}

.faq-cta__title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.faq-cta__text {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.faq-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.faq-btn--primary {
  background: #fff;
  color: #1a83a4;
}

.faq-btn--primary:hover {
  background: #f0fbfc;
  color: #1a83a4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faq-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.faq-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.faq-btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 575px) {
  .faq-cta__buttons {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .faq-btn {
    width: 100%;
    justify-content: center;
  }
}

