.title-container-timline {
    width: 100%;
}

.title-timeline {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: #555;
}
#card-titel {
    width: calc(100% + 20px);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color:#92BBD7;
   border-radius: 10px;
    border-color:#92BBD7;
   padding-top: 20px;
   padding-bottom: 20px;
   display: block;
   justify-self: center;
   text-align: left;
   padding-left: 30px;
   padding-right: 20px;
   font-size: 1.2em;
}
#card-titel-2{
margin-top: 30px;
padding: 10px;
background-color: rgba(250, 251, 252, 0.95);
max-width: 80%;
display: block;
justify-self: center;
border-radius: 10px;
padding-top: 0px;
max-width: 45%;
}
.container-timeline {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px 0;

    /* Timeline liegt über dem Hintergrundbild */
    z-index: 1;
}


/* =========================
   MITTLERE LINIE
   ========================= */

.container-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #555;
    transform: translateX(-50%);

    z-index: 1;
}


/* =========================
   EIN TIMELINE-EINTRAG
   ========================= */

.timeline-item {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 170px;
    margin-bottom: 25px;

    z-index: 2;
}


/* =========================
   LINKE UND RECHTE SEITE
   ========================= */

.timeline-left,
.timeline-right {
    width: 50%;
    display: flex;
    align-items: center;
}


/* Abstand zur Linie */

.timeline-left {
    justify-content: flex-end;
    padding-right: 40px;
}

.timeline-right {
    justify-content: flex-start;
    padding-left: 40px;
}


/* =========================
   PUNKT AUF DER LINIE
   ========================= */

.timeline-point {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 20px;
    height: 20px;

    background-color: white;
    border: 5px solid #555;
    border-radius: 50%;

    transform: translate(-50%, -50%);

    z-index: 5;
}


/* =========================
   JAHRESZAHL
   ========================= */

.timeline-card {
    padding: 10px 30px;

    background-color: white;

    border: 1px solid gainsboro;
    border-radius: 5px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

    position: relative;
    z-index: 4;
}


/* =========================
   TEXTBOX
   ========================= */

.text-container-timeline {
    width: 100%;

    padding: 20px 25px;

    background-color: rgba(250, 251, 252, 0.95);

    border: 1px solid gainsboro;
    border-radius: 5px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);

    font-size: 17px;
    line-height: 1.6;

    color: #555;
    text-align: left;

    position: relative;
    z-index: 4;
}


/* =========================
   NAVBAR GANZ OBEN
   ========================= */

/*
   Falls deine Navbar #navbar heisst,
   liegt sie mit diesem z-index
   über der gesamten Timeline.
*/

#navbar {
    position: relative;
    z-index: 1000;
}


/*
   Falls deine Navbar .navbar-inhalt verwendet,
   ebenfalls ganz nach vorne.
*/

.navbar-inhalt {
    position: relative;
    z-index: 1001;
}


/*
   Das geöffnete Handy-Menü
   liegt ebenfalls über der Timeline.
*/

.navbar-menu {
    position: relative;
    z-index: 1002;
}


/* =========================
   HANDY
   ========================= */
@media (max-width: 1600px) {
#card-titel-2{

max-width: 65%;
}
}

@media (max-width: 700px) {

    #card-titel-2{
margin-top: 30px;
padding: 20px;
background-color: rgba(250, 251, 252, 0.95);
max-width: 90%;
display: block;
justify-self: center;
border-radius: 10px;
padding-top: 0px;

}
#card-titel{
    font-size: 0.95em;
    width: calc(100% + 40px)
}
    .container-timeline {
        width: 94%;
        margin: 40px auto;
        padding: 15px 0;

        /* weiterhin über dem Hintergrund */
        z-index: 1;
    }


    /* Linie bleibt in der Mitte */

    .container-timeline::before {
        left: 50%;
        width: 2px;
    }


    /* Seiten bleiben nebeneinander */

    .timeline-item {
        display: flex;
        width: 100%;
        min-height: 130px;
        margin-bottom: 20px;
    }


    .timeline-left,
    .timeline-right {
        width: 50%;
        display: flex;
        align-items: center;
    }


    /* Linke Seite */

    .timeline-left {
        justify-content: flex-end;
        padding-right: 20px;
    }


    /* Rechte Seite */

    .timeline-right {
        justify-content: flex-start;
        padding-left: 20px;
    }


    /* Punkt */

    .timeline-point {
        left: 50%;
        top: 50%;

        width: 16px;
        height: 16px;

        border-width: 4px;

        z-index: 5;
    }


    /* Jahreszahl */

    .timeline-card {
        padding: 7px 18px;

        z-index: 4;
    }


    .title-timeline {
        font-size: 21px;
    }


    /* Text */

    .text-container-timeline {
        width: 100%;

        padding: 15px 17px;

        font-size: 13px;
        line-height: 1.5;

        /*
           Fast durchsichtig, damit dein
           Hintergrundbild noch leicht sichtbar ist.
        */

        background-color: rgba(250, 251, 252, 0.92);

        z-index: 4;
    }
}


/* =========================
   SEHR KLEINE HANDYS
   ========================= */

@media (max-width: 500px) {

    #card-titel{
    font-size: 0.85em;
}
    .container-timeline {
        width: 96%;
    }


    .timeline-item {
        min-height: 120px;
        margin-bottom: 15px;
    }


    .timeline-left {
        padding-right: 15px;
    }


    .timeline-right {
        padding-left: 15px;
    }


    .timeline-point {
        width: 14px;
        height: 14px;
        border-width: 3px;
    }


    .timeline-card {
        padding: 6px 14px;
    }


    .title-timeline {
        font-size: 19px;
    }


    .text-container-timeline {
        padding: 12px 14px;
        font-size: 12px;
        line-height: 1.45;

        background-color: rgba(250, 251, 252, 0.92);
        
    }
}


/* =========================
   NAVBAR AUCH AUF KLEINEN
   HANDYS GANZ OBEN
   ========================= */

@media (max-width: 700px) {

    #navbar {
        position: relative;
        z-index: 1000;
    }

    .navbar-inhalt {
        position: relative;
        z-index: 1001;
    }

    .navbar-menu {
        position: relative;
        z-index: 1002;
    }
}