
body{
    background-color: #F2F2F2;
}
.section{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
.section:first-of-type{
    margin-top: 100px;
    background-color: var(--white);
}
.section:nth-of-type(2){
    background-color: #ECEBE5;
}
#section-beratung{
    background-color: #ECE7E8;
    min-height: 800px;
}
.section:nth-of-type(4){
    background-color: #F2F2F2;
    min-height: 800px;
}
.philosophie-img{
    width: 40%;
    background-image: url(../img/arbeitsgebiete/AlexandraundPatienten-1085.jpg);
    background-position: center;
    background-size: cover;
}
.philosophie-img:nth-of-type(2){
    background-image: url(../img/arbeitsgebiete/AlexandraundPatienten-0873.jpg);
}
#beratung{
    background-image: url(../img/praxisraum/Praxis-0443_bearbeitet.jpg);
}
#logopaedie{
    background-image: url(../img/arbeitsgebiete/AlexandramitPatienten-1328.jpg);
}
.philosophie-content{
    width: 60%;
    display: flex;
    justify-content: center;
}
.philosophie-content-text{
    font-size: 16px;
    color: var(--grey);
    line-height: 25px;
    max-width: 580px;
    width: 60%;
    font-family: font;
    margin-top: 100px;
    margin-bottom: 80px;
}
h1{
    font-size: 20px;
    font-family: font;
}
.header-line{
    width: 90px;
    height: 2px;
    margin-top: 10px;
    margin-bottom: 50px;
    background-color: var(--golddark);
}
li{
    margin-left: 20px;
}
.categories-wrapper{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.category{
    width: 311px;
    background-color: #fff;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 50px;
}
.category img{
    width: 100%;
    height: 388px;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
}
.category-title{
    height: 35px;
    background-color: #aa7b89;
    line-height: 35px;
    text-align: center;
    color: #fff;
    font-size: 16px; 
}
.category-text{
    font-size: 14px;
    color: var(--grey);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}
.strip{
    width: 100%;
    background-color: #E9E0E3;
}
.strip .header-line{
    margin-bottom: 30px;
}
.strip-inner{
    width: 50%;
    margin: auto;
    min-width: 300px;
    padding-top: 20px;
    padding-bottom: 50px;
    font-size: 14px;
    font-family: font;
    color: var(--grey);
}


.overlay-box ul li:before {
  content: "...";
  padding-right: 5px;
}

.overlay-box ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}


@media only screen and (max-width: 1000px) {
    h1{
        text-align: center;
    }
    .header-line{
        margin-left: auto;
        margin-right: auto;
    }
    .section{        
        flex-direction: column;
    }
    .philosophie-img{
        height: 350px;
        width: 100%;
    }
    .philosophie-content{
        width: 100%;
    }
    .philosophie-content-text{
        font-size: 16px;
        max-width: 2000px;
        width: 90%;
    }
    #arbeitsgebiete-img{
        margin-top: 50px;
    }
    #header-praevention{
        flex-direction: column-reverse;
    }
    #header-training{
        flex-direction: column-reverse;
    }
    .strip-inner{
        font-size: 16px;
        width: 90%;
    }
    .categories-wrapper{
        width: 100%;
        display: block;
    }
    .category{
        width: 100%;
        margin: 0;
        margin-bottom: 50px;
    }
    .category-title{
        height: 40px;
        line-height: 40px;
        font-size: 17px; 
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        min-width: 300px;
        margin-top: -20px;
        position: relative;
    }
    .category-text{
        font-size: 16px;
        color: var(--grey);
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
    }
}