* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh; /* Sorgt dafür, dass der Body immer mindestens die Höhe des Viewports hat */
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column; /* Setzt die Elemente vertikal */
    justify-content: space-between; /* Stellt sicher, dass der Footer am unteren Rand bleibt */
    box-sizing: border-box;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.visible {
    visibility: visible;
    opacity: 1;
}

.header .logo-container .logoimg {
    filter: invert(1);
}

.main-content {
  flex: 1;
  padding-top: 20vh;
  padding-bottom: 22vh;
}

/* Smartphones Hochformat */
@media (max-width: 480px) and (orientation: portrait) {
  .main-content {
    padding-top: 16vh;
    padding-bottom: 26vh;
  }
}

/* Smartphones Querformat */
@media (max-width: 812px) and (orientation: landscape) {
  .main-content {
    padding-top: 32vh;
    padding-bottom: 16vh;
  }
}

/* Tablets Hochformat */
@media (min-width: 481px) and (max-width: 1024px) and (orientation: portrait) {
  .main-content {
    padding-top: 17vh;
    padding-bottom: 10vh;
  }
}

/* Tablets Querformat */
@media (min-width: 812px) and (max-width: 1024px) and (orientation: landscape) {
  .main-content {
    padding-top: 28vh;
    padding-bottom: 19vh;
  }
}

/* Optional: Supergroße Desktops */
@media (min-width: 1600px) {
  .main-content {
    padding-top: 18vh;
    padding-bottom: 21vh;
    
  }
}


/* 🔹 HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1E2460;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 0;
}
.logo-container a{
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    gap: 15px;
}
.header img {
    height: 50px;
}
.site-title {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

/* 🔹 NAVIGATION */
.navbar {
    gap: 2vw;
    align-content: center;
   
}
.navbar a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    padding: 15px 15px;
    position: relative;
}
.navbar a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background: white;
    transition: 0.3s;
    transform: translateX(-50%);
}
.navbar a:hover::after {
    width: 100%;
}
.headerIon {
    font-size: 40px; /* Hier kannst du die Größe des Icons anpassen */
    vertical-align: middle; /* Sorgt dafür, dass das Icon vertikal zentriert ist */
}

/* 🔹 Mobile Menü */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: transform 0.8s ease;
}

.menu-icon.rotated {
    transform: rotate(-90deg);
}

/* Ursprungszustand */
.mobile-menu {
    display: flex; /* Immer flex, nie display: none */
    flex-direction: column; /* Immer Spalten-Anordnung */
    justify-content: center;
    align-items: center;
    
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(22, 22, 49, 0.95);
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
    z-index: 999;

    /* Animation vorbereiten */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Sichtbarer Zustand */
.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}



.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    display: inline-flex;
    justify-content: center;
    position: relative;
    transition: 0.3s;
}

.mobile-menu a .link-text {
    position: relative;
}

.mobile-menu a .link-text::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background: white;
    transition: 0.3s;
    transform: translateX(-50%);
}

.mobile-menu a:hover .link-text::after {
    width: 100%;
}

.mobile-menu.show {
    display: flex;
}

/* 🔹 Responsive Haupt-Content */
.content {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.content h1 {
    font-size: 28px;
    color: royalblue;
}
.content p {
    font-size: 18px;
    margin-top: 10px;
    color: #333;
}

/*Footer */

/* Allgemeine Styles für Footer */
.footer {
    background-color: #1E2460;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 998;
   
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.social-media a {
    color: white;
    font-size: 30px;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.3s;
}

.social-media a:hover {
    color: #ddd;
}

/* Links für Mobile */
.footer-links {
    margin-top: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    margin: 0 8px;
    transition: 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer p {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Desktop Version */
@media (min-width: 1024px) {
  
    .desktop-footer {
         display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #1E2460;
        color: white;
        text-align: center;
        padding: 15px 0;
        margin-top: auto;
    }
    
  

    /* Links-Gruppen */
    .footer-links-container {
        display: flex;
        justify-content: space-between;
        width: 60%; /* Etwas kompakter für eine schönere Optik */
        margin-top: 10px;
    }

    .footer-links-left, .footer-links-right {
        display: flex;
        gap: 25px; /* Etwas mehr Abstand zwischen den Links */
    }

    /* Links Styling */
    .footer-links a {
        color: white;
        text-decoration: none;
        font-size: 14px;
        transition: 0.3s ease-in-out;
    }

    .footer-links a:hover {
        text-decoration: underline;
    }

    /* Social Media Icons */
    .social-media {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        gap: 20px; /* Mehr Abstand zwischen den Icons */
    }

    /* Copyright-Text mit sauberem Abstand */
    .footer p {
        margin-top: 20px; /* Etwas mehr Abstand nach oben */
        margin-bottom: 0;
    }
}




.footer-ipad-hoch {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Statt flex-start -> Zentriert Inhalte */
    position: relative;
    width: 100%;
    background-color: #1E2460;
    color: white;
    text-align: center;
  
}

.footer-ipad-hoch .social-media {
    display: flex;
    justify-content: center;
    gap: 10px; /* Kleineren Abstand zwischen Icons */
}

.footer-ipad-hoch .social-media ion-icon {
    font-size: 24px; /* Icons etwas kleiner */
    color: white;
}

.footer-ipad-hoch .footer-links {
    font-size: 12px;
}

.footer-ipad-hoch .footer-links a {
    color: white;
    text-decoration: none;
}

.footer-ipad-hoch p {
    font-size: 12px;
    margin: 0;
}

@media (min-width: 1024px) {
    
    
    .footer-ipad-hoch .social-media {
    display: flex;
    justify-content: center;
    gap: 10px; /* Kleineren Abstand zwischen Icons */
}

.footer-ipad-hoch .social-media ion-icon {
    font-size: 24px; /* Icons etwas kleiner */
    color: white;
    margin-bottom: 40px;
}

.footer-ipad-hoch .footer-links {
    font-size: 12px;
    padding-top: 10px;
}

.footer-ipad-hoch .footer-links a {
    color: white;
    text-decoration: none;
}

.footer-ipad-hoch p {
    font-size: 12px;
    margin: 0;
}
}



@media (max-width: 768px) {
    .mobile-footer-quer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #1E2460;
        color: white;
        text-align: center;
        padding: 15px 0;
    }
    
       .mobile-footer-quer .footer-links {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }

    .mobile-footer-quer .footer-links a {
        font-size: 14px;
        text-decoration: none;
        color: white;
    }

    .mobile-footer-quer .social-media {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 5px;
    }

    .mobile-footer-quer p {
        font-size: 10px;
        margin-top: 5px;
    }
    
    

}



/* Mobile Version */

@media (max-width: 768px) {
    .mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #1E2460;
        color: white;
        text-align: center;
        padding: 15px 0;
    }

    .mobile-footer .footer-links {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }

    .mobile-footer .footer-links a {
        font-size: 14px;
        text-decoration: none;
        color: white;
    }

    .mobile-footer .social-media {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 5px;
    }

    .mobile-footer p {
        font-size: 10px;
        margin-top: 5px;
    }
}



/* 🔹 RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    
    .navbar {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .site-title {
        font-size: 18px;
    }
    .logo-container {
        gap: 10px;
    }
    .header img {
        height: 40px;
    }
    .content {
        padding: 20px;
    }
    .content h1 {
        font-size: 24px;
    }
}
