.zeitstrahl-seite {
    padding: 20px;
    text-align: center;
}

.seite-titel {
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto; /* Erhöhter Margin oben und unten */
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px; /* Schlankere Linie */
    background-color: #4CAF50;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px; /* Korrektur für die neue Breite */
    z-index: -1;
}

.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.container::after {
    content: '';
    position: absolute;
    width: 20px; /* Kleinere Punkte */
    height: 20px; /* Kleinere Punkte */
    right: -10px; /* Angepasst für die neue Größe */
    background-color: white;
    border: 3px solid #4CAF50; /* Dünnere Umrandung */
    top: 18px; /* Angepasst für die neue Größe */
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); /* Subtile Schatten */
}

.container:nth-child(even) .content {
    background-color: #f9f9f9;
}

.container::before {
    content: " ";
    position: absolute;
    top: 22px; /* Angepasst */
    width: 0;
    height: 0;
    border: medium solid white;
    border-width: 7px 0 7px 7px; /* Kleinere Pfeile */
    right: 20px; /* Angepasst */
    z-index: 1;
}

.right::before {
    left: 20px; /* Angepasst */
    border: medium solid white;
    border-width: 7px 7px 7px 0; /* Kleinere Pfeile */
}

/* Animation (optional) */
.container {
    opacity: 0.7;
    transform: translateY(20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.container.show {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 20px; /* Etwas weiter nach rechts, da der Container schmaler wird */
    }

    .container {
        width: 100%; /* Volle Breite auf Mobilgeräten */
        padding-left: 25px; /* Reduziertes linkes Padding */
        padding-right: 15px; /* Reduziertes rechtes Padding */
    }

    .container::before {
        left: 40px; /* Angepasste Pfeilposition */
    }

    .right {
        left: 0; /* Rechte Container werden auch links ausgerichtet */
    }

    .right::before {
        left: 40px; /* Angepasste Pfeilposition für rechte Container */
        border-width: 7px 7px 7px 0; /* Pfeil zeigt nach rechts */
    }

    .right::after,
    .left::after {
        left: 10px; /* Angepasste Punktposition */
    }

    .right .content,
    .left .content {
        padding-left: 20px; /* Reduziertes linkes Padding im Content */
        padding-right: 15px; /* Reduziertes rechtes Padding im Content */
        margin-left: 30px; /* Einzug, um Platz für Linie und Punkt zu schaffen */
    }

    .timeline {
        margin-left: 20px; /* Einzug des gesamten Zeitstrahls */
        margin-right: 20px; /* Einzug des gesamten Zeitstrahls */
    }
}