* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #0A0A0A;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0;
    height: 10px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar-track {
    background: #1E1E1E42;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(107.9deg, #5499FF 5.16%, #0662ED 84.46%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(86.63deg, #0662ED -0.44%, #5499FF 115.57%);
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-main {
    border-bottom: 0.7px solid var(--stroke, #393939);
    padding: 12px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

.navbar-main.scrolled {
    background-color: #030B15;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.navUl {
    gap: 50px;
}

.navLink {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.2px;
    vertical-align: middle;
    color: #FFFFFF !important;
    position: relative;
    padding: 2px 0 !important;
    overflow: hidden;
}

.navLink::after {
    display: block;
    content: '';
    border-bottom: solid 2px #FFFFFF;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

.navLink:hover:after {
    transform: scaleX(1);
}

.loginButton {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.46px;
    text-align: center;
    color: #FFFFFF !important;
    text-decoration: none;
    background: linear-gradient(107.9deg, #5499FF 5.16%, #0662ED 84.46%);
    padding: 11px 22px;
    border-radius: 100px;
    position: relative;
    /* transition: all 0.3s ease-in-out; */
}


.loginButton:hover {
    box-shadow: 0 0 5px 0 #5499FF inset, 0 0 5px 2px #0662ED;
    background: linear-gradient(86.63deg, #0662ED -0.44%, #5499FF 115.57%);
}




.navButtons {
    margin-left: 50px;
    display: flex;
    align-items: center;
    gap: 25px;

}

.language-selector {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.2px;
    vertical-align: middle;
    text-transform: uppercase;
    color: #FFFFFF;
    background: none !important;
    border: none !important;
    padding: 5px 0;
}

.lang-btn:hover {
    background: #e0e0e0;
}

.lang-btn .lang-flag {
    width: 24px;
    height: 24px;
}

.lang-btn .arrow {
    margin-left: auto;
    transition: transform 0.3s;
}

.lang-menu {
    position: absolute;
    top: 45px;
    left: 0;
    list-style: none;
    background: #9E9E9E14;
    backdrop-filter: blur(26px);
    border: 1px solid var(--stroke, #393939);
    border-radius: 6px;
    width: 80px;
    padding: 0;
    margin: 0;
    display: none;
}

.lang-menu li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.2px;
    vertical-align: middle;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}

.lang-menu li:first-of-type {
    border-radius: 6px 6px 0 0;
}

.lang-menu li:last-of-type {
    border-radius: 0 0 6px 6px;
}

.lang-menu li:hover {
    background: #030B15;
}

.language-selector.active .lang-menu {
    display: block;
}

.language-selector.active .arrow {
    transform: rotate(180deg);
}

.language-selector.active .lang-btn .lang-text {
    color: #0662ED; /* z.B. Highlight-Farbe */
}

/* (Optional) Hintergrund des Buttons, wenn Dropdown offen ist */
.language-selector.active .lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.flag-icon {
    width: 20px;
    height: auto;    /* Erhält das Seitenverhältnis */
    vertical-align: middle;
    margin-right: 8px; /* Abstand zwischen Flagge und Kürzel */
    border-radius: 3px;
}

/* Mobile Language Selector Styles */
.mobile-lang-item {
    width: 100%;
}

.mobile-language-selector {
    width: 100%;
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    background: none;
    border: none;
    padding: 5px 0;
    width: 100%;
    justify-content: flex-start;
}

.mobile-lang-toggle .lang-flag {
    width: 24px;
    height: 24px;
}

.mobile-lang-toggle .arrow {
    margin-left: auto;
    transition: transform 0.3s;
}

.mobile-lang-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.mobile-lang-collapse {
    width: 100%;
    margin-top: 10px;
}

.mobile-lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-lang-list li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    background: #1E1E1E42;
    border-bottom: 1px solid var(--stroke, #393939);
}

.mobile-lang-list li:first-child {
    border-radius: 6px 6px 0 0;
}

.mobile-lang-list li:last-child {
    border-radius: 0 0 6px 6px;
    border-bottom: none;
}

.mobile-lang-list li:hover {
    background: #030B15;
}

.mobile-lang-list .flag-icon {
    margin-right: 12px;
}

/* Optional: damit das <li>-Element selbst etwas flexibler ist */
/* .lang-menu li {
  display: flex;
  align-items: center;
} */

.navbar-toggler {
    padding: 0;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: brightness(10);
}

.registerBtn {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.46px;
    text-align: center;
    color: #FFFFFF !important;
    text-decoration: none;
    background: linear-gradient(86.63deg, #0662ED -0.44%, #5499FF 115.57%);
    padding: 11px 22px 11px 22px;
    border-radius: 100px;
    position: relative;
    /* transition: all 0.3s ease-in-out; */
    border: none;
    outline: none;
}

.registerBtn:focus {
    outline: none;
    box-shadow: none;
}

.registerBtn:hover {
    box-shadow: 0 0 5px 0 #5499FF inset, 0 0 5px 2px #0662ED;
    background: linear-gradient(107.9deg, #5499FF 5.16%, #0662ED 84.46%);
}

.main-footer {
    padding-top: 30px;
    margin-top: 130px;
    background-image: url(/media/images/frontpage/footer.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.footerDesc {
    width: 100%;
    max-width: 512px;
}

.footerDesc .footer-logo {
    width: 100%;
    max-width: 190px;
}

.footerDesc p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #ACACAC;
    margin-top: 29px;
}

.socialIcon {
    background-color: #9E9E9E14;
    border: 1px solid var(--stroke, #393939);
    width: 100%;
    max-width: 52px;
    height: 52px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    text-decoration: none !important;
    color: inherit;
}

.socialIcon,
.socialIcon:link,
.socialIcon:visited,
.socialIcon:hover,
.socialIcon:active {
    text-decoration: none !important;
}

.socialIcon:hover {
    background-color: #0D203B;
}

.socialIcon i {
    background: linear-gradient(99.61deg, #5499FF -5.69%, #0662ED 98.73%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 34px;
    text-decoration: none !important;
    /* Adjust size if needed */
}

.socialIcon i::before {
    text-decoration: none !important;
}


.socialIconsGroup {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 40px;
    margin-left: 35px;
}

.footerMenu h5 {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 65px;
}

.footerMenu a {
    display: block;
    width: max-content;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #ACACAC;
    text-decoration: none;
    margin-top: 14px;
}

.footerMenu a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

td,
th {
    background: none !important;
}

.contactMenu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.contactMenu i {
    font-size: 25px;
    background: linear-gradient(99.61deg, #5499FF -5.69%, #0662ED 98.73%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contactMenu p {
    margin-bottom: 0;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ACACAC;
}

.contactMenu p a {
    /* Optik übernehmen */
    color: inherit;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    /* exakt 1× Schriftgröße, wie im <p> */
    line-height: 100%;
    /* kein Abstand nach oben */
    margin-top: 0;
    /* kein Display:block oder margin/padding vom Footer-Menü */
    display: inline-block;
    vertical-align: middle;
    /* verhindern, dass .footerMenu a ein uppercase oder capitalize setzt */
    text-transform: none;
    /* Link-Unterstreichung entfernen */
    text-decoration: none;
}

/* (Optional) etwas Feedback beim Hover */
.contactMenu p a:hover {
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid var(--stroke, #393939);
    margin-top: 40px;
    padding: 20px 80px 20px 30px;
    display: flex;
    justify-content: end;
    gap: 60px;
}

.footer-bottom-bar a {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #ACACAC;
    text-decoration: none;
}

.footer-bottom-bar a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .contactMenu p {
        font-size: 16px;
    }

    .footerMenu a {
        font-size: 16px;
    }

    .footerDesc p {
        font-size: 16px;
    }

    .footer-bottom-bar a {
        font-size: 16px;
        line-height: 24px;
    }

    .socialIconsGroup {
        gap: 20px;
    }
}

@media screen and (max-width: 992px) {
    .navbar-main {
        background-color: #030B15 !important;
    }

    .footerMenu {
        padding-top: 20px;
    }

    .footerMenu h5 {
        margin-bottom: 18px;
    }

    .footerDesc .footer-logo {
        max-width: 170px;
    }

    .main-footer {
        margin-top: 50px;
    }

    .navUl {
        gap: 16px;
        margin-top: 28px;
    }

    .navButtons {
        margin-left: 0;
        gap: 20px;
        margin-top: 16px;
        margin-bottom: 10px;
    }

    .navLink {
        display: block;
        width: max-content;
    }
}

@media screen and (max-width: 768px) {
    .footer-bottom-bar {
        padding: 20px 0px 20px 0px;
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .socialIcon i {
        font-size: 26px;
    }

    .contactMenu i {
        font-size: 21px;
    }

    .footer-bottom-bar a {
        font-size: 14px;
        line-height: 21px;
    }

    .footer-bottom-bar {
        padding: 15px 0px 15px 0px;
        gap: 20px;
        margin-top: 22px;
        justify-content: space-between;
    }

    .contactMenu p {
        font-size: 14px;
    }

    .footerMenu h5 {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .footerMenu a {
        font-size: 14px;
        line-height: 23px;
    }

    .footerMenu {
        padding-top: 3px;
    }

    .socialIcon {
        max-width: 44px;
        height: 44px;
        padding: 8px;
    }

    .socialIconsGroup {
        gap: 15px;
        margin-top: 20px;
    }

    .footerDesc p {
        font-size: 14px;
        line-height: 23px;
        margin-top: 16px;
    }

    .footerDesc .footer-logo {
        max-width: 130px;
    }

    .main-footer {
        margin-top: 40px;
        padding-top: 20px;
    }

    .navUl {
        gap: 18px;
        margin-top: 24px;
    }

    .navbar-main {
        padding: 10px 0;
        background-color: #030B15;
    }

    .navbar-brand {
        width: 100%;
        max-width: 115px;
    }
}