/* Google-Bewertungen als Slider */

.frame-dce-google-reviews .gr-box {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    padding: 40px 50px 30px;
}

/* Zusammenfassung oben */
.gr-summary {
    margin-bottom: 30px;
}

.gr-name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.gr-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.gr-rating-value {
    font-size: 20px;
    color: #fbbc04;
}

.gr-count {
    font-size: 14px;
    font-style: italic;
    color: #888;
}

/* Sterne: gefüllt je nach --gr-rating (0 bis 5), auch Teilsterne wie 4.9 */
.gr-stars {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 2px;
}

.gr-stars::before {
    content: "\2605\2605\2605\2605\2605";
    background: linear-gradient(90deg, #fbbc04 calc(var(--gr-rating, 0) / 5 * 100%), #dadce0 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gr-stars-small {
    font-size: 16px;
}

/* Slider */
.gr-slider {
    position: relative;
    margin: 0 -15px;
    padding: 0 30px;
}

.gr-slider .slick-track {
    display: flex;
}

.gr-slider .slick-slide {
    height: auto;
}

.gr-slide {
    padding: 0 15px;
}

.gr-review {
    height: 100%;
    padding: 20px 0 10px;
    border-top: 3px solid #F47825;
}

.gr-author {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.gr-author a {
    color: inherit;
    text-decoration: none;
}

.gr-author a:hover,
.gr-author a:focus-visible {
    text-decoration: underline;
}

.gr-date {
    font-size: 13px;
    font-style: italic;
    color: #333;
    margin: 4px 0 8px;
}

/* Lange Texte auf 6 Zeilen begrenzen, damit die Folien gleich hoch bleiben */
.gr-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pfeile */
.gr-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gr-arrow::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: auto;
    border-top: 3px solid #F47825;
    border-right: 3px solid #F47825;
}

.gr-prev {
    left: 0;
}

.gr-prev::before {
    transform: rotate(-135deg);
}

.gr-next {
    right: 0;
}

.gr-next::before {
    transform: rotate(45deg);
}

.gr-arrow:focus-visible {
    outline: 2px solid #F47825;
    outline-offset: 2px;
}

/* Punkte */
.gr-slider .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.gr-slider .slick-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #dadce0;
    font-size: 0;
    cursor: pointer;
}

.gr-slider .slick-dots .slick-active button {
    background: #F47825;
}

.gr-slider .slick-dots button:focus-visible {
    outline: 2px solid #F47825;
    outline-offset: 2px;
}

/* Fuß */
.gr-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.gr-all {
    color: #F47825;
    text-decoration: none;
}

.gr-all:hover,
.gr-all:focus-visible {
    text-decoration: underline;
}

.gr-attribution {
    color: #888;
    font-size: 12px;
}

.gr-empty {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 767px) {
    .frame-dce-google-reviews .gr-box {
        padding: 25px 20px 20px;
    }
}
