/* CE-Richtlinien-Check (/CE-Richtlinien-Check/) */

.rc-kopf {
    margin-bottom: 2rem;
}

.rc-schritt {
    font-family: 'Chivo', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    font-size: 1rem !important;
    color: #555555 !important;
    margin: 0 0 0.6rem 0 !important;
}

.rc-fortschritt {
    height: 8px;
    background-color: #eaeaea;
}

.rc-fortschritt-balken {
    height: 100%;
    width: 0;
    background-color: #2AFF00;
    transition: width 0.3s;
}

/* Ohne JavaScript stehen alle Fragen untereinander, mit JavaScript nur die aktuelle */
.rc-frage {
    border: none;
    margin: 0 0 2.5rem 0;
    padding: 0;
}

.rc-aktiv .rc-frage {
    display: none;
}

.rc-aktiv .rc-frage.rc-aktuell {
    display: block;
}

.rc-kopf,
.rc-zurueck {
    display: none;
}

.rc-aktiv .rc-kopf:not([hidden]) {
    display: block;
}

.rc-aktiv .rc-zurueck:not([hidden]) {
    display: inline-block;
}

.rc-frage legend {
    font-family: 'Chivo', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
    color: #111111;
    padding: 0;
    margin-bottom: 0.6rem;
}

.rc-hinweis {
    color: #555555 !important;
    font-size: 1.05rem !important;
}

.rc-antworten {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rc-antwort,
.rc-neu,
.rc-zurueck {
    font-family: 'Chivo', sans-serif;
    font-weight: bold;
    cursor: pointer;
    background-color: transparent;
    color: #111111;
    transition: background-color 0.2s, color 0.2s;
}

.rc-antwort {
    min-width: 9rem;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 3px solid #111111;
}

.rc-antwort:hover {
    background-color: #111111;
    color: #ffffff;
}

.rc-antwort.rc-gewaehlt {
    background-color: #2AFF00;
    color: #111111;
}

.rc-zurueck,
.rc-neu {
    border: none;
    padding: 0.4rem 0;
    font-size: 1rem;
    text-decoration: underline;
}

.rc-zurueck:hover,
.rc-neu:hover {
    color: #2A7800;
}

.rc-ergebnis h3 {
    font-family: 'Chivo', sans-serif;
    font-weight: bold;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin: 2rem 0 0.5rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #2AFF00;
    display: inline-block;
}

.rc-zusammenfassung {
    font-weight: bold;
}

.rc-liste li {
    padding: 1rem 1rem 1rem 2.2rem !important;
    margin-bottom: 0.8rem !important;
    border: 2px solid #eaeaea;
}

.rc-liste li::before {
    left: 0.9rem !important;
    top: 1.45rem !important;
}

.rc-liste strong,
.rc-warum,
.rc-termin {
    display: block;
}

.rc-warum {
    margin-top: 0.3rem;
}

.rc-termin {
    margin-top: 0.3rem;
    font-size: 0.95rem;
    color: #2A7800;
}

.rc-zusatz {
    border-left: 4px solid #111111;
    padding-left: 1rem;
}

.rc-cta {
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    background-color: #f4f4f4;
}

.rc-cta h3 {
    margin-top: 0;
}

.rc-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.rc-cta .btn-to-contact {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #111111;
}

.rc-cta .btn-to-contact:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .rc-frage legend {
        font-size: 5.5vw;
    }

    .rc-hinweis {
        font-size: 3.8vw !important;
    }

    .rc-antworten {
        flex-direction: column;
        gap: 3vw;
    }

    .rc-antwort {
        width: 100%;
        font-size: 4.2vw;
    }

    .rc-cta {
        padding: 5vw;
    }

    .rc-cta .btn-to-contact {
        width: 100%;
        font-size: 4.2vw;
    }
}
