@media screen and (max-width: 1024px) and (orientation: landscape) {
    div.page {
        height: auto;
    }

    div.content-area {
        margin-top: 10% !important;
    }

    .menu {
        height: auto;
    }
}

@media (max-height: 850px),
(max-width: 1400px) {
    h1 {
        margin-bottom: 5vh;
        pointer-events: none;
    }
}

@media screen and (max-width: 1024px) {
    .scrolling-arrows {
        display: none;
    }

    .eselsohr {
        width: 6rem;
        height: 6rem;
    }

    .grow-box {
        transform: scale(30);
    }

    .menu-close-area {
        width: 8vw;
        height: 8vw;
        top: 20px;
        right: 20px;
    }

    .menu {
        width: 100%;
        height: 100%;
    }

    div.main {
        display: flex;
        flex-direction: column;
    }

    div.page {
        min-height: 100%;
        width: 100%;
        flex-shrink: 0;
    }

    div.white-arrow {
        background-image: url(./img/pfeil_unten_weiss.svg);
        background-repeat: no-repeat;
        background-position-x: 95%;
        background-position-y: 96%;
        background-size: 0.5rem;
    }

    div.red-arrow {
        background-image: url(./img/pfeil_unten_rot.svg);
        background-repeat: no-repeat;
        background-position-x: 95%;
        background-position-y: 96%;
        background-size: 0.5rem;
    }

    div.quote-block {
        line-height: 3.5rem;
        height: fit-content;
        position: relative;
        top: 50%;
        transform: scale(0.2) translate(0, -50%);
    }

    div.quote-author {
        font-size: 1.5rem;
    }

    div.quote {
        font-family: "abril-display", serif;
        font-weight: 800;
        font-style: italic;
        height: fit-content;
    }

    div.content-area {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        font-family: 'quicksand', sans-serif;
        font-weight: 400;
        font-style: normal;
        line-height: 1.5;
        margin-top: 40%;
        margin-bottom: 3rem;
    }

    .scrolling.content-area {
        margin-top: 60%;
    }

    a {
        word-wrap: break-word;
        min-width: 6rem;
        background-position: center 20px;
        background-size: 6rem;
        padding-bottom: 25px;
    }

    .preis-grid {
        grid-template-columns: auto;
    }

    div.content-bottom-spacer {
        flex-basis: 5%;
        width: 100%;
    }

    div.content-area div.content-text {
        font-size: 3.5vw;
    }

    h1 {
        font-family: "abril-display", serif;
        font-weight: 800;
        font-style: normal;
        font-size: 30px;
        margin-top: 0;
    }

    h2 {
        font-family: "abril-display", serif;
        font-weight: 800;
        font-style: normal;
        font-size: 25px;
        margin-top: 0;
    }

    .menu a {
        background-image: none;
        text-decoration: none;
        font-size: 8vw;
        font-family: "quicksand", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: #161616;
        display: inline-block;
        position: relative;
        padding-bottom: 0;
    }

    .menu-main-area {
        width: 90%;
    }

    .menu-main-area>div {
        margin-bottom: 30px;
    }

    .smaller-menu-font {
        font-size: 4vw !important;
    }

    .content-section {
        margin-bottom: 80px;
    }

    .portfolio-arrow {
        width: 50px;
        height: 200px;
        margin-left: 40px;
        margin-bottom: 0 !important;
        background-image: url(./img/portfolio-pfeil.svg);
    }

    .portfolio-link-block {
        margin-left: 10%;
        margin-right: 10%;
        line-height: 2.5rem;
        position: relative;
        top: 15%;
    }

    .portfolio-link-block div {
        margin-bottom: 1.5rem;
    }

    .portfolio-link-block a {
        text-decoration: none;
        font-size: 5.5vw;
        font-family: "abril-display", serif;
        font-weight: 800;
        font-style: normal;
        color: #161616;
        display: inline-block;
        position: relative;
    }

    div.logo {
        left: 50%;
        top: 6%;
        transform: translatex(-50%);
        position: absolute;
        width: 45vw;
        height: 25vw;
    }

    div.foto {
        width: 70%;
    }

    .small-text {
        font-size: 16px;
    }

    .vfll-logo {
        margin-top: 1rem;
    }

    .impressum-content {
        margin-top: 20% !important;
    }

    .white-logo {
        background: url(./img/logo-weiss.svg) no-repeat !important;
    }

    .visible-on-mobile {
        display: block;
    }

    .non-visible-on-mobile {
        display: none;
    }

    h2.leistung {
        font-size: 3.5vw;
        font-family: 'quicksand', sans-serif;
        font-weight: 400;
        font-style: normal;
        margin-bottom: 0;
    }

    div.img-block-width img {
        max-height: 48vw;
    }

    div.foto {
        width: 70%;
        max-width: 300px;
        position: relative;
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
    }
}