/* Frontend Styles */
.humbee-reviews-wrapper {
    margin-bottom: 2rem;
    font-family: inherit;
}

.hr-header {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hr-header-stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

.humbee-review-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.humbee-review-badge {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 200px;
    flex: 1;
    max-width: 300px;
}

.humbee-review-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hr-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-right: 15px;
}

.hr-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hr-name {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.hr-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: bold;
    margin-top: 2px;
}

/* --- STERNE FIX --- */
.hr-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 14px;
    font-family: Arial, sans-serif; /* Sicherstellen einer Standard-Font */
    line-height: 1;
    margin: 4px 0;
    position: relative;
    white-space: nowrap; /* VERHINDERT UMBUCH */
}

.hr-stars::before {
    content: '★★★★★';
    color: #e2e8f0; /* Hintergrund grau */
    display: block;
}

.hr-stars::after {
    content: '★★★★★';
    position: absolute;
    left: 0;
    top: 0;
    width: var(--percent);
    overflow: hidden;
    color: #fbbf24; /* Vordergrund gelb */
    white-space: nowrap; /* WICHTIG */
    display: block;
}