/* ============================================
   INTERNETSUCHT SELBSTTEST - CSS
   ============================================ */

/* Test Intro */
.test-intro .intro-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}
.test-intro .intro-box h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}
.test-intro .intro-box ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
}
.test-intro .intro-box li {
    padding: 0.5rem 0;
    color: var(--text-medium);
}
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Test Container */
.test-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

/* Progress Bar */
.test-progress {
    margin-bottom: 2rem;
}
.progress-bar {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.progress-fill {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.progress-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-align: center;
    display: block;
}

/* Question */
.test-question {
    text-align: center;
    padding: 2rem 0;
}
.test-question h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}
.question-hint {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
}
.answer-btn {
    padding: 1rem 1.5rem;
    background: var(--light);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.answer-btn:hover {
    background: var(--white);
    border-color: var(--secondary);
    transform: translateY(-2px);
}
.answer-btn.selected {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* Test Navigation */
.test-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}
.nav-spacer {
    flex: 1;
}

/* Result */
.test-result {
    max-width: 700px;
    margin: 0 auto;
}
.result-header {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 16px 16px 0 0;
    color: var(--white);
    background: var(--primary);
}
.result-header.green { background: linear-gradient(135deg, #2A9D8F, #21867A); }
.result-header.yellow { background: linear-gradient(135deg, #E9C46A, #D4A84B); color: var(--text-dark); }
.result-header.orange { background: linear-gradient(135deg, #F4A261, #E76F51); }
.result-header.red { background: linear-gradient(135deg, #E76F51, #C5221F); }

.result-score {
    margin-bottom: 1rem;
}
.score-number {
    font-size: 4rem;
    font-weight: 700;
    display: block;
}
.score-max {
    font-size: 1rem;
    opacity: 0.9;
}
.result-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.result-body {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.result-category {
    text-align: center;
    margin-bottom: 1.5rem;
}
.category-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
}
.result-category.green .category-badge { background: #E8F5F3; color: #2A9D8F; }
.result-category.yellow .category-badge { background: #FEF7E8; color: #B8860B; }
.result-category.orange .category-badge { background: #FEF0E8; color: #E76F51; }
.result-category.red .category-badge { background: #FEE8E8; color: #C5221F; }

.result-description {
    text-align: center;
    margin-bottom: 2rem;
}
.result-description p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.result-details {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.result-details h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}
.result-scale {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.scale-item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
}
.scale-item span {
    font-weight: 700;
    display: block;
}
.scale-item.green { background: #E8F5F3; color: #2A9D8F; }
.scale-item.yellow { background: #FEF7E8; color: #B8860B; }
.scale-item.orange { background: #FEF0E8; color: #E76F51; }
.scale-item.red { background: #FEE8E8; color: #C5221F; }

.result-recommendations {
    margin-bottom: 2rem;
}
.result-recommendations h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}
.result-recommendations ul {
    margin: 0;
    padding-left: 1.5rem;
}
.result-recommendations li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}
.result-recommendations p {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.result-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 12px;
    text-align: center;
}
.result-disclaimer p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

/* Full Width Article */
.article-content.full-width {
    max-width: 800px;
    margin: 0 auto;
}

/* Background Light */
.bg-light {
    background: var(--light);
}

/* Responsive */
@media (max-width: 768px) {
    .test-intro .intro-box,
    .test-container,
    .result-body {
        padding: 1.5rem;
    }
    .result-header {
        padding: 2rem 1.5rem;
    }
    .score-number {
        font-size: 3rem;
    }
    .test-question h3 {
        font-size: 1.15rem;
    }
    .result-scale {
        flex-direction: column;
    }
    .result-actions {
        flex-direction: column;
    }
    .result-actions .btn {
        width: 100%;
    }
}
