div#header_3 {
    display: flex;
    gap: 20px;
    
    .button_navigation{


        a.telefon_nav{
            text-decoration: none;
            color: #4b4b4b !important;
            padding: 0px;
            border: none;
            background: unset !important;
            position: relative;
        }

        a.telefon_nav::after {
            content: "";
            position: absolute;
            left: -30px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background-image: url(/userdata/06_Bausteine/phone_orig_w.svg);
            background-repeat: no-repeat;
            background-size: 15px 15px;
        }
    }        
}

header .header__main-nav {
  display: none;
  width: 100%;
  position: absolute;
  left: 0px;
  z-index: 99;
  background-color: var(--fc-sky);
  top: 59px;
  padding: 30px 0px;



    a:hover {
        opacity: unset !important;
    }

    /* Button container */
    .header__col-contact {
        padding-top: 25px;
        .component.header__contact{
        .collection_list.header__col-contact{
            padding: 0px;
                .collection_container{
                    max-width: 220px;
                    height: 50px;

                    display: flex;
                    align-items: center;
                    gap: 10px;

                    padding: 0 14px;

                    border-radius: 13px;
                    cursor: pointer;

                    text-decoration: none;
                    transition: all 0.2s ease;

                }
            } 
        }
    }
     
    

    /* icon */
    .collection_container .header__col-contact__img img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    }

    /* title */
    .collection_container .header__col-contact__title {
        color: #fff;
        font-size: var(--fs-500);
        font-weight: var(--fw-400); 
    }

    /* link */
    .collection_container .header__col-contact__link {
        /* position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0; */
         a {
            color: #fff;
            
            text-decoration: none;
            white-space: nowrap;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 10;
            opacity: 0;
        }
    }
   

    /* mobile safety */
    @media (max-width: 768px) {
    .collection_container:has(.header__col-contact__link) {
        max-width: 100%;
    }
    }
}

header nav{
    overflow: hidden;
    ul.level_2 li{
         display: none;
    }
} 

header .header__main-nav .container {
    height: 470px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    @media (max-width: 1755px){
        height: 500px;
    }
}

header #header_2 .header__main-nav .container .header__alllinks{
    border-bottom: 1px solid var(--primary-accent);
    padding-bottom: 5px;

    ul.level_1 {
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        /* gap: 2rem; */
        justify-content: space-between;
        align-items: unset;
        a{
            color: #4b4b4b !important;
        }
    }
}

.header__alllinks {
    ul.level_1 li.level_1.levels > a{
        font-weight: var(--fw-semibold);
    }
}

.header__alllinks {
    li.level_1.levels {
        flex: 1;
        position: relative;
        max-width: 700px;
        width: 20%;

        
        header .header__alllinks li.level_1>a {
            width: 100%;
            border-bottom: 1px solid var(--clr-border);
            padding-bottom: 7px;
            margin-bottom: 20px;
            font-size: var(--fs-title-sm);
            font-weight: var(--fw-600);
            display: block;
        }
        ul.level_2 a p.level_2_title {
            color: #4b4b4b !important;
        }
        header .header__alllinks li.level_1 ul.level_2 li.level_2{
            a {
            width: 100%;
            border-bottom: 1px solid var(--clr-border);
            padding-bottom: 7px;
            margin-bottom: 20px;
            font-size: var(--fs-title-sm);
            font-weight: var(--fw-600);
            display: block;
            color: #4b4b4b !important;
            }
        } 
    }
}
header .header__main-nav .container li.level_1.levels ul.level_2 {
    display: flex !important;
    flex-wrap: wrap;
    /* gap: 15px; */
    flex-direction: column;

    a{
        color: #4b4b4b !important;
    }
}
header .header__main-nav .container ul.level_2 {
  display: flex !important;
  flex-wrap: wrap;
  gap: 15px;
}

/* Make level_2 links fill full container width so focus ring covers the whole row */
.nav_description_wrapper a {
    display: block;
    width: 100%;
}

header #header_2:hover .header__main-nav,
header #header_2:focus-within .header__main-nav {
  display: flex;
}

/* Focus ring for nav links in dropdown */
header .header__main-nav a:focus-visible,
header .header__main-nav ul.level_1 a:focus-visible,
header .header__main-nav ul.level_2 a:focus-visible,
.nav_description_wrapper a:focus-visible {
    outline: 3px solid var(--primary-accent);
    outline-offset: 3px;
    border-radius: 3px;
    box-shadow: none;
}

header .header__main-nav a:focus,
header .header__main-nav ul.level_1 a:focus,
header .header__main-nav ul.level_2 a:focus,
.nav_description_wrapper a:focus {
    outline: 3px solid var(--primary-accent);
    outline-offset: 3px;
    border-radius: 3px;
    box-shadow: none;
}

header .header__main-nav a:focus:not(:focus-visible),
header .header__main-nav ul.level_1 a:focus:not(:focus-visible),
header .header__main-nav ul.level_2 a:focus:not(:focus-visible),
.nav_description_wrapper a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Focus ring for top nav bar links (#header_2 dark background) */
/* White outer ring ensures visibility against the blue background */
#header_2 ul.level_1 li.level_1 a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-accent), 0 0 0 5px rgba(255,255,255,0.9);
    border-radius: 3px;
}

#header_2 ul.level_1 li.level_1 a:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-accent), 0 0 0 5px rgba(255,255,255,0.9);
    border-radius: 3px;
}

#header_2 ul.level_1 li.level_1 a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.component.header__contact {
    display: flex;
    flex-direction: column;
    gap: 10px !important;
    align-items: unset !important;

    .collection_list.header__col-contact{   
        float: unset;

        .collection_container {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            justify-content: flex-end;
            width: 250px;
            background-color: var(--primary-accent);
            padding: 18px 20px;
            border-radius: var(--br);
        }
    }   
}


#header_1 {
    a {
        display: flex;
        align-items: center;
        color: var(--fc-primary) !important;
        height: 60px;

        br {
            display: none;
        }
    }

}

#header_2 {
    background-color: var(--primary-accent);
    color: var(--clr-primary-light);
    position: relative;
    z-index: 9;
    margin: unset;
    ul.level_1 {
        display: flex;
        justify-content: space-between;
        margin-left: 0px;
        margin-right: 0px;
        padding: var(--p-400) 0px;
        li.level_1 {
            width: 20%;
            a {
                color: var(--clr-primary-white);               
            }
        }
        
        
    }
    
}

#header_2 .component {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
    justify-content: space-between;
}

.component.header__contact {
    display: flex;
    flex-direction: column;
    gap: 10px !important;
    align-items: unset !important;
}

#header_3 {
    .pulse {
        box-shadow: 0px -1px 6px #53be61;
    }
}

@media (max-width: 1250px) {
    header {
        height: 70px;
        background: var(--bg-header);
    }
}

@media (max-width: 768px) {
    .status-container {
        display: none !important;
    }
}

/* Seasonal slider background layers */
.seasonal-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
#seasonal-bg-b {
    opacity: 0;
}
#slider {
    position: relative;
    overflow: hidden;
}
#slider > *:not(.seasonal-bg-layer):not(.seasonal-nav) {
    position: relative;
    z-index: 1;
}
.seasonal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.55);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    backdrop-filter: blur(4px);
}
/* .seasonal-nav:hover {
    background: rgba(255,255,255,0.85);
} */
.seasonal-nav--prev { left: 18px; }
.seasonal-nav--next { right: 18px; }
#seasonal-pause {
    top: auto;
    bottom: 18px;
    right: 10px;
    transform: none;
    width: 32px;
    height: 32px;
    font-size: 13px;
    letter-spacing: -1px;
}

@media (max-width: 576px) {
    .seasonal-nav--prev { left: 5px; }
    .seasonal-nav--next { right: 5px; }
    #seasonal-pause {
        top: 5px;
        bottom: 18px;
        left: 5px;
        transform: none;
        width: 32px;
        height: 32px;
        font-size: 13px;
        letter-spacing: -1px;
    }
    #accessibility-bar{
        top: 75px;
    }
    .accessibility-btn{
        width: 26px;
        height: 26px;
        padding: 0px;
    }
}

/* Non-home pages: slider max 370px */
body:not(.home) #slider-wrapper {
    max-height: 370px;
    overflow: hidden;
}
body:not(.home) #slider-wrapper #slider {
    max-height: 370px;
}
body:not(.home) #slider-wrapper .imgcontent,
body:not(.home) #slider-wrapper .imgcontent img,
body:not(.home) #slider-wrapper .seasonal-bg-layer {
    max-height: 370px;
}       



#slider-wrapper #slider::before{
    content: none;
}

body.home #slider-wrapper #slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.45);
    z-index: 1;
    pointer-events: none;
}

body:not(.home) #slider-wrapper #slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.80);
    z-index: 1;
    pointer-events: none;
}
