/* Nur die neue mobile Menüfamilie; Desktop-Menüs und alte Rückfallmenüs bleiben nativ. */
@media(max-width:1024px){
.mobile-nav:has(.affenhand-mobile-navigation){width:calc(100vw - 24px);max-width:390px;background:#fff;color:#222;--nav-color:#222;--nav-color-hover:#222}
.mobile-nav:has(.affenhand-mobile-navigation)::before{content:"";display:block;height:54px;margin:0 58px 0 20px;background:url("https://www.affenhand.de/wp-content/uploads/2024/01/Affenhand-Logo.svg") left center/112px auto no-repeat}
.mobile-nav:has(.affenhand-mobile-navigation)>.wd-heading{position:absolute;right:0;top:0;width:54px;height:54px;padding:0;justify-content:center;border:0;background:transparent}
.mobile-nav:has(.affenhand-mobile-navigation)>.wd-heading .wd-action-text{display:none}
.mobile-nav:has(.affenhand-mobile-navigation) .wd-search-form form.searchform{margin:0 16px 14px;width:calc(100% - 32px);border:1px solid #000!important;border-radius:999px!important;overflow:visible;height:44px}
.mobile-nav:has(.affenhand-mobile-navigation) .wd-search-form form.searchform input{height:42px!important;padding-left:16px!important;border:0!important;background:transparent!important;font-size:15px}
.mobile-nav:has(.affenhand-mobile-navigation) .wd-search-form form.searchform button{height:42px!important;width:44px!important;background:transparent!important;color:#222!important}
.mobile-nav:has(.affenhand-mobile-navigation) .wd-search-form form.searchform .wd-dropdown-results{margin-top:8px}
.mobile-nav:has(.affenhand-mobile-navigation)>.wd-nav-mob-tab{display:none}
.affenhand-mobile-navigation{border-top:1px solid #000!important;margin:0!important;--nav-gap:0px}
.affenhand-mobile-navigation li.menu-item{margin:0!important}
.affenhand-mobile-navigation li.menu-item>a{min-height:59px!important;padding:10px 44px 10px 20px!important;border-bottom:1px solid #dedede!important;font:600 15px/1.3 var(--wd-text-font)!important;color:#222!important;text-transform:none!important;gap:13px;background:#fff!important;box-sizing:border-box}
.affenhand-mobile-navigation li.menu-item>a:hover,.affenhand-mobile-navigation li.menu-item>a:focus-visible{background:#f4f4f4!important}
.affenhand-mobile-navigation li.menu-item>a .nav-link-text{font:inherit!important}
.mobile-nav .affenhand-mobile-navigation .wd-nav-img{width:44px!important;height:44px!important;max-height:44px!important;flex:0 0 44px;object-fit:contain;margin:0!important;background:transparent;mix-blend-mode:multiply}
.affenhand-mobile-navigation .wd-nav-opener{width:44px;border:0!important;color:#222}
.affenhand-mobile-navigation ul li.menu-item>a{font-weight:400!important;min-height:70px!important}
.affenhand-mobile-navigation ul li.menu-item:has(.wd-nav-img)>a{padding-top:12px!important;padding-bottom:12px!important}
.affenhand-mobile-navigation ul>.wd-drilldown-back{background:#f5f5f5;border-bottom:1px solid #000!important;height:46px}
.affenhand-mobile-navigation ul>.wd-drilldown-back>a{min-height:46px!important;height:46px;padding:10px 20px 10px 44px!important;background:transparent!important;border:0!important;font-size:14px!important;font-weight:600!important}
.affenhand-mobile-navigation ul>.wd-drilldown-back>.wd-nav-opener{left:0;right:auto;height:46px}
.affenhand-mobile-navigation .affenhand-mobile-heading{border-bottom:1px solid #000!important;padding:18px 20px!important;background:#fff!important}
.affenhand-mobile-navigation .affenhand-mobile-heading h2{font:700 22px/1.2 var(--wd-text-font)!important;margin:0!important;color:#222}
.affenhand-mobile-navigation ul>.affenhand-mobile-heading+li>a{background:#f5f5f5!important;font-weight:700!important;min-height:58px!important}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item{float:left!important;width:calc((100% - 48px)/3)!important;margin:12px 0 12px 12px!important;clear:none!important}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item:first-child{margin-left:12px!important}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item>a{justify-content:center;min-height:38px!important;padding:8px 3px!important;border:1px solid #000!important;border-radius:999px;font-size:12px!important;white-space:nowrap}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item+li:not(.affenhand-mobile-preview-quick){clear:both!important;border-top:1px solid #000}
.affenhand-mobile-navigation>.affenhand-mobile-service.menu-item>a{background:#fafafa!important;border-top:1px solid #000!important}
.affenhand-mobile-navigation>.ah-brand-mobile-item>.ah-brand-toggle{min-height:59px;font:600 15px/1.3 var(--wd-text-font);padding:16px 20px;border-bottom:1px solid #dedede!important;color:#222;background:#fafafa;width:100%}
.mobile-nav:has(.affenhand-mobile-navigation) .ah-brand-panel{background:#fff}
.mobile-nav:has(.affenhand-mobile-navigation) .ah-brand-group{border-color:#000}
/* Native Flex-Untergrenzen und echte Drilldown-Sichtbarkeit, auch auf320px. */
.affenhand-mobile-navigation li.menu-item{border-bottom:1px solid #dedede!important}
.affenhand-mobile-navigation li.menu-item>a{min-width:0!important;flex:1 1 0%!important;border-bottom:0!important}
.affenhand-mobile-navigation li.menu-item>a .nav-link-text{min-width:0;overflow-wrap:anywhere;white-space:normal}
.affenhand-mobile-navigation li.menu-item>.wd-nav-opener{flex:0 0 44px!important;background:transparent!important}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item{border-bottom:0!important}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item>a{border:1px solid #000!important}
.affenhand-mobile-navigation.wd-drilldown-hide>li:not([aria-expanded="true"]),.affenhand-mobile-navigation .wd-drilldown-hide>li:not([aria-expanded="true"]){display:none!important}
.affenhand-mobile-navigation>.ah-brand-mobile-item>.ah-brand-toggle{font:600 15px/1.3 var(--wd-text-font)!important;text-transform:none!important;letter-spacing:normal;border-bottom:0!important;display:flex;justify-content:space-between;align-items:center}
.affenhand-mobile-navigation>.ah-brand-mobile-item>.ah-brand-toggle>span{font-size:0;flex:0 0 8px;width:8px;height:8px;margin-right:4px;padding:0;border:0!important;border-top:1px solid #222!important;border-right:1px solid #222!important;transform:rotate(45deg);background:transparent}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item>a{height:38px!important;min-height:38px!important;flex:1 1 auto!important}
.affenhand-mobile-navigation>.affenhand-mobile-preview-quick.menu-item>a .nav-link-text{white-space:nowrap!important;overflow-wrap:normal!important}
}
