
.timeline-date h3 {
  text-align: right;
  font-size: 1.6rem;
  color: var(--accent-green);
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start; /* Vertikale Ausrichtung */
  padding-left: 50px; /* Platz fÃ¼r den Strich */
}

.timeline-item p {
  padding-bottom: 4rem;
  margin-left: -1rem;
}

@media screen and (min-width: 768px) {
  .timeline-item p {
    margin-left: 14rem;
  }
}

.timeline-date {
  display: none;
}

@media screen and (min-width: 768px) {
  .timeline-date {
    display: block;
    position: absolute;
    left: 0; /* Abstand vom Strich */
    text-align: right; /* Datum rechtsbÃ¼ndig */
    font-weight: bold;
    width:10%;
  }
}

.date-timeline {
  font-weight: 800;
  font-size: 1.5rem;
  margin-top: -0.2rem;
  display: block;
  color:var(--green);
}

@media screen and (min-width: 768px) {
  .date-timeline {
    display: none;
  }
}

.timeline-line {
  position: absolute;
  top: 0; /* Startposition des Strichs */
  left: 15px; /* Platz fÃ¼r den Punkt */
  height: 100%; /* HÃ¶he des Strichs */
  width: 2px; /* Breite des Strichs */
  background-color: var(--accent-green); /* Strichfarbe */
  z-index: 0; /* hinter den Punkten */
}

.timeline-dot {
  position: absolute;
  top: 0; /* Startposition des Punkts */
  left: -0.55rem; /* Position des Punkts */
  width: 20px;
  height: 20px;
  z-index: 4;
  background-color: var(--accent-red);
  border-radius: 50%; /* Runde Form */
  transition: top 0.5s ease; /* Animation beim Bewegen */
}

@media screen and (min-width: 768px) {
  .timeline-dot {
    left: 13.45rem;
  }
}

.timeline-content {
  flex: 1; /* Nimmt den verfÃ¼gbaren Platz ein */
  padding-left: 20px; /* Abstand zwischen Punkt und Text */
  opacity: 0; /* Initial unsichtbar */
  transition: opacity 0.5s; /* Ãœbergang fÃ¼r Sichtbarkeit */
}

.strich {
  position: absolute;
  left: 0;
  width: 2px;
  height: 100%; /* HÃ¶he des Strichs */
  background-color: var(--text);
  z-index: 0;
}

@media screen and (min-width: 768px) {
  .strich {
    left: 14rem; /* Position des Strichs */
  }
}

