/* Grundlegende Seiteneinstellungen */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #2c3e50;
    padding: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Überschrift-Styling */
h1 {
    color: #2980b9;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Beschreibungstext */
p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Formular-Container */
form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

/* Label-Styling */
label {
    display: block;
    margin-top: 1rem;
    color: #34495e;
    font-weight: 500;
}

/* Eingabefelder und Auswahlfelder */
input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52,152,219,0.3);
}

/* Button-Styling */
button {
    width: 100%;
    padding: 12px;
    margin-top: 2rem;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3498db;
}

button:active {
    transform: scale(0.98);
}

/* Ergebnis-Container */
#result {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    form {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}
