* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: url('./images/bg01.webp') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    display: flex;
    flex-direction: column;
}

.overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;          /* Stellt sicher, dass das Overlay den gesamten Bildschirm abdeckt */
    background-color: #e2e2e2e6;
    z-index: 9998;      /* Stelle sicher, dass es unter dem Hauptinhalt ist (z.B. Header, Footer) */
}


.top {
    width: 100%;
    height: 60px;
    background-color: #d8e8f4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    transition: top 0.3s; /* Weiche Animation */
}

.header {
    margin-top: 50px;
    aspect-ratio: 3.2 / 1;
    width: 100%;
    height: auto;
    position: relative;
}

.header img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.header img.active {
    opacity: 1;
}

.container, .container3 {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
}

.content {
    padding: 20px;
    min-height: 400px;
    flex-grow: 1; /* Contentbereich wächst */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Verhindert, dass der Inhalt vertikal zentriert wird */
}
.footer {
    display: flex;
    justify-content: space-between;
    background-color: #d7e7f4;
    padding-bottom: 10px;
    flex-wrap: wrap; /* Ermöglicht es den Boxen, sich auf neue Zeilen zu bewegen */
    border-top: 1px solid #ccc;
    margin-top: auto;
    width: 100%; /* Stellt sicher, dass der Footer die gesamte Breite einnimmt */
    box-sizing: border-box;
    max-height: fit-content;
}

.footer .container3 {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%; /* Damit die Container sich der verfügbaren Breite anpasst */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    height: auto;
}

.footer-box {
    flex: 1 0 24%; /* Maximale Breite der Boxen wird auf 24% gesetzt */
    border: 1px solid rgba(204, 204, 204, 0.54);
    padding: 10px 20px;
    text-align: left;
    box-sizing: border-box;
    margin-left: 10px; /* Optionaler Abstand zwischen den Boxen */
    margin-right: 10px; /* Optionaler Abstand zwischen den Boxen */
}
.footer-box2 {
    flex: 100%; /* Maximale Breite der Boxen wird auf 24% gesetzt */  
    padding: 10px 20px 0px 20px;
    text-align: center;
    box-sizing: border-box;
    margin: 10px; /* Optionaler Abstand zwischen den Boxen */
}
.footer-box h3 {
    margin-bottom: 10px; /* Abstand zwischen Titel und Inhalt */
    color: #333;
}

.footer-box a {
    display: block; /* Links untereinander anordnen */
    margin-bottom: 10px; /* Abstand zwischen den Links */
}




h1 {
    color: #2558be;
    margin-bottom: 15px;
}

h2 {
    color: #9387eb;
        margin-bottom: 15px;
}

.container a {
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid rgba(37, 88, 190, 0.4);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: rgba(37, 88, 190, 0.7);
    font-weight: bold;
    transition: background 0.3s ease;
}

a {
    text-decoration: none;
    color: #333;
}
    
a:hover {
    background: rgba(37, 88, 190, 0.2);
}
    
.btn {
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-radius: 6px;
    float: left;
    margin: 5px;
}
    
.btn-2 {
    float: none;
    padding: 0 5px;
    text-decoration: none;
}
.btn-2:before {
    content: '>';
    color: darkslategrey;
    padding-right: 8px;

}
    
.container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.container2 {
    max-width: 900px;
    margin: 40px auto 40px auto;
    padding: 20px 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    b/ackground-color: rgba(255, 255, 255, 0.32);
    background-color: rgba(69, 96, 118, 0.12);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    line-height: 1.6;
}

.container2 p {
    margin-bottom: 10px;

}
.text-justify {
    text-align: justify;
}
.text-center {
    text-align: center;
}

.text-center-farbe {
    text-align: center;
    font-weight: bold;
    color: #2558be;
}
.logo {
    position: relative;
    background: url(./images/logo.webp);
    background-size: 100% 100%;
    top: 5px;

    width: 250px;
    height: 60px;
    margin-left: 50px;
    padding: 0;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out
}