    /* ==================================================================================
       LIGHTBOX MODAL (iFrame für Neues Konzert)
       ================================================================================== */
    
    /* Modal Container */
    .lmn-lightbox-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999999;
        align-items: center;
        justify-content: center;
        animation: lmnFadeIn 0.2s ease;
    }
    
    @keyframes lmnFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Overlay (Backdrop) */
    .lmn-lightbox-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(4px);
        cursor: pointer;
    }
    
    /* Content Box (iFrame Container) */
    .lmn-lightbox-content {
        position: relative;
        background: white;
        border-radius: 12px;
        width: 85%;
        max-width: 1200px;
        height: 90vh;
        max-height: 900px;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
        animation: lmnSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000000;
        display: flex;
        flex-direction: column;
    }
    
    @keyframes lmnSlideUp {
        from { 
            opacity: 0;
            transform: translateY(30px) scale(0.96);
        }
        to { 
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    /* Close Button (X) - Prominent oben rechts */
    .lmn-lightbox-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        background: rgba(217, 34, 41, 0.9);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .lmn-lightbox-close:hover {
        background: #b01d24;
        transform: scale(1.1) rotate(90deg);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .lmn-lightbox-close:focus {
        outline: 3px solid rgba(217, 34, 41, 0.4);
        outline-offset: 2px;
    }
    
    .lmn-lightbox-close:active {
        transform: scale(0.95);
    }
    
    /* iFrame (vollflächig im Modal) */
    #konzert-lightbox-iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 12px;
        background: white;
    }
    
    /* Mobile Anpassungen */
    @media (max-width: 768px) {
        .lmn-lightbox-content {
            width: 95%;
            height: 95vh;
            border-radius: 16px;
        }
        
        .lmn-lightbox-close {
            top: 12px;
            right: 12px;
            width: 40px;
            height: 40px;
            font-size: 24px;
        }
    }
    
    /* Tablet Anpassungen */
    @media (min-width: 769px) and (max-width: 1024px) {
        .lmn-lightbox-content {
            width: 90%;
            max-width: 900px;
        }
    }
    
    /* Body Scroll Lock (wenn Modal offen) */
    body.lmn-lightbox-open {
        overflow: hidden;
    }
    
    /* ==================================================================================
       DESKTOP TOOLBAR: AUSGEBLENDET (Button ist bereits im FullCalendar Header)
       Suche wurde in Statistik-Zeile integriert (siehe unten)
       ================================================================================== */
    
    .lmn-desktop-toolbar {
        display: none; /* Komplett ausgeblendet - spart eine Zeile (~70px) */
    }
    
    /* Quick-Add Button LINKS (feste Breite, Orange = prominent) */
    .lmn-quick-add-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 52px;
        padding: 0 20px;
        font-size: 16px;
        font-weight: 600;
        color: white;
        background: #f0a92b; /* Orange für Sichtbarkeit */
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0; /* Verhindert Schrumpfen */
        white-space: nowrap; /* Text bleibt in einer Zeile */
        min-width: fit-content; /* Passt sich dem Text an */
    }
    
    .lmn-quick-add-btn .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    
    .lmn-quick-add-btn:hover {
        background: #d49220;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(240, 169, 43, 0.4);
    }
    
    /* Kompakte Suche RECHTS (flexibel, nutzt Rest-Platz) */
    .lmn-search-compact {
        flex: 1; /* Nimmt den gesamten verfügbaren Rest-Platz */
        max-width: 500px; /* Aber maximal 500px, damit nicht zu breit */
        min-width: 250px; /* Mindestens 250px, damit benutzbar */
    }
    
    /* Screen-Reader-Text (Accessibility) */
    .screen-reader-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }
    
    /* Input-Wrapper (Flexbox mit Icon, Input, Button) */
    .lmn-search-input-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }
    
    /* Lupe-Icon im Input (links) */
    .lmn-search-icon {
        position: absolute;
        left: 12px;
        width: 20px;
        height: 20px;
        font-size: 20px;
        color: #999;
        pointer-events: none;
        z-index: 1;
    }
    
    /* Input Field (52px Höhe, kompakt) */
    #lmn-event-search,
    #lmn-event-search-mobile {
        flex: 1;
        height: 52px;
        padding: 10px 16px 10px 40px; /* Links Platz für Icon */
        font-size: 15px; /* Leicht kleiner für kompaktes Design */
        line-height: 1.5;
        border: 1px solid #ddd;
        border-radius: 5px;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        background: white;
        color: #363636;
    }
    
    /* Placeholder mit besserem Kontrast */
    #lmn-event-search::placeholder,
    #lmn-event-search-mobile::placeholder {
        color: #6b6b6b;
        opacity: 1;
    }
    
    /* Focus State (LMN Rot) */
    #lmn-event-search:focus,
    #lmn-event-search-mobile:focus {
        border-color: #d92229;
        box-shadow: 0 0 0 3px rgba(217, 34, 41, 0.1);
    }
    
    /* Submit Button (52px Höhe, Icon-only Desktop) */
    .lmn-search-submit {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px; /* Quadratisch: 52x52px */
        height: 52px;
        padding: 0;
        font-size: 20px;
        color: white;
        background: #8a8b89; /* LMN Grau */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }
    
    .lmn-search-submit .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    
    /* Hover-State */
    .lmn-search-submit:hover {
        background: #6a6b69;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(138, 139, 137, 0.3);
    }
    
    .lmn-search-submit:active {
        transform: translateY(0);
    }
    
    /* Mobile Suche (separate Zeile unter Header, ausgeblendet Desktop) */
    .lmn-mobile-search {
        display: none;
    }
    
    /* ==================================================================================
       RESPONSIVE ANPASSUNGEN (Tablets: 769px - 1024px)
       Button bleibt links, Suche rechts, aber kompakter
       ================================================================================== */
    
    @media (min-width: 769px) and (max-width: 1024px) {
        .lmn-desktop-toolbar {
            gap: 12px; /* Etwas weniger gap */
        }
        
        .lmn-search-compact {
            max-width: 350px; /* Etwas schmaler auf Tablets */
        }
        
        #lmn-event-search {
            font-size: 14px;
        }
    }
    
    /* ==================================================================================
       MOBILE OPTIMIERUNG (<768px)
       Desktop-Toolbar ausblenden, Mobile Header + Separate Suche anzeigen
       ================================================================================== */
    
    @media (max-width: 768px) {
        /* Desktop Toolbar ausblenden */
        .lmn-desktop-toolbar {
            display: none;
        }
        
        /* Mobile Header einblenden */
        .lmn-mobile-header {
            display: flex !important;
        }
        
        /* Mobile Suche einblenden (separate Zeile unter Header) */
        .lmn-mobile-search {
            display: block;
            margin-bottom: 12px;
        }
        
        /* Input auf Mobile angepasst */
        #lmn-event-search-mobile {
            font-size: 16px; /* iOS Zoom-Verhinderung */
            height: 48px;
            padding: 10px 16px 10px 40px;
        }
        
        .lmn-mobile-search .lmn-search-icon {
            left: 12px;
            width: 18px;
            height: 18px;
            font-size: 18px;
        }
        
        /* Button nur Icon (quadratisch) */
        .lmn-mobile-search .lmn-search-submit {
            width: 48px;
            height: 48px;
        }
        
        .lmn-mobile-search .lmn-search-submit .dashicons {
            width: 20px;
            height: 20px;
            font-size: 20px;
        }
    }
    
    /* ==================================================================================
       SEHR SCHMALE SCREENS (<400px)
       Button-Text ausblenden, nur Icon + Suche noch schmaler
       ================================================================================== */
    
    @media (max-width: 400px) {
        .lmn-quick-add-btn span:not(.dashicons) {
            display: none; /* Text ausblenden */
        }
        
        .lmn-quick-add-btn {
            width: 52px; /* Quadratisch: nur Icon */
            padding: 0;
        }
        
        .lmn-search-compact {
            min-width: 180px; /* Noch schmaler */
        }
    }
    
    #lmn-search-info {
        background: #e8f4fd;
        padding: 10px 16px;
        border-radius: 6px;
        margin-bottom: 16px;
        font-size: 14px;
        color: #1976d2;
        font-weight: 500;
    }
    
    /* FullCalendar Buttons kompakter (44px statt 52px) */
    .fc-button {
        min-height: 44px !important;
        padding: 8px 14px !important;
        font-size: 15px !important;
    }
    
    /* Button-Gruppen visuell trennen (Google Calendar Style) */
    .fc-toolbar-chunk {
        display: flex;
        gap: 1px; /* Fast aneinander, nur 1px Trennung */
        align-items: center;
    }
    
    /* Größerer Abstand zwischen Button-Gruppen innerhalb der linken Toolbar */
    .fc-toolbar-chunk:not(:last-child) {
        margin-right: 4px !important; /* Sehr kompakt zwischen Gruppen */
    }
    
    /* Spezieller Abstand nach "Neues Konzert" Button */
    .fc-addKonzert-button {
        margin-right: 2px !important; /* Minimal, gerade noch erkennbar */
    }
    
    .fc-today-button {
        background-color: #d92229 !important;
        border-color: #d92229 !important;
        color: white !important;
        min-height: 44px !important;
        padding: 8px 14px !important;
        font-size: 15px !important;
    }
    
    .fc-today-button:hover {
        background-color: #b01d24 !important;
        border-color: #b01d24 !important;
    }
    
    .fc-today-button:disabled {
        background-color: #8a8b89 !important;
        border-color: #8a8b89 !important;
    }
    
    #lmn-calendar-loader {
        text-align: center;
        padding: 60px 20px;
        background: #f9f9f9;
        border-radius: 4px;
    }
    
    .lmn-spinner {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #363636;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin: 0 auto 20px;
    }
    
    @keyframes spin { 
        0% { transform: rotate(0deg); } 
        100% { transform: rotate(360deg); } 
    }
    
    /* Event-Schrift optimieren */
    .fc-event-title, .fc-event-time { 
        font-size: 13.5px !important; /* War: 13px */
        line-height: 1.3 !important;
        font-weight: 500 !important; /* Neu */
    }
    
    /* Event-Basis mit besserem Border */
    .fc-event {
        border-width: 1px 1px 1px 4px !important; /* Google-Style: dicker linker Rand */
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
        cursor: pointer !important;
    }
    
    /* Hover-State (ohne Tooltip) */
    .fc-event:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 8px rgba(217, 34, 41, 0.25) !important;
        z-index: 10 !important;
    }
    
    .fc-more-link {
        font-size: 13px !important;
    }
    
    /* "X weitere" Link - Text-Style statt Button */
    .fc-more-link-custom,
    .fc-daygrid-more-link {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #d92229 !important;
        padding: 2px 0 !important;
        background: transparent !important;
        border: none !important;
        display: inline-block !important;
        margin-top: 2px !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
        text-decoration: none !important;
    }
    
    .fc-more-link-custom:hover,
    .fc-daygrid-more-link:hover {
        transform: translateY(-1px) !important;
        text-decoration: none !important;
        filter: brightness(0.85) !important;
    }
    
    /* "X weitere" ausgegraut für vergangene Tage */
    .fc-day-past .fc-more-link-custom,
    .fc-day-past .fc-daygrid-more-link {
        color: #999 !important;
        opacity: 0.55 !important;
    }
    
    .fc-day-past .fc-more-link-custom:hover,
    .fc-day-past .fc-daygrid-more-link:hover {
        transform: none !important;
        filter: none !important;
    }
    
    .fc-list-event-title {
        font-size: 14px;
    }
    
    .fc-list-event-time {
        font-weight: 600;
        color: #363636;
    }
    
    .fc-timegrid-event,
    .fc-timegrid-event *,
    .fc-timegrid-event .fc-event-title,
    .fc-timegrid-event .fc-event-time,
    .fc-timegrid-event .fc-event-main,
    .fc-v-event .fc-event-title {
        color: white !important;
    }
    
    .fc-event-past {
        opacity: 0.55 !important;
        color: #999 !important;
    }
    
    .fc-event-past .fc-event-title {
        color: #999 !important;
    }
    
    /* Heute-Markierung wie Google */
    .fc-day-today {
        background-color: rgba(217, 34, 41, 0.05) !important;
    }
    
    .fc-day-today .fc-daygrid-day-number {
        background: #d92229 !important;
        color: white !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 600 !important;
    }
    
    #lmn-event-list-wrapper {
        margin-top: 40px;
        padding-top: 30px;
        border-top: 2px solid #e0e0e0;
    }
    
    #lmn-event-list-title {
        font-size: 22px;
        font-weight: 600;
        margin: 0 0 20px 0;
        color: #363636;
    }
    
    .event-list-items {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .event-list-item-wrapper {
        display: flex;
        gap: 8px;
        align-items: stretch;
    }
    
    .event-list-item {
        display: flex;
        gap: 20px;
        padding: 16px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
        flex: 1;
    }
    
    .event-list-item:hover {
        border-color: #d92229;
        box-shadow: 0 2px 8px rgba(217, 34, 41, 0.15);
        transform: translateY(-1px);
    }
    
    .event-list-action-buttons {
        display: flex;
        gap: 6px;
        align-items: center;
        flex-shrink: 0;
    }
    
    .event-list-edit-btn,
    .event-list-email-btn,
    .event-list-mailer-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: white;
        border-radius: 6px;
        text-decoration: none;
        font-size: 20px;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }
    
    .event-list-edit-btn .dashicons,
    .event-list-email-btn .dashicons,
    .event-list-mailer-btn .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    
    .event-list-edit-btn {
        background: #d92229;
    }
    
    .event-list-email-btn {
        background: #363636;
    }
    
    .event-list-mailer-btn {
        background: #363636;
    }
    
    .event-list-edit-btn:hover {
        background: #b01d24;
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(217, 34, 41, 0.3);
    }
    
    .event-list-email-btn:hover:not(.event-list-btn-disabled) {
        background: #1a1a1a;
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(54, 54, 54, 0.3);
    }
    
    .event-list-mailer-btn:hover {
        background: #1a1a1a;
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(54, 54, 54, 0.3);
    }
    
    /* Deaktivierte Buttons (Event-Liste) */
    .event-list-btn-disabled {
        background: #ccc !important;
        cursor: not-allowed !important;
        opacity: 0.5 !important;
    }
    
    .event-date {
        flex-shrink: 0;
        width: 100px;
        text-align: center;
        padding: 8px;
        background: #f5f5f5;
        border-radius: 6px;
        font-weight: 600;
        font-size: 14px;
        color: #8a8b89;
    }
    
    .event-time {
        font-size: 13px;
        color: #8a8b89;
        font-weight: 500;
    }
    
    .event-details {
        flex: 1;
    }
    
    .event-title {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 6px;
        color: #1976d2;
    }
    
    .event-venue {
        font-size: 14px;
        color: #8a8b89;
        margin-bottom: 4px;
    }
    
    .event-musiker {
        font-size: 13px;
        color: #8a8b89;
        font-style: italic;
    }
    
    .no-events {
        text-align: center;
        padding: 40px 20px;
        color: #8a8b89;
        font-size: 16px;
    }
    
    .more-events {
        text-align: center;
        padding: 16px;
        color: #8a8b89;
        font-size: 14px;
        font-style: italic;
    }
    
    /* ==================================================================================
       TOOLTIP STYLING (Google Kalender inspiriert, 60+ optimiert)
       ================================================================================== */
    
    .tippy-box[data-theme~='light-border'] {
        background-color: white;
        color: #363636;
        border: 1px solid #ddd;
        box-shadow: 0 4px 14px rgba(0,0,0,0.15);
        max-width: 600px !important;
        width: max-content !important;
    }
    
    .tippy-box[data-theme~='light-border'] .tippy-content {
        padding: 0; /* Padding now in wrapper */
        max-width: 600px;
        min-width: 280px;
    }
    
    /* Tooltip Wrapper */
    .lmn-tooltip-wrapper {
        padding: 16px;
        line-height: 1.6;
    }
    
    /* Header mit Titel + Icon-Leiste + X-Button */
    .lmn-tooltip-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 2px solid #e0e0e0;
    }
    
    /* Icon-Leiste (Abrechnungsbogen, Erfassungsbogen, 3-Punkte) */
    .lmn-tooltip-icons {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    
    /* Icon-Button (32x32px wie Google Calendar) */
    .lmn-tooltip-icon-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #8a8b89;
        font-size: 20px;
        cursor: pointer;
        border-radius: 50%;
        transition: background 0.2s, color 0.2s;
        text-decoration: none;
        flex-shrink: 0;
    }
    
    .lmn-tooltip-icon-btn:hover {
        background: #f5f5f5;
        color: #363636;
    }
    
    .lmn-tooltip-icon-btn .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    
    .lmn-tooltip-title-link {
        flex: 1;
        font-size: 20px; /* Groß und lesbar */
        font-weight: 700;
        color: #d92229;
        text-decoration: none;
        line-height: 1.3;
    }
    
    .lmn-tooltip-title-link:hover {
        text-decoration: underline;
    }
    
    /* 3-Punkte-Menü Wrapper (Container für Button + Dropdown) */
    .lmn-tooltip-menu-wrapper {
        position: relative;
        flex-shrink: 0;
    }
    
    /* 3-Punkte-Button (32x32px, jetzt rund wie die Icons) */
    .lmn-tooltip-menu-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #8a8b89;
        font-size: 24px;
        cursor: pointer;
        border-radius: 50%;
        transition: background 0.2s, color 0.2s;
        padding: 0;
    }
    
    .lmn-tooltip-menu-btn:hover {
        background: #f5f5f5;
        color: #363636;
    }
    
    .lmn-tooltip-menu-btn .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
        transform: rotate(90deg); /* Vertikal: ⋮ statt ⋯ */
    }
    
    /* Dropdown-Menü (versteckt standardmäßig) */
    .lmn-tooltip-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 4px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        min-width: 240px;
        z-index: 1000;
        display: none;
    }
    
    /* Dropdown aktiv (sichtbar) */
    .lmn-tooltip-dropdown.lmn-dropdown-active {
        display: block;
    }
    
    /* Dropdown-Item (Link) */
    .lmn-dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        color: #363636;
        text-decoration: none;
        font-size: 15px;
        transition: background 0.2s;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .lmn-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .lmn-dropdown-item:hover {
        background: #f5f5f5;
    }
    
    .lmn-dropdown-item .dashicons {
        width: 18px;
        height: 18px;
        font-size: 18px;
        color: #8a8b89;
        flex-shrink: 0;
    }
    
    /* X-Button (32x32px Klickfläche) */
    .lmn-tooltip-close {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #8a8b89;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        border-radius: 4px;
        transition: background 0.2s, color 0.2s;
        padding: 0;
    }
    
    .lmn-tooltip-close:hover {
        background: #f5f5f5;
        color: #363636;
    }
    
    /* Mobile: Close-Button nach unten rechts (WordPress Admin-Bar Konflikt vermeiden) */
    @media (max-width: 768px) {
        .lmn-tooltip-close {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 56px;
            height: 56px;
            background: #d92229;
            color: white;
            font-size: 32px;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 1000001; /* Über allem */
        }
        
        .lmn-tooltip-close:hover {
            background: #b01d24;
            transform: scale(1.05);
        }
    }
    
    /* Datum/Uhrzeit unter Titel */
    .lmn-tooltip-datetime {
        font-size: 16px;
        color: #555;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    /* Sections mit Icon + Content */
    .lmn-tooltip-section {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 14px;
    }
    
    /* Icons (32x32px) - Dashicons */
    .lmn-tooltip-icon {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        font-size: 32px; /* Dashicons-Größe */
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8a8b89; /* LMN Grau */
    }
    
    .lmn-tooltip-icon.dashicons {
        font-family: dashicons;
        font-size: 20px; /* Optimale Größe für Dashicons in 32x32px Container */
    }
    
    /* Content neben Icon - EXPLIZIT DUNKEL */
    .lmn-tooltip-content {
        flex: 1;
        font-size: 16px;
        line-height: 1.6;
        color: #363636 !important; /* Explizit dunkel */
    }
    
    /* Label (Fettschrift) - EXPLIZIT DUNKEL */
    .lmn-tooltip-label {
        font-weight: 600;
        color: #363636 !important; /* Explizit dunkel für bessere Lesbarkeit */
    }
    
    /* Links in Tooltip */
    .lmn-tooltip-link {
        color: #d92229;
        text-decoration: none;
        cursor: pointer;
        transition: text-decoration 0.2s;
    }
    
    .lmn-tooltip-link:hover {
        text-decoration: underline;
    }
    
    /* Adresse (kleinere Schrift) */
    .lmn-tooltip-address {
        font-size: 14px;
        color: #555;  /* 8.59:1 - WCAG AAA konform (optimal für 60+) */
        font-style: normal;
    }
    
    /* Musiker-Liste mit Instrumenten */
    .lmn-tooltip-musiker-list {
        font-size: 14px;
        color: #555;
        display: inline-block;
}

    /* Links innerhalb Musiker-Liste auch styling */
    .lmn-tooltip-link.lmn-tooltip-musiker-list {
        font-size: 14px;
        color: #555;
        text-decoration: none;
    }

    .lmn-tooltip-link.lmn-tooltip-musiker-list:hover {
        text-decoration: underline;
        color: #333;
    }
    
    /* Doppelkonzert-Hinweis */
    .lmn-tooltip-doppelkonzert {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e0e0e0;
        color: #d92229;
        font-weight: 600;
        font-size: 16px;
    }
    
    /* Action Buttons (unten) */
    .lmn-tooltip-actions {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 2px solid #e0e0e0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Button Base Style (44x44px minimum, kompakter für 3 Buttons) */
    .lmn-tooltip-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 44px; /* Touch-friendly */
        padding: 10px 12px; /* Etwas mehr Platz: 12px statt 10px */
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.2s ease;
        color: white;
    }
    
    .lmn-tooltip-btn .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    
    /* Button Varianten (UX-optimiert für Admin-Workflow) */
    .lmn-tooltip-btn-mailer {
        background: #d92229; /* Rot - Primäre Aktion */
    }
    
    .lmn-tooltip-btn-mailer:hover {
        background: #b01d24;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(217, 34, 41, 0.3);
    }
    
    .lmn-tooltip-btn-email {
        background: #8a8b89; /* Hellgrau - Tertiär, nur Info */
    }
    
    .lmn-tooltip-btn-email:hover {
        background: #6a6b69;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(138, 139, 137, 0.3);
    }
    
    .lmn-tooltip-btn-edit {
        background: #363636; /* Dunkelgrau - Sekundär, wichtig aber seltener */
    }
    
    .lmn-tooltip-btn-edit:hover {
        background: #1a1a1a;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(54, 54, 54, 0.3);
    }
    
    /* Deaktivierte Buttons (Tooltip) */
    .lmn-tooltip-btn-disabled {
        background: #ccc !important;
        cursor: not-allowed !important;
        opacity: 0.5 !important;
    }
    
    .lmn-tooltip-btn-disabled:hover {
        transform: none !important;
        box-shadow: none !important;
        background: #ccc !important;
    }
    
    /* Mobile Optimierung */
    @media (max-width: 768px) {
        /* Tooltip nicht fullscreen - Platz für Admin-Bar + Bricks Header */
        .tippy-box[data-theme~='light-border'] {
            position: fixed !important;
            top: 120px !important; /* Admin-Bar (46px) + Bricks Header (~60-70px) + Buffer */
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: calc(100vh - 120px) !important;
            max-width: 100vw !important;
            max-height: calc(100vh - 120px) !important;
            margin: 0 !important;
            border-radius: 12px 12px 0 0 !important; /* Oben abgerundet */
            transform: none !important;
        }
        
        /* Tooltip Content scrollbar (angepasste Höhe) */
        .tippy-box[data-theme~='light-border'] .tippy-content {
            height: calc(100vh - 120px);
            max-height: calc(100vh - 120px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        /* Arrow ausblenden auf Fullscreen */
        .tippy-box[data-theme~='light-border'] .tippy-arrow {
            display: none !important;
        }
        
        /* Wrapper: Angepasstes Padding (nicht mehr fullscreen) */
        .lmn-tooltip-wrapper {
            padding: 20px;
            min-height: auto; /* Nicht mehr 100vh */
            box-sizing: border-box;
        }
        
        .lmn-tooltip-title-link {
            font-size: 18px;
        }
        
        .lmn-tooltip-datetime,
        .lmn-tooltip-content {
            font-size: 15px;
        }
        
        .lmn-tooltip-btn {
            font-size: 15px;
            padding: 12px 16px; /* Etwas mehr Padding für bessere Touch-Targets */
            width: 100%; /* Full-width auf Mobile */
            justify-content: center; /* Text zentriert */
        }
        
        .lmn-tooltip-actions {
            gap: 8px; /* Etwas mehr gap zwischen Buttons */
            flex-direction: column; /* Buttons untereinander stapeln */
        }
        
        .lmn-tooltip-dropdown {
            min-width: 220px;
        }
        
        .lmn-dropdown-item {
            padding: 10px 14px;
            font-size: 14px;
        }
    }
    
    .tippy-box[data-theme~='light-border'][data-placement^='top'] > .tippy-arrow::before {
        border-top-color: white;
    }
    
    .tippy-box[data-theme~='light-border'][data-placement^='bottom'] > .tippy-arrow::before {
        border-bottom-color: white;
    }
    
    .tippy-box[data-theme~='light-border'][data-placement^='left'] > .tippy-arrow::before {
        border-left-color: white;
    }
    
    .tippy-box[data-theme~='light-border'][data-placement^='right'] > .tippy-arrow::before {
        border-right-color: white;
    }
    
    /* ==================================================================================
       BEWERTUNGS-INDICATOR (Punkt → Stern Conversion)
       ================================================================================== */
    
    /* Ansatz: Punkt ausblenden, Stern an gleicher Position anzeigen */
    /* Farbe wird von FullCalendar Event-Color übernommen */
    
    /* Punkt ausblenden bei Events mit Bewertung */
    .fc-event-past[data-has-bewertung="true"] .fc-daygrid-event-dot {
        border-color: transparent !important;
        background: transparent !important;
    }
    
    .fc-event-past[data-has-bewertung="true"] .fc-daygrid-event-dot::before {
        content: "" !important; /* Punkt entfernen */
    }
    
    /* Stern an gleicher Position wie Punkt (links vom Text) */
    .fc-event-past[data-has-bewertung="true"]::before {
        content: "★";
        position: absolute;
        left: 3px; /* Angepasst für exakte Punkt-Position */
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px; /* Ähnliche Größe wie Punkt */
        line-height: 1;
        z-index: 1;
        pointer-events: none;
    }
    
    /* Farbe für normale Konzerte (blau) - FullCalendar Default */
    .fc-event-past[data-has-bewertung="true"]::before {
        color: #3788d8; /* FullCalendar Default Blau */
    }
    
    /* Farbe für Doppelkonzerte (rot) */
    .fc-event-past[data-has-bewertung="true"][style*="rgb(217, 34, 41)"]::before,
    .fc-event-past[data-has-bewertung="true"][style*="#d92229"]::before {
        color: #d92229; /* LMN Rot */
    }
    
    /* Mobile: Stern etwas größer */
    @media (max-width: 768px) {
        .fc-event-past[data-has-bewertung="true"]::before {
            font-size: 11px;
        }
    }
    
    /* Touch-Targets Mobile */
    @media (max-width: 768px) {
        /* ==================================================================================
           MOBILE HEADER RADIKAL VEREINFACHT
           ================================================================================== */
        
        /* Standard FullCalendar Header komplett ausblenden auf Mobile */
        .fc-header-toolbar {
            display: none !important;
        }
        
        /* Custom Mobile Header Container (Flexbox statt absolute) */
        #lmn-calendar-v2-wrapper {
            position: relative;
        }
        
        /* Mobile Header Wrapper (alle Elemente in einer Zeile) */
        .lmn-mobile-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }
        
        /* Neues Konzert Button: Klein + Icon-only auf Mobile */
        .lmn-quick-add-mobile {
            flex-shrink: 0;
            margin-bottom: 0;
        }
        
        /* Mobile: Button wird kleiner und Icon-only */
        .lmn-mobile-header .lmn-quick-add-btn {
            width: 40px;
            height: 40px;
            min-width: 40px;
            padding: 0;
            background: #ccc; /* Dezent: Grau statt Orange */
            border-radius: 6px;
            gap: 0;
        }
        
        .lmn-mobile-header .lmn-quick-add-btn .dashicons {
            width: 24px;
            height: 24px;
            font-size: 24px;
            margin: 0;
        }
        
        /* Text ausblenden auf Mobile */
        .lmn-mobile-header .lmn-quick-add-btn span:not(.dashicons) {
            display: none;
        }
        
        .lmn-mobile-header .lmn-quick-add-btn:hover {
            background: #999;
        }
        
        /* FALLBACK: Falls FullCalendar doch Buttons rendert */
        .fc-toolbar-chunk {
            display: none !important;
        }
        
        /* ==================================================================================
           MOBILE VIEW SWITCHER (M/L Toggle)
           ================================================================================== */
        
        .lmn-mobile-view-switcher {
            display: flex;
            gap: 4px;
            background: #f5f5f5;
            padding: 4px;
            border-radius: 8px;
            flex-shrink: 0;
        }
        
        .lmn-view-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            width: 56px; /* Noch kompakter: 56px */
            height: 32px; /* Noch kleiner: 32px */
            padding: 0 6px;
            background: transparent;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            color: #666;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .lmn-view-btn .dashicons {
            width: 16px;
            height: 16px;
            font-size: 16px;
        }
        
        .lmn-view-btn-active {
            background: white;
            color: #363636;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .lmn-view-btn:hover:not(.lmn-view-btn-active) {
            background: rgba(0,0,0,0.05);
        }
        
        /* ==================================================================================
           MOBILE NAVIGATION (Prev/Next + Monatsname)
           ================================================================================== */
        
        .lmn-mobile-nav {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            min-width: 0;
        }
        
        .lmn-nav-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px; /* Kompakter: 36x36px */
            height: 32px; /* Gleiche Höhe wie View-Switcher */
            padding: 0;
            background: #f5f5f5;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            color: #363636;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        
        .lmn-nav-btn .dashicons {
            width: 20px;
            height: 20px;
            font-size: 20px;
        }
        
        .lmn-nav-btn:hover {
            background: #e0e0e0;
        }
        
        .lmn-nav-today {
            width: auto;
            padding: 0 10px;
            font-size: 12px;
        }
        
        .lmn-mobile-month-title {
            flex: 1;
            text-align: left;
            font-size: 14px;
            font-weight: 600;
            color: #363636;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-left: 8px;
        }
        .fc-button {
            min-width: 44px !important;
            min-height: 44px !important;
            font-size: 15px !important;
            padding: 8px 14px !important;
        }
        
        /* Event-Liste auf Mobile */
        .event-list-item {
            flex-direction: column;
            gap: 12px;
        }
        
        .event-date {
            width: 100%;
        }
        
        .event-list-item-wrapper {
            flex-direction: row;
            align-items: center;
        }
        
        .event-list-action-buttons {
            flex-direction: row;
            gap: 6px;
        }
        
        .event-list-edit-btn,
        .event-list-email-btn,
        .event-list-mailer-btn {
            width: 44px;
            height: 44px;
        }
    }
    
    /* ==================================================================================
       QUICK-ADD BUTTON (MOBILE + DESKTOP)
       ================================================================================== */
    
    /* Mobile Button Wrapper (in Mobile Header integriert) */
    .lmn-quick-add-mobile {
        display: none; /* Standard ausgeblendet */
    }
    
    /* HINWEIS: Quick-Add Button wird bereits oben in DESKTOP TOOLBAR definiert (Zeile ~107)
       Keine zweite Definition nötig - würde die erste überschreiben! */
    
    /* Desktop: FullCalendar Custom Button Override */
    .fc-addKonzert-button {
        background: #f0a92b !important; /* Orange für bessere Sichtbarkeit */
        border-color: #f0a92b !important;
        color: white !important;
        font-weight: 600 !important;
        min-height: 44px !important;
        padding: 8px 14px !important;
        font-size: 15px !important;
        transition: all 0.2s ease !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    
    /* Icon per CSS ::before einfügen (FullCalendar escaped HTML im text) */
    .fc-addKonzert-button::before {
        content: "\f502"; /* dashicons-plus-alt2 Unicode */
        font-family: dashicons;
        font-size: 18px;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fc-addKonzert-button:hover {
        background: #d49220 !important; /* Dunkleres Orange beim Hover */
        border-color: #d49220 !important;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(240, 169, 43, 0.4) !important;
    }
    
    .fc-addKonzert-button:active {
        transform: translateY(0);
    }
    
    /* Desktop: Mobile Button ausblenden */
    @media (min-width: 769px) {
        .lmn-quick-add-mobile {
            display: none;
        }
    }
    
    /* Mobile: Desktop Button bleibt in FullCalendar Header */
    @media (max-width: 768px) {
        .fc-addKonzert-button {
            display: none !important; /* Desktop-Button auf Mobile verstecken */
        }
    }
    
    @media (max-width: 480px) {
        .fc-dayGridMonth-button {
            text-indent: -9999px;
            width: 40px;
            position: relative;
        }
        
        .fc-dayGridMonth-button:before {
            content: "M";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            text-indent: 0;
        }
        
        .fc-timeGridWeek-button {
            text-indent: -9999px;
            width: 40px;
            position: relative;
        }
        
        .fc-timeGridWeek-button:before {
            content: "W";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            text-indent: 0;
        }
        
        .fc-multiMonthYear-button {
            text-indent: -9999px;
            width: 40px;
            position: relative;
        }
        
        .fc-multiMonthYear-button:before {
            content: "J";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            text-indent: 0;
        }
        
        .fc-listMonth-button {
            text-indent: -9999px;
            width: 40px;
            position: relative;
        }
        
        .fc-listMonth-button:before {
            content: "L";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            text-indent: 0;
        }
    }
    
/* ==================================================================================
   SUCH-MODAL (Google-Style Overlay)
   ================================================================================== */

.lmn-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999998;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px; /* Platz für Admin-Bar + Buffer */
}

.lmn-search-modal.active {
    display: flex;
}

/* Overlay (Backdrop) */
.lmn-search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

/* Content Box */
.lmn-search-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header mit Suchfeld */
.lmn-search-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.lmn-search-modal-header .lmn-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Lupe-Icon */
.lmn-search-modal-header .lmn-search-icon {
    position: absolute;
    left: 18px;
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: #999;
    pointer-events: none;
    z-index: 1;
}

/* Input Field (60px Höhe, groß für 60+) */
#lmn-event-search {
    flex: 1;
    height: 60px;
    padding: 14px 64px 14px 54px; /* Links Lupe, rechts X-Button */
    font-size: 17px;
    line-height: 1.5;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: #363636;
}

#lmn-event-search::placeholder {
    color: #999;
    opacity: 1;
}

#lmn-event-search:focus {
    border-color: #d92229;
    box-shadow: 0 0 0 4px rgba(217, 34, 41, 0.1);
}

/* Close Button (X) */
.lmn-search-close {
    position: absolute;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.lmn-search-close:hover {
    background: #f5f5f5;
    color: #363636;
}

.lmn-search-close .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

/* Body mit Ergebnissen */
.lmn-search-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

/* Search Info Banner */
.lmn-search-modal-body #lmn-search-info-modal {
    margin-bottom: 16px;
    background: #e8f4fd;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #1976d2;
    font-weight: 500;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .lmn-search-modal {
        padding-top: 80px;
    }
    
    .lmn-search-modal-content {
        width: 95%;
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
    }
    
    .lmn-search-modal-header {
        padding: 20px;
    }
    
    #lmn-event-search {
        font-size: 16px; /* iOS Zoom-Verhinderung */
        height: 56px;
    }
    
    .lmn-search-modal-body {
        padding: 16px 20px;
    }
}

/* CSS für Lupen-Button im FullCalendar Header */
.fc-searchModal-button::before {
    content: "\f179"; /* dashicons-search */
    font-family: dashicons;
    font-size: 18px; /* Etwas kleiner für bessere Proportion */
}

.fc-searchModal-button {
    min-width: 44px !important;
    height: 44px !important; /* Explizite Höhe statt min-height */
    max-height: 44px !important; /* Maximale Höhe begrenzen */
    padding: 10px !important; /* Symmetrisches Padding für Icon-only Button */
    line-height: 1 !important; /* Line-height zurücksetzen */
    font-size: 15px !important;
    box-sizing: border-box !important; /* Padding in Höhe einrechnen */
}

/* ==================================================================================
   KALENDER-LEGENDE (2025-11-15 - ZWEIZEILIG: Actions + Info)
   Zeile 1: Navigation, Filter, Export | Zeile 2: Statistik mit Monat, Legende
   ================================================================================== */

.lmn-calendar-legend {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    margin: 20px 0 0 0;
    background: #f9f9f9;
    border-radius: 4px;
}

/* ==================================================================================
   ZEILE 1: ACTIONS (Navigation, Filter, Export)
   ================================================================================== */

.lmn-legend-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Navigation: Prev/Next (links) */
.lmn-legend-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lmn-legend-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Größer: 40px statt 32px */
    height: 40px;
    padding: 0;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.lmn-legend-nav-btn .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.lmn-legend-nav-btn:hover {
    border-color: #d92229;
    background: #fff5f5;
    color: #d92229;
    transform: scale(1.05);
}

.lmn-legend-nav-btn:active {
    transform: scale(0.95);
}

/* Betreuer-Filter (mitte, flexibel) */
.lmn-betreuer-filter-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1; /* Nimmt verfügbaren Platz */
    max-width: 400px; /* Aber maximal 400px */
}

.lmn-betreuer-filter {
    width: 100%; /* FIXED 2025-11-15: width statt flex für natives Select */
    min-width: 0; /* Erlaubt Flexbox-Wrapper zu schrumpfen */
    min-height: 44px;
    padding: 0 35px 0 14px; /* Rechts Platz für Dropdown-Pfeil */
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23666' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    white-space: nowrap;
}

.lmn-betreuer-filter:hover {
    border-color: #999;
    background-color: #f9f9f9;
}

.lmn-betreuer-filter:focus {
    outline: none;
    border-color: #d92229;
    box-shadow: 0 0 0 3px rgba(217, 34, 41, 0.1);
}

/* Aktiv-State: Roter Border + roter Hintergrund */
.lmn-betreuer-filter.is-filtered {
    border-color: #d92229;
    background-color: #fff5f5;
    font-weight: 700;
}

/* Reset-Button */
.lmn-betreuer-reset {
    width: 40px; /* Größer: 40px statt 36px */
    height: 40px;
    padding: 0;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none; /* Per JS auf flex */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lmn-betreuer-reset:hover {
    background: #d92229;
    border-color: #d92229;
}

.lmn-betreuer-reset:hover .dashicons {
    color: white;
}

.lmn-betreuer-reset .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #666;
    transition: color 0.2s ease;
}

/* Disabled State */
.lmn-betreuer-filter:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

/* CSV-Export Button (rechts, prominent) */
.lmn-csv-export-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px; /* Größer: 48px statt 44px */
    padding: 0 20px;
    font-size: 15px;
    font-weight: 700; /* Fetter */
    color: white;
    background: #d92229; /* LMN-Rot statt Grau */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(217, 34, 41, 0.2);
}

.lmn-csv-export-btn .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.lmn-csv-export-btn:hover {
    background: #b01d24;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 34, 41, 0.3);
}

.lmn-csv-export-btn:active {
    transform: translateY(0);
}

/* Loading State */
.lmn-csv-export-btn.loading {
    background: #4a90e2;
    cursor: wait;
}

.lmn-csv-export-btn.loading .dashicons::before {
    content: "\f463" !important; /* dashicons-update */
    animation: spin 1s linear infinite;
}

/* Success State */
.lmn-csv-export-btn.success {
    background: #46b450;
}

.lmn-csv-export-btn.success .dashicons::before {
    content: "\f147" !important; /* dashicons-yes */
}

/* Error State */
.lmn-csv-export-btn.error {
    background: #dc3232;
}

.lmn-csv-export-btn.error .dashicons::before {
    content: "\f153" !important; /* dashicons-no */
}

/* ==================================================================================
   ZEILE 2: INFO (Statistik mit Monat, Legende)
   ================================================================================== */

.lmn-legend-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Statistik mit Monat (links) */
.lmn-legend-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px; /* Größer: 16px statt 15px */
    font-weight: 600; /* Fetter */
    color: #363636;
    flex-shrink: 0;
}

.lmn-stats-month {
    font-weight: 700; /* Monat noch fetter */
    color: #d92229; /* LMN-Rot für Hervorhebung */
}

.lmn-legend-stats .lmn-stats-separator {
    color: #999;
    padding: 0 4px;
}

/* Legende (rechts) */
.lmn-legend-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end; /* Rechtsbündig */
}

.lmn-legend-title {
    font-weight: 600;
    font-size: 15px;
    color: #363636;
    margin-right: 8px;
}

.lmn-legend-items {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lmn-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px; /* Größer: 15px statt 14px */
    color: #363636; /* Dunkler für Kontrast */
}

.lmn-legend-separator {
    color: #ccc;
    padding: 0 6px;
}

/* Visuelle Marker (größer) */
.lmn-legend-marker {
    display: inline-block;
    width: 24px; /* Größer: 24px statt 20px */
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Blauer Punkt (Standard) */
.lmn-legend-blue {
    background-color: #3788d8;
    border: 2px solid #2b6cb0;
}

/* Oranger Punkt (Fragebogen) */
.lmn-legend-orange {
    background-color: #f0a92b;
    border: 2px solid #d49220;
}

/* Gestrichelte rote Border (ohne Ensemble) */
.lmn-legend-red-dashed {
    background-color: transparent;
    border: 2px dashed #dc3545;
}

/* ==================================================================================
   MOBILE OPTIMIERUNG (<768px)
   Filter & CSV-Export ausblenden, Legende untereinander
   ================================================================================== */

/* Desktop-Only Elemente (ausblenden auf Mobile) */
.lmn-desktop-only {
    display: flex; /* Desktop: sichtbar */
}

@media (max-width: 768px) {
    /* Desktop-Only ausblenden */
    .lmn-desktop-only {
        display: none !important;
    }
    
    /* Kalender-Legende kompakter */
    .lmn-calendar-legend {
        padding: 12px 16px;
        gap: 12px;
    }
    
    /* Zeile 1: Actions - Navigation bleibt, Filter + Export weg */
    .lmn-legend-actions {
        justify-content: center; /* Navigation zentriert */
    }
    
    /* Navigation größer auf Mobile */
    .lmn-legend-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    /* Zeile 2: Info - Statistik + Legende untereinander */
    .lmn-legend-info {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    /* Statistik zentriert */
    .lmn-legend-stats {
        justify-content: center;
        font-size: 15px;
    }
    
    /* Legende untereinander, nicht rechtsbündig */
    .lmn-legend-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .lmn-legend-title {
        margin-right: 0;
        margin-bottom: 4px;
        font-size: 14px;
    }
    
    .lmn-legend-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .lmn-legend-separator {
        display: none;
    }
    
    .lmn-legend-item {
        font-size: 14px;
    }
    
    .lmn-legend-marker {
        width: 20px;
        height: 20px;
    }
}

/* ==================================================================================
   UX-MARKIERUNG: KONZERTE OHNE ENSEMBLE (2025-11-14)
   Rote gestrichelte Border als deutliche visuelle Warnung für 60+ Zielgruppe
   ================================================================================== */

/* Rote gestrichelte Border für Events ohne Ensemble */
.fc-event.lmn-event-no-ensemble {
    border: 2px dashed #dc3545 !important; /* Bootstrap Danger Red */
    border-left-width: 4px !important; /* Linker Rand bleibt dicker (Google-Style) */
}

/* Hover-State verstärken für bessere Sichtbarkeit */
.fc-event.lmn-event-no-ensemble:hover {
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.35) !important; /* Stärkerer Schatten */
    transform: translateY(-2px) !important; /* Etwas mehr Lift */
}

/* Listview: Auch dort markieren */
.fc-list-event.lmn-event-no-ensemble .fc-list-event-dot {
    border-color: #dc3545 !important;
}

.fc-list-event.lmn-event-no-ensemble {
    border-left: 4px solid #dc3545 !important;
    background: rgba(220, 53, 69, 0.05) !important;
}

/* ==================================================================================
   REFRESH-BUTTON (2025-11-16)
   ================================================================================== */

/* Container für beide Buttons (CSV + Refresh) */
.lmn-legend-actions-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Basis-Styling Refresh-Button */
.lmn-calendar-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: #0073aa; /* WordPress-Blau */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.lmn-calendar-refresh-btn .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.lmn-calendar-refresh-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.lmn-calendar-refresh-btn:active {
    transform: translateY(0);
}

/* Loading State */
.lmn-calendar-refresh-btn.loading {
    background: #7e8993;
    cursor: wait;
    pointer-events: none;
}

.lmn-calendar-refresh-btn.loading .dashicons::before {
    content: "\f463" !important; /* dashicons-update */
    animation: spin 1s linear infinite;
}

/* Success State */
.lmn-calendar-refresh-btn.success {
    background: #46b450;
    cursor: default;
    pointer-events: none;
}

.lmn-calendar-refresh-btn.success .dashicons::before {
    content: "\f147" !important; /* dashicons-yes */
}

/* Error State */
.lmn-calendar-refresh-btn.error {
    background: #dc3232;
    cursor: default;
    pointer-events: none;
}

.lmn-calendar-refresh-btn.error .dashicons::before {
    content: "\f153" !important; /* dashicons-no */
}

/* Disabled State */
.lmn-calendar-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive: Mobile Hidden (wie CSV-Export) */
@media (max-width: 768px) {
    .lmn-calendar-refresh-btn {
        display: none !important;
    }
}

/* ==================================================================================
   KALENDER-REFRESH-OVERLAY (2025-11-16)
   Zeigt Loading-State über dem Kalender während Refresh
   ================================================================================== */

/* Kalender-Wrapper muss position: relative haben */
#lmn-calendar-v2-wrapper {
    position: relative;
}

/* Overlay (positioniert sich über #lmn-calendar-v2) */
#lmn-refresh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 249, 249, 0.95); /* Fast opak */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Über Kalender, unter Tooltips */
    border-radius: 4px;
    pointer-events: all; /* Blockiert Klicks während Reload */
}

/* Overlay Content (Spinner + Text) */
.lmn-refresh-overlay-content {
    text-align: center;
}

.lmn-refresh-overlay-content p {
    font-size: 18px;
    font-weight: 600;
    color: #363636;
    margin: 16px 0 0 0;
    line-height: 1.4;
}

/* Mobile: Kleinerer Text */
@media (max-width: 768px) {
    .lmn-refresh-overlay-content p {
        font-size: 16px;
    }
}

/* ==================================================================================
   BUTTON TOOLTIPS NUKLEAR (DOM-basiert im body, 2025-11-16)
   Tooltips außerhalb von FullCalendar = keine CSS-Konflikte mehr
   ================================================================================== */

/* Tooltip-Wrapper (positioniert sich über JS) */
.lmn-tooltip-wrapper-nuclear {
    position: fixed;
    transform: translate(-50%, -100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Sichtbar-State */
.lmn-tooltip-wrapper-nuclear.lmn-tooltip-visible {
    opacity: 1 !important;
    transform: translate(-50%, calc(-100% - 4px)) !important;
}

/* Tooltip Container (OHNE !important - kein FullCalendar mehr) */
.lmn-button-tooltip-nuclear {
    background: rgb(54, 54, 54);
    color: rgb(255, 255, 255);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    width: 320px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    white-space: normal;
    word-wrap: break-word;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Pfeil */
.lmn-button-tooltip-arrow-nuclear {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgb(54, 54, 54);
}
