/* ==========================================================================
   Abenteuer-Finder Quiz Style (Sina Möller Design)
   ========================================================================== */

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

#abenteuer-finder-container {
    max-width: 820px; /* Breiter für einen luftigeren Look */
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif !important;
    color: #4a443f;
    letter-spacing: 0.02em; /* Leicht erhöhter Grundabstand */
}

/* Karten-Layout */
.af-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 40px; /* Großzügigeres Innen-Padding */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0ece9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animation */
.af-fade-in {
    animation: afFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Fortschrittsbalken */
.af-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #f2ede9;
    border-radius: 3px;
    margin-bottom: 25px;
    overflow: hidden;
}

.af-progress {
    height: 100%;
    background-color: #8c9b88;
    transition: width 0.3s ease;
}

/* Header Navigation */
.af-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.af-step {
    font-size: 0.9rem;
    color: #9a9087;
    text-transform: uppercase;
    letter-spacing: 0.08em; /* Dezent gestreckt */
    font-weight: 600;
}

.af-back-btn {
    background: #f4efea;
    border: none;
    color: #7a6b5d;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.03em;
}

.af-back-btn:hover {
    background: #e8e2d9;
    color: #3b3632;
    transform: translateX(-2px);
}

/* Typografie – Fragen & Untertitel (Größer & Mehr Abstand) */
.af-card h2 {
    font-size: 1.75rem; /* Etwas größer */
    color: #2b2623;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.03em; /* Mehr Buchstabenabstand */
}

.af-card p {
    font-size: 1.05rem; /* Größerer Fließtext */
    color: #6b625b;
    margin-bottom: 30px;
    line-height: 1.6;
    letter-spacing: 0.025em;
}

/* Antwort-Buttons (Größer, Montserrat & Perfekter Abstand) */
.af-options {
    display: flex;
    flex-direction: column;
    gap: 14px; /* Mehr Platz zwischen den Buttons */
}

.af-option-btn {
    width: 100%;
    background-color: #faf8f5;
    border: 1px solid #e3ded8;
    border-radius: 14px;
    padding: 18px 24px; /* Mehr Klick-Fläche */
    text-align: left;
    
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.05rem !important; /* Spürbar größere Schrift */
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.03em !important; /* Buchstaben leicht auseinander gezogen */
    line-height: 1.5;
    color: #4a443f;
    
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.af-option-btn:hover {
    background-color: #f2ede7;
    border-color: #c9bfb5;
    color: #2b2623;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.06);
}

/* Winner Bild-Styling */
.af-winner-image-wrap {
    width: 100%;
    max-height: 380px;
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0 25px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.af-winner-image {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* Buttons & Start */
.af-button {
    display: inline-block;
    background-color: #8c9b88;
    color: #ffffff !important;
    padding: 16px 36px;
    border-radius: 30px;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: none !important;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(140, 155, 136, 0.35);
    font-family: 'Montserrat', sans-serif !important;
}

.af-button:hover {
    background-color: #798875;
    transform: translateY(-2px);
}

/* FOOTER ACTIONS (Garantiert UNTEREINANDER) */
.af-footer-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin-top: 35px !important;
    width: 100% !important;
}

.af-all-tours-link {
    display: block !important;
    width: fit-content !important;
    background: #f2f5f1;
    color: #556b50 !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    text-transform: none !important;
    letter-spacing: 0.03em;
    font-family: 'Montserrat', sans-serif !important;
    margin: 0 auto !important;
}

.af-all-tours-link:hover {
    background: #e4ebe2;
    transform: translateY(-2px);
}

.af-sub-btn {
    display: block !important;
    background: none !important;
    border: none !important;
    color: #9a9087 !important;
    font-size: 0.92rem !important;
    cursor: pointer;
    text-decoration: underline !important;
    transition: color 0.2s ease;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
    margin: 0 auto !important;
}

.af-sub-btn:hover {
    color: #4a443f !important;
}

/* Ergebnisseite Details */
.af-badge {
    display: inline-block;
    background-color: #f2ede7;
    color: #7a6b5d;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.af-highlight-text {
    font-style: italic;
    color: #7a6b5d;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.af-details {
    display: flex;
    justify-content: center;
    gap: 25px;
    background: #faf8f5;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    flex-wrap: wrap;
}

.af-details span {
    font-weight: 600;
    color: #2b2623;
}

.af-divider {
    border: none;
    border-top: 1px solid #f0ece9;
    margin: 30px 0;
}

/* Runner-Ups (Vorschaubilder) */
.af-runnerups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.af-runner-card {
    background: #faf8f5;
    border-radius: 12px;
    border: 1px solid #f0ece9;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.af-runner-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.af-runner-text {
    padding: 12px 15px;
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Mobil-Optimierung (Vollständig Responsive für Handys) */
@media (max-width: 650px) {
    #abenteuer-finder-container {
        padding: 0 10px;
        margin: 20px auto;
    }

    .af-card {
        padding: 25px 18px;
        border-radius: 16px;
    }
    
    .af-card h2 {
        font-size: 1.35rem;
    }

    .af-card p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .af-option-btn {
        padding: 15px 16px;
        font-size: 0.95rem !important;
        border-radius: 10px;
    }

    .af-runnerups {
        grid-template-columns: 1fr;
    }

    .af-winner-image-wrap {
        max-height: 230px;
    }

    .af-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding: 14px;
    }
}