@font-face {
    font-family: Lora;
    src: url(../assets/fonts/Lora-VariableFont_wght.ttf);   
}

@font-face {
    font-family: Raleway;
    src: url(../assets/fonts/Raleway-VariableFont_wght.ttf);
}

body {
    font-family: Lora;
    margin: 0;
    overflow-x: hidden
}

p {
    font-size: 1.1em;
    margin: 0 0 1.25rem 0;
    color: #535252;
    line-height: 1.6em;
    font-weight: 400;
}

h1 {
    font-size: 2.5rem;
    font-family: Raleway;
    font-weight: bold;
    background-color: #A21A41;
    color: white;
    padding: 0 10px;
    margin: 0;
    display: inline-block;
}

h2 {
    font-size: 7.5rem;
    font-family: Raleway;
    font-weight: 800;
    color: white;
    -webkit-text-stroke: 1px #bebebe;
    display: inline-block;
    margin: 0;
}

h3 {
    font-size: 1.5rem;
    margin: 50px 0 15px 0;
    color: #A21A41;
    font-weight: 500;
}

h4 {
    color: black;
    margin-bottom: 5px;
    font-size: 1.125rem;
    font-weight: 600;
}

li, li p {
    font-size: 1.063rem;
    list-style-type: square;
    margin-bottom: 20px;
    color: #535252;
}

.line {
    background-color: #bebebe;
    height: 1px;
    width: 100%;
}

/* ---------------------------- */
/* ---------- Header ---------- */
/* ---------------------------- */

.header {
    height: 180px;
    box-shadow: 0px 1px 5px rgba(110, 110, 110, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 70px;
    }

    .header-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 1200px;
    }

    .header-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-logo p{
        font-family: Raleway;
        width: 125px;
        line-height: 1.3em;
        margin: auto 0;
    }

    .header-logo img {
        height: 60px;
        padding-right: 20px;
    }

    .header-kontakt {
        font-size: 17px;
        font-weight: 800;
        background-color: #A21A41;
    }

    .header-kontakt a {
        padding: 5px 15px;
        color: white;
        text-decoration: none;
        font-family: Raleway;
    }

/* ---------------------------- */
/* ----------- Main ----------- */
/* ---------------------------- */

.main {
    padding: 0;
    margin-bottom: 150px;
    display: flex;
    flex-direction: column;
}

    .section {
        margin-bottom: 250px;
        display: flex;
        flex-direction: column;
        max-width: 800px;
        min-width: 330px;
        margin: 0 auto;
        width: calc(100% - 80px);
    }

    .headline {
        margin: 150px 0 60px 0;
    }

    .headline-titel h1 {
        margin-bottom: 40px;
    }

    .textblock a {
        text-decoration: none;
        color: #A21A41;
    }

    .textblock a:hover {
        text-decoration: underline;
    }

    .cta {
        font-size: 17px;
        font-weight: 700;
        background-color: #FD6824;
        padding: 5px 25px;
        margin-top: 30px;
        display: inline-block;
        text-decoration: none;
        font-family: Raleway;
    }

    .schwerpunkte {
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .profil {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 60px 0 0 0;
    }

    .profilbild {
        height: 375px;  
        width: 250px;
        overflow: hidden;
        margin-right: 40px;
        display: block;
    }

    .section img {
        width: 100%;
        height: 100%;
    }

    .profil .about {
        font-size: 15px;
        width: 450px;
}

/* ---------------------------- */
/* ---------- Footer ---------- */
/* ---------------------------- */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #A21A41;
    height: 240px;
}

    .footer a {
        padding-right: 100px;
        font-family: Raleway;
        text-decoration: none;
        color: white;
    }

    .footer a:hover {
        text-decoration: underline;
}

/* ---------------------------- */
/* ----------- Media ---------- */
/* ---------------------------- */

@media (max-width: 820px) {
    h1 {font-size: 30px;}
    h2 {font-size: 90px;}
    h3 {font-size: 21px;}
    p {font-size: 18px;}
    .profil {flex-direction: column; align-items: center;}
    .profil .about {width: 330px; margin-bottom: 40px;}
    .profilbild {width: 330px; height: 495px;}
    .profil h4 {margin: 10px 0 25px 0;}
    .headline {margin: 100px 0 30px 0;}
    .footer {height: 120px;}
    .footer a{padding-right: 30px; font-size: 12px;}
}

@media (max-width: 550px) {
    h1 {font-size: 25px;}
    h2 {font-size: 60px;}
    h3 {font-size: 20px;}
    p {font-size: 17px;}
    .header {height: 90px; padding: 0 40px;}
    .header-logo img {height: 30px;}
    .header-kontakt {font-size: 12px;}
    .header-kontakt a {padding: 5px 10px;}
    .header-box p {font-size: 10px;}
}