/* === Bewertungs-Streifen Startseite ===
   Bewusst schmal: 940px statt der bisherigen vollen Containerbreite. */
.nm-bw {
    --bw-navy: #16233F;
    --bw-gold: #E0AC33;
    --bw-rand: #ECE3CE;
    max-width: 940px;
    margin: clamp(40px, 5vw, 64px) auto;
    padding: 0 20px;
    text-align: center;
}
.nm-bw-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.nm-bw-titel {
    margin: 0;
    color: var(--bw-navy);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.008em;
}
.nm-bw-lead {
    margin: 8px 0 0;
    max-width: 46ch;
    color: #5a6270;
    font-size: clamp(13px, 1.05vw, 14.5px);
    line-height: 1.55;
}

.nm-bw-karten {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
    max-width: 600px;
}
.nm-bw-karte {
    flex: 1 1 210px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 18px;
    border: 1px solid var(--bw-rand);
    border-radius: 13px;
    background: #fff;
    text-decoration: none !important;
    transition: border-color .18s ease, transform .18s ease;
}
.nm-bw-karte:hover {
    border-color: var(--bw-gold);
    transform: translateY(-1px);
}
.nm-bw-karte:focus-visible {
    outline: 3px solid rgba(22, 35, 63, .35);
    outline-offset: 3px;
}

.nm-bw-marke { font-size: 15px; font-weight: 700; line-height: 1; }
.nm-bw-google { font-family: Arial, Helvetica, sans-serif; letter-spacing: -.4px; }
.nm-bw-pe { color: #7a838f; letter-spacing: -.2px; }
.nm-bw-pe b { color: var(--bw-navy); font-weight: 800; }

.nm-bw-zeile { display: flex; align-items: center; gap: 8px; }
.nm-bw-wert {
    color: var(--bw-navy);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Teilgefuellte Sterne: volle Reihe ueber leerer Reihe, per Breite beschnitten */
.nm-bw-sterne { position: relative; display: inline-block; line-height: 0; }
.nm-bw-sterne svg { width: 15px; height: 15px; display: inline-block; }
.nm-bw-sterne-leer { color: #DFD9CB; display: block; white-space: nowrap; }
.nm-bw-sterne-voll {
    color: var(--bw-gold);
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.nm-bw-anzahl { color: #6b7280; font-size: 12.5px; font-weight: 600; }

/* Echte Google-Rezensionen, Wortlaut siehe nm_bw_kuratiert() */
.nm-bw-zitate {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    text-align: left;
}
.nm-bw-zitate li {
    display: flex;
    flex-direction: column;
    padding: 15px 17px;
    border: 1px solid var(--bw-rand);
    border-radius: 12px;
    background: #FDFBF6;
}
.nm-bw-zitat-sterne { line-height: 0; }
.nm-bw-zitat-sterne .nm-bw-sterne svg { width: 13px; height: 13px; }
.nm-bw-zitate p {
    margin: 9px 0 0;
    color: #2b3444;
    font-size: 13.5px;
    line-height: 1.52;
}
.nm-bw-zitate cite {
    display: block;
    margin-top: auto;
    padding-top: 11px;
    color: #6b7280;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 700;
}

.nm-bw-quelle {
    margin: 12px 0 0;
    color: #8b929c;
    font-size: 12px;
}
.nm-bw-quelle a { color: #6b7280 !important; text-decoration: underline; }

@media (max-width: 860px) {
    .nm-bw-zitate { grid-template-columns: 1fr; gap: 10px; }
}

.nm-bw-link {
    margin-top: 18px;
    color: var(--bw-navy) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 2px solid var(--bw-gold);
    padding-bottom: 2px;
    transition: color .18s ease;
}
.nm-bw-link:hover { color: #0e1830 !important; }
.nm-bw-link:focus-visible { outline: 3px solid rgba(22, 35, 63, .35); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .nm-bw-karte, .nm-bw-karte:hover { transition: none; transform: none; }
}

@media (max-width: 520px) {
    .nm-bw { margin: clamp(32px, 8vw, 48px) auto; }
    .nm-bw-karten { gap: 10px; }
    .nm-bw-karte { flex: 1 1 100%; padding: 13px 16px; }
    .nm-bw-wert { font-size: 23px; }
}
