@charset "utf-8";
.intro {
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
    position: relative;
    margin-bottom: 3rem;
}

/*Überschrift Design*/
h2 {
    color: var(--muehlberger-orange);
    font-size: var(--fs-450);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    width: max-content;
    margin: 0 auto;
    }

/*SCHRIFT WIRD GRÖ?ER WENN BILDSCHIRM GRÖ?ER WIRD*/
@media only screen and (min-width: 450px) {
    h2 {
        font-size: var(--fs-500);
    }
}

@media only screen and (min-width: 650px) {
    h2 {
        font-size: var(--fs-600);
    }
}

h2::after {
    content: "";
    background-color: var(--muehlberger-orange);
    height: 2px;
    display: block;
    width: 50%;
    margin: 0.7rem auto 0;
}

/*img Design*/
.intro img {
    margin: 0 auto;
    display: block;
    padding-bottom: 1.5rem;
    height: 5rem;
}

/*Wenn Bildschirm größer wird, wird auch das Logo größer*/
@media only screen and (min-width: 650px) {
    .intro img {
        height: 6.5rem;
    }
}

/*Link geht über ganzes Intro*/
.intro a {
    width: 90%;
    height: 100%;
    z-index: 17;
    position: absolute;
    top: 0;
}

.intro:hover  {
    transform: scale(105%);
}

/*DESIGN INTRO_TEXT*/
.intro_text {
    width: 90%;
    max-width: 50rem;
    margin: 0 auto 2rem;
}

.intro_text p {
    font-size: var(--fs-500);
    line-height: 2;
    text-align: center;
}

.intro_text p:first-of-type {
    margin-bottom: 1rem;
}

/*Bild von Gutenbrunner Designen*/
.intro_img {
    height: 40vh;
    min-height: 20rem;
    max-height: 30rem;
    display: block;
    margin: 0 auto;
}

/*Werdegang Design*/
.career {
    width: 90%;
    max-width: 70rem;
    margin: 0 auto;
    background-color: var(--background-header);
    box-shadow: 0 0 10px #5f341b;
    padding: 2rem;
}

.career_box:not(:last-child) {
    margin-bottom: 2rem;
}

/*Box Design erste zwei Spalten*/
.berufe h3 {
    font-size: var(--fs-500);
    font-weight: 300;
    color: var(--muehlberger-orange);
    margin-bottom: 1rem;
}

.berufe p {
    font-size: var(--fs-450);
}

/*Design drei Bildungsboxen*/
.bildung h4 {
    font-size: var(--fs-450);
    font-weight: 500;
    color: var(--muehlberger-orange);
    padding-bottom: 0.5rem;
} 

.bildung ul {
    list-style-type: "-";
    padding-left: 1rem;
}

.bildung ul li {
    font-size: var(--fs-450);
    line-height: 1.5;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
}