#reviews-container {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 120px; /* minimale Höhe, optional anpassen */
    align-items: center;  /* vertikale Zentrierung */
    justify-content: center; /* optional, horizontal zentrieren */
}

/* Alle Reviews absolut positionieren, nur eine sichtbar */
.review {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    word-wrap: break-word;   /* Zeilenumbruch erzwingen */
    white-space: normal;     /* keine Einzeilige Darstellung */
}

.review.active {
    opacity: 1;
}

/* Review-Layout */

.review-header {
    display: flex;
    flex-direction: column; /* Name über Sternen */
    align-items: center;    /* alles zentriert */
    gap: 0.2rem;
    font-weight: bold;
    color: #00137F;
    margin-bottom: 0.5rem;
    margin-top: 0.8rem;
}

.review-stars {
    color: #FF6A00;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.review-author {
    text-align: center;
    font-size: clamp(12px, 2vw, 14px);
}

.review-text {
    margin: 0;
    text-align: center;
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.3;
    color: #00137F;
    overflow-wrap: break-word; /* lange Wörter umbrechen */
}

/* Anpassung für sehr kleine Bildschirme */
@media (max-width: 600px) {

    .review-text {
    font-size: clamp(10px, 2vw, 14px);
    }

#reviews-container {
    min-height: 110px; /* minimale Höhe, optional anpassen */
}

}


