/* style.css (Version 1.5 - Mit spezifischeren Selektoren gegen Theme-Overrides) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Alle Regeln sind jetzt mit .motorrad-quiz-plugin versehen, um die Spezifität zu erhöhen */

.motorrad-quiz-plugin body {
    /* Diese Regel wird wahrscheinlich nicht angewendet, da sie im Plugin-Kontext läuft, ist aber zur Vollständigkeit hier */
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

.motorrad-quiz-plugin {
    font-family: 'Inter', sans-serif;
    margin: 20px 0;
}

.motorrad-quiz-plugin .main-content-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.motorrad-quiz-plugin .quiz-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

.motorrad-quiz-plugin #quiz {
    padding: clamp(30px, 5vw, 40px);
    text-align: center;
}

.motorrad-quiz-plugin h1.quiz-title {
    font-size: clamp(2rem, 5vw, 2.4rem);
    font-weight: 700;
    color: #212529;
    margin-top: 0;
    margin-bottom: 8px;
}

.motorrad-quiz-plugin .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #6c757d;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 400;
}

.motorrad-quiz-plugin hr {
    border: none;
    height: 1px;
    background-color: #e9ecef;
    margin: 2rem 0;
}

.motorrad-quiz-plugin #question {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 600;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: #343a40;
    line-height: 1.5;
}

.motorrad-quiz-plugin .btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.motorrad-quiz-plugin .btn {
    font-family: 'Inter', sans-serif !important; /* Wichtig, um Theme-Schriftarten zu überschreiben */
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #495057 !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 100%;
    text-align: center;
}

.motorrad-quiz-plugin .btn:hover:not([disabled]) {
    border-color: #007bff !important;
    background-color: #e7f1ff !important;
    color: #004085 !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.motorrad-quiz-plugin .btn:active:not([disabled]) {
    transform: translateY(0);
}

.motorrad-quiz-plugin .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.motorrad-quiz-plugin .btn.correct {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
    font-weight: 600;
}

.motorrad-quiz-plugin .btn.incorrect {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
    opacity: 0.8;
}

.motorrad-quiz-plugin .btn[disabled] {
    cursor: not-allowed;
}

.motorrad-quiz-plugin .btn.hint-removed {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e9ecef !important;
    pointer-events: none;
}

.motorrad-quiz-plugin .controls-container {
    margin-top: 25px;
    text-align: center;
}

.motorrad-quiz-plugin .hint-btn {
    background: none !important;
    border: 1px dashed #6c757d !important;
    color: #6c757d !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.motorrad-quiz-plugin .hint-btn:hover:not(:disabled) {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border-style: solid !important;
}

.motorrad-quiz-plugin .hint-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.motorrad-quiz-plugin .fun-fact {
    background-color: #e7f1ff;
    border-left: 4px solid #007bff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 2rem;
    text-align: left;
}

.motorrad-quiz-plugin .fun-fact h3 {
    margin: 0 0 10px 0;
    color: #004085;
    font-size: 1.1rem;
    font-weight: 600;
}

.motorrad-quiz-plugin .fun-fact p {
    margin: 0;
    color: #0056b3;
    font-size: 0.95rem;
    line-height: 1.6;
}

.motorrad-quiz-plugin #tech-details-wrapper {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 2rem;
    background-color: #ffffff;
}

.motorrad-quiz-plugin #tech-details-wrapper h3 {
    margin: 0 0 20px 0;
    color: #212529;
    font-size: 1.2rem;
    text-align: left;
    font-weight: 600;
}

.motorrad-quiz-plugin .tech-detail-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 20px;
    font-size: 1rem;
}

.motorrad-quiz-plugin .tech-detail-label {
    font-weight: 500;
    color: #6c757d;
    text-align: left;
}

.motorrad-quiz-plugin .tech-detail-value {
    font-weight: 600;
    color: #212529;
    text-align: right;
}

.motorrad-quiz-plugin .motorcycle-image {
    width: 100%;
    height: 375px;
    border-radius: 8px;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #e9ecef;
}

.motorrad-quiz-plugin .next-btn {
    margin-top: 2rem;
    width: 100%;
    background-color: #007bff !important;
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding: 16px !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.motorrad-quiz-plugin .next-btn:hover {
    background-color: #0056b3 !important;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.motorrad-quiz-plugin .hidden {
    display: none;
}

.motorrad-quiz-plugin .promo-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.motorrad-quiz-plugin .promo-container h3 {
    margin: 0 0 10px 0;
    color: #212529;
    font-size: 1.2rem;
    font-weight: 600;
}

.motorrad-quiz-plugin .promo-container p {
    margin: 0 0 15px 0;
    color: #6c757d;
}

.motorrad-quiz-plugin .promo-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.motorrad-quiz-plugin .promo-container a:hover {
    text-decoration: underline;
}

.motorrad-quiz-plugin .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.motorrad-quiz-plugin .site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
}

.motorrad-quiz-plugin .site-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.motorrad-quiz-plugin .site-footer a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s;
}

.motorrad-quiz-plugin .site-footer a:hover {
    color: #007bff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .motorrad-quiz-plugin .btn-grid {
        grid-template-columns: 1fr;
    }
    .motorrad-quiz-plugin .tech-detail-value,
    .motorrad-quiz-plugin .tech-detail-label {
        font-size: 14px;
    }
    .motorrad-quiz-plugin #tech-details-wrapper {
        padding: 15px;
    }
    .motorrad-quiz-plugin .motorcycle-image {
        height: 200px;
    }
}
