/* =======================================
   Heizbedarfsrechner Styles
   ======================================= */

/* Container */
#hbr-container {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    background: #fff;
    font-family: inherit;
}

#hbr-container h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

#hbr-container p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #333;
}

/* Buttons */
.hbr-btn,
.hbr-btn-primary {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.hbr-btn {
    background: #eee;
    color: #333;
}

.hbr-btn-primary {
    background: #F9BA00;
    color: #fff;
    font-weight: bold;
}

.hbr-btn-primary:hover {
    background: #e0a800;
}

/* Raum-Boxen */
.hbr-room {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.hbr-room h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.hbr-room label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.hbr-room input,
.hbr-room select {
    width: 100%;
    padding: 6px;
    margin-top: 3px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.hbr-room-actions {
    text-align: right;
}

/* Ergebnisbox */
.hbr-ergebnis-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.hbr-ergebnis-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.hbr-ergebnis-box p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Produkt-Grid: Mit Grid erzwingen */
.hbr-produkt-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.hbr-produkt-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    width: 100% !important;
}

.hbr-produkt-box:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hbr-produkt-box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.hbr-produkt-box h4 {
    font-size: 14px;
    margin: 8px 0;
    font-weight: normal;
    color: #333;
}

.hbr-produkt-box .price {
    font-size: 14px;
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
}

.hbr-produkt-box a.button {
    display: inline-block;
    padding: 8px 15px;
    background: #F9BA00;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 8px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.hbr-produkt-box a.button:hover {
    background: #e0a800;
}

/* Vorschau */
.hbr-preview {
    margin-top: 25px;
}

.hbr-preview h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .hbr-produkt-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hbr-produkt-grid {
        grid-template-columns: 1fr !important;
    }
}