body {
    margin: 0;
    color: #000;
    background-color: #ae7e00;
}

.anwendung {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

.navigation {
    box-sizing: border-box;
    flex: 0 0 290px;
    width: 290px;
    max-height: 100vh;
    position: sticky;
    top: 0;
    overflow: auto;
    padding: 8px;
    background-color: #fff0c9;
    color: #008080;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.navigation p {
    margin: 0 0 16px;
}

.navigation h2 {
    margin: 16px 0 4px;
    color: inherit;
    font-size: 13px;
    font-weight: bold;
}

.navigation a {
    color: #005858;
    overflow-wrap: anywhere;
}

.navigation a:hover,
.navigation a:focus {
    color: #003838;
    text-decoration: underline;
}

.navigation .hauptnavigation a {
    display: block;
    width: fit-content;
    margin-bottom: 8px;
}

.navigation .fotolinks {
    overflow-wrap: anywhere;
}

.navigation a.ist-aktiv {
    font-weight: bold;
    text-decoration: underline;
}

.besucherzahl {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #e0c98a;
}

.inhalt {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: auto;
    background-color: #ae7e00;
    color: #fff0c9;
}

.ladeanzeige,
.fehler {
    margin: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.fehler {
    max-width: 40em;
    padding: 12px 16px;
    border: 1px solid currentColor;
}

@media (max-width: 760px) {
    .anwendung {
        display: block;
    }

    .navigation {
        width: auto;
        flex: none;
        max-height: 45vh;
        position: relative;
    }

    .inhalt {
        min-height: 55vh;
    }
}
