/* AGB & DSGVO – Grundlayout */
.agb-dsgvo-section {
  background-color: #f8f9fc;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.agb-dsgvo-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Titelbereich */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: #1B76D0;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.1rem;
  color: #555;
}

.section-icon {
  margin-bottom: 15px;
}

.section-icon i {
  font-size: 48px;
  color: #1B76D0;
}

/* AGB/DSGVO-Kacheln */
.agb-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.agb-item:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Header der Box */
.agb-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e8f0fa;
  padding: 20px;
  cursor: pointer;
}

.agb-question h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #1B76D0;
}

.agb-toggle i {
  font-size: 1.4rem;
  color: #1B76D0;
  transition: transform 0.3s ease;
}

/* Antwortinhalt – standardmäßig ausgeblendet */
.agb-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
}

.agb-item.active .agb-answer {
  max-height: 5000px;
  padding: 20px;
}

/* Icon-Rotation */
.agb-toggle i.rotated {
  transform: rotate(180deg);
}

/* Textformatierungen */
.agb-answer p {
  margin-bottom: 1rem;
}

.agb-answer ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.agb-answer ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .agb-dsgvo-section {
    padding: 40px 15px;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .agb-question h4 {
    font-size: 1rem;
  }

  .agb-answer {
    font-size: 0.95rem;
  }
}
