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

/* Kategorie-Infos oberhalb des Kalenders */
.category-info-container {
    max-width: 800px;
    margin: 2rem auto 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.category-info-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 4px solid #666;
}

.category-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 4px;
}

.category-info-title a {
    /*
    color: #fc0;
    */
    font-weight: bold;
    text-decoration: none;
}

.category-info-title a:hover {
    text-decoration: underline;
}

.category-info-title strong {
    color: #fbea28;
    font-weight: bold;
}

.category-info-subtitle {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-left: 22px;
    margin-bottom: 6px;
}

.category-dot {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.category-info-line {
    font-size: 13px;
    color: #ccc;
    margin-left: 22px;
}

.calendar-container {
    max-width: 800px;
    margin: 2rem auto 2rem auto;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.calendar-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
}

.nav-button {
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background-color: #2a2a2a;
    border-color: #4a4a4a;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    background-color: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: default;
}

.calendar-day.other-month {
    opacity: 0.3;
    background-color: #0f0f0f;
}

.calendar-day.today {
    border-color: #fff;
    border-width: 2px;
}

.calendar-day.has-event {
    cursor: pointer;
}

.calendar-day.has-event:hover {
    transform: scale(1.05);
    z-index: 1;
    filter: brightness(1.3);
}

/* Tagesnummer: groß, zentriert */
.day-number {
    font-size: 36px;
    font-weight: 700;
    color: #444;
}

.calendar-day.has-event .day-number {
    color: #fff;
}

/* Hintergrundfarben für Kategorien */
.calendar-day.event-blaue-nacht { background-color: #2196f3; }
.calendar-day.event-krimi-dinner { background-color: #8b0000; }  /* Blutrot */
.calendar-day.event-grusel-dinner { background-color: #9c27b0; }
.calendar-day.event-dinner-aperitif { background-color: #ff9800; }
.calendar-day.event-hit-the-night { background-color: #4caf50; }

/* Legende */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ddd;
}

.legend-dot {
    width: 20px;
    height: 14px;
    border-radius: 3px;
}

/* Legendenfarben */
.legend-dot.event-blaue-nacht { background-color: #2196f3; }
.legend-dot.event-krimi-dinner { background-color: #8b0000; }  /* Blutrot */
.legend-dot.event-grusel-dinner { background-color: #9c27b0; }
.legend-dot.event-dinner-aperitif { background-color: #ff9800; }
.legend-dot.event-hit-the-night { background-color: #4caf50; }

/* Responsive */
@media (max-width: 600px) {
    .calendar-container {
        padding: 16px;
    }
    
    .calendar-day {
        min-height: 50px;
    }
    
    .day-number {
        font-size: 20px;
    }
    
    .legend-item {
        font-size: 12px;
    }
}
