:root {
    --sdd-primary: #445052;
    --sdd-secondary: #D7B901;
}

.burger-btn {
    width: 48px;
    height: 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active span {
    background: var(--sdd-secondary);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-popup {
    position: fixed;
    height: 75vh;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    display: none;
    transition: 0.3s ease all;
    background-color: var(--sdd-primary);
    color: white;
    overflow: hidden;
    justify-content: center;
    align-items: flex-start;
    font-family: Michroma;
	padding-top:106px;
}

@media screen and (max-width:768px){
	.menu-popup{
		padding-top:40px;
	}
}

.menu-popup.show {
    display: flex;
    opacity: 1;
}

.menu-popup-inner {
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.custom-menu {}

.custom-menu__list li a {
    color: white;
}

/* .custom-menu__list li a:hover, .custom-menu__list li a:focus-within{
    color:var(--sdd-secondary);
} */

.custom-menu ul:not(.custom-menu__submenu--level-1) {
    list-style: none;
    margin: 0;
    padding: 0;

}

.custom-menu ul.custom-menu__submenu--level-1 {
    list-style-type: disc;
    padding-left: 20px;
    // margin-top: 15px;
    display: none;
}
@media screen and (max-width:768px){
	.custom-menu ul.custom-menu__submenu--level-1{
		padding-left:22px;
		margin-top:4px;
	}
}

.custom-menu__submenu {}

.custom-menu__dropdown {
    position: absolute;
    width: 50%;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease all;
    padding-top: 13px;
    height: 100%;
}

.custom-menu__list {}

/* .custom-menu__item.custom-menu__item--level-1 {
    margin-bottom: 15px;
}*/

.custom-menu__item--level-1:hover>.custom-menu__submenu {
    display: block !important;
}

.custom-menu__list li:hover>div>a, .custom-menu__list li.is-open>div>a {
    color: var(--sdd-secondary);
}

.custom-menu__item--level-0 {
    width: 50%;
    transition: 0.3s ease all;
    padding:0;
}

.custom-menu__item--level-0>div>a::before {
    content: '';
    display: none;
    transition: 0.3s ease all;
    color: var(--sdd-secondary);
    background-color: var(--sdd-secondary);
    width:8px;
    height:8px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    font-size: 40px;
    line-height: 22px;
    font-weight: 700;
    opacity: 0;
}

.custom-menu__item--level-0>div>a {
    transition: 0.3s ease all;
	line-height: 72px;
}

a.custom-menu__link--level-1{
	line-height: 48px;
}

a.custom-menu__link--level-2{
	line-height:36px;
}

/* .custom-menu__item--level-0.is-active>div>a {
    color: var(--sdd-secondary)
} */

@media screen and (min-width:1025px) {
    .custom-menu__item--level-0:hover>div>a {
        padding-left: 41px;
        position: relative;
    }

    .custom-menu__item--level-0:hover>div>a::before {
        display: inline-block;
        opacity: 1;
    }
}

.custom-menu__item--level-0:hover>div>.custom-menu__dropdown {
    opacity: 1;
    visibility: visible;
}


.custom-menu__label {
    font-size: 20px;
}
.custom-menu__item--level-1 {
    transition: 0.3s ease all;
}

.custom-menu__item--level-1>div>.custom-menu__link::after {
    content: '';
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    width: 25px;
    height: 13px;
    margin-left:10px;
    background-image: url(../dn-menu-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: 0.3s ease all;
}

.custom-menu__item--level-1:hover>div>.custom-menu__link::after{
    opacity: 1;
    visibility: visible;
}

.custom-menu__item--level-2 {
    transition: 0.3s ease all;
    // margin-top: 10px;
    padding-left:20px;
}

.custom-menu__item--level-2 .custom-menu__link::after {
    content: '';
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    width: 25px;
    height: 13px;
    margin-left:10px;
    background-image: url(../dn-menu-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: 0.3s ease all;
}
@media screen and (max-width:1024px){
	.custom-menu__item--level-2 .custom-menu__link::after{
		display:none;
	}
}

@media screen and (min-width:1025px){
	.custom-menu__item--level-2:hover {
		margin-left: -40px;
	}
	.custom-menu__item--level-2:hover::marker {
		content: '';
	}
}

.custom-menu__item--level-2:hover .custom-menu__link::after{
    opacity: 1;
    visibility: visible;
}



/* .custom-menu__link--level-2 .custom-menu__label {
    font-size: 20px;
} */

@media screen and (max-width:1024px) {
    .custom-menu__label {
        font-size: 18px;
    }
}


@media screen and (min-width:1024px) and (max-width:1600px) {
    

    .custom-menu__label {
        font-size: 18px;
    }
}

.custom-menu__item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.custom-menu__toggle {
    display: none;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
}

.custom-menu__toggle-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.custom-menu__item.is-open>.custom-menu__item-inner .custom-menu__toggle-icon {
    transform: rotate(225deg);
}

/* Desktop bleibt Hover-gesteuert */
@media screen and (min-width: 1025px) {
    .custom-menu__item--level-0:hover>.custom-menu__dropdown {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobil / Tablet */
@media screen and (max-width: 1024px) {
    .menu-popup {
        height: 100vh;
        align-items: flex-start;
        overflow-y: auto;
    }

    .menu-popup-inner {
        padding: 0 30px 0;
    }

    .custom-menu__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .custom-menu__list,
    .custom-menu__submenu {
        display: block;
    }

    .custom-menu__item--level-0,
    .custom-menu__dropdown {
        width: 100%;
    }

    .custom-menu__item--level-0>div>a{
        line-height: 65px;
    }
	a.custom-menu__link--level-1{
        line-height: 43px;
	}
	, a.custom-menu__link--level-2{
        line-height: 32px;
	}
    .custom-menu__item--level-0>.custom-menu__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        height: auto;
        padding-top: 0;
        display: none;
    }

    .custom-menu__item--level-0.is-open>.custom-menu__dropdown {
        display: block;
        padding-left: 20px;
		margin-top:-10px;
    }

    .custom-menu__submenu--level-0,
    .custom-menu__submenu--level-1,
    .custom-menu__submenu--level-2 {
        margin-top: 0px;
    }

    .custom-menu__submenu .custom-menu__item {
        margin-bottom: 0;
        padding: 0;
    }

    .custom-menu__submenu .custom-menu__item--level-2{
        padding: 0;
    }

    .custom-menu__item--level-1>.custom-menu__submenu,
    .custom-menu__item--level-2>.custom-menu__submenu {
        display: none;
        padding-left: 16px;
    }

    .custom-menu__item--level-1.is-open>.custom-menu__submenu,
    .custom-menu__item--level-2.is-open>.custom-menu__submenu {
        display: block;
    }

    .custom-menu__item--level-0:hover>.custom-menu__dropdown {
        opacity: 1;
        visibility: visible;
    }

    .custom-menu__item--level-0:hover>a {
        padding-left: 0;
    }

    .custom-menu__item--level-0>a::before,
    .custom-menu__item--level-0:hover>a::before {
        display: none;
        opacity: 0;
    }
}

@media screen and (min-width:1024px) and (max-width:1230px){
	.menu-popup-inner{
		padding-left:30px;
		padding-right:30px;
	}
}