.timeline {
    position: relative;
    padding: 40px 0;
    max-height: 700px;
    overflow-x: scroll;
    scrollbar-width: 0;
    scrollbar-color: transparent;
    overflow-x: hidden;
}

/* Zentrale Linie */
.timeline::before {
    content: '';
    position: absolute;
    top: 170px;
    left: 50%;
    width: 2px;
    height: 274%;
    background: #333;
    transform: translateX(-50%);
}

.timeline::before {
    height: var(--timeline-height);
    /* andere Styles */
}

.manifest-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* Abwechselnd links und rechts */
.manifest-item:nth-child(odd) {
    left: 0;
}

.manifest-item:nth-child(even) {
    left: 50%;
}

/* Punkte auf der Linie */
.manifest-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    border-radius: 50%;
    background: #cf000e;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
}

.manifest-item:nth-child(odd)::after {
    right: -10px;
}

.manifest-item:nth-child(even)::after {
    left: -10px;
}

.manifest-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.manifest-content p {
    font-size: 14px;
}

.manifest-number {
    font-weight: bold;
    font-size: 24px;
    color: #cf000e;
    margin-bottom: 10px;
}

h2 {
    margin-top: 0;
    color: #333;
}

/* @media (max-width: 1199px) {
    .timeline::before {
        top: 190px;
        height: 323%;
    }
}

@media (max-width: 979px) {
    .timeline::before {
        top: 235px;
        height: 415%;
    }
} */

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }
    
    .manifest-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .manifest-item:nth-child(even) {
        left: 0;
    }
    
    .manifest-item:nth-child(odd)::after,
    .manifest-item:nth-child(even)::after {
        left: 30px;
    }
}

@media(max-width: 572px) {
    .timeline::before {
        top: 190px;
    }
}

@media(max-width: 520px) {
    .manifest-number {
        font-size: 20px;
    }
}

@media(max-width: 469px) {
    .timeline::before {
        top: 210px;
    }
}

@media(max-width: 414px) {
    .timeline::before {
        top: 230px;
    }
}

@media(max-width: 390px) {
    .timeline::before {
        top: 240px;
    }
}