/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #f4f4f4;
}

/* Header über absolute Positionierung */
header {
    position: relative;
    background: #333;
    height: 220px; /* Höhe so wählen, dass das Logo gut passt */
}

.header-logo {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

header h1 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #fff;
    font-size: 2em;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
}

h2, h3 {
    color: #333;
}

a {
    color: #444;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

form label {
    display: block;
    margin-top: 10px;
}

form input[type="text"],
form input[type="email"],
form input[type="date"],
form input[type="submit"],
form button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

form input[type="submit"],
form button {
    background: #333;
    color: #fff;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

form input[type="submit"]:hover,
form button:hover {
    background: #555;
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
}

legend {
    font-weight: bold;
    padding: 0 5px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    form input[type="text"],
    form input[type="email"],
    form input[type="date"],
    form input[type="submit"],
    form button {
        padding: 8px;
    }
    header {
        height: 180px;
    }
    header h1 {
        font-size: 1.5em;
    }
    .header-logo img {
        width: 150px;
        height: auto;
    }
}
