/* Pfeilefinder - Hauptcontainer */
.pfeilefinder-wrapper {
    max-width: 800px;
    margin: 40px auto;
}

/* Screen Management */
.pfeilefinder-screen {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.pfeilefinder-screen.active {
    display: block;
}

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

/* Header / Hero (Start Screen) */
.pfeilefinder-hero {
    text-align: center;
    margin-bottom: 0;
    padding: 0 20px;
}

.pfeilefinder-hero h2,
.pfeilefinder-hero .pfeilefinder-subtitle {
    margin: 0;
}

.pfeilefinder-hero h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.pfeilefinder-hero .pfeilefinder-subtitle,
.pfeilefinder-hero p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Progress Bar */
.pfeilefinder-progress {
    margin-bottom: 40px;
}

.pfeilefinder-progress-bar {
    height: 8px;
    background: linear-gradient(90deg, #2c5f2d, #4a8f4b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.pfeilefinder-progress-text {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Question */
.pfeilefinder-question h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.pfeilefinder-question-number {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.pfeilefinder-question-help {
    background: #f0f8ff;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #2c5f2d;
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
}

/* Options */
.pfeilefinder-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pfeilefinder-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.pfeilefinder-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.pfeilefinder-option-content {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pfeilefinder-option-content:hover {
    border-color: #4a8f4b;
    background: #f9fdf9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pfeilefinder-option input[type="radio"]:checked + .pfeilefinder-option-content {
    border-color: #2c5f2d;
    background: #f1f8f4;
    box-shadow: 0 2px 8px rgba(44, 95, 45, 0.2);
}

.pfeilefinder-option-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.pfeilefinder-option-content small,
.pfeilefinder-option-content span {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Navigation */
.pfeilefinder-navigation {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 32px;
}

/* Buttons */
.pfeilefinder-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pfeilefinder-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pfeilefinder-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pfeilefinder-btn-primary {
    background: #36a271;
    color: white;
    border-color: #36a271;
}

.pfeilefinder-btn-primary:hover:not(:disabled) {
    background: #234a24;
    border-color: #234a24;
}

.pfeilefinder-btn-secondary {
    background: #fff;
    color: #1a1a1a;
    border-color: #e0e0e0;
}

.pfeilefinder-btn-secondary:hover:not(:disabled) {
    background: #f5f5f5;
}

/* Start Screen */
#pfeilefinder-start {
    text-align: center;
    padding: 60px 20px;
}

#pfeilefinder-start .pfeilefinder-btn {
    min-width: 200px;
    padding: 18px 48px;
    font-size: 18px;
}

/* Result Screen */
.pfeilefinder-result-hero {
    text-align: center;
    margin-bottom: 32px;
}

.pfeilefinder-result-hero h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Configuration Cards */
.pfeilefinder-result-content,
.pfeilefinder-result-info {
    background: linear-gradient(135deg, #f8fdf8 0%, #f1f8f4 100%);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #e8f5e9;
    margin-bottom: 32px;
}

.pfeilefinder-result-content h3,
.pfeilefinder-result-info h4 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

.pfeilefinder-result-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

.pfeilefinder-result-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pfeilefinder-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pfeilefinder-result-card h3 {
    font-size: 48px;
    margin-bottom: 12px;
    text-align: center;
}

.pfeilefinder-result-card .pfeilefinder-result-note {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.pfeilefinder-result-card .pfeilefinder-result-value {
    font-size: 20px;
    color: #2c5f2d;
    font-weight: 700;
}

/* Checklist */
.pfeilefinder-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pfeilefinder-checklist li {
    padding: 12px 0;
    font-size: 16px;
    color: #1a1a1a;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pfeilefinder-checklist li:last-child {
    border-bottom: none;
}

/* Disclaimer */
.pfeilefinder-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.pfeilefinder-disclaimer p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

.pfeilefinder-disclaimer p:last-child {
    margin-bottom: 0;
}

.pfeilefinder-disclaimer a {
    color: #856404;
    font-weight: 600;
    text-decoration: underline;
}

/* CTA / Result Actions */
.pfeilefinder-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .pfeilefinder-wrapper {
        margin: 20px auto;
        padding: 0 16px;
    }
    
    .pfeilefinder-hero h2 {
        font-size: 28px;
    }
    
    .pfeilefinder-hero p,
    .pfeilefinder-hero .pfeilefinder-subtitle {
        font-size: 16px;
    }
    
    .pfeilefinder-question h3 {
        font-size: 20px;
    }
    
    .pfeilefinder-option-content {
        padding: 16px 20px;
    }
    
    .pfeilefinder-option-content strong {
        font-size: 16px;
    }
    
    .pfeilefinder-option-content small,
    .pfeilefinder-option-content span {
        font-size: 13px;
    }
    
    .pfeilefinder-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .pfeilefinder-result-content {
        grid-template-columns: 1fr;
    }
    
    .pfeilefinder-result-card {
        padding: 20px;
    }
    
    .pfeilefinder-result-hero h2 {
        font-size: 24px;
    }
    
    .pfeilefinder-navigation {
        flex-direction: column;
    }
    
    .pfeilefinder-cta {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .pfeilefinder-navigation,
    .pfeilefinder-cta {
        display: none;
    }
    
    .pfeilefinder-screen:not(#pfeilefinder-result) {
        display: none !important;
    }
    
    #pfeilefinder-result {
        display: block !important;
    }
}
