/* IT-Sicherheits-Schnellcheck Styling */

.it-schnellcheck-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header Styling */
.schnellcheck-header {
    text-align: center;
    margin-bottom: 40px;
}

.schnellcheck-header h2 {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.schnellcheck-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.benefit {
    color: #059669;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    background: #ecfdf5;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
}

.schnellcheck-intro {
    font-size: 18px;
    color: #4b5563;
    font-style: italic;
    margin: 30px 0;
    padding: 20px;
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

.schnellcheck-subtitle {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
}

/* Fortschrittsanzeige */
.progress-container {
    margin: 30px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    width: 10%;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.progress-text span {
    color: #3b82f6;
    font-size: 18px;
}

/* Formular Styling */
.schnellcheck-form {
    margin-top: 40px;
}

.question-step {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-block {
    margin-bottom: 35px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.question-block:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.question-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.5;
}

.question-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    font-size: 16px;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #1f2937;
}

.radio-option span {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.5;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

.nav-button {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-button {
    background: #f3f4f6;
    color: #4b5563;
    border: 2px solid #e5e7eb;
}

.prev-button:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateX(-3px);
}

.next-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.next-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.next-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.next-button:disabled:hover {
    transform: none;
}

.schnellcheck-submit {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.schnellcheck-submit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.schnellcheck-submit:active {
    transform: translateY(0);
}

/* Ergebnis-Container */
.schnellcheck-result {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.result-header h3 {
    font-size: 32px;
    color: #1a1a1a;
    font-weight: 700;
}

/* Ampel-System */
.ampel-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.ampel-display {
    background: #1f2937;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ampel-light {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #374151;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

/* Ampel-Status: Grün */
.ampel-display.status-gruen .ampel-gruen {
    background: radial-gradient(circle at 30% 30%, #10b981, #059669);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.8),
                inset 0 5px 15px rgba(255, 255, 255, 0.3);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.8),
                    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 60px rgba(16, 185, 129, 1),
                    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    }
}

/* Ampel-Status: Orange/Gelb */
.ampel-display.status-orange .ampel-gelb {
    background: radial-gradient(circle at 30% 30%, #fbbf24, #f59e0b);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.8),
                inset 0 5px 15px rgba(255, 255, 255, 0.3);
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.8),
                    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 60px rgba(251, 191, 36, 1),
                    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    }
}

/* Ampel-Status: Rot */
.ampel-display.status-rot .ampel-rot {
    background: radial-gradient(circle at 30% 30%, #ef4444, #dc2626);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.8),
                inset 0 5px 15px rgba(255, 255, 255, 0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.8),
                    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 60px rgba(239, 68, 68, 1),
                    inset 0 5px 15px rgba(255, 255, 255, 0.3);
    }
}

/* Ergebnis-Content */
.result-content {
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    margin: 30px 0;
}

.result-score {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.result-status {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
}

.result-status.status-gruen {
    color: #059669;
    background: #ecfdf5;
    border: 2px solid #10b981;
}

.result-status.status-orange {
    color: #f59e0b;
    background: #fffbeb;
    border: 2px solid #fbbf24;
}

.result-status.status-rot {
    color: #dc2626;
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.result-message {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin: 20px 0;
}

.result-recommendations {
    margin-top: 25px;
}

.result-recommendations h4 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.result-recommendations li {
    padding: 12px 15px;
    margin: 8px 0;
    background: white;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    font-size: 16px;
    color: #4b5563;
}

.result-recommendations li:before {
    content: "→ ";
    color: #3b82f6;
    font-weight: bold;
    margin-right: 8px;
}

/* Ländervergleich */
.country-comparison {
    margin: 30px 0;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.country-comparison h4 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-positive {
    text-align: center;
    padding: 15px;
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: 8px;
    color: #059669;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.comparison-neutral {
    text-align: center;
    padding: 15px;
    background: #f3f4f6;
    border: 2px solid #9ca3af;
    border-radius: 8px;
    color: #4b5563;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.comparison-negative {
    text-align: center;
    padding: 15px;
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 8px;
    color: #dc2626;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.country-comparison-bars {
    margin: 25px 0;
}

.country-bar-row {
    display: grid;
    grid-template-columns: 180px 1fr 100px;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.country-bar-row:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.country-info {
    display: flex;
    flex-direction: column;
}

.country-name {
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}

.country-avg {
    font-size: 14px;
    color: #6b7280;
    margin-top: 3px;
}

.bar-container {
    position: relative;
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    overflow: visible;
}

.bar-avg {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #9ca3af 0%, #6b7280 100%);
    border-radius: 15px;
    transition: width 0.8s ease;
}

.bar-user {
    position: absolute;
    top: -5px;
    width: 6px;
    height: 40px;
    background: #dc2626;
    border-radius: 3px;
    transform: translateX(-3px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5);
    transition: left 0.8s ease;
}

.bar-user::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #dc2626;
}

.comparison-badge {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    padding: 5px 12px;
    border-radius: 6px;
}

.comparison-badge.better {
    background: #ecfdf5;
    color: #059669;
    border: 2px solid #10b981;
}

.comparison-badge.equal {
    background: #f3f4f6;
    color: #4b5563;
    border: 2px solid #9ca3af;
}

.comparison-badge.worse {
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #ef4444;
}

.comparison-note {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 20px;
    line-height: 1.6;
}

/* Beratungs-CTA */
.beratung-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.beratung-cta h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}

.beratung-cta p {
    color: #e0e7ff;
    font-size: 18px;
    margin: 15px 0;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f0f9ff;
}

.cta-note {
    font-size: 14px;
    color: #bfdbfe;
    margin-top: 15px;
}

/* Neue Analyse Button */
.neue-analyse-button {
    width: 100%;
    padding: 15px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.neue-analyse-button:hover {
    background: #4b5563;
}

/* Responsive Design */
@media (max-width: 768px) {
    .it-schnellcheck-container {
        padding: 20px;
        margin: 20px auto;
    }

    .schnellcheck-header h2 {
        font-size: 24px;
    }

    .schnellcheck-benefits {
        flex-direction: column;
        gap: 10px;
    }

    .benefit {
        font-size: 14px;
        padding: 8px 15px;
    }

    .schnellcheck-subtitle {
        font-size: 20px;
    }

    .question-label {
        font-size: 16px;
    }

    .question-number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }

    .radio-option {
        padding: 12px 15px;
    }

    .radio-option span {
        font-size: 14px;
    }

    .ampel-light {
        width: 70px;
        height: 70px;
    }

    .ampel-display {
        padding: 20px 30px;
    }

    .result-status {
        font-size: 28px;
    }

    .beratung-cta {
        padding: 25px;
    }

    .beratung-cta h3 {
        font-size: 22px;
    }

    .cta-button {
        font-size: 18px;
        padding: 15px 30px;
    }

    /* Ländervergleich Responsive */
    .country-bar-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .country-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .comparison-badge {
        justify-self: start;
    }

    .country-comparison {
        padding: 20px 15px;
    }

    .comparison-positive,
    .comparison-neutral,
    .comparison-negative {
        font-size: 16px;
        padding: 12px;
    }
}
