/* =====================================
   Lebenslauf Content Block
   ===================================== */

.cv {

    max-width: 900px;
    margin: 40px auto;
    padding: 30px;

    line-height: 1.6;

}



/* =====================================
   Kopfbereich
   ===================================== */

.cv-header {

    margin-bottom: 40px;

    border-bottom: 3px solid var(--bs-primary);

    padding-bottom: 15px;

}


.cv-header h1 {

    margin: 0;

    font-size: 2.2rem;

}



/* =====================================
   Persönliche Daten
   ===================================== */

.cv-person {

    background: var(--bs-secondary-bg);

    padding: 25px;

    border-radius: 10px;

    margin-bottom: 40px;

}



.cv-person h2,
.cv-history h2 {

    margin-top: 0;

    font-size: 1.5rem;

    margin-bottom: 20px;

}



/* =====================================
   Persönliche Daten + Bild
   ===================================== */

.cv-person-content {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 30px;

}



.cv-person-data {

    flex: 1;

}



.cv-image {

    flex-shrink: 0;

    margin-left: auto;

}



.cv-image img {

    width: 180px;

    height: 220px;

    object-fit: cover;

    border-radius: 8px;

    border: 2px solid var(--bs-border-color);

}



/* =====================================
   Name / Adresse / Kontakt
   ===================================== */

.cv-name {

    font-size: 1.3rem;

    font-weight: bold;

    margin-bottom: 15px;

}



.cv-address {

    font-style: normal;

    margin-bottom: 15px;

}



.cv-contact {

    margin-top: 10px;

}



.cv-contact a {

    color: var(--bs-info);

    text-decoration: none;

}



.cv-contact a:hover {

    text-decoration: underline;

}



/* =====================================
   Lebenslauf Timeline
   ===================================== */

.cv-history {

    position: relative;

}



.cv-history::before {

    content: "";

    position: absolute;

    left: 15px;

    top: 70px;

    bottom: 0;

    width: 3px;

    background: var(--bs-border-color);

}



/* =====================================
   Einzelne Station
   ===================================== */

.cv-entry {

    position: relative;

    margin-bottom: 35px;

    padding: 25px 25px 25px 55px;

    background: var(--bs-card-bg, #fff);

    border: 1px solid var(--bs-border-color);

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.08);

}



/* Timeline Punkt */

.cv-entry::before {

    content: "";

    position: absolute;

    left: 6px;

    top: 30px;

    width: 20px;

    height: 20px;

    border-radius: 50%;

    background: var(--bs-info);

}



/* =====================================
   Kopf einer Station
   ===================================== */

.cv-entry-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    margin-bottom: 10px;

}



.cv-date {

    font-weight: bold;

    color: var(--bs-secondary-color);

}



.cv-date-separator {

    margin: 0 8px;

}



.cv-category {

    text-transform: capitalize;

    font-size: .9rem;

    background: var(--bs-secondary-bg);

    padding: 5px 12px;

    border-radius: 20px;

}



/* =====================================
   Inhalte
   ===================================== */

.cv-entry h3 {

    margin: 10px 0;

    font-size: 1.3rem;

}



.cv-institution {

    font-weight: bold;

    margin-bottom: 8px;

}



.cv-location {

    margin: 5px 0;

    color: var(--bs-secondary-color);

}



.cv-description {

    margin-top: 15px;

}



/* =====================================
   Mobile Darstellung
   ===================================== */

@media (max-width: 700px) {


    .cv {

        padding: 15px;

        margin: 20px auto;

    }



    .cv-entry {

        padding: 20px;

        padding-left: 45px;

    }



    .cv-entry-header {

        display: block;

    }



    .cv-category {

        display: inline-block;

        margin-top: 10px;

    }



    .cv-image img {

        width: 110px;

        height: 140px;

    }

}
