﻿/* Header 1 */
.site-header {
    background: var(--header-color);
    border-bottom: 1px solid #000000; /* Linie unten */
    position: relative;
}

/* Schlanke obere Linie (0.5px) mit großem Schatten */
.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px; /* 0.5px Linie + 27px Schatten */
    background: linear-gradient(
        to bottom,
        #136392 0px,
        #136392 0.5px,
        rgba(0,0,0,0.6) 4px,
        rgba(0,0,0,0) 100%
    );
    z-index: 100;
    pointer-events: none;
}

/* Schatten unter der unteren Linie */
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -24px;
    height: 24px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0) 100%
    );
    pointer-events: none;
}

/* Header 2 */
.header-image {
    position: relative;
    height: 160px; /* kompaktere Höhe */
    overflow: hidden;
}

.header-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/img/header-bg.png');
    background-repeat: repeat-x;
    background-size: auto 160px; /* gleiche Höhe wie .header-image */
    background-position: top center;
    background-attachment: fixed;
    z-index: 0;
}

.header-image h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,.4);
}

/* Header 3: Navbar */
.navbar {
    background: var(--navbar-color);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-nav .nav-link {
    color: #fff;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--mkr-primary);
}

/* Burger-Button */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    color: #fff;
    z-index: 1100;
}

/* Weißes Burger-Icon für dunkle Navbar */
.navbar-dark .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
