/* Community-Einstieg: Vertrauens-/Info-Bloecke unterhalb der Kacheln.
   Ausgelagert aus community-entry.css (HR27: CSS max 300 Z pro Datei). */

.community-info {
    max-width: 880px;
    margin: var(--space-2xl) auto 0;
}

.community-info h2 {
    margin-bottom: 0.65rem;
    color: var(--plum);
    font-size: 26px;
    line-height: 1.2;
}

.community-info__lead {
    max-width: 680px;
    margin: 0 0 var(--space-lg);
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.65;
}

.community-info__illustration {
    width: min(12rem, 42vw);
    margin: 0 0 var(--space-lg);
}

.community-info__illustration picture,
.community-info__illustration img {
    display: block;
    width: 100%;
}

.community-info__illustration img {
    height: auto;
    border-radius: var(--radius);
}

.community-info__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    padding: 0;
    margin: 0;
    list-style: none;
}

.community-info__card {
    padding: var(--space-lg);
    background: linear-gradient(145deg, var(--white), var(--warm-white));
    border: 1px solid var(--warm-gray-dark);
    border-radius: var(--radius);
}

.community-info__card h3 {
    margin: 0 0 0.4rem;
    color: var(--plum);
    font-size: 18px;
    line-height: 1.25;
}

.community-info__card p {
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.community-info__card-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: var(--space-sm);
    color: var(--plum);
    background: var(--rose-pale);
    border: 1px solid var(--rose-light);
    border-radius: var(--radius-sm);
}

.community-info__card-icon svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}

.community-info__list {
    max-width: 680px;
    padding-left: 1.2rem;
    margin: 0;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.65;
}

.community-info__list li + li {
    margin-top: 0.6rem;
}

.community-info__steps {
    max-width: 680px;
    padding-left: 1.4rem;
    margin: 0 0 var(--space-lg);
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.65;
}

.community-info__steps li + li {
    margin-top: 0.4rem;
}

.community-info__steps li::marker {
    color: var(--plum);
    font-weight: 700;
}

.community-info__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.community-info__cta {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    background: var(--plum);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), transform var(--transition);
}

.community-info__cta:hover {
    color: var(--white);
    text-decoration: none;
    background: var(--plum-light);
    transform: translateY(-1px);
}

.community-info__cta:focus-visible,
.community-info__login:focus-visible {
    outline: 3px solid var(--lavender);
    outline-offset: 3px;
}

.community-info__login {
    color: var(--plum);
    font-size: 15px;
    text-decoration: underline;
}

@media (max-width: 820px) {
    .community-info {
        max-width: none;
    }

    .community-info__cards {
        grid-template-columns: 1fr;
    }

    .community-info h2 {
        font-size: 23px;
    }
}

@media (max-width: 640px) {
    .community-info__illustration {
        width: min(10rem, 48vw);
        margin-bottom: var(--space-md);
    }

    .community-info__actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-info__cta {
        transition: none;
    }

    .community-info__cta:hover {
        transform: none;
    }
}
