/* Basis-Hintergrund leicht absoften */
body {
    background-color: #f5f7fb;
}

/* Wiederverwendbare Styles */

.app-card {
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* Dashboard-Karten (Startseite authentifiziert) */
.app-card-dashboard {
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-card-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

.dashboard-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.04);
    margin-bottom: 0.5rem;
}

.dashboard-icon i {
    font-size: 1.2rem;
}

/* Hero-Bereich Startseite */
.home-hero-main {
    margin-top: 3rem;
    margin-bottom: 3.5rem;
    align-items: flex-start;
}

.hero-eyebrow {
    letter-spacing: 0.18em;
    font-size: 0.7rem;
}

/* Navbar Hover Animation */
.nav-link {
    position: relative;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Events: scrollbarer Bereich */
.event-list-wrapper {
    max-height: 60vh;      /* Desktop: füllt mehr von der Seite */
    overflow-y: auto;
}

/* Events-Seite Layout */
.event-page-main {
    flex-grow: 1;
}

@media (max-width: 576px) {
    /* Mobile: Karte füllt den Bildschirm, Liste füllt Karte */
    .event-page-main {
        padding: 0 !important;
    }

    .event-page-card {
        border-radius: 0;
        box-shadow: none;
        min-height: calc(100vh - 56px - 48px); /* grob: Header + Footer */
    }

    .event-list-wrapper {
        max-height: none;
        height: 100%;
    }

    .home-hero-main {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
}