.customer-voices {
    background: var(--color-grey);
}

.customer-voices__grid {
    max-width: 1440px;
    margin-inline: auto;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 80px 56px;
}

.customer-voice {
    position: relative;
    min-width: 0;
    align-self: start;
    color: var(--color-dark);
    transition: transform 230ms ease;
}

.customer-voice__profile {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.customer-voice__portrait {
    width: calc(100% + 8px);
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.customer-voice__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    color: var(--color-dark);
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-light);
}

.customer-voice__logo-slot {
    height: 90px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.customer-voice__logo {
    width: 100%;
    max-width: 175px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.customer-voice__logo--enerviegruppe {
    width: 110%;
    max-width: 195px;
}

.customer-voice__logo--erlangener-stadtwerke {
    max-width: 180px;
}

.customer-voice__logo--gascade-logo {
    max-width: 90px;
}

.customer-voice__logo--ponton {
    width: 120%;
    max-width: 220px;
}

.customer-voice__logo--ie2s {
    max-width: 150px;
}

.customer-voice__logo--stawag-logo-orange {
    max-width: 185px;
}

.customer-voice__logo--transnetbw-logo {
    max-width: 190px;
    height: 42px;
    padding: 9px;
    box-sizing: border-box;
    background: #213a4a;
}

.customer-voice__name {
    margin-bottom: 4px;
    font-size: var(--font-size-l);
    text-align: left;
}

.customer-voice__person {
    min-width: 0;
    font-size: var(--font-size-s);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.customer-voice__quote {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-light);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.customer-voice__quote-mark {
    color: var(--color-danger);
    font-size: 64px;
    line-height: .6;
}

@media (max-width: 1100px) {
    .customer-voices__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px 40px;
    }
}

@media (max-width: 640px) {
    .customer-voices__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }

    .customer-voices__grid {
        padding-bottom: 64px;
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 641px) {
    .customer-voice:hover {
        z-index: 1;
        transform: scale(1.03);
    }
}

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