@keyframes fade-down{
    0%{
        opacity: 0;
    }

    40% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100%{
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes fade-up{
    0%{
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100%{
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes fade-up-delayed{
    0%{
        opacity: 0;
    }

    40% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100%{
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  background-color: #e1e1e1;

  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(8, 35, 56);
  overscroll-behavior: none;
}

* {
  box-sizing: border-box;
}

.top-bar {
  position: absolute;   /* fixiert den Balken oben */
  top: 0;
  left: 0;
  width: 100%;
  height: 23rem;         /* Höhe des Balkens – anpassen nach Bedarf */
  background-color: #00577D;  /* Farbe */
  z-index: 0;           /* damit er hinter dem Bild bleibt */
}

.headline {
  position: relative;
  z-index: 1;           /* Bild liegt über dem Balken */
  margin-top: 1rem;     /* optionaler Abstand vom oberen Rand */
  animation: fade-down 2.5s;
}

.intro-text {
  max-width: 70rem;
  margin: 0rem auto 7rem auto;
  padding: 0 2rem;
  text-align: center;
  color: #0A2832;

}

.intro-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: fade-up 1.8s;
}

.intro-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  animation: fade-up-delayed 2.5s;
}

.list {
  flex: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem 17rem 2rem; /* etwas Abstand zum Inhalt */
}

.list .accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 0 2rem 0;
}
.list .accordion input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.list .accordion input:checked ~ label img {
  transform: translate(0, -50%) rotate(180deg);
}
.list .accordion input:checked ~ .content {
  height: auto;
  opacity: 1;
  transform: translate(0, 0);
}
.list .accordion label {
  width: 100%;
  background-color: #02445a;
  color: #e7e7e7;
  font-size: 2rem;
  padding: 2rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 150ms;
  position: relative;
  z-index: 2;
}
.list .accordion label:hover {
  transform: scale(1.02);
}
.list .accordion label img {
  width: 1.5rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translate(0, -50%);
  transition: 350ms all;
}
.list .accordion .content {
  color: #0A2832;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0 0 1rem 1rem;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  transform: translate(0, -20%);
  height: 0;
  opacity: 0;
  transition: 350ms all;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto; 
}
.list .accordion .content p {
  padding: 2rem;
  margin: 0;
}

ul {
  margin-top: 0rem;
}

.rahmen {
  margin-top: 20px;
  margin-bottom: 20px;
}

.custom-bullet li::marker {
  color: rgb(38, 152, 0);   /* Farbe des Bulletpoints */
  font-size: 2.5rem; /* optional: Größe ändern */
}

i.abstand {
  margin-left: 0.1rem;
  margin-right: 0.1rem; /* Abstand nach rechts */
}

.tabelle {
  border-collapse: separate; /* wichtig für spacing */
  border-spacing: 20px 8px; /* horizontal, vertikal */
  margin-bottom: 0rem;
}

.studentenrabatt{
  margin-left: 1.5rem;
  margin-bottom: 3rem;
}



/* Smartphones (bis 600px Breite) */
@media (max-width: 600px) {

  .headline {
    width: 90%;
    margin: 1rem auto;
    display: block;
  }
  
  .intro-text h1 {
  font-size: 2rem;
  }

  .intro-text p {
  font-size: 1.4rem;
  line-height: 1.6;
  }

  .list .accordion label {
    font-size: 1.6rem;
    padding: 1.2rem;
  }

  .list .accordion .content {
    font-size: 1.4rem;
  }

  .top-bar {
    height: 14rem;   /* weniger hoch als am Desktop */
  }

}

























