

.animatedfs_menu_list .privacy_policy a:hover {
    text-decoration: underline !important
}

.afsmenu__close {
    position: absolute;
    left: -40px;
    font-size: 32px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    line-height: normal
}

.animatedfsmenu {
    /* Layout / Position */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;              /* war im 2. Block, ergänzt für volle Breite */
    height: 100vh;
    width: 0;

    /* Sichtbarkeit / Interaktion (Startzustand: versteckt) */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;

    /* Layering */
    z-index: 10000;        /* konsolidiert: 10000 statt 9999999 */

    /* Animation */
    transition: all ease-out .15s;

    /* Verlauf auf Basis von #002864
    background: linear-gradient(
            135deg,
            rgba(0, 40, 100, 0.88) 0%,
            rgba(0, 40, 100, 0.84) 45%,
            rgba(0, 40, 100, 0.80) 100%
    ) center;
    */

    background: var(--main-bg-color);
    background-size: cover;
}

.animatedfsmenu_openlevels .sub-menu {
    opacity: 1 !important;
    display: block !important
}

.animatedfsmenu-html-area {
    margin: 32px 0
}

.animatedfsmenu.align_left {
    text-align: left
}

.animatedfsmenu.align_center {
    text-align: center
}

.animatedfsmenu.align_right {
    text-align: right
}

.animatedfsmenu ul {
    list-style: none !important
}

@media (max-width: 1024px) {
    .animatedfsmenu {
        background-size: cover
    }
}

@media (min-width: 1024px) {
    .animatedfsmenu__mobile {
        display: none !important
    }
}

.animatedfsmenu__right {
    left: unset;
    right: 0
}

.animatedfsmenu button:focus {
    outline: 0
}

.animatedfsmenu .navbar {
    position: absolute !important
}


.animatedfsmenu.navbar-expand-md {
    position: fixed;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-size: cover;
    background-position: center center !important;
    z-index: 9999999;
    overflow-y:auto;
}

.animatedfsmenu__top {
    width: 100%;
    height: 0
}

.animatedfsmenu__top.navbar-expand-md {
    height: 100vh;
    width: 100%
}

.animatedfsmenu__left {
    width: 0;
    height: 100vh
}

.animatedfsmenu__left.navbar-expand-md {
    height: 100vh;
    width: 100%
}

.animatedfsmenu__right {
    width: 0;
    height: 100vh;
    left: unset;
    right: 0
}

.animatedfsmenu__right.navbar-expand-md {
    height: 100vh;
    width: 100vw
}


.animatedfsmenu .social-media {
    width: 100%;
    display: block;
    margin: 10px 0 30px
}

@media (max-width: 1024px) {
    .animatedfsmenu .social-media {
        margin-left: 20px;
        margin: 0
    }
}

.animatedfsmenu .social-media ul {
    margin: 0
}

.animatedfsmenu .social-media li {
    margin: 0 16px 0 0;
    position: relative;
    text-align: center;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: all .2s;
    top: 0
}

@media (max-width: 1024px) {
    .animatedfsmenu .social-media li {
        border-width: 1px
    }
}

.animatedfsmenu .social-media li:hover {
    top: -2px
}

.animatedfsmenu .social-media li a {
    padding: 4px;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none
}

@media (max-width: 1024px) {
    .animatedfsmenu .social-media li a {
        width: 32px;
        height: 32px;
        font-size: 14px
    }
}

.animatedfsmenu_woocommerce {
    color: #fff;
    list-style: none;
    font-size: 13px;
    letter-spacing: .7px;
    position: absolute;
    bottom: 40px
}

@media (max-width: 768px) {
    .animatedfsmenu_woocommerce {
        font-size: 12px;
        position: relative;
        bottom: unset
    }
}

.animatedfsmenu_woocommerce li {
    float: left;
    margin: 0 8px
}

@media (max-width: 768px) {
    .animatedfsmenu_woocommerce li {
        margin: 0 3px
    }
}

.animatedfsmenu_woocommerce li i {
    margin-right: 6px
}

.animatedfsmenu .navbar-collapse-asf,
.animatedfsmenu .kg-fsu-menu-social,
.animatedfsmenu .fs-additional-content {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.animatedfsmenu.navbar-expand-md .navbar-collapse-asf,
.animatedfsmenu.navbar-expand-md .kg-fsu-menu-social,
.animatedfsmenu.navbar-expand-md .fs-additional-content {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}

@media (max-width: 990px) {
    .animatedfsmenu .kg-fsu-menu-social {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.kg-fsu-menu-social a {
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
    transition: color 0.2s;
}

.kg-fsu-menu-social a:hover {
    color: #00BAF0;
}
.animatedfsmenu.navbar-expand-md .animatedfs_menu_list {
    opacity: 1 !important;
    transition: opacity ease-in-out .2s;
    pointer-events: all;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .animatedfsmenu.navbar-expand-md .navbar-collapse-asf {
        margin-top: 0px
    }
}

.animatedfsmenu .navbar {
    z-index: 99
}

.animatedfsmenu .navbar__languages {
    list-style: none;
    position: relative;
    float: left;
    display: block;
    margin: 0
}

.animatedfsmenu .navbar__languages li {
    float: left;
    font-size: 15px;
    border-right: 2px solid #ffffff8c;
    margin-right: 10px;
    padding-right: 10px;
    line-height: 16px
}

.animatedfsmenu .navbar__languages a {
    text-transform: uppercase
}

@media (max-width: 1024px) {
    .animatedfsmenu .navbar__languages {
        position: relative;
        left: 24px
    }
}

.animatedfsmenu .animatedfsmenu-navbar-toggler {
    position: fixed
}

.animatedfsmenu .animatedfs_menu_list {
    max-width: 100%;
    display: inline-block;
    pointer-events: none;
    /* min-width: 40vw; */
}

@media (min-width: 1200px) {
    .animatedfsmenu .animatedfs_menu_list {
       /* min-width: 30vw; */
    }
}



.animatedfsmenu .animatedfs_menu_list .afsmenu li {
    margin: 0;
    color: #fff;
    width: 100%;
    position: relative;
    cursor: pointer;
    padding: 10px 0px;
}

@media (max-width: 768px) {
    .animatedfsmenu .animatedfs_menu_list .afsmenu li {
        font-size: 35px;
        line-height: 45px;
        padding: 0px;
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li a {
        font-size: 23px !important;
    }
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li a {
    transition: .2s all;
    position: relative;
    color: #FFFFFF;
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:focus {
    text-decoration: none
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:hover {
    text-decoration: underline
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul {
    margin: 14px 14px
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul a {
    font-size: clamp(1.3rem, 1.1vw, 1.9rem);
    line-height: 26px;
    padding: 9px 0;
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on > .sub-menu {
    opacity: 1;
    display: block;
    animation: afsmenu_fade 0.3s
}

.animatedfsmenu.animation_line .afsmenu > li > a:before {
    width: 0;
    transition: .2s all;
    content: '';
    position: absolute;
    height: 3px;
    background: #fff;
    top: 50%;
    transform: translateY(-50%);
    left: 0
}

.animatedfsmenu.animation_line .afsmenu > li.has-children__on > a, .animatedfsmenu.animation_line .afsmenu > li:hover > a {
    padding-left: 70px
}

.animatedfsmenu.animation_line .afsmenu > li.has-children__on > a:before, .animatedfsmenu.animation_line .afsmenu > li:hover > a:before {
    width: 50px
}

/**
    mobile menu styling
 */

@media (max-width: 768px) {

    .animatedfsmenu.navbar-expand-md {
        min-height: 100vw;
    }

    .header.header-standard .navbar-collapse-asf,
    .header.header-classic .navbar-collapse-asf {
        position: relative;
        top:auto;
        left:auto;
    }


    .afsmenu li.afs-menu-item-has-children > ul {
        line-height: 38px;
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li {
        line-height: 33px;
    }



    .kg-sub-menu-opener {
        left: -40px;
        top: 20px;
    }
    .kg-sub-menu-closer {
        padding-right: 12px;
        padding-left: 12px;
        left: -40px;
        top: 27px;
    }
    .animatedfsmenu .animatedfs_menu_list
    .afsmenu li.afs-menu-item-has-children > ul {
        margin: 7px 7px;
        padding-inline-start: 20px;
    }


}

.animatedfsmenu.animation_background .afsmenu > li > a:before {
    width: 0;
    transition: .2s all;
    content: '';
    position: absolute;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1
}

.animatedfsmenu.animation_background .afsmenu > li.has-children__on > a:before, .animatedfsmenu.animation_background .afsmenu > li:hover > a:before {
    left: -8px;
    width: calc(100% + 18px)
}

.animatedfsmenu.animation_background__border_radius .afsmenu > li > a:before {
    width: 0;
    transition: .2s all;
    content: '';
    position: absolute;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    border-radius: 80px
}

.animatedfsmenu.animation_background__border_radius .afsmenu > li.has-children__on > a:before, .animatedfsmenu.animation_background__border_radius .afsmenu > li:hover > a:before {
    left: -8px;
    width: calc(100% + 18px)
}

@keyframes afsmenu_fade {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

.animatedfsmenu__lateralmenu {
    transition: none
}

.animatedfsmenu__lateralmenu .animatedfs_menu_list {
    pointer-events: all
}

@media (min-width: 1024px) {
    .animatedfsmenu__lateralmenu {
        width: 220px
    }

    .animatedfsmenu__lateralmenu .animatedfsmenu-navbar-toggler {
        display: none !important
    }

    .animatedfsmenu__lateralmenu .animatedfs_menu_list {
        width: 100%;
        display: inline-block;
        position: relative;
        opacity: 1
    }

    .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu li {
        line-height: 32px
    }

    .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu li a {
        font-size: 20px;
        display: block
    }

    .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu .sub-menu li a {
        font-size: 14px !important
    }
}

.animatedfsmenu__lateralmenu .afsmenu__close {
    left: -20px;
    font-size: 25px;
    height: 40px
}

.animatedfsmenu__sidemenu.navbar-expand-md {
    width: 440px
}

@media (max-width: 1024px) {
    .animatedfsmenu__sidemenu.navbar-expand-md {
        width: 300px
    }
}

.animatedfsmenu__sidemenu.navbar-expand-md .animatedfs_menu_list {
    padding-left: 20px
}

.afsmenu__lockscroll {
    width: 100%
}

.afsmenu_scroll {
    max-height: 80vh;
    min-height: 75vh;
    overflow-y: auto
}

@media (max-width: 1024px) {
    .afsmenu_scroll {
        max-height: 65vh
    }
}

.afsmenu_scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: transparent
}

.afsmenu_scroll::-webkit-scrollbar {
    width: 6px;
    background-color: transparent
}

.afsmenu_scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .6)
}


.afs_item-container {
    background: #00000085;
    padding: 10px
}

.afs_item-container .afs_item__img {
    width: 100%;
    min-height: 70px;
    background-size: cover;
    background-position: center
}

.afs_item-container .afs_item__title {
    font-size: 17px;
    margin-bottom: 2px
}

.afs_item-container .afs_item__qtt, .afs_item-container .afs_item__total {
    font-size: 14px;
    margin: 0
}

.animatedfsmenu-navbar-toggler {
    display: flex;
    position: relative;
    border-radius: 0;
    transition: all .2s;
    padding: 0;
}

/* Entfernt feste Höhen-Zuweisung – Steuerung erfolgt über Header-Controls (style.css) */
/* .animatedfsmenu-navbar-toggler:not(.custom-burger) { height: 70px } */

/* Entfernt alte Responsive-Zwangsgrößen; Größen kommen aus den vereinheitlichten Header-Controls */
/* @media (max-width: 1024px) {
    .animatedfsmenu-navbar-toggler:not(.custom-burger) { width: 50px; height: 50px }
    .kg-mobile-contact-btn { width: 50px !important; height: 50px !important; }
} */

.animatedfsmenu-navbar-toggler.right_top {
    right: 8px;
    top: 8px
}

.animatedfsmenu-navbar-toggler.left_top {
    left: 0;
    top: 0
}

.animatedfsmenu-navbar-toggler.center_top {
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto
}

.animatedfsmenu-navbar-toggler.right_bottom {
    right: 0;
    bottom: 0
}

.animatedfsmenu-navbar-toggler.left_bottom {
    left: 0;
    bottom: 0
}

.animatedfsmenu-navbar-toggler.center_bottom {
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto
}

.navbar-toggler-icon {
    background: url(../img/svg/menu.svg);
    background-size: 100% 100%
}

.animatedfsmenu-navbar-toggler {
    cursor: pointer;
    z-index: 99999999999999
}

.animatedfsmenu-navbar-toggler .bar {
    border-radius: 8px;
    position: relative;
    content: '';
    width: 33px;
    height: 2px;
    background: var(--main-color);
    display: block;
    top: 0;
    margin: 8px auto;
    transition: all ease-in-out .2s;
}

/* Schlankere Bars, wenn der kompakte Header-Button (.kg-header-button) genutzt wird */
.animatedfsmenu-navbar-toggler.kg-header-button .bar {
    width: 25px;
    height: 2px;
    margin: 1px auto;
    background: var(--main-color);
}

/* Konsolidiert: Basis-Style für den Label-Text des Togglers (.last)
   Hinweis: Spezifischere Varianten (z. B. .kg-header-button .kg-header-button-text)
   überschreiben diese Basiseinstellungen gezielt. */

.animatedfsmenu-navbar-toggler .bar.top-animate {
    transform: rotate(45deg);
    transition: all ease-in-out .2s;
    top: 9px;
}

.animatedfsmenu-navbar-toggler .bar.bottom-animate {
    transform: rotate(-45deg);
    transition: all ease-in-out .2s;
    top: -1px;
}

/* Mobile-Override für bottom-animate war redundant (gleiches top), daher entfernt */

.animatedfsmenu-navbar-toggler .bar.mid-animate {
    transition: all ease-in-out .2s;
    opacity: 0
}

@media (max-width: 768px) {
    .animatedfsmenu-navbar-toggler .bar {
        margin: 5px auto;
        width: 35px
    }
}

.menu-main-menu-container {
    padding-top: 11vw;
    padding-left: 10vw;
}

.kg-second-row-content {
    padding-top: 11vh;
}

.menu-social-container {
    padding-left: 10vw;
}

@media (max-width: 1200px) {
    .menu-social-container {
        padding-left: 8vw;
    }
}

@media (max-width: 768px) {


    .menu-social-container {
        margin-bottom: 25vw;
    }

    .kg-second-row-content {
        padding-top: 10vw;
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu-main-menu-container {
        padding-top: 0vw;
        padding-left: 5vw;
    }

}

.kg-fsu-menu-social {
    margin-top: 20px;
    padding-top: 10px;
}

.kg-fsu-menu-social a {
    color: #ffffff;
    font-size: clamp(1.5625rem, 1.2292rem + 1.3333vw, 2.8125rem);
    padding-right: 15px;
}

hr.kg-fsu-menu-hr {
    border: 1px solid #ffffff;
    margin-bottom: 25px;
}

.btn-top-icons {
    color: #FFFFFF;
    font-size: 16px;
    border: 1px solid #FFFFFF;
    width: 100%;
    max-width: 350px;
    height: 100px;
    display:block;
    margin: 5px;
    padding: 15px;
    background-color: rgba(0, 186, 240, 0.8);
}

.btn-top-icons img {
    max-height: 45px;
}

@media (max-width: 1200px) {

    .btn-top-icons {
        color: #FFFFFF;
        font-size: 12px;
        width: 100%;
        height: 80px;
        display:block;
        margin: 0px;
        padding: 8px;
        background-color: rgba(0, 186, 240, 0.8);
    }

    .btn-top-icons img {
        max-height: 35px;
    }
}

a.btn-top-icons:hover {
    color: #ffffff;
}

.afsmenu .current-menu-item > a  {
    font-weight: 400 !important;
    text-decoration: underline;
}

.animatedfsmenu.navbar-expand-md {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

.fs-additional-content .btn-top-icons {
    border: 2px solid #00BAF0;
    border-radius: 10px;
}

.navbar-collapse-asf {
    position: absolute;
    width: 35vw;
    height: 100%;
    left: 10%;
    top: 0px;
    background: linear-gradient(
            135deg,
            rgba(0, 186, 240, 0.60) 0%,
            rgba(0, 186, 240, 0.60) 45%,
            rgba(0, 186, 240, 0.60) 100%
    );
    z-index: 0;
    padding-top: 10vw;
    padding-left: 2vw;
    display: flex;
    flex-direction: column;
    /* „cleaner“ Schatten passend zum Blau (weniger hart-schwarz) */
    box-shadow:
            10px 0 30px rgba(0, 35, 60, 0.45),
            inset 1px 0 0 rgba(255, 255, 255, 0.12);

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1750px) {
    .navbar-collapse-asf {
        width: 25vw;
    }
}

@media (max-width: 990px) {
    .animatedfsmenu .animatedfs_menu_list {
        display: block;
    }

    .navbar-collapse-asf {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background-color: rgba(0, 186, 240, 0.8);
        padding-top: 30px;
        padding-bottom: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .fs-additional-content {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

.kg-second-row-content .btn-top-icons {
    transition: .3s;
}

.kg-second-row-content .btn-top-icons:hover {
    transform: scale(1.01);
    background: none;
}


/* Mobile: Anpassung der Burger-Icon-Bars (Handy) */
@media (max-width: 768px) {
    /* Angleichen an Referenz: identische Offsets wie global, damit Kreuz gerade bleibt */
    #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.bottom-animate {
        transform: rotate(-45deg);
        top: -1px;
    }

    #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.top-animate {
        transform: rotate(45deg);
        top: 7px;
    }
}

/* ==============================================================
   Referenz-Styles aus Audi Zentrum Rostock (angepasst):
   1:1 übernommen, ABER ohne Schriftgrößen-Anpassungen (font-size)
   Hinweis: Nur Struktur, Layout, Farben, Abstände, Animationen.
   ==============================================================
*/

/* Grundliste */
.animatedfs_menu_list {
    margin: 0 auto;
}

.bg-aktionen {
    background-color: red;
}

.navbar-collapse-asf .fs-additional-content {
    padding-top: 0;
}
@media (max-width: 768px) {
    .animatedfs_menu_list {
        padding: 10px 0;
    }
}

.animatedfs_menu_list .afsmenu {
    list-style: none;
    margin: 0;
}

.animatedfs_menu_list .afsmenu a {
    text-decoration: none;
}

.animatedfs_menu_list .afsmenu > li {
    position: relative;
}

.animatedfs_menu_list .afsmenu > li a {
    font-family: AudiType, sans-serif;
    font-stretch: normal;
    line-height: 20px;
    color: rgba(252, 252, 253, 0.7);
    font-weight: 300;
}

.kg-sub-menu-closer,
.kg-sub-menu-opener {
    position: absolute;
    left: -37px;
    top: 25px;
    transform: translateY(-50%);
    padding: 6px 12px;
    color: #FFFFFF;
}

.kg-sub-menu-closer,
.kg-sub-menu-opener i {
    font-weight: 100;
}

.animatedfs_menu_list .afsmenu > li a:focus {
    outline: 0 !important;
}

.animatedfs_menu_list .afsmenu > li.current-lang a {
    color: #fff !important;
}

.animatedfs_menu_list .afsmenu > li.current-lang:after {
    position: absolute;
    display: block;
    content: '';
    border: 1px solid #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-49%);
}

.animatedfs_menu_list .afsmenu li > .sub-menu {
    list-style: none;
    opacity: 0;
    transition: all .4s;
    position: relative;
    display: none;
}

.animatedfs_menu_list .afsmenu li > .sub-menu li {
    line-height: 10px;
}

.animatedfs_menu_list .afsmenu li > .sub-menu li a {
    font-family: AudiType, sans-serif;
    font-stretch: normal;
    line-height: 20px;
}

.animatedfs_menu_list .afsmenu li > .sub-menu li a:focus,
.animatedfs_menu_list .afsmenu li > .sub-menu li a:hover {
    text-decoration: underline;
}

.animatedfs_menu_list .privacy_policy {
    width: 100%;
    padding-left: 1rem;
    bottom: 10px;
    position: absolute;
    letter-spacing: .8px;
}

@media (max-width: 768px) {
    .animatedfs_menu_list .privacy_policy {
        padding: 0 43px;
        position: relative;
    }
}

.animatedfs_menu_list .privacy_policy a {
    color: #8e8e8e !important;
}

.animatedfs_menu_list .privacy_policy a:hover {
    text-decoration: underline !important;
}

.afsmenu__close {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    line-height: normal;
}

/* Container und Sichtbarkeit */
.animatedfsmenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    z-index: 10000;
    transition: all ease-out .15s;
    background: var(--main-bg-color);
    background-size: cover;
}

.animatedfsmenu_openlevels .sub-menu {
    opacity: 1 !important;
    display: block !important;
}

.animatedfsmenu-html-area {
    margin: 32px 0;
}

.animatedfsmenu.align_left { text-align: left; }
.animatedfsmenu.align_center { text-align: center; }
.animatedfsmenu.align_right { text-align: right; }

.animatedfsmenu ul { list-style: none !important; }

@media (max-width: 1024px) {
    .animatedfsmenu { background-size: cover; }
}
@media (min-width: 1024px) {
    .animatedfsmenu__mobile { display: none !important; }
}

.animatedfsmenu__right { left: unset; right: 0; }

.animatedfsmenu button:focus { outline: 0; }

.animatedfsmenu .navbar { position: absolute !important; }

.animatedfsmenu.navbar-expand-md {
    position: fixed;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-size: cover;
    background-position: center center !important;
    z-index: 9999999;
    overflow-y: auto;
}

.animatedfsmenu__top { width: 100%; height: 0; }
.animatedfsmenu__top.navbar-expand-md { height: 100vh; width: 100%; }
.animatedfsmenu__left { width: 0; height: 100vh; }
.animatedfsmenu__left.navbar-expand-md { height: 100vh; width: 100%; }
.animatedfsmenu__right { width: 0; height: 100vh; left: unset; right: 0; }
.animatedfsmenu__right.navbar-expand-md { height: 100vh; width: 100vw; }

.animatedfsmenu .social-media {
    width: 100%;
    display: block;
    margin: 10px 0 30px;
}
@media (max-width: 1024px) {
    .animatedfsmenu .social-media { margin-left: 20px; margin: 0; }
}
.animatedfsmenu .social-media ul { margin: 0; }
.animatedfsmenu .social-media li {
    margin: 0 16px 0 0;
    position: relative;
    text-align: center;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: all .2s;
    top: 0;
}
@media (max-width: 1024px) {
    .animatedfsmenu .social-media li { border-width: 1px; }
}
.animatedfsmenu .social-media li:hover { top: -2px; }
.animatedfsmenu .social-media li a {
    padding: 4px;
    display: block;
    width: 40px;
    height: 40px;
    line-height: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
@media (max-width: 1024px) {
    .animatedfsmenu .social-media li a { width: 32px; height: 32px; }
}

/* Toggler-Bars weiß wie in Referenz */
.animatedfsmenu .animatedfsmenu-navbar-toggler .bar { background: #ffffff; }

.animatedfsmenu_woocommerce {
    color: #fff;
    list-style: none;
    letter-spacing: .7px;
    position: absolute;
    bottom: 40px;
}
@media (max-width: 768px) {
    .animatedfsmenu_woocommerce {
        position: relative;
        bottom: unset;
    }
}
.animatedfsmenu_woocommerce li { float: left; margin: 0 8px; }
@media (max-width: 768px) { .animatedfsmenu_woocommerce li { margin: 0 3px; } }
.animatedfsmenu_woocommerce li i { margin-right: 6px; }

.animatedfsmenu .navbar-collapse-asf,
.animatedfsmenu .kg-fsu-menu-social,
.animatedfsmenu .fs-additional-content {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.animatedfsmenu.navbar-expand-md .navbar-collapse-asf,
.animatedfsmenu.navbar-expand-md .kg-fsu-menu-social,
.animatedfsmenu.navbar-expand-md .fs-additional-content {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
@media (max-width: 990px) {
    .animatedfsmenu .kg-fsu-menu-social { padding-top: 20px; padding-bottom: 20px; }
}
.kg-fsu-menu-social a { color: #fff; margin-right: 20px; transition: color 0.2s; }
.kg-fsu-menu-social a:hover { color: #00BAF0; }

.animatedfsmenu.navbar-expand-md .animatedfs_menu_list {
    opacity: 1 !important;
    transition: opacity ease-in-out .2s;
    pointer-events: all;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .animatedfsmenu.navbar-expand-md .navbar-collapse-asf { margin-top: 0px; }
}
.animatedfsmenu .navbar { z-index: 99; }

.animatedfsmenu .navbar__languages { list-style: none; position: relative; float: left; display: block; margin: 0; }
.animatedfsmenu .navbar__languages li {
    float: left;
    border-right: 2px solid #ffffff8c;
    margin-right: 10px;
    padding-right: 10px;
    line-height: 16px;
}
.animatedfsmenu .navbar__languages a {  }
@media (max-width: 1024px) { .animatedfsmenu .navbar__languages { position: relative; left: 24px; } }

.animatedfsmenu .animatedfsmenu-navbar-toggler { position: fixed; }

.animatedfsmenu .animatedfs_menu_list {
    max-width: 100%;
    display: inline-block;
    pointer-events: none;
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li {
    margin: 0;
    color: #fff;
    width: 100%;
    position: relative;
    cursor: pointer;
    padding: 12px 0 12px 0;
}
@media (max-width: 768px) {
    .animatedfsmenu .animatedfs_menu_list .afsmenu li {
        padding: 0 0 12px 0; /* nur unten Abstand, oben 0; keine horizontale Einrückung */
    }
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li a {
    transition: .2s all;
    position: relative;
    color: #FFFFFF;
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:focus { text-decoration: none; }
.animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:hover { text-decoration: underline; }

.animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul { margin: 14px 14px; }
/* höhere Spezifität, damit Größen/Abstände sicher greifen –
   zusätzlich !important, um alle vorherigen Größen (auch aus femenu.css) zu überstimmen */
.animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul > li > a,
#animatedfsmenu_css .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul > li > a {
    /* zusammengeführt: Größe + Familie + Abstände */
    font-family: AudiType, sans-serif;
    font-stretch: normal;
    font-size: clamp(1.3rem, 1.1vw, 1.9rem) !important;
    line-height: 26px !important; /* zuvor 18–20px → einheitlich etwas höher für bessere Lesbarkeit */
    padding: 9px 0 !important;   /* Mittelwert aus 9–10px */
}

/* Falls irgendwo eine zu starke Regel greift: wichtige Absicherung auf Mobile
   Ziel: Untermenü-Schrift etwas kleiner als die Hauptmenü-Schrift */
@media (max-width: 768px) {
    #animatedfsmenu_css .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul > li > a {
        font-size: clamp(1.1rem, 3vw, 1.45rem) !important; /* etwas kleiner als Hauptmenü */
        line-height: 22px !important;
        padding: 8px 0 !important;
    }
}

/* FS-Menü: Opener/Closer Icons (› / ˅) – nur Größe anpassen, Position nicht verändern */
/* Desktop/Tablet: an Hauptmenü-Text gekoppelt */
#animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-opener i,
#animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-closer i {
    font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.75rem) !important; /* gleiche Skala wie Hauptmenü <a> */
    line-height: 1;
}

/* Mobile ≤768px: Icons etwas kleiner als Hauptmenü, analog Submenü-Größe */
@media (max-width: 768px) {
    #animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-opener i,
    #animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-closer i {
        /* Icons sollen exakt die gleiche Größe wie der Hauptmenü-Text haben */
        font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.75rem) !important;
    }
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on > .sub-menu {
    opacity: 1;
    display: block;
    animation: afsmenu_fade 0.3s;
}

.animatedfsmenu.animation_line .afsmenu > li > a:before {
    width: 0;
    transition: .2s all;
    content: '';
    position: absolute;
    height: 3px;
    background: #fff;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
.animatedfsmenu.animation_line .afsmenu > li.has-children__on > a,
.animatedfsmenu.animation_line .afsmenu > li:hover > a { padding-left: 70px; }
.animatedfsmenu.animation_line .afsmenu > li.has-children__on > a:before,
.animatedfsmenu.animation_line .afsmenu > li:hover > a:before { width: 50px; }

/* Mobile Menu Styling */
@media (max-width: 768px) {
    .animatedfsmenu.navbar-expand-md { min-height: 100vw; }
    .header.header-standard .navbar-collapse-asf,
    .header.header-classic .navbar-collapse-asf { position: relative; top: auto; left: auto; }
    .kg-sub-menu-opener { left: -40px; top: 20px; }
    .kg-sub-menu-closer { padding-right: 12px; padding-left: 12px; left: -40px; top: 27px; }
    .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul { margin: 7px 7px; padding-inline-start: 20px; }
}

.animatedfsmenu.animation_background .afsmenu > li > a:before {
    width: 0;
    transition: .2s all;
    content: '';
    position: absolute;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}
.animatedfsmenu.animation_background .afsmenu > li.has-children__on > a:before,
.animatedfsmenu.animation_background .afsmenu > li:hover > a:before { left: -8px; width: calc(100% + 18px); }

.animatedfsmenu.animation_background__border_radius .afsmenu > li > a:before {
    width: 0;
    transition: .2s all;
    content: '';
    position: absolute;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    border-radius: 80px;
}
.animatedfsmenu.animation_background__border_radius .afsmenu > li.has-children__on > a:before,
.animatedfsmenu.animation_background__border_radius .afsmenu > li:hover > a:before { left: -8px; width: calc(100% + 18px); }

@keyframes afsmenu_fade { 0% { opacity: 0; } 100% { opacity: 1; } }

.animatedfsmenu__lateralmenu { transition: none; }
.animatedfsmenu__lateralmenu .animatedfs_menu_list { pointer-events: all; }
@media (min-width: 1024px) {
    .animatedfsmenu__lateralmenu { width: 220px; }
    .animatedfsmenu__lateralmenu .animatedfsmenu-navbar-toggler { display: none !important; }
    .animatedfsmenu__lateralmenu .animatedfs_menu_list { width: 100%; display: inline-block; position: relative; opacity: 1; }
    .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu li { line-height: 32px; }
}
.animatedfsmenu__lateralmenu .afsmenu__close { left: -20px; height: 40px; }
.animatedfsmenu__sidemenu.navbar-expand-md { width: 440px; }
@media (max-width: 1024px) { .animatedfsmenu__sidemenu.navbar-expand-md { width: 300px; } }
.animatedfsmenu__sidemenu.navbar-expand-md .animatedfs_menu_list { padding-left: 20px; }
.afsmenu__lockscroll { width: 100%; }
.afsmenu_scroll { max-height: 80vh; min-height: 75vh; overflow-y: auto; }
@media (max-width: 1024px) { .afsmenu_scroll { max-height: 65vh; } }
.afsmenu_scroll::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: transparent; }
.afsmenu_scroll::-webkit-scrollbar { width: 6px; background-color: transparent; }
.afsmenu_scroll::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,.6); }

.afs_item-container { background: #00000085; padding: 10px; }
.afs_item-container .afs_item__img { width: 100%; min-height: 70px; background-size: cover; background-position: center; }
.afs_item-container .afs_item__title { margin-bottom: 2px; }
.afs_item-container .afs_item__qtt, .afs_item-container .afs_item__total { margin: 0; }

/* Toggler Größe/Position und Bars */
.animatedfsmenu-navbar-toggler {
    background: transparent;
    position: relative;
    border-radius: 15%;
    transition: all .2s;
    padding: 0;
    border: none;
    box-shadow: none;
    cursor: pointer;
    z-index: 99999999999999;
    outline: none !important;
    width: 36px;
    height: 36px;
}
@media (max-width: 1024px) {
    .animatedfsmenu-navbar-toggler { width: 30px; height: 30px; }
}
.animatedfsmenu-navbar-toggler.right_top { right: 8px; top: 8px; }
.animatedfsmenu-navbar-toggler.left_top { left: 0; top: 0; }
.animatedfsmenu-navbar-toggler.center_top { left: 0; right: 0; top: 0; margin: 0 auto; }
.animatedfsmenu-navbar-toggler.right_bottom { right: 0; bottom: 0; }
.animatedfsmenu-navbar-toggler.left_bottom { left: 0; bottom: 0; }
.animatedfsmenu-navbar-toggler.center_bottom { left: 0; right: 0; bottom: 0; margin: 0 auto; }
/* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
/* .navbar-toggler-icon { background: url(../img/svg/menu.svg); background-size: 100% 100%; } */

.animatedfsmenu-navbar-toggler.kg-header-button {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: auto;
    float: right;
}
.animatedfsmenu-navbar-toggler.kg-header-button .bar {
    background-color: var(--main-color);
}
.animatedfsmenu-navbar-toggler.kg-header-button .last.kg-header-button-text {
    color: var(--main-color);
    font-family: var(--body-font);
    font-size: 14px;
    line-height: 1;
}
.animatedfsmenu-navbar-toggler.kg-header-button-mobile {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.kg-header-button-icon {
    margin-right: 10px;
}
.kg-header-button-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

/* Drei-Balken-Icon innerhalb des Header-Menü-Buttons */
.kg-header-button-icon .bar {
    width: 22px;
    height: 2px;
    background-color: var(--main-color);
    border-radius: 1px;
}

/* Button-Text neben dem Icon */
.kg-header-button-text {
    color: var(--main-color);
    font-family: var(--body-font);
    font-size: 14px;
    line-height: 1;
}

/* Konsolidiert: Basis-Definition der Bars siehe oben (.animatedfsmenu-navbar-toggler .bar). */
.animatedfsmenu-navbar-toggler { background: transparent; }
/* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
/* .animatedfs_menu_list {
    margin: 0 auto;
} */
/* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
/* .bg-aktionen {
    background-color: red;
} */
/* Konsolidierung: Rostock-Stand übernehmen */
.navbar-collapse-asf .fs-additional-content { padding-top: 0; }
@media (max-width: 768px) {
    .animatedfs_menu_list {
        padding: 10px 0
    }
}

    .animatedfs_menu_list .afsmenu {
        list-style: none;
        margin: 0
    }

    .animatedfs_menu_list .afsmenu a {
        text-decoration: none
    }

    .animatedfs_menu_list .afsmenu > li {
        position: relative
    }

    .animatedfs_menu_list .afsmenu > li a {
        font-family: var(--heading-font);
        font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.75rem);
        font-weight: 300;
    }

    .kg-sub-menu-closer,
    .kg-sub-menu-opener {
        position: absolute;
        left: -37px;
        top: 25px;
        transform: translateY(-50%);
        padding: 6px 12px;
        color: #FFFFFF;
    }

    .kg-sub-menu-closer,
    .kg-sub-menu-opener i {
        font-size: 20px;
        font-weight: 100;
    }


    .animatedfs_menu_list .afsmenu > li a:focus {
        outline: 0 !important
    }

    .animatedfs_menu_list .afsmenu > li.current-lang a {
        color: #fff !important
    }

    .animatedfs_menu_list .afsmenu > li.current-lang:after {
        position: absolute;
        display: block;
        content: '';
        border: 1px solid #fff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        top: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translateY(-49%)
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu {
        list-style: none;
        opacity: 0;
        transition: all .4s;
        position: relative;
        display: none
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li {
        line-height: 10px;
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li a {
        font-size: 24px
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li a:focus, .animatedfs_menu_list .afsmenu li > .sub-menu li a:hover {
        text-decoration: underline
    }

    .animatedfs_menu_list .privacy_policy {
        width: 100%;
        padding-left: 1rem;
        bottom: 10px;
        position: absolute;
        letter-spacing: .8px;
        font-size: 11px
    }

    @media (max-width: 768px) {
        .animatedfs_menu_list .privacy_policy {
            padding: 0 43px;
            position: relative
        }
    }

    .animatedfs_menu_list .privacy_policy a {
        color: #8e8e8e !important
    }

    .animatedfs_menu_list .privacy_policy a:hover {
        text-decoration: underline !important
    }

    .afsmenu__close {
        position: absolute;
        left: -40px;
        font-size: 32px;
        top: 50%;
        transform: translateY(-50%);
        height: 50px;
        line-height: normal
    }

    .animatedfsmenu {
        /* Layout / Position */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;              /* war im 2. Block, ergänzt für volle Breite */
        height: 100vh;
        width: 0;

        /* Sichtbarkeit / Interaktion (Startzustand: versteckt) */
        opacity: 0;
        pointer-events: none;
        visibility: hidden;

        /* Layering */
        z-index: 10000;        /* konsolidiert: 10000 statt 9999999 */

        /* Animation */
        transition: all ease-out .15s;

        /* Verlauf auf Basis von #002864
        background: linear-gradient(
                135deg,
                rgba(0, 40, 100, 0.88) 0%,
                rgba(0, 40, 100, 0.84) 45%,
                rgba(0, 40, 100, 0.80) 100%
        ) center;
        */

        background: var(--main-bg-color);
        background-size: cover;
    }

    .animatedfsmenu_openlevels .sub-menu {
        opacity: 1 !important;
        display: block !important
    }

    .animatedfsmenu-html-area {
        margin: 32px 0
    }

    .animatedfsmenu.align_left {
        text-align: left
    }

    .animatedfsmenu.align_center {
        text-align: center
    }

    .animatedfsmenu.align_right {
        text-align: right
    }

    .animatedfsmenu ul {
        list-style: none !important
    }

    @media (max-width: 1024px) {
        .animatedfsmenu {
            background-size: cover
        }
    }

    @media (min-width: 1024px) {
        .animatedfsmenu__mobile {
            display: none !important
        }
    }

    .animatedfsmenu__right {
        left: unset;
        right: 0
    }

    .animatedfsmenu button:focus {
        outline: 0
    }

    .animatedfsmenu .navbar {
        position: absolute !important
    }


    .animatedfsmenu.navbar-expand-md {
        position: fixed;
        width: 100%;
        height: 100%;
        max-width: 100%;
        background-size: cover;
        background-position: center center !important;
        z-index: 9999999;
        overflow-y:auto;
    }

    .animatedfsmenu__top {
        width: 100%;
        height: 0
    }

    .animatedfsmenu__top.navbar-expand-md {
        height: 100vh;
        width: 100%
    }

    .animatedfsmenu__left {
        width: 0;
        height: 100vh
    }

    .animatedfsmenu__left.navbar-expand-md {
        height: 100vh;
        width: 100%
    }

    .animatedfsmenu__right {
        width: 0;
        height: 100vh;
        left: unset;
        right: 0
    }

    .animatedfsmenu__right.navbar-expand-md {
        height: 100vh;
        width: 100vw
    }


    .animatedfsmenu .social-media {
        width: 100%;
        display: block;
        margin: 10px 0 30px
    }

    @media (max-width: 1024px) {
        .animatedfsmenu .social-media {
            margin-left: 20px;
            margin: 0
        }
    }

    .animatedfsmenu .social-media ul {
        margin: 0
    }

    .animatedfsmenu .social-media li {
        margin: 0 16px 0 0;
        position: relative;
        text-align: center;
        display: inline-block;
        border: 2px solid #fff;
        border-radius: 50%;
        transition: all .2s;
        top: 0
    }

    @media (max-width: 1024px) {
        .animatedfsmenu .social-media li {
            border-width: 1px
        }
    }

    .animatedfsmenu .social-media li:hover {
        top: -2px
    }

    .animatedfsmenu .social-media li a {
        padding: 4px;
        display: block;
        width: 40px;
        height: 40px;
        font-size: 22px;
        line-height: initial;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none
    }

    @media (max-width: 1024px) {
        .animatedfsmenu .social-media li a {
            width: 32px;
            height: 32px;
            font-size: 14px
        }
    }

    .animatedfsmenu_woocommerce {
        color: #fff;
        list-style: none;
        font-size: 13px;
        letter-spacing: .7px;
        position: absolute;
        bottom: 40px
    }

    @media (max-width: 768px) {
        .animatedfsmenu_woocommerce {
            font-size: 12px;
            position: relative;
            bottom: unset
        }
    }

    .animatedfsmenu_woocommerce li {
        float: left;
        margin: 0 8px
    }

    @media (max-width: 768px) {
        .animatedfsmenu_woocommerce li {
            margin: 0 3px
        }
    }

    .animatedfsmenu_woocommerce li i {
        margin-right: 6px
    }

    .animatedfsmenu .navbar-collapse-asf,
    .animatedfsmenu .kg-fsu-menu-social,
    .animatedfsmenu .fs-additional-content {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }

    .animatedfsmenu.navbar-expand-md .navbar-collapse-asf,
    .animatedfsmenu.navbar-expand-md .kg-fsu-menu-social,
    .animatedfsmenu.navbar-expand-md .fs-additional-content {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
    }

    @media (max-width: 990px) {
        .animatedfsmenu .kg-fsu-menu-social {
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }

    .kg-fsu-menu-social a {
        color: #fff;
        font-size: 24px;
        margin-right: 20px;
        transition: color 0.2s;
    }

    .kg-fsu-menu-social a:hover {
        color: #00BAF0;
    }
    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
    /* .animatedfsmenu.navbar-expand-md .animatedfs_menu_list {
        opacity: 1 !important;
        transition: opacity ease-in-out .2s;
        pointer-events: all;
        position: relative;
        z-index: 1;
    } */

    @media (max-width: 768px) {
        .animatedfsmenu.navbar-expand-md .navbar-collapse-asf {
            margin-top: 0px
        }
    }

    .animatedfsmenu .navbar {
        z-index: 99
    }

    .animatedfsmenu .navbar__languages {
        list-style: none;
        position: relative;
        float: left;
        display: block;
        margin: 0
    }

    .animatedfsmenu .navbar__languages li {
        float: left;
        font-size: 15px;
        border-right: 2px solid #ffffff8c;
        margin-right: 10px;
        padding-right: 10px;
        line-height: 16px
    }

    .animatedfsmenu .navbar__languages a {
        text-transform: uppercase
    }

    @media (max-width: 1024px) {
        .animatedfsmenu .navbar__languages {
            position: relative;
            left: 24px
        }
    }

    .animatedfsmenu .animatedfsmenu-navbar-toggler {
        position: fixed
    }

    .animatedfsmenu .animatedfs_menu_list {
        max-width: 100%;
        display: inline-block;
        pointer-events: none;
        /* min-width: 40vw; */
    }

    @media (min-width: 1200px) {
        .animatedfsmenu .animatedfs_menu_list {
            /* min-width: 30vw; */
        }
    }



    .animatedfsmenu .animatedfs_menu_list .afsmenu li {
        margin: 0;
        color: #fff;
        width: 100%;
        position: relative;
        cursor: pointer;
        padding: 10px 0px;
    }

    @media (max-width: 768px) {
        .animatedfsmenu .animatedfs_menu_list .afsmenu li {
            font-size: 35px;
            line-height: 45px;
            padding: 0px;
        }

        .animatedfsmenu .animatedfs_menu_list .afsmenu li a {
            font-size: 23px !important;
        }
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li a {
        transition: .2s all;
        position: relative;
        color: #FFFFFF;
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:focus {
        text-decoration: none
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:hover {
        text-decoration: underline
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul {
        margin: 14px 14px
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul a {
        font-size: clamp(1.3rem, 1.1vw, 1.9rem);
        line-height: 26px;
        padding: 9px 0;
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on > .sub-menu {
        opacity: 1;
        display: block;
        animation: afsmenu_fade 0.3s
    }

    .animatedfsmenu.animation_line .afsmenu > li > a:before {
        width: 0;
        transition: .2s all;
        content: '';
        position: absolute;
        height: 3px;
        background: #fff;
        top: 50%;
        transform: translateY(-50%);
        left: 0
    }

    .animatedfsmenu.animation_line .afsmenu > li.has-children__on > a, .animatedfsmenu.animation_line .afsmenu > li:hover > a {
        padding-left: 70px
    }

    .animatedfsmenu.animation_line .afsmenu > li.has-children__on > a:before, .animatedfsmenu.animation_line .afsmenu > li:hover > a:before {
        width: 50px
    }

    /**
        mobile menu styling
     */

    @media (max-width: 768px) {

        .animatedfsmenu.navbar-expand-md {
            min-height: 100vw;
        }

        .header.header-standard .navbar-collapse-asf,
        .header.header-classic .navbar-collapse-asf {
            position: relative;
            top:auto;
            left:auto;
        }


        .afsmenu li.afs-menu-item-has-children > ul {
            line-height: 38px;
        }

        .animatedfs_menu_list .afsmenu li > .sub-menu li {
            line-height: 33px;
        }



        .kg-sub-menu-opener {
            left: -40px;
            top: 20px;
        }
        .kg-sub-menu-closer {
            padding-right: 12px;
            padding-left: 12px;
            left: -40px;
            top: 27px;
        }
        .animatedfsmenu .animatedfs_menu_list
        .afsmenu li.afs-menu-item-has-children > ul {
            margin: 7px 7px;
            padding-inline-start: 20px;
        }


    }

    .animatedfsmenu.animation_background .afsmenu > li > a:before {
        width: 0;
        transition: .2s all;
        content: '';
        position: absolute;
        height: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1
    }

    .animatedfsmenu.animation_background .afsmenu > li.has-children__on > a:before, .animatedfsmenu.animation_background .afsmenu > li:hover > a:before {
        left: -8px;
        width: calc(100% + 18px)
    }

    .animatedfsmenu.animation_background__border_radius .afsmenu > li > a:before {
        width: 0;
        transition: .2s all;
        content: '';
        position: absolute;
        height: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
        border-radius: 80px
    }

    .animatedfsmenu.animation_background__border_radius .afsmenu > li.has-children__on > a:before, .animatedfsmenu.animation_background__border_radius .afsmenu > li:hover > a:before {
        left: -8px;
        width: calc(100% + 18px)
    }

    @keyframes afsmenu_fade {
        0% {
            opacity: 0
        }
        100% {
            opacity: 1
        }
    }

    .animatedfsmenu__lateralmenu {
        transition: none
    }

    .animatedfsmenu__lateralmenu .animatedfs_menu_list {
        pointer-events: all
    }

    @media (min-width: 1024px) {
        .animatedfsmenu__lateralmenu {
            width: 220px
        }

        .animatedfsmenu__lateralmenu .animatedfsmenu-navbar-toggler {
            display: none !important
        }

        .animatedfsmenu__lateralmenu .animatedfs_menu_list {
            width: 100%;
            display: inline-block;
            position: relative;
            opacity: 1
        }

        .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu li {
            line-height: 32px
        }

        .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu li a {
            font-size: 20px;
            display: block
        }

        .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu .sub-menu li a {
            font-size: 14px !important
        }
    }

    .animatedfsmenu__lateralmenu .afsmenu__close {
        left: -20px;
        font-size: 25px;
        height: 40px
    }

    .animatedfsmenu__sidemenu.navbar-expand-md {
        width: 440px
    }

    @media (max-width: 1024px) {
        .animatedfsmenu__sidemenu.navbar-expand-md {
            width: 300px
        }
    }

    .animatedfsmenu__sidemenu.navbar-expand-md .animatedfs_menu_list {
        padding-left: 20px
    }

    .afsmenu__lockscroll {
        width: 100%
    }

    .afsmenu_scroll {
        max-height: 80vh;
        min-height: 75vh;
        overflow-y: auto
    }

    @media (max-width: 1024px) {
        .afsmenu_scroll {
            max-height: 65vh
        }
    }

    .afsmenu_scroll::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: transparent
    }

    .afsmenu_scroll::-webkit-scrollbar {
        width: 6px;
        background-color: transparent
    }

    .afsmenu_scroll::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .6)
    }


    .afs_item-container {
        background: #00000085;
        padding: 10px
    }

    .afs_item-container .afs_item__img {
        width: 100%;
        min-height: 70px;
        background-size: cover;
        background-position: center
    }

    .afs_item-container .afs_item__title {
        font-size: 17px;
        margin-bottom: 2px
    }

    .afs_item-container .afs_item__qtt, .afs_item-container .afs_item__total {
        font-size: 14px;
        margin: 0
    }

    .animatedfsmenu-navbar-toggler {
        display: flex;
        position: relative;
        border-radius: 0;
        transition: all .2s;
        padding: 0;
    }

    /* Entfernt feste Höhen-Zuweisung – Steuerung erfolgt über Header-Controls (style.css) */
    /* .animatedfsmenu-navbar-toggler:not(.custom-burger) { height: 70px } */

    /* Entfernt alte Responsive-Zwangsgrößen; Größen kommen aus den vereinheitlichten Header-Controls */
    /* @media (max-width: 1024px) {
        .animatedfsmenu-navbar-toggler:not(.custom-burger) { width: 50px; height: 50px }
        .kg-mobile-contact-btn { width: 50px !important; height: 50px !important; }
    } */

    .animatedfsmenu-navbar-toggler.right_top {
        right: 8px;
        top: 8px
    }

    .animatedfsmenu-navbar-toggler.left_top {
        left: 0;
        top: 0
    }

    .animatedfsmenu-navbar-toggler.center_top {
        left: 0;
        right: 0;
        top: 0;
        margin: 0 auto
    }

    .animatedfsmenu-navbar-toggler.right_bottom {
        right: 0;
        bottom: 0
    }

    .animatedfsmenu-navbar-toggler.left_bottom {
        left: 0;
        bottom: 0
    }

    .animatedfsmenu-navbar-toggler.center_bottom {
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 auto
    }

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
    /* .navbar-toggler-icon {
        background: url(../img/svg/menu.svg);
        background-size: 100% 100%
    } */

    .animatedfsmenu-navbar-toggler {
        cursor: pointer;
        z-index: 99999999999999
    }

    /* Duplikat der Basis-Definition für .animatedfsmenu-navbar-toggler .bar entfernt – zentral oben definiert */

    /* entfernt (Duplikat): kg-header-button .bar – zentrale Definition weiter oben mit width: 25px */

    /* entfernt: frühere Basiseinstellung für .last (nun konsolidiert weiter unten) */

    /* Duplikate der Animate-Regeln entfernt – globale Definitionen weiter oben gelten */

    /* Mobile-Override konsolidiert: nur eine zentrale Definition weiter oben im File vorhanden */

    .menu-main-menu-container {
        padding-top: 11vw;
        padding-left: 10vw;
    }

    .kg-second-row-content {
        padding-top: 11vh;
    }

    .menu-social-container {
        padding-left: 10vw;
    }

    @media (max-width: 1200px) {
        .menu-social-container {
            padding-left: 8vw;
        }
    }

    @media (max-width: 768px) {


        .menu-social-container {
            margin-bottom: 25vw;
        }

        .kg-second-row-content {
            padding-top: 10vw;
            padding-left: 15px;
            padding-right: 15px;
        }

        .menu-main-menu-container {
            padding-top: 0vw;
            padding-left: 5vw;
        }

    }

    .kg-fsu-menu-social {
        margin-top: 20px;
        padding-top: 10px;
    }

    .kg-fsu-menu-social a {
        color: #ffffff;
        font-size: clamp(1.5625rem, 1.2292rem + 1.3333vw, 2.8125rem);
        padding-right: 15px;
    }

    hr.kg-fsu-menu-hr {
        border: 1px solid #ffffff;
        margin-bottom: 25px;
    }

    .btn-top-icons {
        color: #FFFFFF;
        font-size: 16px;
        border: 1px solid #FFFFFF;
        width: 100%;
        max-width: 350px;
        height: 100px;
        display:block;
        margin: 5px;
        padding: 15px;
        background-color: rgba(0, 186, 240, 0.8);
    }

    .btn-top-icons img {
        max-height: 45px;
    }

    @media (max-width: 1200px) {

        .btn-top-icons {
            color: #FFFFFF;
            font-size: 12px;
            width: 100%;
            height: 80px;
            display:block;
            margin: 0px;
            padding: 8px;
            background-color: rgba(0, 186, 240, 0.8);
        }

        .btn-top-icons img {
            max-height: 35px;
        }
    }

    a.btn-top-icons:hover {
        color: #ffffff;
    }

    .afsmenu .current-menu-item > a  {
        font-weight: 400 !important;
        text-decoration: underline;
    }

    .animatedfsmenu.navbar-expand-md {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
    }

    .fs-additional-content .btn-top-icons {
        border: 2px solid #00BAF0;
        border-radius: 10px;
    }

    .navbar-collapse-asf {
        position: absolute;
        width: 35vw;
        height: 100%;
        left: 10%;
        top: 0px;
        background: linear-gradient(
                135deg,
                rgba(0, 186, 240, 0.60) 0%,
                rgba(0, 186, 240, 0.60) 45%,
                rgba(0, 186, 240, 0.60) 100%
        );
        z-index: 0;
        padding-top: 10vw;
        padding-left: 2vw;
        display: flex;
        flex-direction: column;
        /* „cleaner“ Schatten passend zum Blau (weniger hart-schwarz) */
        box-shadow:
                10px 0 30px rgba(0, 35, 60, 0.45),
                inset 1px 0 0 rgba(255, 255, 255, 0.12);

        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    @media (min-width: 1750px) {
        .navbar-collapse-asf {
            width: 25vw;
        }
    }

    @media (max-width: 990px) {
        .animatedfsmenu .animatedfs_menu_list {
            display: block;
        }

        .navbar-collapse-asf {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            height: auto;
            background-color: rgba(0, 186, 240, 0.8);
            padding-top: 30px;
            padding-bottom: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .fs-additional-content {
            padding-top: 35px;
            padding-bottom: 35px;
        }
    }

    .kg-second-row-content .btn-top-icons {
        transition: .3s;
    }

    .kg-second-row-content .btn-top-icons:hover {
        transform: scale(1.01);
        background: none;
    }


    /* Mobile: Anpassung der Burger-Icon-Bars (Handy) */
    @media (max-width: 768px) {
        /* Untere Bar leicht nach oben und gedreht – Mobile Wunschwert */
        #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.bottom-animate {
            transform: rotate(-45deg);
            top: 1px;
        }

        /* Obere Bar weiter nach unten setzen – Mobile Wunschwert */
        #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.top-animate {
            top: 8px;
        }
    }

    /* ==============================================================
       Referenz-Styles aus Audi Zentrum Rostock (angepasst):
       1:1 übernommen, ABER ohne Schriftgrößen-Anpassungen (font-size)
       Hinweis: Nur Struktur, Layout, Farben, Abstände, Animationen.
       ==============================================================
    */

    /* Grundliste */
    .animatedfs_menu_list {
        margin: 0 auto;
    }

    .bg-aktionen {
        background-color: red;
    }

    .navbar-collapse-asf .fs-additional-content {
        padding-top: 0;
    }
    @media (max-width: 768px) {
        .animatedfs_menu_list {
            padding: 10px 0;
        }
    }

    .animatedfs_menu_list .afsmenu {
        list-style: none;
        margin: 0;
    }

    .animatedfs_menu_list .afsmenu a {
        text-decoration: none;
    }

    .animatedfs_menu_list .afsmenu > li {
        position: relative;
    }

    .animatedfs_menu_list .afsmenu > li a {
        font-family: AudiType, sans-serif;
        font-stretch: normal;
        line-height: 20px;
        color: rgba(252, 252, 253, 0.7);
        font-weight: 300;
    }

    .kg-sub-menu-closer,
    .kg-sub-menu-opener {
        position: absolute;
        left: -37px;
        top: 25px;
        transform: translateY(-50%);
        padding: 6px 12px;
        color: #FFFFFF;
    }

    .kg-sub-menu-closer,
    .kg-sub-menu-opener i {
        font-weight: 100;
    }

    .animatedfs_menu_list .afsmenu > li a:focus {
        outline: 0 !important;
    }

    .animatedfs_menu_list .afsmenu > li.current-lang a {
        color: #fff !important;
    }

    .animatedfs_menu_list .afsmenu > li.current-lang:after {
        position: absolute;
        display: block;
        content: '';
        border: 1px solid #fff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        top: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translateY(-49%);
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu {
        list-style: none;
        opacity: 0;
        transition: all .4s;
        position: relative;
        display: none;
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li {
        line-height: 10px;
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li a {
        font-family: AudiType, sans-serif;
        font-stretch: normal;
        line-height: 20px;
    }

    .animatedfs_menu_list .afsmenu li > .sub-menu li a:focus,
    .animatedfs_menu_list .afsmenu li > .sub-menu li a:hover {
        text-decoration: underline;
    }

    .animatedfs_menu_list .privacy_policy {
        width: 100%;
        padding-left: 1rem;
        bottom: 10px;
        position: absolute;
        letter-spacing: .8px;
    }

    @media (max-width: 768px) {
        .animatedfs_menu_list .privacy_policy {
            padding: 0 43px;
            position: relative;
        }
    }

    .animatedfs_menu_list .privacy_policy a {
        color: #8e8e8e !important;
    }

    .animatedfs_menu_list .privacy_policy a:hover {
        text-decoration: underline !important;
    }

    .afsmenu__close {
        position: absolute;
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
        height: 50px;
        line-height: normal;
    }

    /* Container und Sichtbarkeit */
    .animatedfsmenu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        width: 0;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 10000;
        transition: all ease-out .15s;
        background: var(--main-bg-color);
        background-size: cover;
    }

    .animatedfsmenu_openlevels .sub-menu {
        opacity: 1 !important;
        display: block !important;
    }

    .animatedfsmenu-html-area {
        margin: 32px 0;
    }

    .animatedfsmenu.align_left { text-align: left; }
    .animatedfsmenu.align_center { text-align: center; }
    .animatedfsmenu.align_right { text-align: right; }

    .animatedfsmenu ul { list-style: none !important; }

    @media (max-width: 1024px) {
        .animatedfsmenu { background-size: cover; }
    }
    @media (min-width: 1024px) {
        .animatedfsmenu__mobile { display: none !important; }
    }

    .animatedfsmenu__right { left: unset; right: 0; }

    .animatedfsmenu button:focus { outline: 0; }

    .animatedfsmenu .navbar { position: absolute !important; }

    .animatedfsmenu.navbar-expand-md {
        position: fixed;
        width: 100%;
        height: 100%;
        max-width: 100%;
        background-size: cover;
        background-position: center center !important;
        z-index: 9999999;
        overflow-y: auto;
    }

    .animatedfsmenu__top { width: 100%; height: 0; }
    .animatedfsmenu__top.navbar-expand-md { height: 100vh; width: 100%; }
    .animatedfsmenu__left { width: 0; height: 100vh; }
    .animatedfsmenu__left.navbar-expand-md { height: 100vh; width: 100%; }
    .animatedfsmenu__right { width: 0; height: 100vh; left: unset; right: 0; }
    .animatedfsmenu__right.navbar-expand-md { height: 100vh; width: 100vw; }

    .animatedfsmenu .social-media {
        width: 100%;
        display: block;
        margin: 10px 0 30px;
    }
    @media (max-width: 1024px) {
        .animatedfsmenu .social-media { margin-left: 20px; margin: 0; }
    }
    .animatedfsmenu .social-media ul { margin: 0; }
    .animatedfsmenu .social-media li {
        margin: 0 16px 0 0;
        position: relative;
        text-align: center;
        display: inline-block;
        border: 2px solid #fff;
        border-radius: 50%;
        transition: all .2s;
        top: 0;
    }
    @media (max-width: 1024px) {
        .animatedfsmenu .social-media li { border-width: 1px; }
    }
    .animatedfsmenu .social-media li:hover { top: -2px; }
    .animatedfsmenu .social-media li a {
        padding: 4px;
        display: block;
        width: 40px;
        height: 40px;
        line-height: initial;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
    @media (max-width: 1024px) {
        .animatedfsmenu .social-media li a { width: 32px; height: 32px; }
    }

    /* Toggler-Bars weiß wie in Referenz – Duplikat entfernt, zentrale Definition steht weiter oben (ca. Zeile ~1152) */
    /* .animatedfsmenu .animatedfsmenu-navbar-toggler .bar { background: #ffffff; } */

    .animatedfsmenu_woocommerce {
        color: #fff;
        list-style: none;
        letter-spacing: .7px;
        position: absolute;
        bottom: 40px;
    }
    @media (max-width: 768px) {
        .animatedfsmenu_woocommerce {
            position: relative;
            bottom: unset;
        }
    }
    .animatedfsmenu_woocommerce li { float: left; margin: 0 8px; }
    @media (max-width: 768px) { .animatedfsmenu_woocommerce li { margin: 0 3px; } }
    .animatedfsmenu_woocommerce li i { margin-right: 6px; }

    .animatedfsmenu .navbar-collapse-asf,
    .animatedfsmenu .kg-fsu-menu-social,
    .animatedfsmenu .fs-additional-content {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    .animatedfsmenu.navbar-expand-md .navbar-collapse-asf,
    .animatedfsmenu.navbar-expand-md .kg-fsu-menu-social,
    .animatedfsmenu.navbar-expand-md .fs-additional-content {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
    }
    @media (max-width: 990px) {
        .animatedfsmenu .kg-fsu-menu-social { padding-top: 20px; padding-bottom: 20px; }
    }
    .kg-fsu-menu-social a { color: #fff; margin-right: 20px; transition: color 0.2s; }
    .kg-fsu-menu-social a:hover { color: #00BAF0; }

    .animatedfsmenu.navbar-expand-md .animatedfs_menu_list {
        opacity: 1 !important;
        transition: opacity ease-in-out .2s;
        pointer-events: all;
        position: relative;
        z-index: 1;
    }
    @media (max-width: 768px) {
        .animatedfsmenu.navbar-expand-md .navbar-collapse-asf { margin-top: 0px; }
    }
    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
    /* .animatedfsmenu .navbar { z-index: 99; } */

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten
    .animatedfsmenu .navbar__languages { list-style: none; position: relative; float: left; display: block; margin: 0; }
    .animatedfsmenu .navbar__languages li {
        float: left;
        border-right: 2px solid #ffffff8c;
        margin-right: 10px;
        padding-right: 10px;
        line-height: 16px;
    }
    .animatedfsmenu .navbar__languages a {  }
    @media (max-width: 1024px) { .animatedfsmenu .navbar__languages { position: relative; left: 24px; } }
    */

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten */
    /* .animatedfsmenu .animatedfsmenu-navbar-toggler { position: fixed; } */

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten
    .animatedfsmenu .animatedfs_menu_list {
        max-width: 100%;
        display: inline-block;
        pointer-events: none;
    }
    */

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten
    .animatedfsmenu .animatedfs_menu_list .afsmenu li {
        margin: 0;
        color: #fff;
        width: 100%;
        position: relative;
        cursor: pointer;
        padding: 12px 0 12px 0;
    }
    @media (max-width: 768px) {
        .animatedfsmenu .animatedfs_menu_list .afsmenu li {
            padding: 0 0 12px 0;
        }
    }
    */

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten
    .animatedfsmenu .animatedfs_menu_list .afsmenu li a {
        transition: .2s all;
        position: relative;
        color: #FFFFFF;
    }
    */

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:focus { text-decoration: none; }
    .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:hover { text-decoration: underline; }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul { margin: 14px 14px; }
    /* höhere Spezifität, damit Größen/Abstände sicher greifen –
       zusätzlich !important, um alle vorherigen Größen (auch aus femenu.css) zu überstimmen */
    .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul > li > a,
    #animatedfsmenu_css .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul > li > a {
        /* zusammengeführt: Größe + Familie + Abstände */
        font-family: AudiType, sans-serif;
        font-stretch: normal;
        font-size: clamp(1.3rem, 1.1vw, 1.9rem) !important;
        line-height: 26px !important; /* zuvor 18–20px → einheitlich etwas höher für bessere Lesbarkeit */
        padding: 9px 0 !important;   /* Mittelwert aus 9–10px */
    }

    /* Falls irgendwo eine zu starke Regel greift: wichtige Absicherung auf Mobile
       Ziel: Untermenü-Schrift etwas kleiner als die Hauptmenü-Schrift */
    @media (max-width: 768px) {
        #animatedfsmenu_css .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul > li > a {
            font-size: clamp(1.1rem, 3vw, 1.45rem) !important; /* etwas kleiner als Hauptmenü */
            line-height: 22px !important;
            padding: 8px 0 !important;
        }
    }

    /* FS-Menü: Opener/Closer Icons (› / ˅) – nur Größe anpassen, Position nicht verändern */
    /* Desktop/Tablet: an Hauptmenü-Text gekoppelt */
    #animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-opener i,
    #animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-closer i {
        font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.75rem) !important; /* gleiche Skala wie Hauptmenü <a> */
        line-height: 1;
    }

    /* Mobile ≤768px: Icons etwas kleiner als Hauptmenü, analog Submenü-Größe */
    @media (max-width: 768px) {
        #animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-opener i,
        #animatedfsmenu_css > .afsmenu > li.afs-menu-item-has-children > .kg-sub-menu-closer i {
            /* Icons sollen exakt die gleiche Größe wie der Hauptmenü-Text haben */
            font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.75rem) !important;
        }
    }

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on > .sub-menu {
        opacity: 1;
        display: block;
        animation: afsmenu_fade 0.3s;
    }

    .animatedfsmenu.animation_line .afsmenu > li > a:before {
        width: 0;
        transition: .2s all;
        content: '';
        position: absolute;
        height: 3px;
        background: #fff;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
    }
    .animatedfsmenu.animation_line .afsmenu > li.has-children__on > a,
    .animatedfsmenu.animation_line .afsmenu > li:hover > a { padding-left: 70px; }
    .animatedfsmenu.animation_line .afsmenu > li.has-children__on > a:before,
    .animatedfsmenu.animation_line .afsmenu > li:hover > a:before { width: 50px; }

    /* Mobile Menu Styling */
    @media (max-width: 768px) {
        .animatedfsmenu.navbar-expand-md { min-height: 100vw; }
        .header.header-standard .navbar-collapse-asf,
        .header.header-classic .navbar-collapse-asf { position: relative; top: auto; left: auto; }
        .kg-sub-menu-opener { left: -40px; top: 20px; }
        .kg-sub-menu-closer { padding-right: 12px; padding-left: 12px; left: -40px; top: 27px; }
        .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul { margin: 7px 7px; padding-inline-start: 20px; }
    }

    .animatedfsmenu.animation_background .afsmenu > li > a:before {
        width: 0;
        transition: .2s all;
        content: '';
        position: absolute;
        height: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
    }
    .animatedfsmenu.animation_background .afsmenu > li.has-children__on > a:before,
    .animatedfsmenu.animation_background .afsmenu > li:hover > a:before { left: -8px; width: calc(100% + 18px); }

    .animatedfsmenu.animation_background__border_radius .afsmenu > li > a:before {
        width: 0;
        transition: .2s all;
        content: '';
        position: absolute;
        height: 100%;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
        border-radius: 80px;
    }
    .animatedfsmenu.animation_background__border_radius .afsmenu > li.has-children__on > a:before,
    .animatedfsmenu.animation_background__border_radius .afsmenu > li:hover > a:before { left: -8px; width: calc(100% + 18px); }

    @keyframes afsmenu_fade { 0% { opacity: 0; } 100% { opacity: 1; } }

    .animatedfsmenu__lateralmenu { transition: none; }
    .animatedfsmenu__lateralmenu .animatedfs_menu_list { pointer-events: all; }
    @media (min-width: 1024px) {
        .animatedfsmenu__lateralmenu { width: 220px; }
        .animatedfsmenu__lateralmenu .animatedfsmenu-navbar-toggler { display: none !important; }
        .animatedfsmenu__lateralmenu .animatedfs_menu_list { width: 100%; display: inline-block; position: relative; opacity: 1; }
        .animatedfsmenu__lateralmenu .animatedfs_menu_list .afsmenu li { line-height: 32px; }
    }
    .animatedfsmenu__lateralmenu .afsmenu__close { left: -20px; height: 40px; }
    .animatedfsmenu__sidemenu.navbar-expand-md { width: 440px; }
    @media (max-width: 1024px) { .animatedfsmenu__sidemenu.navbar-expand-md { width: 300px; } }
    .animatedfsmenu__sidemenu.navbar-expand-md .animatedfs_menu_list { padding-left: 20px; }
    .afsmenu__lockscroll { width: 100%; }
    .afsmenu_scroll { max-height: 80vh; min-height: 75vh; overflow-y: auto; }
    @media (max-width: 1024px) { .afsmenu_scroll { max-height: 65vh; } }
    .afsmenu_scroll::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: transparent; }
    .afsmenu_scroll::-webkit-scrollbar { width: 6px; background-color: transparent; }
    .afsmenu_scroll::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,.6); }

    .afs_item-container { background: #00000085; padding: 10px; }
    .afs_item-container .afs_item__img { width: 100%; min-height: 70px; background-size: cover; background-position: center; }
    .afs_item-container .afs_item__title { margin-bottom: 2px; }
    .afs_item-container .afs_item__qtt, .afs_item-container .afs_item__total { margin: 0; }

    /* Toggler Größe/Position und Bars */
    .animatedfsmenu-navbar-toggler {
        background: transparent;
        position: relative;
        border-radius: 15%;
        transition: all .2s;
        padding: 0;
        border: none;
        box-shadow: none;
        cursor: pointer;
        z-index: 99999999999999;
        outline: none !important;
        width: 36px;
        height: 36px;
    }
    @media (max-width: 1024px) {
        .animatedfsmenu-navbar-toggler { width: 30px; height: 30px; }
    }
    .animatedfsmenu-navbar-toggler.right_top { right: 8px; top: 8px; }
    .animatedfsmenu-navbar-toggler.left_top { left: 0; top: 0; }
    .animatedfsmenu-navbar-toggler.center_top { left: 0; right: 0; top: 0; margin: 0 auto; }
    .animatedfsmenu-navbar-toggler.right_bottom { right: 0; bottom: 0; }
    .animatedfsmenu-navbar-toggler.left_bottom { left: 0; bottom: 0; }
    .animatedfsmenu-navbar-toggler.center_bottom { left: 0; right: 0; bottom: 0; margin: 0 auto; }
    .navbar-toggler-icon { background: url(../img/svg/menu.svg); background-size: 100% 100%; }

    /* entfernt (Duplikat) – zentrale Definition weiter oben erhalten
    .animatedfsmenu-navbar-toggler.kg-header-button {
        display: flex;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        width: auto;
        float: right;
    }
    .kg-header-button-icon {
        margin-right: 10px;
    }
    */

    /* Duplikat der Basis-Bars entfernt – zentrale Basis-Definition wird verwendet */
    .animatedfsmenu-navbar-toggler .mid { display: block; }
    /* Konsolidierte Endfassung für .animatedfsmenu-navbar-toggler .last */
    .animatedfsmenu-navbar-toggler .last {
        text-align: center;
        line-height: 1;
        font-size: 10px;
        text-transform: none;
        font-weight: 300;        /* spätere Regel setzte 300, daher hier übernommen */
        color: #fff;             /* spätere Regel setzte #fff, Basisfarbe für FS-Menü-Label */
    }
    /* Duplizierte/abweichende Animate-Varianten entfernt – es gelten die globalen .top-animate/.bottom-animate/.mid-animate Regeln */

    /* Menublöcke und Social */
    .menu-main-menu-container { padding-top: 11vw; padding-left: 10vw; }
    .kg-second-row-content { padding-top: 0px; }
    .menu-social-container { padding-left: 10vw; }
    @media (max-width: 1200px) { .menu-social-container { padding-left: 8vw; } }
    @media (max-width: 768px) {
        .menu-social-container { margin-bottom: 25vw; }
        .kg-second-row-content { padding-top: 10vw; padding-left: 15px; padding-right: 15px; }
        .menu-main-menu-container { padding-top: 0vw; padding-left: 5vw; }
    }

    .kg-fsu-menu-social { margin-top: 20px; padding-top: 10px; }
    .kg-fsu-menu-social a { color: #ffffff; padding-right: 15px; }
    hr.kg-fsu-menu-hr { border: 1px solid #ffffff; margin-bottom: 25px; }

    .btn-top-icons {
        color: #FFFFFF;
        border: 1px solid #FFFFFF;
        width: 100%;
        max-width: 350px;
        height: 100px;
        display: block;
        margin: 5px;
        padding: 15px;
        background-color: rgba(0, 186, 240, 0.8);
    }
    .btn-top-icons img { max-height: 45px; }
    @media (max-width: 1200px) {
        .btn-top-icons {
            color: #FFFFFF;
            width: 100%;
            height: 80px;
            display: block;
            margin: 0px;
            padding: 8px;
            background-color: rgba(0, 186, 240, 0.8);
        }
        .btn-top-icons img { max-height: 35px; }
    }
    a.btn-top-icons:hover { color: #ffffff; }

    .afsmenu .current-menu-item > a,
    .afsmenu .current-menu-ancestor > a {
        font-weight: 400 !important;
        text-decoration: underline;
        color: rgba(252, 252, 253, 0.7) !important;
    }

    .animatedfsmenu.navbar-expand-md {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
    }
    .fs-additional-content .btn-top-icons { border: 2px solid #00BAF0; border-radius: 10px; }

    .navbar-collapse-asf {
        position: absolute;
        width: 35vw;
        height: 100%;
        left: 10%;
        top: 0px;
        background: linear-gradient(
                135deg,
                rgba(20, 25, 30, 0.95) 0%,
                rgba(20, 25, 30, 0.92) 45%,
                rgba(20, 25, 30, 0.90) 100%
        );
        z-index: 0;
        padding-top: 10vw;
        padding-left: 2vw;
        display: flex;
        flex-direction: column;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5), inset 1px 0 0 rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
    @media (min-width: 1750px) { .navbar-collapse-asf { width: 25vw; } }
    @media (max-width: 990px) {
        .animatedfsmenu .animatedfs_menu_list { display: block; }
        .navbar-collapse-asf {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            height: auto;
            background-color: rgba(20, 25, 30, 0.98);
            padding-top: 30px;
            padding-bottom: 50px;
            box-shadow: none;
            border: none;
        }
        .fs-additional-content { padding: 0px; }
    }

    /* Audi Logo Fullscreen Menu Styles */
    .audi-logo-fs-container { padding: 20px; width: 100%; }
    .audi-logo-fs {
        max-width: 250px;
        height: auto;
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
        transition: all 0.5s ease-in-out;
    }
    .audi-logo-fs:hover {
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
        transform: scale(1.05);
    }
    @media (max-width: 991px) {
        .audi-logo-fs { max-width: 100px; margin-top: 30px; }
        .audi-logo-fs-container { padding: 0px; }
        .navbar-collapse-asf { padding-top: 10px; }
    }

    /* ==============================================================
       16. FS-Menü – Mobile Optimierungen (≤ 991px)
       Bezug: nav-fsmenu.php (#animatedfsmenu_css) und Referenz femenu.css
       Ziel: einheitliche, kleinere Controls und Audi-Logo-Anpassung
       ==============================================================
    */
    @media (max-width: 991px) {
        /* Audi-Logo im Fullscreen-Menü kompakter und mit Abstand nach oben */
        #animatedfsmenu_css .audi-logo-fs {
            max-width: 100px;
            height: auto;
            margin-top: 30px;
        }

        /* Menü-Toggler kompakter (Breite/Höhe) */
        #animatedfsmenu_css .animatedfsmenu-navbar-toggler {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background: transparent;
            border: 0;
        }

        /* Burger-Bars dünner für kleine Screens */
        #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar {
            height: 2px;
        }

        /* Kontakt-Button auf gleiche Kantenlänge und geringeren rechten Abstand bringen */
        #animatedfsmenu_css .kg-contact-button {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background: transparent;
            border: 0;
            margin-right: 16px;
        }

        /* Mobile-Spacing im Menüblock leicht kompakter halten */
        #animatedfsmenu_css .navbar-collapse-asf {
            padding-top: 24px;
            padding-bottom: 40px;
        }
    }

    /* Sehr kleine Screens optional etwas kompakter (≤ 374px) */
    @media (max-width: 374px) {
        #animatedfsmenu_css .animatedfsmenu-navbar-toggler,
        #animatedfsmenu_css .kg-contact-button {
            width: 26px;
            height: 26px;
        }
        /* Kompakter Header-Button (ohne ID-Scope, falls außerhalb #animatedfsmenu_css gerendert) */
        .animatedfsmenu-navbar-toggler.kg-header-button {
            width: 26px;
            height: 26px;
        }
    }

    /* ==============================================================
       17. Rostock-Referenz: Kreuz-Animation (Burger → X)
       Ziel: Optik wie in audi-zentrum-rostock.de
       Gilt gezielt im FS-Menü (#animatedfsmenu_css)
       ==============================================================
    */

    /* Grundzustand der Bars im Header-Button bereits schlanker gesetzt (s. oben) */

    /* Feinanpassung: auf sehr kleinen Screens (Referenz nutzt 768px) soll die Top-Bar
       nach der Animation exakt etwas niedriger stehen, damit das X „zentrierter“ wirkt. */
    @media (max-width: 768px) {
        #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.top-animate {
            top: 7px;
        }
    }

    /* Damit das Kreuz wie in der Referenz wirkt, sorgen wir für konsistente Rotationen
       und leichte vertikale Offsets für top/bottom, die mid-Bar ausblenden. */
    #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.top-animate {
        transform: rotate(45deg);
    }

    #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.bottom-animate {
        transform: rotate(-45deg);
        top: -1px;
    }

    #animatedfsmenu_css .animatedfsmenu-navbar-toggler .bar.mid-animate {
        opacity: 0;
    }

    /* Kein separater Offset für .kg-header-button nötig – global konsistent (7px / -1px) */

/* Menublöcke und Social */

.btn-top-icons {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    width: 100%;
    max-width: 350px;
    height: 100px;
    display: block;
    margin: 5px;
    padding: 15px;
    background-color: rgba(0, 186, 240, 0.8);
}
.btn-top-icons img { max-height: 45px; }
@media (max-width: 1200px) {
    .btn-top-icons {
        color: #FFFFFF;
        width: 100%;
        height: 80px;
        display: block;
        margin: 0px;
        padding: 8px;
        background-color: rgba(0, 186, 240, 0.8);
    }
    .btn-top-icons img { max-height: 35px; }
}
a.btn-top-icons:hover { color: #ffffff; }

.afsmenu .current-menu-item > a,
.afsmenu .current-menu-ancestor > a {
    font-weight: 400 !important;
    text-decoration: underline;
    color: rgba(252, 252, 253, 0.7) !important;
}

.animatedfsmenu.navbar-expand-md {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}
.fs-additional-content .btn-top-icons { border: 2px solid #00BAF0; border-radius: 10px; }

