    /* --- 1. BASIC SETUP (Empowered Voice Mode) --- */
    .trainer-wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
        min-height: 100vh;
        /* Verlauf: Deep Purple -> Magenta -> Blue */
        background: linear-gradient(135deg, #4c1d95 0%, #db2777 50%, #2563eb 100%);
        color: #ffffff;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        overflow-x: hidden;
        position: relative;
        padding-bottom: 6rem;
    }

    /* --- 2. ANIMATED BACKGROUND --- */
    .bg-element {
        position: absolute;
        opacity: 0.1;
        pointer-events: none;
        animation: float 16s ease-in-out infinite;
        z-index: 0;
        color: #fff;
    }
    
    /* Sprechblasen */
    .bg-chat-bubble { top: 10%; left: 5%; width: 120px; }
    /* Mikrofon */
    .bg-mic { bottom: 15%; right: 10%; width: 140px; animation-delay: 3s; }
    /* Blitz/Funke */
    .bg-spark { top: 40%; right: 20%; width: 80px; animation-delay: 6s; }

    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-25px) rotate(5deg); }
    }

    /* --- 3. CONTAINER --- */
    .main-container {
        position: relative;
        z-index: 10;
        max-width: 1000px;
        margin: 0 auto;
        padding: 4rem 1.5rem;
    }

    /* --- 4. HERO SECTION --- */
    .trainer-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .header-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        display: inline-block;
        filter: drop-shadow(0 0 20px rgba(219, 39, 119, 0.4));
        animation: pulse 3s infinite;
    }

    .trainer-title {
        font-size: 3rem;
        font-weight: 800;
        margin: 0 0 1rem 0;
        /* Helles Weiß mit leichtem Pink-Glow */
        text-shadow: 0 0 30px rgba(219, 39, 119, 0.5);
        line-height: 1.1;
    }

    .trainer-desc {
        font-size: 1.15rem;
        line-height: 1.6;
        color: rgba(255,255,255,0.9);
        max-width: 700px;
        margin: 0 auto 2rem auto;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    /* --- 5. GLASS CARD (Main Interface) --- */
    .glass-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 24px;
        padding: 2.5rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    }

    /* --- 6. PRIVACY BOX --- */
    .privacy-box {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin-bottom: 2rem;
        font-size: 0.9rem;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    /* --- 7. SHORTCODE STYLING (The Chat Interface) --- */
    
    /* Headings */
    .neelix-shortcode-container:not(.tool-ui-native) h2 {
        color: #fff !important;
        text-align: center;
        margin-bottom: 2rem !important;
        font-size: 1.8rem !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    /* Szenario Karten Grid */
    .neelix-shortcode-container:not(.tool-ui-native) .karten-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }

    /* Einzelne Karte */
    .neelix-shortcode-container:not(.tool-ui-native) .karte,
    .neelix-shortcode-container:not(.tool-ui-native) .szenario-karte, 
    .neelix-shortcode-container:not(.tool-ui-native) .trainer-szenario {
        background: rgba(255, 255, 255, 0.9) !important; /* Helle Karte für Kontrast */
        border: none !important;
        border-radius: 16px !important;
        padding: 1.5rem !important;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #1e293b; /* Dunkler Text auf Karte */
        position: relative;
        overflow: hidden;
    }

    .neelix-shortcode-container:not(.tool-ui-native) .karte:hover,
    .neelix-shortcode-container:not(.tool-ui-native) .szenario-karte:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
    }

    /* Karten Inhalt */
    .neelix-shortcode-container:not(.tool-ui-native) .karte h3 {
        color: #4c1d95 !important; /* Deep Purple Text */
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .neelix-shortcode-container:not(.tool-ui-native) .karte p {
        color: #475569 !important;
        font-size: 0.95rem !important;
    }

    /* Szenario Details in der Karte */
    .scenario-description {
        background: #f1f5f9 !important;
        border-radius: 8px !important;
        padding: 12px !important;
        margin-top: 12px !important;
        border-left: 4px solid #db2777 !important;
    }

    .scenario-description h4 { color: #db2777 !important; margin: 0 0 5px 0 !important; }
    .scenario-skills li { color: #334155 !important; }

    /* --- DIALOG CONTAINER (Chat Window) --- */
    .neelix-shortcode-container:not(.tool-ui-native) .dialog-container {
        background: rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 16px !important;
        padding: 20px !important;
        height: 500px !important;
        overflow-y: auto !important;
        margin: 20px 0 !important;
        box-shadow: inset 0 0 20px rgba(0,0,0,0.2) !important;
    }

    /* Chat Bubbles */
    .neelix-shortcode-container:not(.tool-ui-native) .dialog-nachricht {
        padding: 15px 20px !important;
        border-radius: 20px !important;
        margin-bottom: 12px !important;
        max-width: 80% !important;
        line-height: 1.5 !important;
        font-size: 1rem !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    }

    /* AI Message (Links) */
    .neelix-shortcode-container:not(.tool-ui-native) .ki-nachricht {
        background: #fff !important;
        color: #1e293b !important;
        margin-right: auto !important;
        border-bottom-left-radius: 4px !important;
    }

    /* User Message (Rechts) */
    .neelix-shortcode-container:not(.tool-ui-native) .nutzer-nachricht {
        background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
        color: #fff !important;
        margin-left: auto !important;
        border-bottom-right-radius: 4px !important;
    }

    /* --- INPUT AREA --- */
    .neelix-shortcode-container:not(.tool-ui-native) .eingabe-bereich {
        background: rgba(255,255,255,0.1) !important;
        padding: 20px !important;
        border-radius: 16px !important;
        margin-top: 20px !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
    }

    .neelix-shortcode-container:not(.tool-ui-native) textarea,
    .neelix-shortcode-container:not(.tool-ui-native) .trainer-eingabe {
        background: #fff !important;
        border: none !important;
        border-radius: 12px !important;
        padding: 15px !important;
        color: #334155 !important;
        font-size: 1rem !important;
        width: 100% !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    }

    .neelix-shortcode-container:not(.tool-ui-native) textarea:focus {
        outline: 2px solid #db2777 !important;
    }

    /* Buttons */
    .neelix-shortcode-container:not(.tool-ui-native) button,
    .neelix-shortcode-container:not(.tool-ui-native) .senden-button,
    .neelix-shortcode-container:not(.tool-ui-native) .feedback-button {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
        color: #fff !important;
        border: none !important;
        padding: 14px 28px !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: all 0.3s !important;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
        margin: 5px !important;
    }

    .neelix-shortcode-container:not(.tool-ui-native) button:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6) !important;
    }

    /* Special Buttons */
    .neelix-shortcode-container:not(.tool-ui-native) .feedback-button {
        background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important; /* Pink für Feedback */
        box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4) !important;
    }

    .neelix-shortcode-container:not(.tool-ui-native) .back-button {
        background: rgba(255,255,255,0.2) !important;
        border: 1px solid rgba(255,255,255,0.4) !important;
        box-shadow: none !important;
    }

    /* Feedback Result Box */
    .neelix-shortcode-container:not(.tool-ui-native) .feedback-result {
        background: rgba(16, 185, 129, 0.15) !important; /* Green tint */
        border: 1px solid rgba(16, 185, 129, 0.4) !important;
        border-radius: 16px !important;
        padding: 25px !important;
        margin-top: 20px !important;
        color: #fff !important;
    }
    
    .neelix-shortcode-container:not(.tool-ui-native) .feedback-result h3 {
        color: #34d399 !important; /* Bright Green Title */
        text-align: left !important;
        font-size: 1.4rem !important;
    }

    /* Export Buttons (Secondary) */
    .neelix-shortcode-container:not(.tool-ui-native) .export-button {
        background: rgba(255,255,255,0.1) !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        color: #fff !important;
        box-shadow: none !important;
    }
    
    .neelix-shortcode-container:not(.tool-ui-native) .export-button:hover {
        background: rgba(255,255,255,0.2) !important;
        border-color: #fff !important;
    }

    /* Native Tool UI: keine doppelten Container-Abstaende */
    .trainer-wrapper .neelix-shortcode-container.tool-ui-native,
    .trainer-wrapper .neelix-shortcode-container.tool-ui-native #neelix-app-container {
        width: 100%;
    }

    .trainer-wrapper .neelix-shortcode-container.tool-ui-native #neelix-app-container {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .trainer-wrapper .dt-shell {
        max-width: 100%;
    }

    @media (max-width: 768px) {
        .trainer-title { font-size: 2.5rem; }
        .main-container {
            max-width: 100%;
            padding: 1.5rem 0.45rem 2rem;
        }
        .glass-card {
            padding: 0.65rem;
            border-radius: 16px;
        }
        .privacy-box {
            padding: 0.9rem;
            margin-bottom: 1rem;
        }
        .trainer-wrapper .dt-shell {
            padding: 12px;
            border-radius: 14px;
        }
        .trainer-wrapper .dt-chat {
            padding: 8px;
        }
        .neelix-shortcode-container:not(.tool-ui-native) .dialog-nachricht { max-width: 90% !important; }
    }

    @media (max-width: 430px) {
        .main-container {
            padding: 1rem 0.15rem 1.4rem;
        }
        .glass-card {
            padding: 0.35rem;
            border-radius: 12px;
        }
        .trainer-wrapper .dt-shell {
            padding: 8px;
            border-radius: 12px;
        }
    }
