/* WICHTIG: Füge dies am Anfang hinzu oder passe es an, falls schon vorhanden */
html, body {
    height: 100%; /* Stellt sicher, dass der Body die volle Höhe des Viewports hat */
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex; /* Macht den Body zu einem Flex-Container */
    flex-direction: column; /* Stapelt die Inhalte (Header, Content) vertikal */
    /* Kein padding hier, da der Header absolut positioniert wird */
}


/* Bestehende Styles aus deiner Datei */
button:hover {
    background-color: #3700b3; /* Dunkleres Lila beim Hover */
}

a {
    color: #6200ea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

/* --- Angepasste Styles für Layout und Textbereich --- */

.header {
    width: auto; /* Die Breite passt sich dem Inhalt an */
    padding: 20px;
    box-sizing: border-box;
    /* NEU / GEÄNDERT */
    position: absolute; /* Aus dem normalen Dokumentenfluss nehmen */
    top: 0;            /* Oben am Viewport */
    right: 0;          /* Rechts am Viewport */
    z-index: 100;      /* Optional: Stellt sicher, dass es über anderem Inhalt liegt */
    /* display: flex; und justify-content: flex-end; sind hier nicht mehr direkt nötig für die äußere Positionierung */
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.login-container h2 {
    margin-top: 0;
    color: #0056b3;
}

.login-container form {
    display: flex;
    flex-direction: column;
}

.login-container label {
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-container button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #0056b3;
}

.login-container p {
    margin-top: 15px;
    font-size: 14px;
}

.login-container a {
    color: #007bff;
    text-decoration: none;
}

.login-container a:hover {
    text-decoration: underline;
}

/* Neuer Bereich für den Inhalt */
.content-container {
    max-width: 800px;
    margin: 40px auto; /* Initialer Margin */
    /* NEU / GEÄNDERT */
    margin-top: 100px; /* Erstellt Platz unter dem absolut positionierten Header */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    flex-grow: 1; /* Lässt den Inhaltsbereich den restlichen vertikalen Platz einnehmen */
}

.content-container h1 {
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
}

.content-container p {
    margin-bottom: 15px;
}
