/*Allgemeine-Styles-Start -----------------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #e5c29f;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    max-width: 1400px;
    margin: auto;
}


/*Allgemeine-Styles-Ende -----------------------------------------------------------------------*/

/* Header-Start -------------------------------------------------------------------------------*/

#logo {
    position: absolute;
    width: 100px;
    height: 100px;
}

#topnav {
    height: 50px;
    background-color: transparent;
    padding-right: 10px;
}

#topnav a {
    color: #000;
    text-decoration: none;
}

#topnav a:hover {
    color: #6d071a;
    text-shadow: 2px 2px 5px #6d071a;
}

#topnav ul {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    gap: 1em;
    list-style-type: none;
    font-size: 1.5em;
    font-weight: 700;
}

/* Header-Ende -------------------------------------------------------------------------------*/

/* Hero-Start -------------------------------------------------------------------------------*/

#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./img/hero-aad.jpg) center center no-repeat;
    height: 700px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid #e5c29f;
}

h1 {
    color: #e5c29f;
    font-size: 4rem;
    font-family: 'Lato', sans-serif;
    text-shadow: 2px 2px 5px #000000;
    box-shadow: inset 0 0 10px #ffffff;
    text-transform: uppercase;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Hero-Ende -------------------------------------------------------------------------------*/

/* Mobile-Navigation-Start -------------------------------------------------------------------------------*/

#mobile-nav {
    display: block;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(229, 194, 159);
}

#mobile-nav li {
    padding: 0.5em;
}

#mobile-nav hr {
    max-width: 200px;
    margin: 0 auto;
    border: 2px solid #6d071a;
}

#mobile-nav a {
    color: #000000;
    text-decoration: none;
}

#mobile-nav a:hover {
    color: #6d071a;
    text-shadow: 2px 2px 5px #6d071a;
}

/* Mobile-Navigation-Start -------------------------------------------------------------------------------*/

/* Footer-Start -------------------------------------------------------------------------------*/

#footer {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5em 1em 0.5em;
    border-top: 1px solid black;
}

#footer ul {
    display: flex;
    gap: 1em;
    list-style: none;
}

#footer a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}

#footer a:hover {
    text-decoration: underline;
}

/* Footer-Start -------------------------------------------------------------------------------*/

/* Impressum-Datenschutz-Start -------------------------------------------------*/

#impressum_datenschutz {
    max-width: 700px;
    min-height: 40vh;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 1em;
}

#impressum_datenschutz div {
    padding: 1rem 0;
}

#impressum_datenschutz h2 {
    padding: 1rem 0;
}

#impressum_datenschutz h3 {
    padding: 1rem 0;
}

#impressum_datenschutz ul li {
    list-style: none;
    padding: 0.2em 0;
    font-weight: 500;
}

/* Impressum-Datenschutz-Start -------------------------------------------------*/

/*--------------------------------------------------------------------------------*/
/* Media Queries -------------------------------------------*/
/*--------------------------------------------------------------------------------*/

/* Mobile -------------------------------------------------*/

@media (min-width: 771px) {
    #mobile-nav {
        display: none;
        top: 0px;
    }
}

@media (max-width: 770px) {
    #topnav {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    #logo {
        height: 50px;
        width: 50px;
        position: fixed;
        z-index: 101;
    }

}

@media (max-width: 550px) {

    #hero {
        background: url(./img/hero-aad.jpg) 35% no-repeat;
        height: 500px;
    }

    h1 {
        font-size: 1.5rem;
    }

}