/* ==========================================================================
   SHS WEBINARKALENDER SPECIFIC STYLES (sportbootschule.TV)
   ========================================================================== */

/* --- 1. TABELLEN-LAYOUT --- */
.kalender-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 35px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    border-radius: 14px; 
    overflow: hidden; 
}

.kalender-table th, .kalender-table td { 
    padding: 14px 20px; 
    text-align: left; 
    border-bottom: 1px solid rgba(0,0,0,0.06); 
    vertical-align: middle;
}

.kalender-table th { 
    background-color: #1e3a8a; /* Deep Marine Blue */
    color: #ffffff; 
    text-transform: uppercase; 
    font-size: 0.85em; 
    letter-spacing: 1px; 
}

/* Zeilen-Klassen (Farblogik) */
.row-sss-mo { background-color: #f0f7ff; } 
.row-sss-mi { background-color: #e6fcf5; } 
.row-shs-mo { background-color: #fffbf0; } /* Warmer Navigationston */
.row-shs-mi { background-color: #fff5f0; } 
.row-holiday { background-color: #fcfcfc; color: #94a3b8; font-style: italic; } 
.row-final   { background-color: #fdf2f2; font-weight: bold; border-left: 5px solid #1e40af; }

.kalender-table tr:hover { 
    filter: brightness(0.96);
    transition: all 0.2s ease;
    cursor: default;
}

/* --- 2. BADGES & LABELS --- */
.badge { 
    padding: 5px 10px; 
    border-radius: 6px; 
    font-weight: 700; 
    font-size: 0.85em; 
    display: inline-block; 
}
.badge-sss { color: #1e40af; background: rgba(30, 64, 175, 0.08); }
.badge-shs { color: #b45309; background: rgba(180, 83, 9, 0.08); } /* Edles Navigations-Gold */

/* --- 3. LIGHTBOX SYSTEM --- */
.lightbox { 
    display: none; 
    position: fixed; 
    z-index: 9999; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.85); 
    text-align: center; 
    align-items: center; 
    justify-content: center; 
}

.lightbox img { 
    max-width: 90%; 
    max-height: 90%; 
    margin: auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5); 
}

.lightbox:target { display: flex; }

.lightbox-close { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    color: #fff !important; 
    font-size: 40px; 
    font-weight: bold; 
    text-decoration: none !important; 
    background: rgba(0, 0, 0, 0.5); 
    width: 50px; 
    height: 50px; 
    line-height: 45px; 
    border-radius: 50%; 
    text-align: center; 
    transition: background 0.2s; 
}
.lightbox-close:hover { background: #0284c7; }

/* --- 4. CALL TO ACTION BOX (BUCHUNG LINKSBÜNDIG) --- */
.shs-cal-booking-box {
    text-align: left; 
    margin-top: 40px; 
    padding: 30px; 
    background-color: #f0f7ff; 
    border-radius: 14px; 
    border: 2px dashed #0284c7;
}
.shs-cal-booking-box h3 { 
    color: #1e3a8a; 
    margin-top: 0; 
}
.shs-cal-cta { 
    display: inline-block; 
    background-color: #0284c7; 
    color: #ffffff !important; 
    padding: 14px 30px; 
    text-decoration: none !important; 
    border-radius: 8px; 
    font-weight: bold; 
    font-family: sans-serif; 
    transition: background-color 0.2s, transform 0.25s;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.shs-cal-cta:hover { 
    background-color: #0369a1; 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.35);
}

/* --- 5. RESPONSIVE MEDIA FLAGS --- */
@media (max-width: 768px) {
    .responsive-img { float: none !important; margin: 0 auto 20px auto !important; max-width: 100% !important; }
    .kalender-table { font-size: 0.9em; }
    .kalender-table th, .kalender-table td { padding: 10px 12px; }
}