/* Kalender-Auswahl Styles - Klassisches Design */

/* Kalender-Navigation */
.calendar-navigation {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 100%;
}

.nav-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    margin-top: 2rem;
}

.nav-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.calendar-months-container {
    display: flex;
    gap: 2rem;
    flex: 1;
    overflow: hidden;
}

/* Einzelner Monat */
.month-view {
    flex: 1;
    min-width: 280px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Monats-Titel */
.month-title th {
    padding: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Wochentage */
.weekdays th {
    padding: 0.8rem 0.5rem;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

/* Kalender-Tage */
.calendar-day {
    padding: 0.8rem;
    text-align: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #f0f0f0;
    position: relative;
}

.calendar-table td.empty {
    background: #fafafa;
    border: none;
}

/* Verfügbare Tage - GRÜN */
.calendar-day.available {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 500;
}

.calendar-day.available:hover {
    background: #c8e6c9;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
}

/* Gebuchte Tage - ROT */
.calendar-day.booked {
    background: #ffebee;
    color: #c62828;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Vergangene Tage */
.calendar-day.past {
    background: #fafafa;
    color: #bdbdbd;
    cursor: not-allowed;
}

/* Heute */
.calendar-day.today {
    font-weight: bold;
    border: 2px solid #2196F3;
}

/* Ausgewählte Tage */
.calendar-day.selected {
    background: #4CAF50 !important;
    color: white !important;
    font-weight: bold !important;
    border: 2px solid #388E3C !important;
}

/* Range zwischen Check-in und Check-out */
.calendar-day.range {
    background: #c8e6c9 !important;
    color: #1b5e20 !important;
}

/* Desktop: 2 Monate nebeneinander */
@media (min-width: 1024px) {
    .calendar-months-container {
        justify-content: center;
    }
    
    .month-view {
        flex: 0 1 calc(50% - 1rem);
        max-width: 450px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .calendar-months-container {
        flex-direction: column;
    }
    
    .month-view {
        flex: 1;
        max-width: 100%;
    }
    
    .nav-btn {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .calendar-navigation {
        flex-direction: column;
    }
    
    .calendar-months-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-btn {
        display: none;
    }
    
    .calendar-day {
        padding: 0.6rem 0.3rem;
        font-size: 0.85rem;
    }
    
    .weekdays th {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
    }
}

/* Mobile Karten-Fix */
.location-map iframe {
    width: 100% !important;
    height: 450px !important;
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .location-map iframe {
        height: 300px !important;
    }
}



