.ad24-header{position:sticky;top:0;z-index:50;width:100%;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif}
.ad24-header *{box-sizing:border-box}
.ad24-header a{margin:0;text-decoration:none}
.ad24-header__wrap{display:flex;align-items:center;gap:30px;width:min(1076px,calc(100% - 44px));height:72px;margin:0 auto}
.ad24-header__logo{display:flex;flex:none;align-items:center}
.ad24-header__logo img{display:block;width:220px;max-width:32vw;height:auto}
.ad24-header__nav{display:flex;align-items:center;gap:26px;margin-left:auto;font-size:var(--fs-md);font-weight:500}
.ad24-header__nav>a,.ad24-header__item>a{display:flex;align-items:center;height:72px;padding:0;color:var(--faint);white-space:nowrap}
.ad24-header__nav>a:hover,.ad24-header__item:hover>a,.ad24-header__item:focus-within>a{color:var(--navy)}
.ad24-header__item{position:relative}
.ad24-header__caret{width:8px;height:8px;margin:-4px 0 0 8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)}
.ad24-header__dropdown{position:absolute;top:100%;left:50%;display:grid;width:290px;margin-top:10px;border:1px solid var(--line);background:#fff;box-shadow:0 18px 50px rgba(40,72,159,.14);opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px);transition:.18s}
.ad24-header__dropdown:before{content:"";position:absolute;top:-12px;right:0;left:0;height:12px}
.ad24-header__item:hover .ad24-header__dropdown,.ad24-header__item:focus-within .ad24-header__dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.ad24-header__dropdown h2{margin:3px 10px 7px;font-size:var(--fs-xs);font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.ad24-header__dropdown a{display:block;margin:0;padding:9px 11px;border-radius:10px;color:var(--ink)}
.ad24-header__dropdown small{display:block;margin-top:2px;color:var(--faint)}
.ad24-header__cta{display:inline-flex;flex:none;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:12px;background:var(--navy);color:#fff!important;font-weight:700;box-shadow:0 7px 18px rgba(40,72,159,.17)}
.ad24-header__cta:hover{background:var(--navy-2)}
.ad24-header__burger{display:none;flex:none;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;margin-left:auto;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.ad24-header__burger span{display:block;width:21px;height:2px;margin:0 auto;border-radius:2px;background:var(--navy)}
.ad24-header__overlay{position:fixed;inset:0;z-index:70;background:rgba(15,25,55,.45)}
.ad24-header__mobile{position:fixed;top:0;right:0;z-index:80;display:flex;flex-direction:column;width:min(86vw,340px);height:100%;padding:20px;overflow-y:auto;background:#fff;box-shadow:none;font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1),box-shadow .28s}
.ad24-header__mobile.is-open{transform:translateX(0);box-shadow:-12px 0 40px rgba(20,34,75,.18)}
.ad24-header__mobile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ad24-header__mobile-top img{display:block;width:190px;max-width:70%;height:auto}
.ad24-header__close{width:42px;height:42px;border:0;border-radius:11px;background:var(--navy-soft);color:var(--navy);font-size:24px;line-height:1;cursor:pointer}
.ad24-header__mobile-content>a{margin:0;padding:14px 6px;border-bottom:1px solid var(--line);color:var(--ink);font-size:var(--fs-base);font-weight:600;text-decoration:none}
.ad24-header__mobile-content>a:hover{color:var(--navy)}
.ad24-header__mobile .ad24-header__mobile-cta{justify-content:center;margin-top:20px;padding:15px 24px;border:0;border-radius:12px;background:var(--navy);color:#fff;text-align:center}
@media(max-width:1160px){.ad24-header__nav{display:none}.ad24-header__burger{display:flex}}
@media(min-width:701px) and (max-width:1160px){.ad24-header .ad24-header__cta{margin-left:auto}.ad24-header__burger{margin-left:0}}
@media(max-width:700px){.ad24-header__wrap{width:min(100% - 28px,1120px);gap:14px}.ad24-header__logo img{width:194px;max-width:62vw}.ad24-header__cta{display:none}}
/* v5-Feinschliff 24.10.2026: ruhigere Navigation, schlankere CTA */
.ad24-header__logo img{width:204px}
.ad24-header__nav{gap:28px}
.ad24-header__nav>a,.ad24-header__item>a{position:relative;color:var(--ink);transition:color .15s}
.ad24-header__nav>a::after,.ad24-header__item>a::after{content:"";position:absolute;left:0;right:0;bottom:18px;height:2px;border-radius:2px;background:var(--navy);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.ad24-header__nav>a:hover::after,.ad24-header__item:hover>a::after,.ad24-header__item:focus-within>a::after,.ad24-header__nav>a[aria-current="page"]::after{transform:scaleX(1)}
.ad24-header__item>a::after{right:16px}
.ad24-header__caret{width:7px;height:7px;margin:-3px 0 0 9px;border-width:0 1.6px 1.6px 0}
.ad24-header__cta{min-height:44px;padding:11px 20px;border-radius:11px;font-size:var(--fs-md);font-weight:600;box-shadow:none;transition:background .15s}
.ad24-header a:focus-visible,.ad24-header button:focus-visible{outline:2px solid var(--navy);outline-offset:3px;border-radius:6px}
@media(max-width:700px){.ad24-header__logo img{width:184px}}
/* v5-Dropdown 24.10.2026 */
.ad24-header__dropdown{width:304px;padding:10px;border:0;border-radius:16px;box-shadow:0 0 0 1px rgba(20,34,75,.06),0 18px 44px rgba(20,34,75,.14);gap:2px}
.ad24-header__dropdown::after{content:"";position:absolute;top:-6px;left:50%;width:12px;height:12px;background:#fff;border-radius:3px 0 0 0;box-shadow:-1px -1px 0 rgba(20,34,75,.06);transform:translateX(-50%) rotate(45deg)}
.ad24-header__dropdown h2{margin:6px 12px 8px;color:var(--gold-deep);font-size:var(--fs-sm);font-weight:600;letter-spacing:.12em}
.ad24-header__dropdown a{position:relative;padding:10px 40px 10px 12px;border-radius:11px;color:var(--head);font-size:var(--fs-md);font-weight:600;line-height:1.3;transition:background .15s,color .15s}
.ad24-header__dropdown a::after{content:"→";position:absolute;right:14px;top:50%;color:var(--navy);font-weight:600;opacity:0;transform:translate(-4px,-50%);transition:opacity .15s,transform .15s}
.ad24-header__dropdown a:hover{background:var(--navy-soft);color:var(--navy)}
.ad24-header__dropdown a:hover::after{opacity:1;transform:translate(0,-50%)}
.ad24-header__dropdown small{margin-top:3px;color:var(--muted);font-size:var(--fs-sm);font-weight:400;line-height:1.35}

/* Skip-Link (Barrierefreiheit, 27.10.2026) */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:1000;padding:10px 16px;border-radius:10px;background:var(--navy);color:#fff;font-weight:600;font-size:15px;text-decoration:none}
.skip-link:focus{left:8px;outline:3px solid var(--gold);outline-offset:2px}
main:focus{outline:none}

/* Mobile navigation: shared submenus and a fixed close control, 31.10.2026. */
.ad24-header__mobile{height:100dvh;max-height:100%;overflow:hidden;padding:20px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}
.ad24-header__mobile-top{flex:none;gap:12px;background:#fff}
.ad24-header__close{flex:none;min-width:44px;min-height:44px}
.ad24-header__mobile-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 3px 4px}
.ad24-header__mobile-content>a{display:block}
.ad24-header__mobile-group{border-bottom:1px solid var(--line)}
.ad24-header__mobile-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:55px;padding:14px 6px;border:0;background:transparent;color:var(--ink);font:600 var(--fs-base)/1.65 Poppins,system-ui,sans-serif;text-align:left;cursor:pointer}
.ad24-header__mobile-toggle::after{content:"";flex:none;width:8px;height:8px;margin-right:5px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s}
.ad24-header__mobile-toggle[aria-expanded="true"]::after{transform:rotate(225deg)}
.ad24-header__mobile-toggle:hover,.ad24-header__mobile-toggle.is-current{color:var(--navy)}
.ad24-header__mobile-submenu{padding:0 0 10px 8px}
.ad24-header__mobile-submenu[hidden]{display:none}
.ad24-header__mobile-submenu a{display:block;min-height:44px;padding:10px 12px;border-radius:9px;color:var(--ink);font-size:var(--fs-md);font-weight:500;line-height:1.4;text-decoration:none}
.ad24-header__mobile-submenu small{display:block;margin-top:3px;color:var(--muted);font-size:var(--fs-sm);font-weight:400;line-height:1.4}
.ad24-header__mobile-submenu a:hover,.ad24-header__mobile-content a[aria-current="page"]{background:var(--navy-soft);color:var(--navy);border-radius:9px}
.ad24-header__mobile-content a[aria-current="page"]{font-weight:700}
.ad24-header__mobile a:focus-visible,.ad24-header__mobile button:focus-visible{outline:2px solid var(--navy);outline-offset:-2px;border-radius:9px}
@media(prefers-reduced-motion:reduce){.ad24-header__mobile,.ad24-header__mobile-toggle::after{transition:none}}
