/* Dashboard CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dashboard-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.dashboard-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.participant-info {
    background: #f8fafc;
    padding: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.participant-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.participant-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.participant-details h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.participant-details p {
    color: #64748b;
    font-size: 1rem;
}

.categories-section {
    padding: 40px;
}

.section-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

/* Touch-optimierte Buttons */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 1.4rem;
    width: 24px;
    text-align: center;
}

.progress-bar.green {
    background-color: #10B981 !important;
}

.progress-bar.yellow {
    background-color: #F59E0B !important;
}

.progress-bar.red {
    background-color: #EF4444 !important;
}

.view-answers-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.view-answers-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.view-more-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.view-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    color: white;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer .separator {
    color: white;
    margin: 0 10px;
}

.footer p {
    color: white;
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.question-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #4f46e5;
}

.question-item.negated {
    background: #fef3f2;
    border-left-color: #f97316;
}

.question-text {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1rem;
    position: relative;
}

.negated-indicator {
    display: inline-block;
    background: #f97316;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: normal;
}

.scale-explanation {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #64748b;
    border-left: 3px solid #4f46e5;
}

.scale-explanation.negated {
    background: #fef7ed;
    border-left-color: #f97316;
    color: #9a3412;
}

.answer-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.answer-value {
    background: #4f46e5;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.answer-text {
    color: #64748b;
    font-size: 0.9rem;
}

.rating-scale {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.rating-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.2s ease;
}

.rating-dot.active {
    background: #4f46e5;
    transform: scale(1.2);
}

.no-data {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 40px;
}

.category-score {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4f46e5;
}

.progress-container {
    background: #f1f5f9;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.category-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #64748b;
}

.category-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.loading {
    text-align: center;
    padding: 60px;
    color: #64748b;
}

.loading i {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.error {
    text-align: center;
    padding: 60px;
    color: #ef4444;
}

.error i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.summary-stats {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #4f46e5;
    margin-bottom: 5px;
}

.stat-value.small {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.2;
    color: #374151;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

.actions {
    padding: 30px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .dashboard-container {
        border-radius: 15px;
        margin: 0;
    }

    .dashboard-header {
        padding: 25px 20px;
    }

    .dashboard-header h1 {
        font-size: 1.8rem;
    }

    .dashboard-header p {
        font-size: 1rem;
    }

    .participant-info {
        padding: 20px;
    }

    .participant-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .participant-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .categories-section {
        padding: 20px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card {
        padding: 20px;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .category-icon {
        font-size: 1.2rem;
    }

    .category-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .view-answers-btn,
    .view-more-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .summary-stats {
        padding: 20px;
        margin-bottom: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 15px 12px;
        min-height: 90px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .stat-value {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .stat-value.small {
        font-size: 1rem;
        margin-top: 4px;
        margin-bottom: 0;
    }

    .stat-label {
        font-size: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .actions {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }

/* Touch-optimierte Bedienung */
@media (max-width: 768px) {
    /* Größere Touch-Targets */
    .view-answers-btn,
    .view-more-btn {
        min-height: 44px; /* Apple's empfohlene Mindestgröße */
        font-size: 0.9rem;
    }

    .close {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .btn {
        min-height: 44px;
        padding: 14px 30px;
    }

    /* Bessere Abstände für Touch */
    .category-header {
        margin-bottom: 15px;
    }

    .progress-container {
        margin: 15px 0;
    }

    .category-details {
        margin: 15px 0;
    }

    /* Spezielle Anpassungen für Statistik-Karten */
    .summary-stats {
        padding: 15px;
        margin-bottom: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 12px 8px;
        min-height: 85px;
        border-radius: 8px;
    }

    .stat-value {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    .stat-value.small {
        font-size: 0.9rem;
        margin-top: 3px;
        margin-bottom: 0;
    }

    .stat-label {
        font-size: 0.7rem;
        line-height: 1.1;
        font-weight: 500;
    }

    /* Verbesserter Hover-Effekt für Touch-Geräte */
    .category-card:hover {
        transform: none; /* Deaktiviert Hover-Effekte auf mobilen Geräten */
    }

    .category-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Scrolling Optimierungen */
    .modal-body {
        -webkit-overflow-scrolling: touch;
    }

    /* Bessere Lesbarkeit */
    .category-title {
        line-height: 1.3;
    }

    .category-description {
        line-height: 1.4;
        margin-top: 10px;
    }

    /* Optimierte Antwort-Skala */
    .rating-scale {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 10px 0;
    }

    .rating-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #e5e7eb;
        transition: all 0.2s ease;
    }

    .rating-dot.active {
        background: #4f46e5;
        transform: scale(1.2);
    }

    /* Verbesserte Antwort-Anzeige */
    .answer-display {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 10px 0;
        flex-wrap: wrap;
    }

    .answer-value {
        min-width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
    }

    .answer-text {
        flex: 1;
        font-size: 0.9rem;
        color: #374151;
    }
}

    .modal-header {
        padding: 15px 20px;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 20px;
        max-height: 75vh;
    }

    .question-item {
        padding: 15px;
        margin-bottom: 12px;
    }

    .question-text {
        font-size: 0.95rem;
    }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .dashboard-header {
        padding: 20px 15px;
    }

    .dashboard-header h1 {
        font-size: 1.6rem;
    }

    .participant-info {
        padding: 15px;
    }

    .participant-card {
        padding: 15px;
    }

    .categories-section {
        padding: 15px;
    }

    .category-card {
        padding: 15px;
    }

    .category-title {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 12px 8px;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .stat-value {
        font-size: 1.3rem;
        margin-bottom: 3px;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }

    .modal-content {
        width: 98%;
        margin: 1% auto;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-body {
        padding: 15px;
    }

    .question-item {
        padding: 12px;
    }
}

/* Früher Breakpoint für 2 Spalten */
@media (min-width: 769px) and (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Kolb Lernstile Kategorie */
.kolb-category {
    grid-column: 1 / -1; /* Nimmt die volle Breite ein */
    max-width: none;
}

.category-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin-top: 12px;
    padding: 0;
    font-style: italic;
    width: 100%;
}

.category-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.kolb-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.diagram-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.diagram-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.diagram-title i {
    color: #9333EA;
}

/* Spinnendiagramm */
.spider-diagram-container {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#spiderChart {
    max-width: 100%;
    max-height: 100%;
}

/* Quadrantendiagramm */
.quadrant-diagram-container {
    position: relative;
    height: 300px;
}

.quadrant-diagram {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid #9333EA;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.quadrant-axis {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.axis-label {
    position: absolute;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.axis-label.top {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.axis-label.bottom {
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.axis-label.left {
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.axis-label.right {
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.quadrant {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border: 1px solid #d1d5db;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.quadrant:hover {
    background: rgba(147, 51, 234, 0.1);
}

.quadrant.active {
    background: rgba(147, 51, 234, 0.2);
    border-color: #9333EA;
    font-weight: bold;
}

.quadrant h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #374151;
}

.quadrant p {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

.position-marker {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: #9333EA;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

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

/* Kolb Ergebnisse */
.kolb-results {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 20px 0;
}

.dominant-style {
    margin-bottom: 20px;
}

.dominant-style h4 {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 10px;
}

.style-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #9333EA 0%, #7c3aed 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
}

.style-result .style-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.style-result .style-percentage {
    font-weight: bold;
    font-size: 1.2rem;
}

.style-scores {
    display: grid;
    gap: 10px;
}

.style-score {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}

.style-score.dominant {
    font-weight: 600;
}

.style-score .style-name {
    font-size: 0.9rem;
    color: #374151;
}

.style-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.style-progress {
    background: linear-gradient(90deg, #9333EA, #7c3aed);
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.style-score.dominant .style-progress {
    background: linear-gradient(90deg, #059669, #10b981);
}

.style-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    min-width: 40px;
    text-align: right;
}

/* Kolb Detail Modal */
.kolb-detail-content {
    padding: 10px 0;
}

.dominant-result {
    background: linear-gradient(135deg, #9333EA 0%, #7c3aed 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.dominant-result h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.style-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
}

.dimension-scores {
    margin-bottom: 25px;
}

.dimension-scores h4 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.dimension-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.dimension-item:last-child {
    border-bottom: none;
}

.dimension-name {
    font-weight: 600;
    color: #374151;
}

.dimension-bar {
    background: #e5e7eb;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.dimension-progress {
    background: linear-gradient(90deg, #9333EA, #7c3aed);
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.dimension-value {
    font-weight: bold;
    color: #9333EA;
    min-width: 50px;
    text-align: right;
}

.learning-recommendations h4 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.learning-recommendations ul {
    list-style: none;
    padding: 0;
}

.learning-recommendations li {
    background: #f8fafc;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 4px solid #9333EA;
    position: relative;
}

.learning-recommendations li:before {
    content: "✓";
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    background: #9333EA;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Responsive Design für Kolb */
@media (max-width: 768px) {
    .kolb-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diagram-section {
        padding: 15px;
    }

    .diagram-title {
        font-size: 1rem;
    }

    .spider-diagram-container,
    .quadrant-diagram-container {
        height: 250px;
    }

    .quadrant {
        padding: 10px;
    }

    .quadrant h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }

    .quadrant p {
        font-size: 0.75rem;
    }

    .axis-label.left,
    .axis-label.right {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 0.7rem;
    }

    .axis-label.left {
        left: -80px;
        top: 45%;
    }

    .axis-label.right {
        right: -80px;
        top: 45%;
    }

    .axis-label.top,
    .axis-label.bottom {
        font-size: 0.7rem;
    }

    .kolb-results {
        padding: 15px;
    }

    .style-result {
        padding: 12px 15px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .style-score {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .style-bar {
        order: 2;
    }

    .style-value {
        order: 3;
        text-align: center;
    }

    /* Kolb Detail Modal Mobile */
    .kolb-detail-content {
        padding: 5px 0;
    }

    .dominant-result {
        padding: 15px;
    }

    .dominant-result h3 {
        font-size: 1.1rem;
    }

    .style-description {
        font-size: 0.9rem;
    }

    .dimension-item {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
        padding: 15px 0;
    }

    .dimension-bar {
        order: 2;
    }

    .dimension-value {
        order: 3;
        text-align: center;
    }

    .learning-recommendations li {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .learning-recommendations li:before {
        left: -1px;
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}

    /* Sehr kleine Bildschirme - Kolb */
@media (max-width: 480px) {
    .spider-diagram-container,
    .quadrant-diagram-container {
        height: 200px;
        margin: 0 auto;
        position: relative;
        overflow: visible;
    }

    .quadrant-diagram {
        margin: 20px auto;
        max-width: 280px;
    }

    .quadrant {
        padding: 6px;
        font-size: 0.8rem;
    }

    .quadrant h4 {
        font-size: 0.75rem;
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
    }

    .quadrant h4 i {
        font-size: 0.8rem;
    }

    .quadrant p {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .axis-label {
        font-size: 0.6rem;
    }

    .axis-label.left {
        left: -50px;
        width: 40px;
    }

    .axis-label.right {
        right: -50px;
        width: 40px;
    }

    .axis-label.top {
        top: -20px;
    }

    .axis-label.bottom {
        bottom: -20px;
    }

    .marker-dot {
        width: 8px;
        height: 8px;
        border: 2px solid white;
    }

    .category-description {
        font-size: 0.75rem;
        line-height: 1.3;
        padding: 10px 0;
    }

    .style-result .style-name {
        font-size: 0.95rem;
    }

    .style-result .style-percentage {
        font-size: 1rem;
    }

    .diagram-section {
        padding: 12px;
        overflow: visible;
    }
}

/* Sehr kleine Bildschirme - weitere Optimierungen für Statistik-Karten */
@media (max-width: 400px) {
    .summary-stats {
        padding: 12px;
        margin-bottom: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-item {
        padding: 8px 6px;
        min-height: 75px;
        border-radius: 6px;
    }

    .stat-value {
        font-size: 1.3rem;
        margin-bottom: 3px;
        line-height: 1.1;
    }

    .stat-value.small {
        font-size: 0.8rem;
        margin-top: 2px;
        margin-bottom: 0;
        line-height: 1.1;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.0;
        font-weight: 600;
        text-align: center;
    }

    /* Spezielle Behandlung für längere Texte */
    .stat-item:nth-child(3) .stat-label,
    .stat-item:nth-child(4) .stat-label {
        font-size: 0.6rem;
        word-break: break-word;
        hyphens: auto;
    }

    /* Spezielle Behandlung für die kleinen Werte */
    .stat-item:nth-child(3) .stat-value.small,
    .stat-item:nth-child(4) .stat-value.small {
        font-size: 0.75rem;
        line-height: 1.0;
        word-break: break-word;
        hyphens: auto;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .dashboard-header p {
        font-size: 1rem;
    }
}
