/* 🔥 GRUNDLEGENDE EINSTELLUNGEN */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 🔥 VIDEO CONTAINER STYLING */
.video-container {
    position: relative;
    width: 100%;
    height: 500px; /* Höhe des Video Containers */
    overflow: hidden;
    border: 1px solid #00ff00; /* Border um den Video Container auf 1px setzen */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Stellt sicher, dass das Video den gesamten Container ausfüllt */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dunkles Overlay für besseren Kontrast */
    z-index: 1; /* Setzt das Overlay über das Video */
}

/* Logo und Text Overlay */
.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Inhalt im Container */
    text-align: center;
    z-index: 2; /* Setzt den Inhalt über das Overlay */
    color: #fff; /* Weißer Text für Kontrast */
}

.video-content img {
    width: 30%; /* Logo-Breite auf 30% der Originalgröße */
    max-width: 300px; /* Maximalbreite auf 300px setzen */
    height: auto; /* Proportionale Höhe */
    margin-bottom: 20px; /* Abstand zwischen Logo und Text */
}

.video-content h1,
.video-content h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Textschatten für bessere Lesbarkeit */
}

/* 🔥 HIGHLIGHT KLASSE */
.highlight {
    color: #00ff00;
    font-weight: bold;
}

/* 🔥 HEADER STYLING */
header {
    background: linear-gradient(to bottom, #331e61, #000);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #00ff00; /* Dünne grüne Border unten */
}

/* 🔹 Logo */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 55px;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.1);
}

/* 🔹 Navigation */
.header-nav {
    display: flex;
    gap: 20px;
    align-items: center; /* Vertikale Ausrichtung */
}

.header-nav a {
    color: #ffdd00;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
    border-bottom: 2px solid transparent; /* Unauffällige Trennlinie */
}

/* Menüpunkt Hover-Glow */
.header-nav a:hover {
    color: #fff;
    border-bottom: 2px solid #00ff00;
}

/* Aktiver Link */
.header-nav a.active {
    color: #00ff00;
    border-bottom: 2px solid #00ff00;
}

/* 🔹 Dark-/Light-Mode & Sprache */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 🔹 Dark-/Light-Mode Button */
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #ffdd00;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: #fff;
}

/* 🔹 Login/Register Button */
.header-login {
    background: #ffdd00;
    color: #000;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.header-login:hover {
    background: #fff;
    color: #000;
}

/* 🔥 DYNAMISCHER INHALTSBEREICH */
main {
    margin-top: 80px;
    padding: 20px;
    flex: 1;
    min-height: 75vh;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
.dark-mode main {
    background-color: #13151C;
    color: #D1D5DB;
}

/* Light Mode */
.light-mode main {
    background-color: #f9f9f9;
    color: #333;
}

/* 🔥 FOOTER */
footer {
    background: #13151C;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    margin-top: auto;
    border-top: 2px solid #00ff00; /* Dünne grüne Border oben */
}

/* 🔹 Footer Inhalte */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-box {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.footer-box h4 {
    color: #ffdd00;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffdd00;
    padding-bottom: 5px;
}

.footer-box ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-box ul li {
    margin: 0;
}

.footer-box ul li::after {
    content: "|";
    margin-left: 15px;
}

.footer-box ul li:last-child::after {
    content: "";
}

/* 🔹 Footer Links untereinander mit Punkten */
.footer-links {
    list-style-type: disc; /* Punkte vor den Links */
    padding-left: 20px; /* Abstand der Punkte nach links */
    margin-top: 15px;
    display: block; /* Stelle sicher, dass die Liste in einem Block angezeigt wird */
}

.footer-links li {
    margin-bottom: 8px; /* Abstand zwischen den Links */
}

.footer-links a {
    color: #ffdd00;
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 🔹 Partner */
.footer-partner {
    margin-bottom: 20px; /* Platz zwischen Partner und dem Strich */
}

.partner-container {
    display: flex; /* Flexbox für eine horizontale Anordnung */
    justify-content: center; /* Zentriert die Partnerlogos */
    align-items: center;
    gap: 30px; /* Abstand zwischen den Logos */
}

.partner-item {
    text-align: center; /* Zentriert Text und Logos */
    position: relative;
}

.partner-item img {
    max-height: 40px; /* Begrenzung der Logo-Größe */
}

.partner-item p {
    margin-top: 5px;
    color: #ffdd00; /* Farbe für den Text unter dem Logo */
    font-weight: bold;
}

/* Dünner Strich zwischen Partnern */
.partner-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    height: 40px;
    border-right: 1px solid #ffdd00;
}

.partner-item:last-child::after {
    content: none; /* Entfernt den Strich bei der letzten Partner-Item */
}

/* 🔹 Social Media Icons */
.social-icons {
    text-align: center;
    margin-top: 20px;
}

.social-icons a {
    color: #ffdd00;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

/* Sicherstellen, dass Font Awesome Icons mit der richtigen Schriftart angezeigt werden */
i, .fa {
    font-family: 'Font Awesome 5 Free', 'Arial', sans-serif;
    font-weight: 900;  /* Notwendig, um die Icons korrekt darzustellen */
}

.social-icons a:hover {
    color: #fff;
}

/* 🔹 Copyright Bereich */
.footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #aaa;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🔹 Logo in Copyright */
.footer-bottom img {
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

/* 🔥 COOKIE-BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #4a0080, #331e61);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 221, 0, 0.7);
    text-align: center;
    min-width: 320px;
    max-width: 80%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* 🔹 Abstand zwischen Text und Button */
.cookie-banner p {
    margin-bottom: 16px;
    font-size: 14px;
}

/* 🔹 Cookie-Banner ausblenden */
.cookie-banner.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
}

/* 🔥 COOKIE-BUTTON */
.cookie-btn {
    background: #ffdd00;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 10px rgba(255, 221, 0, 0.8);
}

/* 🔥 BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(to bottom, #ffdd00, #e6b800);
    color: #000;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 10px rgba(255, 221, 0, 0.8);
    transition: all 0.3s ease-in-out;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.back-to-top-btn::before {
    content: "↑"; /* Pfeil nach oben */
    font-size: 20px;
}

/* 🔥 Hover-Effekt */
.back-to-top-btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(to bottom, #ffe066, #ffcc00);
    box-shadow: 0 6px 15px rgba(255, 221, 0, 1);
}

/* 🔥 RESPONSIVE ANPASSUNGEN */
@media screen and (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
    }

    /* Anpassungen für das Video-Overlay */
    .video-content img {
        width: 40%; /* Reduziert die Größe des Logos */
        max-width: 200px;
    }
}
