/* Scoped header/contact presentation; native menus and application handlers remain active. */
html[data-ui83] { --ui83-control:56px; --ui83-edge:24px; --ui83-top:22px; --ui83-gap:10px; }
html[data-ui83] body section.hero .kp-header61 .header-service-links,
html[data-ui83] body section.hero .kp-header61 .desktop-nav,
html[data-ui83] body section.hero .kp-header61 .hero-service-links,
html[data-ui83] body section.hero .kp-header61>.header-cta,
html[data-ui83] body section.hero .kp-header61>.button,
html[data-ui83] body .ui83-contact-primary-hidden { display:none!important; }
html[data-ui83][data-brand61] body :is(.kp-header61,.kp-function-dock,.kp-function-dock-v17,.kp-contact-dock,.kp-contact-dock-v17) a.ui83-contact-primary-hidden { display:none!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .desktop-nav,
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .header-service-links,
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .hero-service-links { display:none!important; }
html[data-ui83][data-brand61="aa"] body section.hero#start .kp-header61:not(.aa33-nav-open)>nav[aria-label="Hauptnavigation"],
html[data-ui83][data-brand61="kj"] body section.hero#start .kp-header61>nav[aria-label="Hauptnavigation"] { display:none!important; }
/* KS's existing conversion presentation can relocate this source nav outside the header. */
html[data-ui83="ks"][data-brand61="ks"] body nav.desktop-nav[aria-label="Hauptnavigation"] { display:none!important; visibility:hidden!important; }
html[data-ui83][data-brand61="aa"] body section.hero .kp-header61:not(.aa33-nav-open)>nav[aria-label="Hauptnavigation"],
html[data-ui83][data-brand61="kj"] body section.hero .kp-header61>nav[aria-label="Hauptnavigation"] { display:none!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61 {
 display:block!important; position:fixed!important; inset:var(--ui83-top) var(--ui83-edge) auto auto!important;
 width:var(--ui83-control)!important; min-width:var(--ui83-control)!important; max-width:var(--ui83-control)!important;
 height:var(--ui83-control)!important; min-height:var(--ui83-control)!important; max-height:var(--ui83-control)!important;
 padding:0!important; margin:0!important; border-radius:8px!important; box-sizing:border-box!important; z-index:10021!important;
}
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61::before,
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61::after { content:none!important; display:none!important; box-shadow:none!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61>* { display:none!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61>.ui83-bars {
 display:block!important; position:absolute!important; inset:0!important; margin:0!important; padding:0!important; width:auto!important; height:auto!important; background:none!important; transform:none!important;
 opacity:1!important; visibility:visible!important;
}
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61>.ui83-bars>i {
 display:block!important; position:absolute!important; top:50%!important; left:calc(50% - 13px)!important;
 width:26px!important; height:3px!important; margin:0!important; padding:0!important; border:0!important;
 background:#fff!important; border-radius:2px!important; box-shadow:none!important; transition:transform .18s ease,opacity .18s ease!important;
 opacity:1!important; visibility:visible!important;
 transform:translateY(-1.5px)!important;
}
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61>.ui83-bars>i:first-child { transform:translateY(-9.5px)!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61>.ui83-bars>i:last-child { transform:translateY(6.5px)!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61[aria-expanded="true"]>.ui83-bars>i:first-child { transform:translateY(-1.5px) rotate(45deg)!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61[aria-expanded="true"]>.ui83-bars>i:nth-child(2) { opacity:0!important; }
html[data-ui83][data-brand61] body section.hero:is(#start,#top) .kp-header61 .kp-toggle61[aria-expanded="true"]>.ui83-bars>i:last-child { transform:translateY(-1.5px) rotate(-45deg)!important; }
html[data-ui83] body section.hero .kp-header61 .ui83-actions,
html[data-ui83][data-brand61="ii"][data-ii-ui75] body section.hero#start .hero-bar .ii75-actions {
 display:flex!important; align-items:stretch!important; justify-content:flex-end!important; flex-wrap:nowrap!important;
 position:fixed!important; top:var(--ui83-top)!important; right:calc(var(--ui83-edge) + var(--ui83-control) + var(--ui83-gap))!important;
 left:auto!important; bottom:auto!important; height:var(--ui83-control)!important; width:max-content!important;
 gap:var(--ui83-gap)!important; margin:0!important; padding:0!important; z-index:10020!important;
}
html[data-ui83] body section.hero .kp-header61 .ui83-actions>.ui83-action,
html[data-ui83][data-brand61="ii"][data-ii-ui75] body section.hero#start .hero-bar .ii75-actions>.ii75-action {
 display:inline-flex!important; align-items:center!important; justify-content:center!important; min-height:var(--ui83-control)!important;
 height:var(--ui83-control)!important; box-sizing:border-box!important; padding:10px 16px!important; margin:0!important;
 font-family:inherit!important; font-size:15px!important; line-height:1.2!important; font-weight:750!important; letter-spacing:0!important;
 white-space:nowrap!important; border:1px solid #ffffff87!important; border-radius:8px!important; text-decoration:none!important; text-align:center!important;
 background:linear-gradient(140deg,#126b8b,#053550)!important; color:#fff!important; box-shadow:0 4px 14px #041e3540!important; cursor:pointer;
}
html[data-ui83="aa"] body section.hero .kp-header61 .ui83-actions>.ui83-action-primary { background:linear-gradient(140deg,#aa812c,#715015)!important; }
html[data-ui83][data-brand61="ii"][data-ii-ui75] body section.hero#start .hero-bar .ii75-actions>.ii75-action:first-child { background:linear-gradient(140deg,#f6a131,#bd4c08)!important; }
html[data-ui83][data-brand61="ii"][data-ii-ui75] body section.hero#start .hero-bar .ii75-actions>.ii75-action:last-child { background:linear-gradient(140deg,#10a9c0,#08728c)!important; }
html[data-ui83] body section.hero .kp-header61 :is(.ui83-action,.kp-toggle61):focus-visible,
html[data-ui83] body .ui83-contact a:focus-visible { outline:3px solid #50cde4!important; outline-offset:3px!important; }
html[data-ui83] body section.hero .kp-header61 .mobile-navigation:not([hidden]),
html[data-ui83] body section.hero .kp-header61 .kp-menu61-panel:not([hidden]),
html[data-ui83="aa"] body section.hero .kp-header61.aa33-nav-open>nav[aria-label="Hauptnavigation"] {
 display:grid!important; position:fixed!important; inset:calc(var(--ui83-top) + var(--ui83-control) + 12px) var(--ui83-edge) auto auto!important;
 width:min(510px,calc(100vw - var(--ui83-edge)*2))!important; max-height:calc(100dvh - var(--ui83-top) - var(--ui83-control) - 36px)!important;
 margin:0!important; overflow-y:auto!important; z-index:10019!important;
}
html[data-ui83] body .ui83-contact { width:min(1180px,calc(100% - 48px)); margin:36px auto; padding:22px 26px; border:1px solid #b7cbd1; border-radius:14px; background:#f4f8f9; color:#123845; display:flex; align-items:center; justify-content:space-between; gap:20px; box-sizing:border-box; }
html[data-ui83] body .ui83-contact h2 { margin:0 0 5px; font-size:22px; line-height:1.25; color:inherit; }
html[data-ui83] body .ui83-contact p { margin:0; font-size:15px; color:inherit; }
html[data-ui83] body .ui83-contact-links { display:flex; flex-wrap:wrap; gap:10px; }
html[data-ui83] body .ui83-contact-links a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; border-radius:8px; padding:10px 16px; background:#0a4d67; color:#fff; font-size:15px; font-weight:750; text-decoration:none; box-sizing:border-box; }
@media (min-width:768px) and (max-width:1279px) {
 html[data-ui83] { --ui83-top:132px; }
 html[data-ui83] body section.hero .kp-header61 { min-height:208px!important; align-items:start!important; }
}
@media (max-width:767px) {
 html[data-ui83] { --ui83-control:48px; --ui83-edge:12px; --ui83-top:84px; --ui83-gap:8px; }
 html[data-ui83] body section.hero .kp-header61 { min-height:148px!important; align-items:start!important; }
 html[data-ui83] body section.hero .kp-header61 .ui83-actions>.ui83-action { font-size:14px!important; padding:8px 14px!important; }
 html[data-ui83] body section.hero .kp-header61 .ui83-actions>.ui83-secondary { display:none!important; }
 html[data-ui83][data-brand61="ii"][data-ii-ui75] body section.hero#start .hero-bar .ii75-actions { left:12px!important; width:auto!important; }
 html[data-ui83][data-brand61="ii"][data-ii-ui75] body section.hero#start .hero-bar .ii75-actions>.ii75-action { flex:1 1 0!important; min-width:0!important; font-size:12px!important; padding:6px!important; white-space:normal!important; }
 html[data-ui83] body .ui83-contact { width:calc(100% - 24px); margin:24px auto; padding:18px; display:block; }
 html[data-ui83] body .ui83-contact-links { margin-top:15px; }
}
@media (prefers-reduced-motion:reduce) { html[data-ui83] body .ui83-bars>i { transition:none!important; } }
