/* Sylesheet für die Heimatseite */

html {
    scroll-behavior: smooth;
    background-color: #fff5d5;
    font-family: "Times New Roman", Garamond, serif;
}

body {
    hyphens: auto;
    color: #5e5e5e;
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 30px #393838;
}

.flex {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    background-color: #fff5d5;
    max-width: 100%;
    height: auto;
}

header {
  /*  background-color: #fff5d5; 
    color: #5e5e5e; */
    border-width: 0.1em 0em;
    border-style: solid;
    border-color: #f8c705;
    padding: 0;
}

header p {
    text-align: center;
}

main {
    padding-left: 2em;
    padding-right: 2em;
    margin-top: 2rem;
}

h1 {
    font-size: 2em
}

h3 {
    margin-bottom: 0em;
}

nav {
    hyphens: none;
    background-color: #e3eac3;
    padding: 0.5rem 1rem;
    margin: 0rem 0;
}

nav a {
    color: #5e5e5e;
    text-decoration: none;
}

nav p {
    margin: 0;
    /* Standartwerte margin von <p> muss auf 0 */
}

.headertop-nav ul {
    background: #e3eac3;
    padding: 0;
    margin: 0;
}

.headertop-nav li {
    list-style: none;
}

.headertop-nav a {
    display: block;
    text-decoration: none;
    background: #e3eac3;
    color: #5e5e5e;
    padding: 0.5rem 0.5rem;

}

.headertop-nav a:hover,
.headertop-nav a:focus {
    color: #000000;
}

.headertop-nav ul {
    display: flex;
    flex-flow: column;
    margin: auto;
}

.headerbottom-nav {
    font-style: italic;
    font-weight: 600;
    padding: 1rem;
    box-shadow: 5px 15px 15px #5e5e5e;
}

.headerbottom-nav a:hover {
       color: #000000;
   }


.menubutton {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: inherit;
    color: #5e5e5e;
    font: inherit;
    text-align: center;
    padding: 0.5rem 0.5rem;
    border: 0;
    margin: 0;
}

.menubutton::before {
    content: url(bilder/menuburger.svg);
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.headertop-nav ul {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

.showmenu+ul {
    transition: max-height 500ms;
    max-height: 100rem;
    overflow: initial;
}

.showmenu.menubutton::before {
    content: url(bilder/menuclose.svg);
}

@media screen and (min-width: 1500px) {
    .menubutton {
        display: none !important;
    }

    .headertop-nav {
        position: sticky;
    }

    .headertop-nav ul {
        max-height: none !important;
        flex-flow: row;
        padding: 0;
    }

    .headertop-nav li {
        flex: 1;
        max-width: 1700px;
        text-align: center;
    }

    .headertop-nav a {
        margin-right: 0;
    }
}

.Angebotsliste {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1rem;
}

.Angebot {
    background-color: #fefdd9;
    text-align: center;
    list-style: none;
    padding: 0.5rem;
}

.Angebot h3 {
    background: #e3eac3;
    font-size: 1rem;
    padding: 1rem;
    margin: -0.5rem -0.5rem 1rem -0.5rem;
}

.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);

    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;

    overflow: hidden;
}

.pWichtig {
    font-style: italic;
    font-weight: 600;
    color: #cda401;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav li {
    display: inline;
    margin-right: 0rem;
    padding-inline-start: 0rem;
}

footer {
    background-color: #c0dfa9b0;
    color: white;
    text-align: end;
    padding: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 5px -5px 30px #393838;
}

footer a {
    color: rgb(68, 107, 49);
    text-decoration: none;
}

footer p {
    text-align: left;
    margin: 0;
}

/* unvisited link */
main a:link {
    color: #032c36;
}

/* visited link */
main a:visited {
    color: white;
}

/* mouse over link */
main a:hover {
    color: white;
}

/* selected link */
main a:active {
    color: #032c36;
}