/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Grundlegende Stile für den Body, um das Design der Host-Seite nicht zu stark zu beeinflussen */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa; /* Sehr heller, neutraler Hintergrund */
    color: #212529; /* Dunklerer Text für besseren Kontrast */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Wrapper für den gesamten Inhalt */
.main-content-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Hauptcontainer für das Quiz */
.quiz-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6; /* Dezenter Rand */
    border-radius: 12px; /* Weichere Rundung */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtiler Schatten */
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

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

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

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #6c757d; /* Gedämpftere Farbe für Untertitel */
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 400;
}

hr {
    border: none;
    height: 1px;
    background-color: #e9ecef; /* Passend zum Rand */
    margin: 2rem 0;
}

#question {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem); /* Etwas größer für mehr Präsenz */
    font-weight: 600;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: #343a40;
    line-height: 1.5;
}

/* Layout für die Antwort-Buttons (2x2 auf Desktop) */
.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf größeren Bildschirmen */
    gap: 15px;
}

/* Allgemeines Button-Styling */
.btn {
    font-family: inherit;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 100%;
    text-align: center;
}

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

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

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

/* Styling für korrekte/falsche Antworten */
.btn.correct {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
    font-weight: 600;
}

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

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

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


/* Container für Tipp-Button */
.controls-container {
    margin-top: 25px;
    text-align: center;
}

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

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

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


/* Container für "Wissenswertes" */
.fun-fact {
    background-color: #e7f1ff;
    border-left: 4px solid #007bff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 2rem;
    text-align: left;
}

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

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

/* Container für die technischen Details */
#tech-details-wrapper {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 2rem;
    background-color: #ffffff;
}

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

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

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

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

/* Bild-Container mit modernem Look */
.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;
}


/* "Nächste Frage"-Button */
.next-btn {
    margin-top: 2rem;
    width: 100%;
    background-color: #007bff;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

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

/* Hilfsklasse zum Verstecken von Elementen */
.hidden {
    display: none;
}

/* Stile für den Promo-Container */
.promo-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

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

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

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

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

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

/* Media Query für mobile Geräte */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .btn-grid {
        grid-template-columns: 1fr; /* Buttons untereinander auf Mobilgeräten */
    }

    .tech-detail-value,
    .tech-detail-label {
        font-size: 14px;
    }

    #tech-details-wrapper {
        padding: 5px;
    }
    
    .motorcycle-image {
        height: 200px;
    }

}

/* Stile für den Footer */
.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
}

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

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

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