/* ========= Globales Layout & Push-Footer START ========= */
html {
    height: 100%;
}

body {
    /* Grundlegende Body-Styles */
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Flexbox für den Push-Footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    /* Weist den Hauptinhalt an, zu wachsen und den Footer nach unten zu schieben */
    flex-grow: 1;
}
/* ========= Globales Layout & Push-Footer ENDE ========= */


/* =================================
 Logo
=================================
*/
.logo-container {
    position: absolute;
    top: 0;
    right: 100px;
    z-index: 10;
}

.logo-container img {
    max-width: 280px;
    height: auto;
}


/* =================================
 Mobile & Tablet Anpassungen (Responsive)
=================================
*/
/* KORREKTUR: Der Grenzwert wurde auf 1024px erhöht, um Tablets einzuschließen */
@media (max-width: 1024px) {
    .logo-container {
        /* Logo bündig am oberen Rand positionieren */
        top: 0;
        
        /* Diese Regeln sorgen für die horizontale Zentrierung */
        left: 0;
        right: 0;
        text-align: center;
    }
	
	.logo-container img {
    max-width: 380px;
    height: auto;
}
	
}


/* ========= CSS FÜR FOOTER START ========= */
.site-footer {
    background-color: #0d6b7e; /* Dunkler Blauton aus dem Bild */
    padding: 25px 0;
    color: white;
}

.site-footer nav ul {
    list-style: none; /* Entfernt Aufzählungszeichen */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Zentriert die Links */
    align-items: center;
    flex-wrap: wrap; /* Lässt Links auf Mobilgeräten umbrechen */
}

.site-footer nav li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px; /* Klickbereich vergrößern */
    display: block;
    transition: text-decoration 0.2s ease;
}

.site-footer nav li a:hover {
    text-decoration: underline; /* Unterstreichung beim Hovern */
}
/* ========= CSS FÜR FOOTER ENDE ========= */

/* ========= CSS FÜR POPUP-MODAL START ========= */
.modal {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px); /* Weichzeichnung des Hintergrunds */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #0d6b7e;
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    border: 1px solid #084c5a; /* Hinzufügen einer dunkleren Kante */
}

.modal-content h3 {
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid white;
    padding-bottom: 10px;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-button {
    background-color: white;
    color: #0d6b7e;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-button:hover {
    background-color: #f0f0f0;
    color: #084c5a;
}
