/*===== HEADER CSS =====*/
header{
    position: fixed;
    width: 100vw;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    /*background-color: #e4f2f9;*/
    background-color: #fff;
    z-index: 1;
}
.container-head{
    padding: 20px 20px 0 20px;
}
#icon-menu{
    height: 30px;
    width: auto;
    padding-left: 20px;
    margin-right: 15px;
}
#timeline2{
    position: fixed;
    z-index: 0;
    display: inline-block;
    background-color: #db9b2d;
    height: 0;
    width: 100%;
    padding: 0;
    margin-top: 155px;
    animation: timeline 50s infinite;
    animation-direction: alternate;
    opacity: 1;
    animation-iteration-count: 1;
    visibility: hidden;
    top: -26px;
    animation-timing-function: linear;
}

@keyframes timeline {
    0% {
        height: 10px;
        visibility: visible;
        margin-left: -100%;
    }
    99% {height: 10px;}
    100% {margin-left: 0%;}
}



.menu-container{
    display: flex;
    flex-direction: row;
    padding: 20px 0 0 0;
    background: #fff;
}

.logo-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}
.logo-container > a > img{
    max-width: 480px;
    width: 300px;
    padding: 5px 0;
}
#header-second-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 2;
    padding-right: 6%;

}
.container-header-kontakt{
    border-bottom: solid 1px #1888c830;
}
.container-header-kontakt > ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
}
.container-header-kontakt > ul > li{
    display: flex;
    flex-direction: row;
    align-items: baseline;
}
.container-header-kontakt > ul > li > i{
    color: #214b7d;
    font-size: 20px;
}
.container-header-kontakt > ul > li > a{
    text-decoration: none;
    color: #000;
    display: block;
    padding: 0 20px;
}

.container-header-menu{
    display: flex;
    flex-direction: row;
}

.container-header-menu > a{
    text-decoration: none;
    color: #000;
    padding: 10px 20px 20px 20px;
    border-bottom: solid 2px #fff;

}
.container-header-menu > a:hover{
    color: #1888c8;
    border-bottom: solid 2px #1888c8;
}

.menu-container{
    display: none;
}
.menu-mobile > a > img{
    width: 100%;
}

.menu-mobile{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px 10px 20px;
    align-items: center;
    background: #fff;
}
.empty-box{
    height: 50px;
}
@media(min-width:1000px){
    .menu-container{
        display: flex;
    }
    .menu-mobile{
        display: none;
    }
    .empty-box{
        height: 90px;
    }
}

/*===== Box Mobile =====*/
/* ===== Slide-In Mobile Menü ===== */
#box-menu-mobile {
    position: fixed;
    top: 0;
    left: -300px; /* Startposition außerhalb vom Viewport */
    width: 280px;
    height: 100vh;
    background-color: #1888c8;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 9999;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

/* Wenn offen, dann schieb rein */
#box-menu-mobile.open {
    left: 0;
}

#headbox-mobile-menu {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

#icon-close-menu {
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.menu-point-mobile-menu {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s ease;
}

.menu-point-mobile-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
#icon-menu {
    width: 30px;
    height: auto;
    cursor: pointer;
    background: #fff;
}
@media(min-width: 1000px){
    .menu-mobile {
        display: none;
    }

    #box-menu-mobile {
        display: none !important;
    }
}
/* Gemeinsames Button-Styling */
.mobile-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10000;
}

/* Hamburger Bars */
.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background-color: #1888c8;
    transition: 0.3s ease;
}

/* Positioniert den Button oben rechts IM Menü */
#box-menu-mobile { position: fixed; left: -300px; width: 280px; /* ... */ }
#box-menu-mobile.open { left: 0; }

#headbox-mobile-menu { position: relative; height: 60px; }

.icon-close{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: transparent !important;
    border: 0;
    cursor: pointer;
    z-index: 10001;
}

/* optional Hover */
.icon-close:hover svg path { opacity: .85; }


@media(min-width: 1000px) {
    .mobile-toggle {
        display: none;
    }
}
.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*=====// Box Mobile =====*/






/*=====// HEADER CSS =====*/
/*=====  Cookie Banner =====*/
/* Container */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 1em 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 90%;
    width: 600px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    gap: 10px;
}

/* Text */
.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-link {
    color: #007bff;
    text-decoration: underline;
}

/* Button-Gruppe */
.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4; /* sorgt für zentrierten Text */
    border: none;
    transition: background 0.2s ease-in-out;
}

/* Grauer Button */
.btn-secondary {
    background: #f1f1f1;
    color: #333;
}
.btn-secondary:hover {
    background: #e0e0e0;
}

/* Blauer Button */
.btn-primary {
    background: #007bff;
    color: #fff;
}
.btn-primary:hover {
    background: #0069d9;
}
