.event-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.event-box {
    position: relative;
    background: url('BEITRAGSBILD_URL') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    overflow: hidden;
    height: 250px; /* Einheitliche Höhe für alle Karten */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; /* Für zentrierten Text */
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.event-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.event-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Halbtransparenter Overlay */
    z-index: 1;
}

.event-box-content {
    position: relative;
    z-index: 2;
    padding: 15px;
}

.event-box-content h3 {
    font-size: 20px;
    margin: 0 0 5px;
    font-weight: bold;
    color: white;
}

.event-box-content p {
    margin: 0;
    font-size: 14px;
    color: white;
}

.event-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Drei Karten nebeneinander */
    gap: 20px;
    margin: 20px 0;
}

/* Responsive Darstellung für mobile Geräte */
@media (max-width: 768px) {
    .event-cards-container {
        grid-template-columns: 1fr; /* Eine Karte pro Zeile */
    }
}
