/* 2.9.58 · Mobile Premium
 * Final responsive correction layer for the migrated live master.
 * Intentionally contains mobile/tablet media queries only: desktop remains unchanged.
 */

@media(max-width:860px){
  /* Header + global rhythm */
  body.home .bt-main .section{padding-top:72px!important;padding-bottom:72px!important}
  body.home .bt-main .section-sm{padding-top:52px!important;padding-bottom:52px!important}
  body.home .bt-main .hero{padding-top:12px!important;padding-bottom:36px!important}
  body.home .bt-main .heroGrid{gap:26px!important;min-height:0!important}
  body.home .bt-main .heroCopy{padding:24px 0 0!important}
  body.home .bt-main .heroActions{margin:24px 0 26px!important}

  /* Images must size from the viewport instead of inheriting desktop minimum heights. */
  body.home .heroVisual{min-height:0!important;aspect-ratio:4/3!important;border-radius:26px!important}
  body.home .heroVisual img{min-height:0!important;height:100%!important;aspect-ratio:4/3!important}
  body.home .aboutPhoto{min-height:0!important;aspect-ratio:4/3!important;border-radius:24px!important}
  body.home .aboutPhoto img{min-height:0!important;height:100%!important;aspect-ratio:4/3!important}

  /* Process + platform */
  body.home .processWrap{margin-top:18px!important}
  body.home .process{padding:22px!important}
  body.home .productPanel{min-height:0!important}
  body.home .leadinfo{padding:38px 28px!important;gap:34px!important}

  /* Current live cards: remove desktop equal-height constraints on narrow layouts. */
  body.home .service{min-height:0!important}
  body.home .training{min-height:0!important}
  body.home .industry{min-height:0!important}
  body.home .insight{min-height:0!important}

  /* Managed high-end subpages: final late layer wins over later variant-specific desktop rules. */
  .bt-release-2918.bt-v28-page .bt-v28-hero{padding-top:48px!important;padding-bottom:52px!important}
  .bt-release-2918.bt-v28-page .bt-v28-hero-grid{gap:32px!important}
  .bt-release-2918.bt-v28-page .bt-v28-hero-copy h1{font-size:clamp(2.65rem,7.2vw,3.8rem)!important;line-height:.98!important}
  .bt-release-2918.bt-v28-page .bt-v28-section{padding-top:58px!important;padding-bottom:58px!important}
  .bt-release-2918.bt-v28-page .bt-v28-section-head{margin-bottom:28px!important}
}

@media(max-width:760px){
  /* Enterprise is deliberately one module per row on mobile. */
  body.home .bt-enterprise-grid{grid-template-columns:1fr!important}
  body.home .bt-enterprise-card:last-child{grid-column:auto!important;display:flex!important}
  body.home .process{grid-template-columns:1fr!important;gap:0!important}
  body.home .processIntro{grid-column:auto!important;padding-bottom:8px!important}
  body.home .step{border-left:0!important;border-top:1px solid var(--line)!important;padding:17px 0!important}
}

@media(max-width:599px){
  /* Compact iPhone header. */
  body.home .navin{height:72px!important;grid-template-columns:116px 1fr auto!important;gap:10px!important}
  body.home .logo{width:108px!important;height:50px!important;border-radius:12px!important}
  body.home .bt-mobile-nav summary{font-size:1.32rem!important;padding:7px 8px!important}
  body.home .bt-mobile-panel{top:46px!important;width:min(330px,calc(100vw - 24px))!important}

  /* Global mobile width + typography. */
  body.home .bt-main .wrap{width:calc(100% - 28px)!important;max-width:100%!important}
  body.home .bt-main .section{padding-top:58px!important;padding-bottom:58px!important}
  body.home .bt-main .section-sm{padding-top:42px!important;padding-bottom:42px!important}
  body.home .bt-main .display{font-size:clamp(2.55rem,10.8vw,3rem)!important;line-height:.98!important;letter-spacing:-.052em!important;margin-bottom:20px!important}
  body.home .bt-main h2{font-size:clamp(2.05rem,9vw,2.6rem)!important;line-height:1.04!important;letter-spacing:-.04em!important}
  body.home .eyebrow{font-size:.68rem!important;line-height:1.35!important;margin-bottom:11px!important}
  body.home .heroCopy .lead{font-size:1rem!important;line-height:1.58!important}
  body.home .heroCopy .kicker{font-size:.86rem!important;line-height:1.6!important}
  body.home .heroActions{gap:9px!important;margin:20px 0 22px!important}
  body.home .heroActions .btn{min-height:46px!important;padding:11px 14px!important;font-size:.86rem!important}
  body.home .proofrow{gap:12px!important;margin-top:22px!important}
  body.home .proof{font-size:.72rem!important;gap:8px!important}
  body.home .proof strong{font-size:.76rem!important}

  /* Hero photo becomes shorter without changing crop content. */
  body.home .heroVisual{aspect-ratio:4/3!important;border-radius:22px!important}
  body.home .heroVisual img{aspect-ratio:4/3!important;object-position:50% 42%!important}
  body.home .nameplate{left:14px!important;right:14px!important;bottom:14px!important;padding:13px 15px!important;border-radius:13px!important}
  body.home .nameplate strong{font-size:1rem!important}
  body.home .nameplate span{font-size:.68rem!important;line-height:1.35!important}

  /* Four-step consulting path. */
  body.home .processWrap{margin-top:14px!important}
  body.home .process{padding:18px!important;border-radius:17px!important}
  body.home .processIntro h3{font-size:1.22rem!important}
  body.home .step{padding:15px 0!important}
  body.home .stepNum{font-size:1.05rem!important}
  body.home .step strong{font-size:.86rem!important}
  body.home .step p{font-size:.76rem!important;line-height:1.5!important}

  /* Reference logos: compact rail with every logo reachable by swipe. */
  body.home .references-strip{padding-top:42px!important;padding-bottom:10px!important}
  body.home .refHead{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;margin-bottom:18px!important}
  body.home .refHead h3{font-size:1.25rem!important;line-height:1.22!important}
  body.home .logoRail{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(128px,40vw)!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;scroll-snap-type:x proximity!important;padding:0 0 8px!important;scrollbar-width:none!important}
  body.home .logoRail::-webkit-scrollbar{display:none!important}
  body.home .logoCard{height:72px!important;padding:11px!important;border-radius:12px!important;scroll-snap-align:start!important}
  body.home .logoCard img{max-height:40px!important}

  /* Platform/search/CRM: full width, readable fields, no artificial panel height. */
  body.home .platform{padding:24px 16px!important;margin-left:-4px!important;margin-right:-4px!important;border-radius:22px!important}
  body.home .platformGrid{gap:14px!important}
  body.home .platformIntro{padding:0 0 8px!important}
  body.home .platformIntro h2{font-size:clamp(2rem,8.6vw,2.45rem)!important;line-height:1.03!important}
  body.home .platformIntro .lead{font-size:.98rem!important;line-height:1.58!important}
  body.home .platformIntro .statline{gap:10px!important;margin-top:18px!important}
  body.home .productPanel{min-height:0!important;padding:16px!important;border-radius:17px!important}
  body.home .searchForm{padding:11px!important;gap:8px!important}
  body.home .searchForm .row{grid-template-columns:1fr!important}
  body.home .searchForm input,
  body.home .searchForm select{min-height:48px!important;font-size:16px!important;padding:10px 11px!important}
  body.home .searchForm button{min-height:48px!important;font-size:.9rem!important}
  body.home .crmMetrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.home .metric{padding:10px!important}
  body.home .pipe{grid-template-columns:1fr 1fr!important}

  /* Four current Enterprise products. */
  body.home .bt-enterprise-products{padding-top:50px!important;padding-bottom:56px!important}
  body.home .bt-enterprise-head{gap:14px!important;margin-bottom:24px!important}
  body.home .bt-enterprise-head h2{font-size:clamp(2.05rem,9vw,2.55rem)!important}
  body.home .bt-enterprise-head .lead{font-size:.98rem!important;line-height:1.58!important}
  body.home .bt-enterprise-grid{grid-template-columns:1fr!important;gap:14px!important}
  body.home .bt-enterprise-card-copy{padding:20px!important}
  body.home .bt-enterprise-card-copy small{margin-bottom:13px!important;font-size:.58rem!important;line-height:1.35!important}
  body.home .bt-enterprise-card-copy h3{font-size:1.16rem!important;line-height:1.2!important}
  body.home .bt-enterprise-card-copy p{font-size:.88rem!important;line-height:1.56!important;margin-bottom:18px!important}

  /* Services: readable one-column cards, but no desktop-sized empty height. */
  body.home #leistungen .servicesHead{gap:16px!important;margin-bottom:26px!important}
  body.home #leistungen .servicesHead h2{font-size:clamp(2.05rem,9vw,2.55rem)!important;line-height:1.04!important}
  body.home #leistungen .servicesHead .lead{font-size:.98rem!important;line-height:1.58!important}
  body.home .serviceGrid{grid-template-columns:1fr!important;gap:10px!important}
  body.home .service{min-height:0!important;padding:20px!important;border-radius:16px!important}
  body.home .serviceIcon{margin-bottom:17px!important}
  body.home .service p{font-size:.86rem!important;line-height:1.55!important;margin-bottom:12px!important}

  /* Leadinfo: same hierarchy, substantially less vertical air. */
  body.home .leadinfo{padding:27px 18px!important;gap:28px!important;border-radius:22px!important}
  body.home .leadinfo h2{font-size:clamp(2.1rem,9vw,2.6rem)!important}
  body.home .leadinfo .lead{font-size:.98rem!important;line-height:1.58!important}
  body.home .partnerBadge{margin-top:18px!important;margin-bottom:16px!important}
  body.home .momentumFlow{gap:5px!important;margin-top:12px!important}

  /* Training + industries become swipeable compact rails instead of long giant card stacks. */
  body.home .trainHead{gap:16px!important;margin-bottom:26px!important}
  body.home .trainGrid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(248px,82vw)!important;gap:10px!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;scroll-snap-type:x mandatory!important;padding-bottom:8px!important;scrollbar-width:none!important}
  body.home .trainGrid::-webkit-scrollbar{display:none!important}
  body.home .training{min-height:0!important;padding:18px!important;border-radius:16px!important;scroll-snap-align:start!important}
  body.home .training h3{font-size:1rem!important;margin-top:12px!important}
  body.home .training p{font-size:.82rem!important;line-height:1.5!important}
  body.home .industries{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(246px,80vw)!important;gap:10px!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;scroll-snap-type:x mandatory!important;padding-bottom:8px!important;scrollbar-width:none!important}
  body.home .industries::-webkit-scrollbar{display:none!important}
  body.home .industry{min-height:0!important;padding:19px!important;border-radius:16px!important;scroll-snap-align:start!important}
  body.home .industry .art{height:82px!important}
  body.home .industry p{font-size:.82rem!important;line-height:1.5!important}

  /* Remaining homepage modules. */
  body.home .testimonialBand{padding-top:56px!important;padding-bottom:56px!important}
  body.home .testimonialGrid{gap:24px!important}
  body.home .bigQuote{font-size:clamp(1.85rem,8vw,2.35rem)!important;line-height:1.12!important}
  body.home .aboutGrid{gap:24px!important}
  body.home .aboutPhoto{aspect-ratio:4/3!important}
  body.home .aboutPhoto img{aspect-ratio:4/3!important}
  body.home .aboutCopy .roleList{margin:18px 0!important;gap:6px!important}
  body.home .insightGrid{grid-template-columns:1fr!important;gap:10px!important}
  body.home .insight:first-child{grid-column:auto!important}
  body.home .insight{min-height:0!important;padding:20px!important}
  body.home .finalCta{padding-top:58px!important;padding-bottom:62px!important}
  body.home .ctaBox{gap:22px!important}
  body.home .ctaActions{width:100%!important}
  body.home .ctaActions .btn{width:100%!important;justify-content:center!important}
  body.home .footer{padding:25px 0!important}
  body.home .footerIn{gap:16px!important}
  body.home .footerLinks{gap:11px 15px!important}

  /* High-end subpages: normalize variants that reintroduced desktop type/spacing after early mobile rules. */
  .bt-release-2918.bt-v28-page .bt-v28-shell{width:calc(100% - 28px)!important;max-width:100%!important}
  .bt-release-2918.bt-v28-page .bt-v28-hero{padding-top:34px!important;padding-bottom:40px!important}
  .bt-release-2918.bt-v28-page .bt-v28-hero-grid{gap:24px!important}
  .bt-release-2918.bt-v28-page .bt-v28-hero-copy h1{font-size:clamp(2.35rem,10.4vw,3rem)!important;line-height:.98!important;letter-spacing:-.045em!important}
  .bt-release-2918.bt-v28-page .bt-v28-lead{font-size:1rem!important;line-height:1.58!important}
  .bt-release-2918.bt-v28-page .bt-v28-section{padding-top:52px!important;padding-bottom:52px!important}
  .bt-release-2918.bt-v28-page .bt-v28-section-head{margin-bottom:24px!important}
  .bt-release-2918.bt-v28-page .bt-v28-section h2{font-size:clamp(2rem,9vw,2.65rem)!important;line-height:1.04!important}
  .bt-release-2918.bt-v28-page .bt-v28-card{min-height:0!important;padding:20px!important}
  .bt-release-2918.bt-v28-page .bt-v28-process article{min-height:0!important;padding:20px!important}
  .bt-release-2918.bt-v28-page .bt-v28-final-card{padding:24px 20px!important;border-radius:22px!important}
  .bt-release-2918.bt-v28-page .bt-v28-media{border-radius:20px!important}

  /* Branch search page keeps the final shared form, just with tighter mobile framing. */
  .bt-v299-key-branchensuche .bt2954-search-embed{margin-top:20px!important;padding:14px!important;border-radius:22px!important}
  .bt-v299-key-branchensuche .bt2954-search-embed .searchForm{padding:14px!important;gap:10px!important}
  .bt-v299-key-branchensuche .bt2954-search-embed .searchForm>input,
  .bt-v299-key-branchensuche .bt2954-search-embed .searchForm .row select,
  .bt-v299-key-branchensuche .bt2954-search-embed .searchForm .row input,
  .bt-v299-key-branchensuche .bt2954-search-embed .searchForm button[type="submit"]{min-height:52px!important}
}

@media(max-width:420px){
  body.home .heroActions{display:grid!important;grid-template-columns:1fr!important}
  body.home .heroActions .btn{width:100%!important;justify-content:center!important}
  body.home .proofrow{grid-template-columns:1fr 1fr!important}
  body.home .logoRail{grid-auto-columns:minmax(124px,43vw)!important}
  body.home .trainGrid{grid-auto-columns:minmax(236px,86vw)!important}
  body.home .industries{grid-auto-columns:minmax(232px,84vw)!important}
}
