/* Summary & StoreQuality Boxen */
.wg-summary-card, .wg-storequality-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    font-family: inherit;
}
.wg-score { font-size: 1.5rem; font-weight: 700; color: #1e293b; }
.wg-stars { color: #f59e0b; margin: 0 6px; letter-spacing: 2px; }
.wg-count { color: #64748b; font-size: 0.9rem; }
.wg-address { margin: 12px 0 8px 0; color: #334155; line-height: 1.4; }
.wg-status-row { font-size: 0.9rem; color: #475569; margin-bottom: 15px; }
.wg-badge-closed { background: #fee2e2; color: #dc2626; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.wg-badge-open { 
    background: #dcfce7; 
    color: #15803d; 
    padding: 2px 8px; 
    border-radius: 4px; 
    font-weight: 600; 
}

.wg-actions { display: flex; flex-direction: column; gap: 8px; }
.wg-btn {
    display: block;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.wg-btn-primary { background: #15803d; color: #fff; }
.wg-btn-outline { background: #f8fafc; color: #334155; border: 1px solid #cbd5e1; }
.wg-footer-link { margin-top: 12px; text-align: center; font-size: 0.85rem; }
.wg-footer-link a { color: #15803d; font-weight: 600; text-decoration: none; }

/* Händlerqualität */
.wg-sq-list { list-style: none; padding: 0; margin: 10px 0 0 0; }
.wg-sq-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #e2e8f0; font-size: 0.9rem; }
.wg-tag-green { color: #16a34a; }

/* Laufende Bandage (Ticker) */
.wg-ticker-wrapper { overflow: hidden; width: 100%; padding: 15px 0; background: #fafafa; }
.wg-ticker-track { display: flex; gap: 15px; width: max-content; animation: wgScroll 35s linear infinite; }
.wg-review-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px; width: 280px; flex-shrink: 0; }
.wg-rev-stars { color: #f59e0b; }
.wg-rev-text { font-size: 0.88rem; color: #334155; margin: 6px 0; }
.wg-rev-author { font-size: 0.8rem; color: #94a3b8; }

@keyframes wgScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Fliegendes Widget unten rechts */
#wg-floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}
#wg-floating-badge {
    background: #1e293b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.wg-badge-star { color: #f59e0b; }
#wg-floating-box {
    position: relative;
    width: 320px;
    display: none;
}
#wg-floating-container:not(.wg-minimized) #wg-floating-box { display: block; }
#wg-floating-container:not(.wg-minimized) #wg-floating-badge { display: none; }
#wg-floating-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
    z-index: 10;
}