:root {
    --card-bg: #f0f0f0;
    --card-padding: 20px;
    --card-radius: 10px;
    --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    --text-main: #222;
}

/* Kartenstruktur */
.events-card {
    background: var(--card-bg);
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    max-width: 500px;
    margin: 0 auto;
}

/* Tabs */
.event-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.event-tab {
    background: #eee;
    border: none;
    padding: 6px 12px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-weight: 600;
    color: #444;
    transition: background 0.2s ease;
}

.event-tab.active {
    background: #ddd;
    color: #000;
}

/* Ansichten */
.event-tab-view {
    display: none;
}
.event-tab-view.active {
    display: block;
}

/* Slider */
.event-slider {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.event-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fade 0.5s ease-in-out;
}
.event-slide.active {
    display: flex;
}

@keyframes fade {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Slide Inhalt */
.event-thumb img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.event-data {
    width: 100%;
    font-size: 14px;
}

.event-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 3px;
    text-align: center;
}

.event-line {
    text-align: center;
    color: #555;
    font-size: 13px;
    margin-bottom: 3px;
}

.event-meta {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.event-dlcs {
    text-align: center;
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Punkt-Navigation */
.event-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.event-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}
.event-dot.active {
    background: #333;
}

/* Kalender - Modern und Edler Stil */
.calendar-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 18px;
    padding: 4px 10px;
    cursor: pointer;
    color: #333;
}
.calendar-header button:hover {
    color: #000;
    font-weight: bold;
}

.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
    text-align: center;
}

/* Vor- und Folgemonatstage – leicht grau und deaktiviert */
.calendar-table td.other-month {
    color: #bbb;
    opacity: 0.6;
}

.calendar-table th {
    color: #666;
    font-weight: 600;
    font-size: 13px;
    padding-bottom: 4px;
	text-align: center;
}

.calendar-table td {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.15s ease;
}

/* Heute */
.calendar-table td.today {
    border: 2px solid #ffcc00;
    font-weight: bold;
    color: #000;
}

/* Eigene Events: Orange Kreis */
.calendar-table td.event-own {
    background-color: #ff9900;
    color: #fff;
    font-weight: bold;
}

/* Fremde Events: Blau */
.calendar-table td.event-foreign {
    background-color: #3399ff;
    color: #fff;
    font-weight: bold;
}

/* Hover */
.calendar-table td:hover {
    transform: scale(1.1);
    cursor: pointer;
    background-color: #e6e6e6;
}

/* Kalender Tooltip */
.calendar-tooltip {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    padding: 10px;
    z-index: 9999;
    max-width: 250px;
    font-size: 13px;
    pointer-events: none;
}
.calendar-tooltip img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 5px;
}

