@media (max-width: 768px) {

    #hg_alles {
        background: white;
    }

    #zeileoben1 {
        flex-direction: column;
    }

    .block-b {
        width: 100%;
        max-width: none;
        display: flex;
        flex-wrap: unset;
        flex-direction: unset;
    }

    .logo_oben {
        position: relative;
        top: 6px;
        left: 50px;
    }

    .logo_oben img {
        position: relative;
        top: 7px;
    }

    .anschrift {
        margin: 0px;
        padding: 0 0 0 90px;
    }

    .gaestebuch.oben {
        display: none;
    }
    .gaestebuch.unten {
        display: block;
    }

    .wechselbilder {
        width: 100%;
        max-width: none;
    }

    .hauptmenu.desktop {
        display: none;
    }

    .hauptmenu.mobil {
        display: block;
        position: absolute;
    }

    .parent.level1 > a {
        display: none !important;
    } 

    .hauptmenu.mobil  div.floatck {
        display: block !important;
        border: none !important;
    }

    li.maximenuck {
        text-align: center !important;
    }

    .inhaltsbereich {
        display: flex;
        flex-direction: column;
    }

    #rechte_seite {
        max-width: none;
    }

    .rechts {
        padding: 0;
    }

    /*
    div.rechts:has(div.moduletable_wohnungsvorschau) {
        display: flex;
        flex-direction: row;
    }
*/

    .rechts .custom {
        display: flex;
        justify-content: space-around;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .rechts .custom img {
        border: solid 10px #84a411;
        border-radius: 10px;
        margin-bottom: 5px;
        width: 83%;
    }

    .moduletable_wetter {
        max-width: 96%;
        margin: 20px 2%;
    }

    #easybook .controls {
        width: 100%;
    }

    #easybook .control-group {
        flex-direction: column;
    }

    .anfrageblockA, .anfrageblockB, .anfrageblockC {
        width: 98%;
        margin: 10px 1%;
    }

    .hg_sprachwahl {
        position: relative;
        top: -3px;
        left: 73%;
    }

    #menu_unten ul {
        display: flex;
        flex-direction: column;
    }

    .wohnungsvorschau {
        flex-direction: column;
    }

    .wohnungsvorschau > div {
	    width: 100%;
        border: solid 1px #85a611;
        border-radius: 15px;
        box-sizing: border-box;
        padding: 0 15px;
        margin: 20px 0;
    }

}

@media (max-width: 500px) {

    .anreiseblock {
        flex-direction: column;
    }

    .anreiseblock > div {
        width: 100%;
    }
}