/* Deine bestehenden Styles */
body {
  margin: 0;
  position: relative;
  background: linear-gradient(to bottom, var(--primary_color), var(--thirdly_color) 80%) no-repeat;
}

.faq-section {
    background: transparent;
    padding-top: 150px;
    display: flex;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto;
}

.faq-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 90%;
  padding-bottom: 20px;
}

.faq-container h1 {
  text-align: center;
}

.faq {
  background: transparent;
  border-radius: 20px;
  width: 80%;
  margin-bottom: 50px;
}

.faq .card {
  border: none;
  border-radius: 20px;
  background: none;
}

.faq .card .card-header {
  padding: 0px;
  margin-top: 40px;
  border: none;
  border-radius: 20px;
  background: var(--fiftly_color);
  transition: 0.3s ease-in-out;
}

.faq .card .card-header:hover {
  background-color: rgb(255, 222, 233);
}

.faq .card .card-header h3 {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 20px 30px;
  font-weight: 400;
  color: var(--thirdly_color);
  cursor: pointer;
  margin: 0;
}

.card-header .badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--primary-light); /* deine Badge-Farbe */
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.faq .card .card-header h3 .badge {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  text-align: center;
  background: linear-gradient(135deg, var(--primary_color), var(--fourthly_color));
  color: #fff;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: bold;
  margin-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.faq .card .card-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
  padding: 0 35px;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--primary_color);
  line-height: 1.8;
  background-color: var(--fiftly_color);
  border-radius: 0 0 20px 20px;
}

.faq .card.open .card-header {
  border-radius: 20px 20px 0 0;
}

.faq .card:not(.open) .card-header {
  transition: height 0.3s ease-in-out 0.8s, border-radius 0.3s ease-in-out 0.3s;
}

.faq .card.open .card-body {
  max-height: 1000px;
  border-radius: 0 0 20px 20px;
  transition-delay: 0.2s;
}

.faq .card .card-body p {
  margin-bottom: 14px;
  color: var(--primary_color);
}

/* AGB Scroll-Fix für Anker */
h2[id] {
  scroll-margin-top: 120px; /* Höhe deines fixierten Navigators + Luft */
}

/* faq-Navi Design */
.faq-nav {
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.faq-nav li a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--secondary_color);
  transition: all 0.2s ease-in-out;
}

.faq-nav li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  color: var(--primary_color);
}

.zusatz-boxen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.zusatz-box {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 25px;
  position: relative;
  transition: transform 0.3s ease;
  text-align: center;
}

.zusatz-box i {
  font-size: 1.6rem;
  color: var(--secondary_color);
  margin-bottom: 10px;
  display: block;
}

.zusatz-box h3 {
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom: 10px;
}

.zusatz-box p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

.zusatz-box:hover {
  transform: translateY(-5px);
}


@media only screen and (max-width: 600px) {
  body {
    background: linear-gradient(to bottom, var(--primary_color), var(--thirdly_color) 80%) no-repeat;
  }

  .faq-container {
    width: 90%;
  }

  .faq-title h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  }

  .faq {
    width: 90%;
    margin-bottom: 20px;
  }
}