/* =========================================
   IUNIXX – TESTIMONIALS
========================================= */

.testimonials-section {
    padding: 110px 0 120px;
    background: #F4F9FF;
}

.testimonials-container {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-inline: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px;
    border: 1px solid #E0E9F2;
    border-radius: 22px;
    background: #FFFFFF;
    color: #071725;
    box-shadow: 0 12px 35px rgba(7, 23, 37, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(7, 23, 37, 0.09);
}

/* Erste Karte – IUNIXX Orange */

.testimonials-grid > .testimonial-card:first-child {
    background: #FE7914;
    border-color: #FE7914;
    color: #FFFFFF;
}

.testimonials-grid > .testimonial-card:first-child
.testimonial-quote,
.testimonials-grid > .testimonial-card:first-child
.testimonial-name,
.testimonials-grid > .testimonial-card:first-child
.testimonial-role {
    color: #FFFFFF;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    color: #FE7914;
}
/* Sterne vollständig ausfüllen */

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
}

/* Weiße Sterne auf der orangenen Karte */

.testimonials-grid > .testimonial-card:first-child
.testimonial-stars {
    color: #FFFFFF;
}
.testimonials-grid > .testimonial-card:first-child
.testimonial-stars {
    color: #FFFFFF;
}

.testimonial-quote {
    flex: 1;
    margin: 0 0 32px;
    color: #071725;
    font-size: 1.12rem;
    line-height: 1.7;
}

.testimonial-author {
    padding-top: 20px;
    border-top: 1px solid #E0E9F2;
}

.testimonials-grid > .testimonial-card:first-child
.testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.35);
}

.testimonial-name {
    margin: 0;
    font-weight: 700;
    color: #071725;
}

.testimonial-role {
    margin: 5px 0 0;
    color: #52677D;
    font-size: 0.9rem;
}

/* Tablet */

@media (max-width: 1024px) {
    .testimonials-grid {
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 0 80px;
    }

    .testimonials-container {
        width: calc(100% - 36px);
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        scroll-snap-type: x mandatory;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .testimonial-card {
        flex: 0 0 min(85vw, 340px);
        scroll-snap-align: start;
    }
}

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

    .testimonial-card:hover {
        transform: none;
    }
}
/* =========================================
   TESTIMONIALS – ÜBERSCHRIFT
========================================= */

.testimonials-header {
    max-width: 850px;
    margin: 0 0 60px;
    text-align: left;
}

.testimonials-eyebrow {
    display: block;
    margin-bottom: 18px;

    color: #1499FE;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: var(--letter-spacing-label, 0.12em);
    text-transform: uppercase;
}

.testimonials-title {
    margin: 0;
    color: #071725;
    font-size: clamp(2.1rem, 3.6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: var(--letter-spacing-heading, 0.005em);
}

.testimonials-title span {
    color: #1499FE;
}

.testimonials-description {
    max-width: 720px;
    margin: 24px 0 0;
    color: #52677D;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.75;
}

/* Sterne korrekt ausfüllen */

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Leere Sterne dürfen nicht gefüllt werden */

.testimonial-stars svg[fill="none"] {
    fill: none;
}

@media (max-width: 768px) {
    .testimonials-header {
        margin-bottom: 40px;
    }

    .testimonials-description {
        font-size: 1rem;
    }
}