/* KUGEL CARGO v8.5 — responsive stabilization layer (loaded after legacy CSS) */
:root{--kugel-brand-blue:#1e499a;--kugel-brand-orange:#f7a713}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:94px}
body{overflow-x:clip}
img,svg,video,iframe{max-width:100%}
img{height:auto}
.container{max-width:1220px}
.v8-home,.k84-main,.header,.footer{min-width:0}
.v8-home h1,.v8-home h2,.k84-main h1,.k84-main h2{overflow-wrap:break-word}
.k84-main [id],.v8-home [id]{scroll-margin-top:100px}
.k84-skip{position:fixed;z-index:100000;left:12px;top:-120px;padding:12px 18px;background:#fff;color:#092e5c;box-shadow:0 4px 16px #001b3870;border-radius:5px}
.k84-skip:focus{top:12px}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--kugel-brand-orange);outline-offset:3px}
.header{position:relative;z-index:300}
.header .nav{min-width:0}
.header .mainnav .kugel-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;min-width:38px;touch-action:manipulation;flex-shrink:0}
.header .mainnav .kugel-has-submenu>.kugel-submenu{display:none}
.header .mainnav .kugel-has-submenu.submenu-open>.kugel-submenu{display:flex}
.header .mainnav .kugel-submenu{z-index:310}
.header .mainnav .k84-parent-link{display:flex;align-items:center;min-width:0}
.header .mainnav .k84-parent-link>a{min-width:0}
.header .hamb{touch-action:manipulation;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.v8-form :is(input,select,textarea){max-width:100%;min-width:0}
.v8-form :is(input:not([type=checkbox]),select,textarea){font-size:16px}
.v8-form .v8-form-row>*{min-width:0}
.v8-form button{min-height:46px}
.k84-cta .container>*{min-width:0}
.k84-image-split>*{min-width:0}
.k84-map iframe{max-width:100%}
@media(min-width:1101px){
 .header .mainnav{display:block!important;position:static;visibility:visible;overflow:visible}
 .header .mainnav>ul{display:flex;align-items:center;flex-direction:row}
 .header .hamb{display:none!important}
 .header .mainnav .kugel-submenu{position:absolute;max-height:min(70vh,560px);overflow-y:auto}
 .header .mainnav .kugel-has-submenu:hover>.kugel-submenu{display:flex}
}
@media(max-width:1100px){
 .header .nav{position:relative;display:flex;align-items:center}
 .header .hamb{display:inline-flex!important;margin-left:auto;flex-shrink:0}
 .header .mainnav{display:none!important;position:absolute!important;left:0!important;right:0!important;top:100%!important;width:100%!important;max-height:calc(100dvh - 78px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;background:#fff;box-shadow:0 14px 30px #082d4b31;padding:10px 20px 18px!important;z-index:500}
 .header .mainnav.mobile-open{display:block!important}
 .header .mainnav>ul{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0;margin:0}
 .header .mainnav li{display:block;width:100%;min-width:0;list-style:none;border-bottom:1px solid #e3ebf4}
 .header .mainnav>ul>li>a,.header .mainnav .k84-parent-link>a{display:flex;align-items:center;min-height:48px;padding:12px 5px;font-size:15px;white-space:normal}
 .header .mainnav .k84-parent-link{justify-content:space-between}
 .header .mainnav .k84-parent-link>a{flex:1}
 .header .mainnav .kugel-submenu-toggle{min-width:48px;min-height:48px;padding:10px!important;font-size:19px!important}
 .header .mainnav .kugel-submenu{position:static!important;width:100%!important;min-width:0!important;box-shadow:none!important;border-radius:8px;background:#f3f7fb;padding:4px 10px 9px!important;max-height:none}
 .header .mainnav .kugel-has-submenu:hover>.kugel-submenu,.header .mainnav .kugel-has-submenu:focus-within>.kugel-submenu{display:none}
 .header .mainnav .kugel-has-submenu.submenu-open>.kugel-submenu{display:flex!important;flex-direction:column!important}
 .header .mainnav .kugel-submenu li{border:0}
 .header .mainnav .kugel-submenu a{font-size:14px;line-height:1.4;padding:13px 10px;min-height:44px}
 .v82-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:820px){
 .v8-hero .hero-inner{display:block}
 .v8-hero .hero-copy{width:100%;max-width:100%!important}
 .v8-hero .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
 .v8-hero .hero-actions .btn{max-width:100%;text-align:center}
 .v8-card-grid,.v8-mode-grid,.v82-identity-grid,.k84-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v8-industry-grid.v82-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v8-quote-layout,.k84-image-split{grid-template-columns:1fr}
 .k84-hero{padding:66px 0}
 .k84-cta .container{flex-wrap:wrap}
}
@media(max-width:600px){
 .container{width:calc(100% - 32px)}
 .topbar{min-height:0}
 .header .nav{min-height:70px}
 .header .brand img{width:min(140px,40vw)}
 .header .navquote{display:none!important}
 .header .mainnav{max-height:calc(100dvh - 70px);padding:8px 16px 20px!important}
 .v8-hero{min-height:auto!important}
 .v8-hero .hero-inner{min-height:540px!important;display:flex;align-items:center}
 .v8-hero .hero-copy{width:100%;max-width:100%;padding:55px 0 60px!important}
 .v8-hero h1{font-size:clamp(32px,8.5vw,42px)!important;line-height:1.11!important;letter-spacing:-1px!important}
 .v8-hero .hero-copy>p{font-size:15px;line-height:1.65}
 .v8-hero .hero-actions{flex-direction:column;align-items:stretch}
 .v8-hero .hero-actions .btn{width:100%;min-width:0}
 .v8-card-grid,.v8-mode-grid,.v8-industry-grid.v82-industry-grid,.v82-identity-grid,.v82-values-grid,.v8-steps,.v8-form-row,.k84-cards,.v82-footer-grid{grid-template-columns:minmax(0,1fr)!important}
 .v8-form-card{padding:22px 16px}
 .v8-form :is(input,select,textarea){width:100%}
 .v8-form .v8-consent input{width:auto}
 .k84-hero{padding:52px 0}
 .k84-hero h1{font-size:clamp(31px,8vw,43px);line-height:1.13}
 .k84-section{padding:48px 0}
 .k84-card{padding:24px 19px}
 .k84-cta .container{display:block}
 .k84-cta .btn{display:inline-flex;white-space:normal;max-width:100%;margin-top:18px}
 .k84-map iframe{height:285px}
 .footer-grid{grid-template-columns:1fr!important}
 .legal{display:block}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* v8.7 bilingual language switch */
.kugel-lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:43px;min-height:42px;padding:8px 10px;font-weight:800;color:#1e499a;text-decoration:none;border:1px solid #dce5f0;border-radius:7px;margin-left:8px;background:#fff}
.kugel-lang-switch:hover,.kugel-lang-switch:focus-visible{color:#fff;background:#1e499a}
@media(max-width:1024px){.kugel-lang-switch{margin-left:auto;margin-right:8px;min-width:42px;flex-shrink:0}}
