/* Globale Stile für den gesamten Körper der Seite */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    line-height: 1.6;
}

/* Stil für den Hauptinhaltscontainer (wo die Zitate erscheinen) */
.container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Stil für das Zitat selbst */
#quoteDisplay {
    font-size: 1.8em;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

/* Stil für den Footer selbst */
footer {
    text-align: center;
    padding: 0px 20px; /* GEÄNDERT: Vertikales Padding des Footers auf 0px gesetzt */
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* NEU: Flexbox-Container für den Footer-Inhalt */
.footer-content {
    display: flex;
    flex-direction: column; /* Elemente untereinander anordnen */
    align-items: center; /* Inhalt horizontal zentrieren */
    justify-content: center; /* Inhalt vertikal im footer-content zentrieren */
    padding: 2px 0; /* GEÄNDERT: Minimales vertikales Padding hier kontrollieren */
    /* Wir steuern jetzt die inneren Abstände über gap */
    gap: 1px; /* NEU: Sehr kleiner Abstand zwischen den Flex-Items (contact-link und p-Elementen) */
}

/* Stil für die Paragraphen im Footer */
footer p {
    margin: 0; /* KEINE Margins, da gap das übernimmt */
    font-size: 1.0em;
    color: #FFFFFF;
    line-height: 1.2; /* Dichter Zeilenabstand */
}

/* Stil für den Kontakt-Link im Footer */
.contact-link {
    color: gold;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    /* display: inline-block; ist bei Flexbox nicht mehr nötig */
    margin: 0; /* KEINE Margins, da gap das übernimmt */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-link:hover {
    color: white;
    text-shadow: 0 0 10px gold;
}


/* Stile für die Kontaktseite (contact.html) */
.contact-container {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px;
    border-radius: 12px;
    margin: 40px auto;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.contact-container h2 {
    color: gold;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
    letter-spacing: 1px;
}

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

.contact-container label {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #e0e0e0;
    font-weight: bold;
    font-size: 1.1em;
}

.contact-container input,
.contact-container textarea {
    margin-top: 5px;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-container input:focus,
.contact-container textarea:focus {
    border-color: gold;
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.contact-container textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-container button {
    margin-top: 25px;
    padding: 12px 20px;
    background-color: gold;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.contact-container button:hover {
    background-color: #ffd700;
    color: #000;
    transform: translateY(-2px);
}

.contact-container button:active {
    transform: translateY(0);
}

.back-link {
    display: block;
    margin-top: 25px;
    text-align: center;
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: gold;
}
