@charset "utf-8";
#startseite {
    padding-top: 11.5rem;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,.15);
}

#startseite h1, #startseite h2 {
    font-size: 2.75rem;
    font-weight: bold;
}

#startseite h1 {
    width: fit-content;
    line-height: 3.25rem;
    color: white;
    background: #0f9015;
}

#startseite h2 {
    margin: 0.5rem 0 1.5rem;
    line-height: 2.75rem;
}

#startseite article {
    margin-top: 2rem;
}

#startseite article > div {
    text-align: center;
    margin-top: 1rem;
}

#startseite img {
    height: 3.25rem;
    margin: 0 auto;
}

#startseite img:last-of-type {
    display: none;
} 

#startseite h3 {
    font-size: 1.2rem;
    color: #0f9015;
}

#startseite p, #banner p, #banner a {
    font-size: 1.05rem;
}

#banner {
    margin-top: 2rem;
    padding: 3rem 2.5%;
    text-align: center;
    color: white;
    background: #0f9015;
    box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.15);
}

#banner a {
    display: flex;
    margin: 1rem auto 0;
    padding: 0.5rem;
    width: fit-content;
    color: white;
    align-items: center;
    text-decoration: none;
    border: white solid;
}

#banner a:hover{
    color: #0f9015;
    background: white;
    transition: 300ms;
}

#leistungen article {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

#leistungen article > div {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: #0f9015 solid thin;
}

#leistungen ul, #ueber-mich ul {
    padding-inline-start: 1.5rem;
}

#leistungen li, #ueber-mich li {
    list-style-type: square;
}

#leistungen li::marker, #leistungen a, #ueber-mich li::marker, #ueber-mich a {
    color: #0f9015;
    text-decoration: none;
    transition: 300ms;
}

#ueber-mich a:hover {
    text-decoration: underline;
}

#leistungen > div {
    padding: 0.25rem 0;
    border-bottom: #0f9015 solid thin;
}

#leistungen > div > div {
    display: none;
    height: 0;
    padding: 0.5rem 1rem;
    transition: 300ms;
    overflow: hidden;
}

#leistungen h2, #leistungen h3, #leistungen h4, #ueber-mich h2, #ueber-mich h3 {
    text-align: center;
}

#leistungen h2, #ueber-mich h2 {
    font-size: 2.25rem;
}

#leistungen h3, #ueber-mich h3 {
    padding: 0.5rem 0;
    font-size: 1.5rem;
    color: #0f9015;
}

#leistungen h4 {
    font-size: 1.5rem;
    padding: 0.5rem 0;
}

#leistungen h5 {
    position: relative;
    padding: 0 3rem 0 1rem;
    font-size: 1.15rem;
    font-weight: normal;
    cursor: pointer;
    user-select: none;
}

#leistungen h5 > div {
    position: absolute;
    margin: auto;
    height: 1rem;
    width: 1rem;
    top: 0.5rem;
    bottom: 0;
    right: 1rem;
    border-right: #0f9015 solid;
    border-bottom: #0f9015 solid;
    transform: rotate(225deg);
    transition: 300ms;
}

#leistungen p, #leistungen ul, #ueber-mich p, #ueber-mich ul {
    font-size: 1rem;
}

#ueber-mich {
    box-shadow: 0 5px 5px 0 rgba(0,0,0,.15);
}

#ueber-mich div {
    padding: 1rem 0;
}

#ueber-mich h2 {
    text-transform: uppercase;
}

#ueber-mich article:last-of-type {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 1rem 0;
}

#ueber-mich article:last-of-type > p > p {
    font-size: 0.75rem;
}

#ueber-mich img {
    height: 5rem;
}

@media screen and (min-width: 580px) {
    #startseite article {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 3rem;
    }
    
    #startseite article > div {
        margin: 0;
        width: 30%;
    }
    
    #startseite article > div:nth-child(2) {
        padding: 0 3%;
        border-left: #0f9015 solid thin;
        border-right: #0f9015 solid thin;
    }
}

@media screen and (min-width: 768px) {
    #startseite {
        padding-top: 15.5rem;
    }

    #startseite h1 {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    #startseite h2 {
        font-size: 3.5rem;
        line-height: 3rem;
        margin: 0.5rem 0 3rem;
    }

    #startseite article {
        margin: 5rem 0 1rem;
    }

    #startseite h3 {
        font-size: 1.3rem;
    }

    #startseite p, #banner p, #banner a {
        font-size: 1.1rem;
    }

    #leistungen article {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-top: 2rem;
    }

    #leistungen article > div {
        width: 45%;
        margin: 1rem;
        padding: 1rem;
        border: #0f9015 solid;
        border-radius: 1rem;
        box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15);
    }
    
    #leistungen article > div:hover {
        box-shadow: 0 4px 10px 4px rgba(0, 0, 0, 0.3);
    }

    #leistungen h2, #ueber-mich h2 {
        font-size: 2.5rem;
    }

    #leistungen h4 {
        font-size: 2rem;
    }

    #leistungen h5 {
        font-size: 1.25rem;
    }

    #ueber-mich article:first-of-type {
        display: flex;
        flex-direction: row;
        align-items: top;
        justify-content: space-around;
    }

    #ueber-mich div {
        width: 45%;
    }

    #ueber-mich img {
        height: 5.5rem;
    }
}

@MEDIA screen and (min-width: 1280px) {
    #startseite h1, #startseite h2 {
        font-size: 3.75rem;
    }

    #startseite h1 {
        line-height: 4.25rem;
    }

    #startseite h2 {
        line-height: 3.25rem;
    }

    #startseite img {
        height: 3.5rem;
    }

    #leistungen article {
        margin-bottom: 4rem;
    }

    #leistungen article > div {
        flex: 1;
        width: unset;
        margin: 0 1rem;
    }

    #ueber-mich img {
        height: 6rem;
    }
}

@MEDIA screen and (min-width: 1500px) {
    #startseite h1, #startseite h2 {
        font-size: 4rem;
    }

    #startseite h1 {
        line-height: 4.5rem;
    }

    #startseite h2 {
        line-height: 3.5rem;
    }

    #startseite h3 {
        font-size: 1.4rem;
    }

    #leistungen h2, #ueber-mich h2 {
        font-size: 2.75rem;
    }

    #leistungen h3, #ueber-mich h3 {
        font-size: 1.6rem;
    }

    #leistungen h4 {
        font-size: 2.1rem;
    }

    #leistungen h5 {
        font-size: 1.3rem;
    }

    #leistungen p, #leistungen ul, #ueber-mich p,  #ueber-mich ul {
        font-size: 1.05rem;
    }
}

@media (prefers-color-scheme: dark) {
    #startseite img:first-of-type {
        display: none;
    }

    #startseite img:last-of-type {
        display: block;
    }
}
