/* Grundlayout */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: rgba(200, 250, 200, 0.8);
}

/* Kopfzeile */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 150, 136, 0.8);
  padding: 1rem 2rem;
  top: 0;
  z-index: 10;
  height: 80px;
}

.header-title {
  font-size: 2rem;
  color: #fff;
  text-align: center;
}

.header-icon {
  height: 100px;
  width: auto;
}

/* Inhalt */
.page-content {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

/* Akkordeon */
.accordion {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
}

.accordion-item {
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  text-align: left;
  background-color: rgba(208, 244, 240, 0.8);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #333;
}

.accordion-button:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

.accordion-item.open .accordion-button {
  background-color: rgba(0, 150, 136, 0.8);
  color: #fff;
  font-weight: bold;
}

.accordion-content {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  overflow: hidden;
  max-height: 0; /* Standardmäßig geschlossen */
  padding: 0 1.5rem;
  transition: max-height 0.6s ease, padding 0.6s ease;
}

.accordion-item.open .accordion-content {
  max-height: 5000px; /* Sehr hohe Zahl, damit der gesamte Inhalt angezeigt wird */
  padding: 1rem 1.5rem;
}

/* Fusszeile */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 150, 136, 0.8);
  color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 10;
}

.site-footer.visible {
  transform: translateY(0);
}

.footer-item {
  flex: 1;
  text-align: center;
  font-size: 1.9rem;
}

/* Tablets (zwischen 1440px und 1100px - ) */
@media (max-width: 1440px) and (min-width: 900px) and (orientation: landscape) {
  .header-title {
    font-size: 1.8rem;
  }

  .header-icon,
  .site-header img {
    height: 70px;
  }

  .accordion-button {
    font-size: 1.7rem;
  }

  .accordion-content {
    font-size: 1.8rem;
  }

  .footer-item {
    font-size: 1.5rem;
  }
}

/* Tablets (zwischen 1099px und 768px - pix8hoch ) */
@media (max-width: 1099px) and (min-width: 768px) and (orientation: portrait) {
  .header-title {
    font-size: 2.8rem;
  }

  .header-icon,
  .site-header img {
    height: 80px;
  }

  .accordion-button {
    font-size: 2.9rem;
  }

  .accordion-content {
    font-size: 3rem;
  }

  .footer-item {
    font-size: 2.3rem;
  }
}

/* Kleine Tablets & große Smartphones (zwischen 767px und 600px - pix3alandscape) */
@media (max-width: 767px) and (min-width: 600px) {
  .header-title {
    font-size: 1.5rem;
  }

  .header-icon,
  .site-header img {
    height: 70px;
  }

  .accordion-button {
    font-size: 1.3rem;
  }

  .accordion-content {
    font-size: 1.4rem;
  }

  .footer-item {
    font-size: 0.6rem;
  }
}

/* Smartphones (kleiner als 600px - pix3ahoch) */
@media (max-width: 599px) {
  .header-title {
    font-size: 1.4rem;
  }

  .header-icon,
  .site-header img {
    height: 40px;
  }

  .accordion-button {
    font-size: 1.2rem;
  }

  .accordion-content {
    font-size: 1.3rem;
  }

  .footer-item {
    font-size: 0.8rem;
  }
}


