/* ==========================================================================
   certana/trust-bar
   Smartphone: 3er-Raster, Symbol über Kurztitel, ohne Text.
   Tablet:     Raster mit Symbol links, Titel + Text.
   Desktop:    eine Zeile, Einträge durch feine Linien getrennt
               (1200–1399px: Symbol über dem Text, damit 5 Einträge Platz haben).
   ========================================================================== */

.trust-bar {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
}

.trust-bar__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 0.75rem;
    margin: 0;
    padding: 1.5rem 0;
    list-style: none;
}

.trust-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    text-align: center;
}

.trust-bar__icon {
    display: inline-flex;
    flex: none;
    color: var(--c-ink);
}
.trust-bar__icon .icon {
    width: 30px;
    height: 30px;
    stroke-width: 1.5;
}

.trust-bar__title {
    margin: 0;
    font-family: var(--font-sans);
    text-wrap: balance;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--c-ink);
}

.trust-bar__text {
    display: none;
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--c-muted);
}

.trust-bar__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s var(--ease);
}
.trust-bar__link:hover {
    color: var(--c-accent-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Smartphone: Kurztitel statt Langtitel, ausgeblendete Einträge weg */
.trust-bar__title-full { display: none; }
.trust-bar__item--desktop-only { display: none; }

/* Tablet ----------------------------------------------------------------- */
@media (min-width: 768px) {
    .trust-bar__list {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.75rem 2.5rem;
        padding: 2rem 0;
    }

    .trust-bar__item,
    .trust-bar__item--desktop-only {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.1rem;
        text-align: left;
    }

    .trust-bar__icon .icon { width: 34px; height: 34px; }

    .trust-bar__title {
        margin-bottom: 0.25rem;
        font-size: 0.9375rem;
        font-weight: 550;
        text-wrap: wrap;
    }
    .trust-bar__title-full { display: inline; }
    .trust-bar__title-short { display: none; }

    .trust-bar__text { display: block; }
}

/* Desktop: eine Zeile mit Trennlinien ------------------------------------ */
@media (min-width: 1200px) {
    .trust-bar__list {
        display: flex;
        gap: 0;
        padding: 1.6rem 0 1.75rem;
    }

    .trust-bar__item,
    .trust-bar__item--desktop-only {
        flex: 1 1 0;
        gap: 0.9rem;
        padding-inline: clamp(0.75rem, 1.2vw, 1.25rem);
        border-left: 1px solid var(--c-line);
    }
    .trust-bar__title { font-size: 0.9rem; }
    .trust-bar__text { font-size: 0.8125rem; }
    .trust-bar__item:first-child { padding-left: 0; border-left: 0; }
    .trust-bar__item:last-child { padding-right: 0; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .trust-bar__item,
    .trust-bar__item--desktop-only {
        flex-direction: column;
        gap: 0.65rem;
    }
    .trust-bar__icon .icon { width: 30px; height: 30px; }
}
