.epb-wrap {
    --epb-farbe: #7bbbbc;
    max-width: 540px;
    font-family: inherit;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Tabs */
.epb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.epb-tab {
    padding: 7px 18px;
    font-size: 14px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    background: transparent;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.epb-tab--aktiv {
    background: var(--epb-farbe);
    color: #fff;
    border-color: var(--epb-farbe);
    font-weight: 600;
}

/* Felder */
.epb-felder {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 1rem;
}

.epb-feld label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.epb-feld input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.15s;
}

.epb-feld input[type="number"]:focus {
    outline: none;
    border-color: var(--epb-farbe);
}

/* Hinweis */
.epb-hinweis {
    font-size: 12px;
    color: #999;
    margin-bottom: 1.25rem;
}

/* Button */
.epb-btn {
    padding: 9px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: var(--epb-farbe);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.15s;
}

.epb-btn:hover {
    opacity: 0.85;
}

/* Fehler */
.epb-fehler {
    font-size: 13px;
    color: #c0392b;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

/* Ergebnis */
.epb-ergebnis {
    margin-top: 1.5rem;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.25rem;
    display: none;
    background: #fff;
}

.epb-ergebnis--sichtbar {
    display: block;
}

.epb-ergebnis-titel {
    font-size: 13px;
    color: #888;
    margin: 0 0 1rem;
}

/* Ergebnis-Karten */
.epb-karten {
    display: grid;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.epb-karten--drei {
    grid-template-columns: 1fr 1fr 1fr;
}

.epb-karten--zwei {
    grid-template-columns: 1fr 1fr;
}

.epb-karte {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 12px;
}

.epb-karte-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.epb-karte-wert {
    font-size: 24px;
    font-weight: 700;
    color: var(--epb-farbe);
}

.epb-karte-einheit {
    font-size: 12px;
    color: #aaa;
    margin-left: 2px;
}

/* Trennlinie */
.epb-trennlinie {
    border: none;
    border-top: 1px solid #eee;
    margin: 1rem 0;
}

/* Schritte */
.epb-schritte-titel {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    margin-bottom: 10px;
}

.epb-schritt {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.epb-schritt-nr {
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--epb-farbe);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.epb-abschnitt-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    margin: 14px 0 6px;
}

/* Hinweis Rechteck */
.epb-rechteck-hinweis {
    background: #fff8e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #856404;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Tipp */
.epb-tipp {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #888;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .epb-felder {
        grid-template-columns: 1fr 1fr;
    }
    .epb-karten--drei {
        grid-template-columns: 1fr;
    }
    .epb-karten--zwei {
        grid-template-columns: 1fr 1fr;
    }
}
