/* Brennholzrechner Roß 1.4 – designed to blend into the existing Divi layout. */
.br-rechner {
    --br-green: #a9e900;
    --br-green-hover: #baf52a;
    --br-blue: #24485f;
    --br-brown: #8b4f00;
    --br-brown-dark: #6f3d00;
    --br-text: #263238;
    --br-muted: #6b6f72;
    --br-border: #ded6c8;
    --br-soft: #f7f4ed;
    --br-warm: #fcf7ee;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--br-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}
.br-rechner *, .br-rechner *::before, .br-rechner *::after { box-sizing: border-box; }

.br-rechner__card {
    position: relative;
    background: #fff;
    border: 1px solid var(--br-border);
    border-radius: 7px;
    padding: 24px 26px 26px;
    box-shadow: 0 5px 18px rgba(50, 38, 20, .045);
}
.br-rechner__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 20px;
}
.br-rechner__field { min-width: 0; }
.br-rechner__label {
    display: block;
    margin: 0 0 6px;
    color: var(--br-blue);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}
.br-rechner__input {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    background: #fff;
    color: var(--br-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.br-rechner__input:focus {
    outline: none;
    border-color: var(--br-brown);
    box-shadow: 0 0 0 2px rgba(139, 79, 0, .12);
}
.br-rechner__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eee9df;
}
.br-rechner__button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 4px;
    min-height: 38px;
    padding: 8px 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.br-rechner__button:hover { transform: translateY(-1px); }
.br-rechner__button[aria-pressed="true"],
.br-rechner__button--active {
    background: var(--br-green) !important;
    border-color: var(--br-green) !important;
    color: #162000 !important;
}
.br-rechner__button[aria-pressed="true"]:hover,
.br-rechner__button--active:hover { background: var(--br-green-hover) !important; }
.br-rechner__button--secondary {
    background: #f0f0ef;
    border-color: #d8d8d5;
    color: #333;
}
.br-rechner__button--secondary:hover { background: #e8e8e6; }
.br-rechner__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.br-rechner__result {
    min-width: 0;
    padding: 13px 8px 12px;
    text-align: center;
    background: var(--br-soft);
    border: 1px solid var(--br-border);
    border-radius: 5px;
}
.br-rechner__result span {
    display: block;
    color: var(--br-blue);
    font-size: 13px;
    font-weight: 600;
}
.br-rechner__result strong {
    display: block;
    margin-top: 3px;
    color: var(--br-brown-dark);
    font-size: 23px;
    line-height: 1.2;
}
.br-rechner__calc {
    margin-top: 11px;
    padding: 10px 12px;
    background: var(--br-warm);
    border-left: 3px solid var(--br-brown);
    border-radius: 0 4px 4px 0;
    color: #3b3b3b;
    font-size: 14px;
    line-height: 1.5;
}
.br-rechner__cost { margin-top: 9px; }
.br-rechner__note {
    margin: 13px 0 0;
    color: var(--br-muted);
    font-size: 12px;
    line-height: 1.5;
}
.br-rechner__note strong { color: #555; }
@media (max-width: 700px) {
    .br-rechner__grid { grid-template-columns: 1fr; gap: 14px; }
    .br-rechner__results { grid-template-columns: 1fr; gap: 8px; }
    .br-rechner__result { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; padding: 10px 13px; }
    .br-rechner__result strong { margin-top: 0; }
}
@media (max-width: 480px) {
    .br-rechner__card { padding: 18px 16px 20px; }
    .br-rechner__quick { display: grid; grid-template-columns: 1fr 1fr; }
    .br-rechner__button { width: 100%; }
}
