/* -------------------------------------------------
   Beratung
------------------------------------------------- */

.beratung-block {
    margin: 1.5rem 0;
}


/* -------------------------------------------------
   Einleitung
------------------------------------------------- */

.beratung-block__intro {
    margin-bottom: 1.1rem;
}


.beratung-block__intro p {
    margin: 0;
    color: #464646;
    font-size: 0.9rem;
    line-height: 1.65;
}


/* -------------------------------------------------
   Primäre Beratungskarte
------------------------------------------------- */

.beratung-primary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;

    width: 100%;
    margin: 0;
    padding: 1.15rem;

    border: 1px solid #001E50;
    border-radius: 10px;

    background: #001E50;
    color: #FFFFFF;

    font-family: inherit;
    text-align: left;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.beratung-primary:hover,
.beratung-primary:focus {
    background: #001E50;
    color: #FFFFFF;

    box-shadow:
        0 6px 18px rgba(0, 30, 80, 0.16);

    transform: translateY(-1px);

    outline: none;
}


/* Icon */

.beratung-primary__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 2.6rem;

    width: 2.6rem;
    height: 2.6rem;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;

    font-size: 1rem;
}


/* Inhalt */

.beratung-primary__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-width: 0;
}


/* kleine obere Kennzeichnung */

.beratung-primary__eyebrow {
    margin-bottom: 0.15rem;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Hauptüberschrift */

.beratung-primary__title {
    margin-bottom: 0.2rem;

    color: #FFFFFF;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}


/* Beschreibung */

.beratung-primary__description {
    color: rgba(255, 255, 255, 0.82);

    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
}


/* Pfeil */

.beratung-primary__arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 1.5rem;

    color: #FFFFFF;

    font-size: 0.8rem;

    transition: transform 0.2s ease;
}


.beratung-primary:hover .beratung-primary__arrow {
    transform: translateX(3px);
}


/* -------------------------------------------------
   ODER DIREKT BESTELLEN
------------------------------------------------- */

.beratung-divider {
    display: flex;
    align-items: center;

    margin: 1.1rem 0;

    color: #8A8F95;

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.beratung-divider::before,
.beratung-divider::after {
    content: '';

    flex: 1 1 auto;

    height: 1px;

    background: #E1E5EA;
}


.beratung-divider span {
    padding: 0 0.75rem;
}


/* -------------------------------------------------
   Direktbestellungsoptionen
------------------------------------------------- */

.beratung-options {
    display: flex;
    flex-direction: column;

    gap: 0.75rem;
}


.beratung-option {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 0.9rem;

    width: 100%;

    margin: 0;
    padding: 1.05rem 1.1rem;

    border: 1px solid #DDE1E5;
    border-radius: 10px;

    background: #F5F7FA;

    color: #111111;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.beratung-option:hover {
    border-color: #AAB1B8;
    background: #FFFFFF;
}


/* -------------------------------------------------
   Checkbox
------------------------------------------------- */

.beratung-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.beratung-option__check {
    position: relative;

    flex: 0 0 1.35rem;

    width: 1.35rem;
    height: 1.35rem;

    margin-top: 0.1rem;

    border: 1.5px solid #AAB1B8;
    border-radius: 4px;

    background: #FFFFFF;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.beratung-option input:checked + .beratung-option__check {
    border-color: #001E50;
    background: #001E50;
}


.beratung-option input:checked + .beratung-option__check::after {
    content: '';

    position: absolute;

    top: 0.13rem;
    left: 0.39rem;

    width: 0.34rem;
    height: 0.67rem;

    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* -------------------------------------------------
   Aktive Karte
------------------------------------------------- */

.beratung-option:has(input:checked) {
    border-color: #001E50;

    background: #FFFFFF;

    box-shadow:
        0 0 0 1px rgba(0, 30, 80, 0.08);
}


/* -------------------------------------------------
   Text der Direktbestellung
------------------------------------------------- */

.beratung-option__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-width: 0;
}


.beratung-option__title {
    display: block;

    margin-bottom: 0.3rem;

    color: #001E50;

    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}


.beratung-option__description {
    display: block;

    color: #5B5F63;

    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.55;
}


/* -------------------------------------------------
   Aufmerksamkeit
------------------------------------------------- */

.beratung-block.beratung-attention
.beratung-option {
    border-color: #001E50;
}


/* -------------------------------------------------
   Mobile
------------------------------------------------- */

@media (max-width: 575.98px) {

    .beratung-block {
        margin: 1rem 0;
    }


    .beratung-block__intro {
        margin-bottom: 1rem;
    }


    .beratung-block__intro p {
        font-size: 0.87rem;
        line-height: 1.6;
    }


    .beratung-primary {
        gap: 0.8rem;

        padding: 1rem;
    }


    .beratung-primary__icon {
        flex-basis: 2.3rem;

        width: 2.3rem;
        height: 2.3rem;
    }


    .beratung-primary__title {
        font-size: 0.95rem;
    }


    .beratung-primary__description {
        font-size: 0.8rem;
    }


    .beratung-divider {
        margin: 1rem 0;
    }


    .beratung-option {
        padding: 0.95rem;
    }


    .beratung-option__title {
        font-size: 0.9rem;
    }


    .beratung-option__description {
        font-size: 0.8rem;
    }

}