@font-face {
    font-family: Apfel Grotezk;
    src: url(/Apfel-Grotezk/ApfelGrotezk-Regular.woff);
}

*{
    margin: 0;
    padding: 0;
    font-family: Apfel Grotezk;
    box-sizing: border-box;
}

/* p{
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
}  */

html {
	scroll-behavior: smooth;
}

h1{
    font-weight: normal;
}

h2{
    font-weight: normal;
}

body{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    /* background-color: blue; */
}

.name{
    font-size: 34px;
}

.button{
    background-color: #d9d9d9;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 20px;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: fixed;
    width: 100vw;
    left: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.name{
    align-self: flex-start;
}

a{
    text-decoration: none;
    color: black;
    font-size: 20px;
}

a:hover{
    background-color: #cbcbcb;
}

.leistungen{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.text{
    background-color: #d9d9d9;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 20px;
}

img{
    width: 100%;
    margin-bottom: -6px;
}

.gap{
    height: 20px;
}

section{
    width: calc(50% - 30px);
}

#about{
    position: fixed;
    top: 5vw;
}

#content{
    position: absolute;
    top: 5vw;
    right: 20px;
    z-index: -1;
}

nav{
    position: fixed;
    left: 20px;
    bottom: 10px;
    display: flex;
    gap: 20px;
}

.impressum{
    display: none;
    margin-top: 20px;
}

.impressum.open{
    display: block;
}

.link{
    text-decoration: underline;
}

.link:hover{
    background-color:transparent
}

.mobile-burger{
    display: none;
}

button{
    color: black;
}

::-moz-selection { background: #111; color: #fff; }
::selection { background: #111; color: #fff; }

/* mobil */
@media (max-width: 1050px) {

    section{
        width: 100%;
    }

    #about{
        position: static;
    }

    #content{
        position: static;
    }

    header{
        align-items: flex-start;
    }

    nav{
        background-color: white;
    }

    .name{
        background-color: white;
    }

    .leistungen{
        display: none;
        width: 100%;
        /* background-color: white; */
        align-items: flex-end;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .leistungen.open{
        display: flex;
    }

    .button{
        background-color: white;
    }

    main{
        margin-top: 7.5vh;
        margin-bottom: 30px;
    }

    body{
        padding-left: 15px;
        padding-right: 15px
    }

    header{
        padding-left: 15px;
        padding-right: 15px;
        /* background-color: white; */
        gap: 0;
    }

    .mobile-burger{
        display: block;
        font-size: 34px;
        border: none;
        padding-left: 5px;
        padding-bottom: 0;
        background-color: white;
    }

    header{
        flex-wrap: wrap;
    }

    .gap{
        height: 15px;
    }

     .text{
        font-size: 18px;
    }

    /* a{
        font-size: 18px;
    }  */

    nav{
        left: 15px;
        font-size: 34px;
    }

    button{
        font-size: 34px;
    }

}