/* Navigation Styles – Tepto Corporate Design */
.navbar-custom {
    background: var(--gradient-gray-v04);
    box-shadow: var(--shadow-4dp);
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.navbar-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--tepto-primary);
}

.navbar-custom .navbar-brand {
    color: var(--on-primary) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.87) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    margin: 0 4px;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: var(--on-primary) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-custom .navbar-nav .nav-link.active {
    color: var(--on-primary) !important;
    background-color: rgba(120, 184, 51, 0.25);
    font-weight: 600;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(120, 184, 51, 0.35);
}

/* Subtitle */
.navbar-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

/* Icon Styling */
.nav-link i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-nav {
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-md);
        padding: 0.5rem;
        margin-top: 0.5rem;
        backdrop-filter: blur(10px);
    }

    .navbar-custom .navbar-nav .nav-link {
        margin: 2px 0;
    }
}

/* ============================================================
   SIMPLE HEADER – ersetzt die custom Navbar
   ============================================================ */
.header-simple {
    background: var(--gradient-gray-v04);
    box-shadow: var(--shadow-4dp);
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 16px;
}

/* Grüner Akzentstreifen unten links */
.header-simple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--tepto-primary);
}

/* Brand / Logo-Bereich */
.header-simple .header-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.header-simple .header-brand h1 {
    color: var(--on-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-simple .header-brand h1 i {
    font-size: 1.1rem;
    color: var(--tepto-primary);
}

.header-simple .subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Nav-Links */
.header-simple .header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.header-simple .header-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-simple .header-nav a:hover {
    color: var(--on-primary);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.header-simple .header-nav a.active {
    color: var(--on-primary);
    background-color: rgba(120, 184, 51, 0.25);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .header-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-simple .header-nav {
        background: rgba(255, 255, 255, 0.06);
        border-radius: var(--radius-sm);
        padding: 6px;
        width: 100%;
    }
}
