/* ================================================================
   eventkalender.css – Styles für die EventKalender-Seite
   ================================================================ */

/* ----------------------------------------------------------------
    Kategorie-Filter
-----------------------------------------------------------------*/

.ek-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.ek-filter-btn {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 50px;
    padding: 7px 20px;
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all .2s;
}

    .ek-filter-btn:hover {
        border-color: #F15B00;
        color: #F15B00;
    }

    .ek-filter-btn.ek-filter-active {
        background: #F15B00;
        border-color: #F15B00;
        color: #fff;
        box-shadow: 0 3px 12px rgba(241,91,0,.3);
    }

/* ----------------------------------------------------------------
    Event-Karten
-----------------------------------------------------------------*/

.ek-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    border: 1px solid #f0f0f0;
    transition: transform .22s, box-shadow .22s;
}

    .ek-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 28px rgba(241,91,0,.1);
    }

/* Highlight-Karte */
.ek-card-highlight {
    border-left: 4px solid #F15B00;
}

/* Extern-Karte */
.ek-card-extern {
    border-left: 4px solid #666;
}

/* Vergangene Karte */
.ek-card-past {
    opacity: .55;
    filter: grayscale(.3);
}

    .ek-card-past:hover {
        opacity: .75;
        transform: none;
        box-shadow: 0 2px 16px rgba(0,0,0,.06);
    }

/* ----------------------------------------------------------------
    Datum-Badge (linke Spalte)
-----------------------------------------------------------------*/

.ek-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 20px 16px;
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.ek-date-month {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #F15B00;
    line-height: 1;
}

.ek-date-day {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-top: 2px;
}

.ek-date-highlight {
    background: #F15B00;
}

    .ek-date-highlight .ek-date-month {
        color: rgba(255,255,255,.8);
    }

    .ek-date-highlight .ek-date-day {
        color: #fff;
    }

.ek-date-past {
    background: #f0f0f0;
}

    .ek-date-past .ek-date-month {
        color: #999;
    }

    .ek-date-past .ek-date-day {
        color: #999;
    }

/* ----------------------------------------------------------------
    Karten-Inhalt
-----------------------------------------------------------------*/

.ek-card-body {
    padding: 20px 24px;
    flex: 1;
    min-width: 0;
}

.ek-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ek-card-kategorie {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #F15B00;
    background: rgba(241,91,0,.08);
    border-radius: 20px;
    padding: 3px 12px;
}

.ek-card-extern-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #666;
    background: rgba(0,0,0,.06);
    border-radius: 20px;
    padding: 3px 12px;
}

.ek-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.ek-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: .82rem;
    color: #777;
    margin-bottom: 10px;
}

    .ek-card-info i {
        color: #F15B00;
    }

.ek-card-desc {
    font-size: .9rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 14px;
}

/* Kein Link-Button ? kein Abstand unten */
.ek-card-desc:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------------
    Leerer Zustand
-----------------------------------------------------------------*/

.ek-empty {
    padding: 40px 20px;
    text-align: center;
}

/* ----------------------------------------------------------------
    Responsive
-----------------------------------------------------------------*/

@media (max-width: 576px) {
    .ek-card {
        flex-direction: column;
    }

    .ek-date-badge {
        flex-direction: row;
        gap: 8px;
        min-width: unset;
        padding: 12px 18px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .ek-date-day {
        font-size: 1.3rem;
    }

    .ek-card-body {
        padding: 16px 18px;
    }

    .ek-filter-btn {
        padding: 6px 14px;
        font-size: .78rem;
    }
}
