.rechner-container {
    margin: 2em auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 12px #0000000F;
}
.rechner-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.rechner-container input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.rechner-container .button-gruppe {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.rechner-container button {
    padding: 0.875rem;
    background-color: #36a271;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.rechner-container button:hover {
    background-color: #2d8a5f;
}

.rechner-container .btn-anleitung {
    background: #e6e6e6;
    color: #333;
}

.rechner-container .btn-anleitung:hover {
    background: #d0d0d0;
}

.rechner-container .anleitung-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.rechner-container .anleitung-content h3 {
    margin-top: 0;
    color: #333;
}

.rechner-container .anleitung-img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.rechner-container .btn-schliessen {
    background-color: #6c757d;
    margin-top: 1rem;
}

.rechner-container .btn-schliessen:hover {
    background-color: #5a6268;
}

.rechner-container .ergebnis {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f6f7f7;
    border-radius: .5rem;
    text-align: center;
}
.rechner-container .ergebnis p {
    margin: 5px 0;
}
.rechner-container .error-message {
    color: red;
    font-weight: bold;
}
.rechner-container .hinweis {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 15px !important;
    color: #555;
}
.rechner-container .hinweis strong {
    font-style: normal;
}
.text-center {
    text-align: center;
}
