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

body {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 5vh 2vw;
}

/* Suchbox */
.search-box {
    background: white;
    padding: 3vh 3vw;
    border-radius: 4vh;
    margin-bottom: 5vh;
    display: flex;
    gap: 2vw;
}

.search-box input {
    flex: 1;
    padding: 2vh 2vw;
    border: 0.2vh solid #e0e0e0;
    border-radius: 1.5vh;
    font-size: 2vh;
}

.search-box button {
    padding: 2vh 4vw;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 4vh;
    font-size: 2vh;
    cursor: pointer;
}

.search-box button:hover {
    opacity: 0.9;
}

/* Titel */
.title {
    color: white;
    font-size: 4vh;
    margin-bottom: 4vh;
}

/* Event Grid */
.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3vw;
    margin-bottom: 6vh;
}

.event-card {
    background: white;
    border-radius: 4vh;
    overflow: hidden;
    cursor: pointer;
    animation: inverseHoverEffect 0.3s forwards;
    text-decoration: none;
    color: inherit;
    display: block;
}

@keyframes inverseHoverEffect {
    0% {
        transform: translateY(-0.5vh);
        box-shadow: 0 0.8vh 1.8vh rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: translateY(0);
        box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.10);
    }
}

@keyframes hoverEffect {
    0% {
        transform: translateY(0);
        box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.10);
    }

    100% {
        transform: translateY(-0.5vh);
        box-shadow: 0 0.8vh 1.8vh rgba(0, 0, 0, 0.2);
    }
}

.event-card:hover {
    animation: hoverEffect 0.3s forwards;
}

.event-image {
    width: 100%;
    height: 25vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6vh;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-info {
    padding: 2.5vh 2vw;
}

.event-info h3 {
    font-size: 2.5vh;
    margin-bottom: 1.5vh;
    color: #333;
}

.event-info p {
    color: #666;
    margin-bottom: 0.8vh;
    font-size: 1.8vh;
}

.location {
    color: #999;
    font-size: 1.6vh;
}

.event-card:focus-visible {
    outline: 0.4vh solid #ffd166;
    outline-offset: 0.4vh;
}

.event-empty {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4vh;
    padding: 4vh 3vw;
    text-align: center;
    color: #333;
    grid-column: 1 / -1;
}

/* Content Area */
.content-area {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3vw;
    margin-bottom: 6vh;
}

.sidebar,
.main-content {
    background: white;
    padding: 4vh 3vw;
    border-radius: 2vh;
}

.sidebar h3,
.main-content h3 {
    margin-bottom: 2.5vh;
    color: #333;
    font-size: 2.5vh;
}
