body {
    font-family: Arial, sans-serif;
}

.timeline {
    display: flex;
    position: relative;
    padding-top: 25px;
    margin: 30px 0 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #ccc;
}

.timeline-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #999;
    margin: 0 auto 8px;
    position: relative;
    overflow: hidden;
}

.timeline-item.active .timeline-dot {
    background-color: #d4f504;
    border: 1px solid #a8c400;
}

.timeline-item.active .timeline-dot::before,
.timeline-item.active .timeline-dot::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid white;
    border-radius: 50%;
    top: -6px;
}

.timeline-item.active .timeline-dot::before {
    left: -10px;
}

.timeline-item.active .timeline-dot::after {
    right: -10px;
}

.timeline-item span {
    font-size: 14px;
    color: #666;
}

.timeline-item.active span {
    color: #1a3c1a;
    font-weight: bold;
}

.timeline-detail {
    background-color: #f4f4f4;
    padding: 15px 20px;
    border-radius: 8px;
    line-height: 1.6;
}
.vorstand-liste {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
    max-width: 500px;
}

.vorstand-liste li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

.vorstand-liste .rolle {
    color: #e70101f5;
    font-weight: bold;
}


.timeline-detail-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 1.5rem;
}

.timeline-bild {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.timeline-detail {
    flex: 1;
    background-color: #f4f4f4;
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .timeline-detail-wrapper {
        flex-direction: column;
    }

    .timeline-bild {
        width: 100%;
        height: 180px;
    }
}


@media (max-width: 600px) {
    .timeline-item span {
        font-size: 11px;
    }

    .timeline-dot {
        width: 14px;
        height: 14px;
    }

    .timeline::before {
        left: 10px;
        right: 10px;
    }
}