/* ==========================================
   style.css - Hauptstylesheet
   Enthält alle Styles für die Website
   ========================================== */

/* ---------- Grundlegende Reset-Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Segoe UI', Roboto, Arial, sans-serif;
    overflow-x: hidden !important;
    font-size: 1rem;
    color: #f8f9fa;
    background-color: #1c2836;
}

a {
    text-decoration: none !important;
    transition: all 0.5s ease;
}

p {
    line-height: 1.6;
}

/* ---------- NAVIGATION (aus style-dark.min.css) ---------- */
#topnav {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: transparent;
    border: 0;
    transition: all 0.5s ease;
    min-height: 74px;
}

#topnav .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

#topnav .logo {
    float: left;
    color: #f8f9fa !important;
}

#topnav .logo .l-dark,
#topnav .logo .logo-dark-mode {
    display: none;
}
#topnav .logo .l-light,
#topnav .logo .logo-light-mode {
    display: inline-block;
}

#topnav .has-submenu.active a {
    color: #fff;
}
#topnav .has-submenu.active .submenu li.active > a {
    color: #2f55d4 !important;
}

#topnav .navbar-toggle {
    border: 0;
    position: relative;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

#topnav .navbar-toggle .lines {
    width: 25px;
    display: block;
    position: relative;
    margin: 30px 0 26px 10px;
    height: 18px;
}

#topnav .navbar-toggle span {
    height: 2px;
    width: 100%;
    background-color: #f8f9fa;
    display: block;
    margin-bottom: 5px;
    transition: transform 0.5s ease;
}

#topnav .navbar-toggle span:last-child {
    margin-bottom: 0;
}

/* Burger-Menü geöffnet */
#topnav .navbar-toggle.open span {
    position: absolute;
}
#topnav .navbar-toggle.open span:first-child {
    top: 6px;
    transform: rotate(45deg);
}
#topnav .navbar-toggle.open span:nth-child(2) {
    visibility: hidden;
}
#topnav .navbar-toggle.open span:last-child {
    width: 100%;
    top: 6px;
    transform: rotate(-45deg);
}

/* Navigation Menu */
#topnav .navigation-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#topnav .navigation-menu > li {
    float: left;
    display: block;
    position: relative;
    margin: 0 10px;
}

#topnav .navigation-menu > li > a {
    display: block;
    color: #f8f9fa;
    font-size: 13px;
    background-color: transparent !important;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
    padding: 25px 15px;
    min-height: 62px;
    transition: color 0.3s ease;
}

#topnav .navigation-menu > li.active > a,
#topnav .navigation-menu > li:hover > a {
    color: #2f55d4 !important;
}

#topnav .navigation-menu > li > a:hover {
    color: #2f55d4;
}

/* Menu-Extras (Burger-Button) */
#topnav .menu-extras {
    float: right;
}

/* Scroll-Zustand der Navbar */
#topnav.scroll {
    background-color: #1c2836;
    border: none;
    box-shadow: 0 0 3px rgba(173, 181, 189, 0.15);
}

#topnav.nav-sticky {
    background: #1c2836;
    box-shadow: 0 0 3px rgba(173, 181, 189, 0.15);
}

/* ---------- Mobile Navigation (<= 991px) ---------- */
@media (max-width: 991px) {
    #topnav {
        background-color: #1c2836;
        box-shadow: 0 0 3px rgba(173, 181, 189, 0.15);
        min-height: 74px;
    }

    #topnav .container {
        width: auto;
    }

    #topnav .navigation-menu {
        float: none;
    }

    #topnav .navigation-menu > li {
        float: none;
    }

    #topnav .navigation-menu > li > a {
        color: #f8f9fa;
        padding: 10px 20px;
    }

    #topnav .navigation-menu > li > a:hover {
        color: #2f55d4;
    }

    #topnav .navigation-menu > li.active > a {
        color: #2f55d4 !important;
    }

    #navigation {
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        display: none;
        height: auto;
        padding-bottom: 0;
        overflow: auto;
        border-top: 1px solid #2a3c51;
        border-bottom: 1px solid #2a3c51;
        background-color: #1c2836;
        box-shadow: 0 0 3px rgba(173, 181, 189, 0.15);
    }

    #navigation.open {
        display: block;
        overflow-y: auto;
    }

    .navbar-toggle {
        display: block;
    }
}

/* ---------- Desktop Navigation (>= 992px) ---------- */
@media (min-width: 992px) {
    #topnav .navigation-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #topnav .navigation-menu > li > a {
        padding-top: 25px;
        padding-bottom: 25px;
        min-height: 62px;
    }

    #topnav .navbar-toggle {
        display: none;
    }

    #topnav #navigation {
        display: block !important;
    }
}

/* ---------- Allgemeine Hilfsklassen ---------- */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ---------- Button-Styles ---------- */
.btn {
    padding: 8px 20px;
    outline: 0;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: #2f55d4;
    color: #fff;
    border-color: #2f55d4;
}
.btn-primary:hover {
    background-color: #2744a9;
    border-color: #2744a9;
    color: #fff;
}

.btn-soft-primary {
    background-color: rgba(47, 85, 212, 0.05) !important;
    border: 1px solid rgba(47, 85, 212, 0.05) !important;
    color: #2f55d4 !important;
    box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.1);
}
.btn-soft-primary:hover {
    background-color: #2f55d4 !important;
    border-color: #2f55d4 !important;
    color: #fff !important;
}

/* ---------- Card-Styles ---------- */
.card {
    background-color: #1c2836;
    border: 0;
    border-radius: 0.375rem;
    box-shadow: 0 0 3px rgba(173, 181, 189, 0.15);
}
.card .card-body {
    padding: 1.5rem;
}

/* ---------- Badge-Styles ---------- */
.badge {
    letter-spacing: 0.5px;
    padding: 4px 8px;
    font-weight: 600;
    line-height: 11px;
    display: inline-block;
    border-radius: 0.375rem;
}
.badge-primary {
    background-color: #2f55d4;
    color: #fff;
}

/* ---------- Text-Farben ---------- */
.text-primary {
    color: #2f55d4 !important;
}
.text-muted {
    color: #9bacc4 !important;
}
.text-white {
    color: #fff !important;
}
.text-dark {
    color: #f8f9fa !important;
}

/* ---------- Hintergrund-Farben ---------- */
.bg-primary {
    background-color: #2f55d4 !important;
}
.bg-dark {
    background-color: #1c2836 !important;
}
.bg-light {
    background-color: #1f2d3d !important;
}
.bg-white {
    background-color: #ffffff !important;
}

/* ---------- Abstände ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

/* ---------- Flexbox-Hilfsklassen ---------- */
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }
.d-inline-block { display: inline-block !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-start { justify-content: flex-start !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

/* ---------- Responsive Helfer ---------- */
@media (max-width: 576px) {
    .text-center-sm { text-align: center !important; }
    .d-block-sm { display: block !important; }
}

@media (max-width: 768px) {
    .text-center-md { text-align: center !important; }
}

/* ---------- Sonstige Hilfsklassen ---------- */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }
.w-25 { width: 25% !important; }

.h-100 { height: 100% !important; }

.rounded { border-radius: 6px !important; }
.rounded-circle { border-radius: 50% !important; }

.shadow { box-shadow: 0 0 3px rgba(173, 181, 189, 0.15) !important; }
.shadow-lg { box-shadow: 0 10px 25px rgba(173, 181, 189, 0.15) !important; }
.shadow-none { box-shadow: none !important; }

/* ---------- Scroll-Verhalten ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Footer ---------- */
.footer {
    background: #212f40;
    position: relative;
    color: #adb5bd;
}
.footer .footer-head {
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
}
.footer .footer-list {
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}
.footer .footer-list li {
    margin-bottom: 10px;
}
.footer .footer-list li a {
    color: #adb5bd;
    transition: all 0.5s ease;
}
.footer .footer-list li a:hover {
    color: #dee2e6;
}