/* ================================================================
   Review Box — review-box.css  v1.4
   ================================================================ */

.review-box {
    --rb-accent:    #3b82f6;
    --rb-accent-lt: #60a5fa;
    --rb-bg:        #13131f;
    --rb-text:      #e2e8f0;
    --rb-muted:     #94a3b8;
    --rb-border:    rgba(255,255,255,.07);
    --rb-pro:       #4ade80;
    --rb-con:       #f87171;
    --rb-radius:    18px;

    background:    var(--rb-bg);
    color:         var(--rb-text);
    border-radius: var(--rb-radius);
    padding:       32px;
    font-family:   inherit;
    border:        1px solid var(--rb-border);
    width:         100%;
}

/* ---- Hero: Ring + Quote-Box ----------------------------------- */
.rb-hero {
    display:               grid;
    grid-template-columns: 140px 1fr;
    gap:                   28px;
    align-items:           stretch;
    padding-bottom:        28px;
    border-bottom:         1px solid var(--rb-border);
    margin-bottom:         28px;
}

/* ---- Ring ----------------------------------------------------- */
.rb-ring-wrap {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    justify-content: center;
    gap:            10px;
    flex-shrink:    0;
}

.rb-ring {
    position: relative;
    width:    130px;
    height:   130px;
}

.rb-ring svg {
    width:     130px;
    height:    130px;
    transform: rotate(-90deg);
}

.rb-ring-bg {
    fill:         none;
    stroke:       rgba(255,255,255,.08);
    stroke-width: 8;
}

.rb-ring-fill {
    fill:              none;
    stroke:            var(--rb-accent);
    stroke-width:      8;
    stroke-linecap:    round;
    stroke-dasharray:  345;
    stroke-dashoffset: 345;
    transition:        stroke-dashoffset 1.2s cubic-bezier(.22,1,.36,1);
}

.rb-ring-inner {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
}

.rb-score-main {
    font-size:      2.8rem;
    font-weight:    800;
    line-height:    1;
    color:          var(--rb-accent-lt);
    letter-spacing: -2px;
}

.rb-score-label {
    font-size:      0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color:          var(--rb-muted);
    margin-top:     10px;
}

/* ---- Quote-Box: Titel + Zitat in einer Box ------------------- */
.rb-quote-box {
    background:     rgba(255,255,255,.04);
    border-left:    3px solid var(--rb-accent);
    border-radius:  6px;
    padding:        18px 20px;
    display:        flex;
    flex-direction: column;
}

.rb-quote-title {
    font-size:      0.95rem;
    font-weight:    700;
    color:          var(--rb-text);
    line-height:    1.4;
    padding-bottom: 12px;
    margin-bottom:  14px;
    border-bottom:  1px solid rgba(255,255,255,.08);
}

.rb-quote-text {
    font-style:  italic;
    font-size:   1rem;
    line-height: 1.65;
    color:       var(--rb-muted);
    margin:      0;
}

/* ---- Subwertungen --------------------------------------------- */
.rb-subs {
    display:        grid;
    grid-template-columns: 1fr 1fr;
    gap:            16px 32px;
    margin-bottom:  28px;
    padding-bottom: 28px;
    border-bottom:  1px solid var(--rb-border);
}

.rb-sub-item {
    display:        flex;
    flex-direction: column;
    gap:            7px;
}

.rb-sub-meta {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
}

.rb-sub-label {
    font-size:   0.8rem;
    color:       var(--rb-muted);
    font-weight: 500;
}

.rb-sub-score {
    font-size:   0.85rem;
    font-weight: 700;
    color:       var(--rb-text);
}

.rb-bar-track {
    height:        5px;
    background:    rgba(255,255,255,.08);
    border-radius: 99px;
    overflow:      hidden;
}

.rb-bar-fill {
    height:        100%;
    background:    var(--rb-accent);
    border-radius: 99px;
    width:         0;
    transition:    width 1s cubic-bezier(.22,1,.36,1);
}

/* ---- Pro / Kontra --------------------------------------------- */
.rb-procon {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   16px 32px;
}

.rb-procon-head {
    display:        flex;
    align-items:    center;
    gap:            7px;
    font-size:      0.7rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom:  12px;
}

.rb-pro-head { color: var(--rb-pro); }
.rb-con-head { color: var(--rb-con); }

.rb-procon-list {
    list-style:     none;
    margin:         0;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            9px;
}

.rb-procon-list li {
    display:     flex;
    align-items: flex-start;
    gap:         8px;
    font-size:   0.85rem;
    line-height: 1.5;
    color:       #cbd5e1;
}

.rb-pro-icon { color: var(--rb-pro); flex-shrink: 0; margin-top: 1px; }
.rb-con-icon { color: var(--rb-con); flex-shrink: 0; margin-top: 1px; }

/* ---- Responsive ----------------------------------------------- */
@media (max-width: 520px) {
    .review-box  { padding: 20px; }
    .rb-hero     { grid-template-columns: 1fr; justify-items: center; }
    .rb-subs     { grid-template-columns: 1fr; gap: 14px; }
    .rb-procon   { grid-template-columns: 1fr; }
}

/* ---- Elementor Editor ----------------------------------------- */
.elementor-editor-active .review-box {
    outline:        2px dashed rgba(59,130,246,.4);
    outline-offset: 4px;
}
