/*https://www.html-seminar.de/toggle-menue-03-automatische-umschaltung.htm */

* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: #949494;
    width: 99%;
    float: left;
    border-bottom: 1px solid black;
}
#bereichlogo {
    color: white;
    background-color: #FE0000;
    font-size: 15px;
    display: block;
    padding: 0.5em;
    text-decoration: none;
    float: left;
}
#bereichlogo {
    width: auto;
}
#steuerung li {
    list-style: none;
    float: left;
}
#steuerung a {
    display: block;
    height: 100%;
    width: 100%;
    padding: 0.5em;
    text-decoration: none;
    color: white;
    font-size: 15px;
    background-color: #949494;
}

#steuerung #test {
    display: block;
    height: 100%;
    width: 100%;
    padding: 0.5em;
    text-decoration: none;
    color: white;
    font-size: 15px;
    background-color: red;
}
.menue-button {
    display: none;
}
#steuerung {
    float: right;
}
#steuerung a:hover {
    color: black;
    background: orange;
}

#steuerung span {
	color: #ffb3d1;
}
/* CSS erweitern um MENÜ-Button und entsprechende Steuerung */
/*        Menü-Button oben rechts einblenden bei kleiner als 600px */
@media only screen and (max-width:600px) {
        .menue-button {
                display: block;
        }
        .menue-button {
                background-color: darkblue;
                display: block;
                position: absolute;
                font-size: 15px;
                right: 0;
                top: 0;
                padding: 0.5em;
                color: white;
                cursor: pointer;
                text-decoration: none;
        }
        #bereichlogo {
                width: 100%;
        }
        #steuerung {
                float: left;
                width: 100%;
                display: none;
        }
        #steuerung li {
                width: 100%;
                border-bottom: 2px solid silver;
        }
        .menue-button:hover {
                color: black;
                background: orange;
        }
}
/* die Magie, um die Steuerung einzublenden (auch auf mobile Devices) */
#nav-menue:target #steuerung {
    display: block;
}
/* ausblenden des Menü-Buttons zum öffnen - somit wird der zum Schließen sichtbar */
#nav-menue:target .menue-button-beschr-open {
    display: none ;
}
/* Allgemein Anweisungen */
section {
    padding: 0.5em;
    float: left;
    width: 98%;
    margin-top: 15px;
}
h1, p {
    margin: 0.5em 0 0 0;
}