.dropdown-hover .nav-link {
    padding: 1rem 0;
    transition: all 0s ease;
    text-decoration: none;
}

.flyout-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0s ease;
    z-index: 1000;
    width: calc(100vw - 8px);
    margin-left: calc(-50vw + 50%);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #e9ecef;
}

.dropdown-hover:hover .flyout-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-hover .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    width: 33%;
    background-color: transparent;
}

.dropdown-hover:hover .nav-link::after {
    background-color: #ffc107;
}

.flyout-content ul li a:hover {
    transform: translateX(5px);
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.dropdown-hover .flyout-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-menu .nav-link {
    color: #000;
    opacity: .75;
    padding: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.7rem;
}
.news-menu .nav-link:hover { opacity: 1; text-decoration: none !important; }
.news-menu .nav-link.active {
    opacity: 1;
    position: relative;
}

.news-menu .nav-link::after{
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: #ffc107;
    margin-top: .3rem;
    border-radius: 2px;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.news-menu .nav-link:hover::after{
    width: 100%;
}


/* ----- Inhaltsverzeicnis ----- */

.section-nav {
    width: fit-content;
    max-width: 320px;
    font-size: 1rem;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
    position: sticky;
}
.section-nav.is-fixed {
    position: fixed !important;
    top: 1.5rem !important;
    z-index: 1050;
}
.section-nav .card {
    background:#fff;
    border: 2px solid #000;
    border-radius: 18px;
    position: relative;
    overflow: visible;
}
.section-nav .section-link{ color:#111; text-decoration:none!important; position:relative; padding:0 0 .4rem 1.25rem; }
.section-nav .section-link:hover{ color:#000; }
.section-nav .section-link:hover::after{
    content:""; position:absolute; left:1.25rem; bottom:.1rem; width:27px; height:3px; border-radius:6px; background:#ffcc00;
}

.section-nav .section-link::after{
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.section-nav .h4{ line-height:50%; }


.section-nav .card:not(.is-open)  {
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.section-nav .toc-pop {
    position: relative;
    background: #fff;
    left: -2px;
    width: calc(100% + 4px);
    top: 100%;
    z-index: 1050;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

/* Links */
.section-nav .section-link {
    color: #111;
    text-decoration: none !important;
    position: relative;
    padding: 0 1.25rem 0.4rem 1.25rem;
}
.section-nav .section-link:hover { color:#000; }

.section-nav .section-link:hover::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    bottom: 0.1rem;
    width: 27px;
    height: 3px;
    border-radius: 6px;
    background: #ffcc00;
}

.section-nav .h4 { line-height: 50%; }


@media (max-width: 991.98px) {
    .section-nav { max-width: 100%; }
}


.nav-burger {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
    transform: translate(0px, 5px);
}

.nav-burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffcc00; /* Gelb */
    border-radius: 2px;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 7px; }
.nav-burger span:nth-child(3) { top: 14px; }

button.collapsed .nav-burger span:nth-child(1) {
    transform: rotate(0);
    top: 0;
}

button.collapsed .nav-burger span:nth-child(2) {
    opacity: 1;
}

button.collapsed .nav-burger span:nth-child(3) {
    transform: rotate(0);
    top: 14px;
}

button:not(.collapsed) .nav-burger span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
}

button:not(.collapsed) .nav-burger span:nth-child(2) {
    opacity: 0;
}

button:not(.collapsed) .nav-burger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 7px;
}

.nav-link.active::after {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: #ffc107;
    margin-top: .3rem;
    border-radius: 2px;
    transition: all .5s
    cubic-bezier(.20, .90, .30, 1);
}