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

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#eef2f5;
}

.wrapper{
    max-width:800px;
    margin:30px auto;
    padding:20px;
}

h1{
    text-align:center;
    margin-bottom:20px;
}

.monat{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.monat a{
    background:#1976d2;
    color:#fff;
    text-decoration:none;
    padding:10px 18px;
    border-radius:6px;
}

.monat h2{
    margin:0;
}

.wohnungkarte{
    background:#fff;
    border-radius:10px;
    padding:20px;
    margin-bottom:30px;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.kopf{
    margin-bottom:15px;
}

.kalender-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:5px;
    margin-bottom:20px;
}

.wochentag{
    background:#1976d2;
    color:#fff;
    text-align:center;
    padding:10px;
    font-weight:bold;
}

.leer{
    min-height:45px;
}

.frei,
.belegt{
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:5px;
    font-weight:bold;
}

.frei{
    background:#4CAF50;
    color:#fff;
}

.belegt{
    background:#E53935;
    color:#fff;
}


.anreise{
    background:#2196F3;
    color:white;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:5px;
    font-weight:bold;
}

.abreise{
    background:#FFC107;
    color:#000;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:5px;
    font-weight:bold;
}


.legende{
    display:flex;
    gap:20px;
    margin-top:15px;
    margin-bottom:20px;
}

.gruen,
.rot{
    width:18px;
    height:18px;
    display:inline-block;
    margin-right:5px;
}

.gruen{
    background:#4CAF50;
}

.rot{
    background:#E53935;
}

.button{
    display:inline-block;
    background:#1976d2;
    color:#fff;
    text-decoration:none;
    padding:10px 20px;
    border-radius:5px;
}

.button:hover{
    background:#125ea7;
}

.button{
    display:inline-block;
    padding:12px 25px;
    background:#1976d2;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
    transition:.2s;
}

.button:hover{
    background:#125ea7;
}

.vergangen{
    display:flex;
    justify-content:center;
    align-items:center;

    width:100%;
    height:45px;

    background:#d9d9d9 !important;
    color:#777 !important;

    border-radius:5px;

    cursor:not-allowed;

    font-weight:bold;
}