/* style.css */

.brutto-netto-rechner-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 20px auto;
    flex-wrap: wrap; /* Wichtig für die responsive Darstellung */
}

#brutto-netto-rechner-form,
#ergebnis {
    width: 48%; /* Jeder Container nimmt fast die Hälfte der Breite ein */
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    box-sizing: border-box; /* Padding und Border in die Breite einbeziehen */
}

/* Anpassung für kleine Bildschirme */
@media (max-width: 768px) {
    .brutto-netto-rechner-container {
        flex-direction: column;
        gap: 20px;
        margin: 10px;
    }

    #brutto-netto-rechner-form,
    #ergebnis {
        width: 100%;
        margin: 0;
    }
}

#brutto-netto-rechner-form h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 25px;
    font-size: 2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

#brutto-netto-rechner-form p.disclaimer {
    font-style: italic;
    color: #888;
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 20px;
}

#brutto-netto-rechner-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#brutto-netto-rechner-form input[type="number"],
#brutto-netto-rechner-form select {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

#brutto-netto-rechner-form input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}

#brutto-netto-rechner-form button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#brutto-netto-rechner-form button:hover {
    background-color: #0056b3;
}

#ergebnis {
    padding-top: 0;
    border-top: none;
    **background-color: #f5f5f5;** /* Hier wurde die Farbe geändert */
}

#ergebnis h3 {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6em;
    text-align: center;
}

#ergebnis p {
    font-size: 1.1em;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}

#ergebnis p:last-of-type {
    font-size: 1.3em;
    font-weight: bold;
    color: #007bff;
    border-bottom: none;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #007bff;
}
#ergebnis p span {
    color: #222;
}

#ergebnis hr {
    border: none;
    **border-top: 1px solid #ddd;** /* Hier wurde die Farbe geändert */
    margin: 20px 0;
}