/* Trust Showcase Section Plugin – ITSWEBER CMS
   Trust/USP cards with round SVG icon containers in a multi-column grid.
   Matches the demo "Darauf kannst du dich verlassen" section. */

.trust-showcase-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f0f4f8 0%, #fff 100%);
}

.trust-showcase-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.tss-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.tss-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-primary, #C62828);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.tss-label::before,
.tss-label::after {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--theme-primary, #C62828);
    border-radius: 1px;
}

.tss-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: inherit;
}

/* ── Grid ───────────────────────────────────────────────────────────────── */

.tss-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tss--cols-2 .tss-grid { grid-template-columns: repeat(2, 1fr); }
.tss--cols-3 .tss-grid { grid-template-columns: repeat(3, 1fr); }

/* ── Card ───────────────────────────────────────────────────────────────── */

.tss-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tss-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* ── Card Icon (round container) ────────────────────────────────────────── */

.tss-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(198, 40, 40, 0.08);
    transition: all 0.3s ease;
}

.tss-card:hover .tss-card-icon {
    background: rgba(198, 40, 40, 0.14);
}

.tss-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--theme-primary, #C62828);
    fill: none;
}

.tss-card-icon svg[fill="currentColor"] {
    fill: var(--theme-primary, #C62828);
    stroke: none;
}

/* ── Card Content ───────────────────────────────────────────────────────── */

.tss-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1a1a2e;
}

.tss-card-text {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ── Color Scheme Variants ──────────────────────────────────────────────── */

.trust-showcase-section.section--scheme-alt {
    background: linear-gradient(180deg, #faf9f7 0%, #fff 100%);
}

.trust-showcase-section.section--scheme-primary {
    background: var(--theme-primary, #C62828);
}

.trust-showcase-section.section--scheme-primary .tss-title,
.trust-showcase-section.section--scheme-primary .tss-label {
    color: #fff;
}

.trust-showcase-section.section--scheme-dark {
    background: #1e293b;
}

.trust-showcase-section.section--scheme-dark .tss-title {
    color: #fff;
}

/* ── Section Text Color Overrides ───────────────────────────────────────── */

.trust-showcase-section.section--text-black .tss-title,
.trust-showcase-section.section--text-black .tss-card-title {
    color: #1a1a2e !important;
}

.trust-showcase-section.section--text-white .tss-title,
.trust-showcase-section.section--text-white .tss-card-title {
    color: #fff !important;
}

.trust-showcase-section.section--text-white .tss-card-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.trust-showcase-section.section--text-theme .tss-title,
.trust-showcase-section.section--text-theme .tss-card-title {
    color: var(--theme-primary, #C62828) !important;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .trust-showcase-section {
        padding: 2.5rem 0;
    }

    .tss-title {
        font-size: 1.5rem;
    }

    .tss-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tss-grid {
        grid-template-columns: 1fr;
    }
}
