#wrapper > section {
    background-attachment: fixed;
    background-image: url("images/intro.svg");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#wrapper p {
    text-align: justify;
}

#leistungen p {
    text-align: left;
}

#leistungen .inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#leistungen .section-intro,
#aboutme .section-intro,
#kontakt .section-intro {
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 0 2rem 0;
}

#leistungen .section-intro p {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 0;
}

#leistungen .features {
    grid-column: 1 / -1;
}

#leistungen .features section {
    padding-left: 10em;
}

#leistungen .features section .icon.major {
    width: 5em;
    height: 5em;
    line-height: 5em;
}

#leistungen .features section .icon.major:before {
    font-size: 2.5em;
}

#sidebar .menu-toggle {
    display: none;
}

#home {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    max-width: 75em;
    padding: 5em 5em 3em 5em;
}

#home .content {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

#home .content .inner {
    width: 100%;
}

#home .content .section-intro {
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 0 2rem 0;
}

#home .content .inner > p:last-child {
    margin-bottom: 0;
}

#home .image.portrait {
    flex: 0 0 20rem;
    width: 20rem;
    margin: 0;
    align-self: center;
}

#home .image.portrait img {
    width: 100%;
    height: auto;
}

#home .mobile-only-home-title {
    display: none;
}

@media screen and (max-width: 980px) {

    #home {
        flex-direction: column;
        gap: 1.5rem;
    }

    #home .mobile-only-home-title {
        display: block;
        margin: 0 0 0.5rem 0;
        text-align: center;
    }

    #home .content .section-intro {
        display: none;
    }

    #home p br {
        display: none;
    }

}

@media screen and (max-width: 1680px) {

    #home {
        padding: 4em 4em 2em 4em;
    }

}

@media screen and (max-width: 736px) {

    #sidebar {
        display: block;
        height: 4.5em;
        overflow: visible;
    }

    #sidebar > .inner {
        display: block;
        height: 100%;
        line-height: 4.5em;
        position: relative;
    }

    #sidebar .menu-toggle {
        display: inline-block;
        background: transparent;
        border: 0;
        color: #ffffff;
        cursor: pointer;
        font-size: 0.7em;
        font-weight: bold;
        letter-spacing: 0.25em;
        line-height: 1.2;
        padding: 1.4em 1.5em;
        text-transform: uppercase;
    }

    #sidebar nav {
        display: none;
        background: #312450;
        border-top: solid 1px rgba(255, 255, 255, 0.15);
        height: auto;
        left: 0;
        line-height: normal;
        position: absolute;
        top: 4.5em;
        width: 100%;
    }

    body.menu-open #sidebar nav {
        display: block;
    }

    #sidebar nav ul {
        display: block;
        height: auto;
        margin: 0;
        padding: 0.5em 0;
    }

    #sidebar nav ul li {
        height: auto;
        line-height: normal;
        margin: 0;
    }

    #sidebar nav a {
        font-size: 0.7em;
        height: auto;
        line-height: 1.3;
        padding: 1em 1.5em;
    }

    #sidebar nav a:before,
    #sidebar nav a:after {
        display: none;
    }

    #sidebar + #wrapper {
        padding-top: 4.5em;
    }

    #home {
        padding: 3em 2em 1em 2em;
    }

    #leistungen .features section {
        padding-left: 8.5em;
    }

}

@media screen and (max-width: 480px) {

    #leistungen .features section {
        padding-left: 8.5em;
    }

    #leistungen .features section .icon {
        left: 1.5em;
        position: absolute;
        top: 2em;
    }

}

@media screen and (max-width: 1280px) {

    #wrapper > section {
        background-attachment: scroll;
    }

}
