/* KI-Schulung Page Styles */

.ki-hero {
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ki-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.badge-text {
    color: #8a2be2;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4), transparent);
    filter: blur(20px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Tabs */
.ki-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.ki-tab {
    padding: 15px 30px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ki-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #00d4ff);
    transition: width 0.3s ease;
}

.ki-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.ki-tab.active {
    color: #fff;
}

.ki-tab.active::after {
    width: 100%;
}

.ki-content-section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.tab-header {
    text-align: center;
    margin-bottom: 50px;
}

.tab-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tab-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.ki-tab-content {
    display: none;
}

.ki-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Prompt Builder */
.prompt-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.prompt-builder-panel,
.prompt-output-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.prompt-builder-panel h3,
.prompt-output-panel h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-generate {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 10px;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.btn-generate:active {
    transform: translateY(0);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-actions {
    display: flex;
    gap: 10px;
}

.btn-icon-small {
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon-small:hover {
    background: rgba(138, 43, 226, 0.3);
    border-color: #8a2be2;
    transform: scale(1.1);
}

.prompt-output {
    min-height: 400px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.empty-prompt svg {
    margin-bottom: 15px;
}

.prompt-output-text {
    color: #fff;
    line-height: 1.8;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* Prompt Templates */
.prompt-templates-section {
    margin-top: 60px;
}

.prompt-templates-section h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #fff;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.template-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.template-card h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.template-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.template-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.template-tag {
    padding: 4px 12px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #8a2be2;
}

/* Library */
.library-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.library-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.library-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.library-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.library-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.library-card-actions {
    display: flex;
    gap: 8px;
}

.library-card-body {
    margin-bottom: 15px;
}

.library-card-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.library-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.library-card-category {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Schulungen */
.schulungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.schulung-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
}

.schulung-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8a2be2;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.schulung-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.schulung-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.schulung-card > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

.schulung-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.schulung-features li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    font-size: 0.95rem;
}

.schulung-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schulung-details span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.btn-schulung {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-schulung:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

/* Ressourcen */
.ressourcen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ressource-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.ressource-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.ressource-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.ressource-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.ressource-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ressource-link {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.ressource-link:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 968px) {
    .prompt-builder-grid {
        grid-template-columns: 1fr;
    }

    .ki-tabs {
        gap: 5px;
    }

    .ki-tab {
        padding: 12px 20px;
        font-size: 14px;
    }

    .library-filters {
        flex-direction: column;
    }

    .search-input,
    .filter-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ki-hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .ki-content-section {
        padding: 40px 20px;
    }

    .tab-header h2 {
        font-size: 2rem;
    }

    .prompt-builder-panel,
    .prompt-output-panel {
        padding: 20px;
    }

    .schulungen-grid,
    .ressourcen-grid {
        grid-template-columns: 1fr;
    }
}


