
*, ::before, ::after {
    box-sizing: border-box;
}

body {
    max-width: 66em;
    margin: 0 auto;
    padding: 0 1em;
    font: normal 1em 'Open Sans', sans-serif;
    color: #000000;
    background-color:#edfffd;
    font-family: Poppins;

}

p, ol, ul, dl {
    color: #000000;
}

header {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: #c3e4df;
    text-align: center;
}


.logobox {
    background-image: url("/img/logo5.png");
    background-position: center;
    background-repeat: no-repeat;
    width: 300px;
    height: 160px;
    flex: auto;
    text-align: center;
    margin: auto;
    font-size: 14px;
    padding-top: 95px;
}

h1, h2 {
    color: #488e88;
    font-width: normal;
}

h2 {
    font-size: 20px;
}

a {
    color: #000000;
}
a:hover, a:focus {
    font-weight: bold;
    background-color: #009478;
}



img, a img {
    border: 0 none;
}

.grid {
    max-width: 65em;
    display: grid;
    grid-template-columns: 47fr 53fr;
    gap: 1em;
}

.grid img {width: 100%;}

.landscape {width: 100%;}

.profil_left {
    float: left;
    width: 85%;
}
.profil_right {
    float: right;
}

.profil_right img {
    min-height: 120px;
}


dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 1em 2em;
    margin-bottom: 3em;
}
dl > * {
    margin: 0;
    padding: 0;
}
dt {
    font-weight: bold;
}
dt::after {
    content: ":";
}

.news, .profil {
    background: #c3e4df;
    margin: 1.5em;
    padding: 10px 20px;
}


aside ul ::marker,
.news ul ::marker {
    font-size: 1.5em;
}


.news.consultation {
    margin-right: 0px;
}


article.center {
    width: 100%;
    text-align: center;
    color: #488e88;
    font-weight: bold;

}


/* ====================================================  FOOTER  ==================================================== */
footer {
    background-color: #c3e4df;
    margin: 2em 0;
    padding: 0.5em 1em;
    display: flex;
}




/* ====================================================  LAYOUT  ==================================================== */

/* Mobile first ! alle Blöcke haben 100%, Navigation unten*/
main  {
    padding: 1em 0;
    margin: 2em 0;
    background-color: #fff;
    color: #000;
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 25em) {
    header {
        height: 10em;
    }
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 45em) {
    header {
        background-color: #c3e4df;
    }

    /* Navigation wird nebeneinander ausgerichtet. */
    nav ul {
        flex-direction: row;
        background-color: darkred;
    }

    nav li {
        margin: 0;
        flex: 1 1 0%;
    }

    /* Main wird zum Flex-Container */
    main {
        display: flex;
        flex-flow: row wrap;
    }

    main > * {
        flex: 1 100%;  /* Alle Kindelemente werden über die volle Breite dargestellt */
    }

    section {
        flex: 1 48%;  /* Diese Elemente erhalten eine halbe Breite */
        margin: 1%;
    }
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 58em) {
    section, aside {
        flex: 1 31%;  /* Diese Elemente erhalten eine Breite von 1/3.  */
        margin: 1%;
    }

    article {
        flex: 0 0 100%;
        margin: 0 1.5em;
    }

    /* article p, */
    article li,
    article blockquote {
        max-width: 40em;
    }

    #about {
        flex: 1 30%;
        margin: 1%;
        background-color: #eee;
        border: 1px solid darkred;
        padding: 1em;
        height: 23em;
    }

    #impressum {
        flex: 1 60%;
        margin: 1%;
    }

    aside p {
        margin-bottom: 3em;
    }
    aside p:last-child {
        margin-bottom: 1.2em;
    }
}