/* OneSport 2.0. Scoped to the existing brand; BITCons pages retain their styling. */
body[data-brand="onesport"]{--os-ink:#142c42;--os-muted:#536675;--os-line:#dbe2e8;--os-soft:#f3f6f8;--os-accent:#245477;color:var(--os-ink)}
body[data-brand="onesport"] :is(button,input,select,textarea){font:inherit}
body[data-brand="onesport"] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #245477;outline-offset:4px}
body[data-brand="onesport"] :is(button,.cms-action){min-height:44px}
/* Match the enhanced menu before its DOM is parsed, avoiding a large first-load
   layout shift. The class is set only by the successfully loaded navigation JS. */
@media(max-width:900px){
html.onesport-nav-ready body[data-brand="onesport"] .site-menu-toggle{display:inline-flex;order:2;margin-left:0}
html.onesport-nav-ready body[data-brand="onesport"] #site-primary-nav:not(.is-open){display:none}
}
body[data-brand="onesport"] .onesport-secondary-action{background:transparent!important;color:#fff!important;border:1px solid #fff;margin-top:12px}
body[data-brand="onesport"][data-page="teambekleidung"] .quick-access{display:none}
body[data-brand="onesport"] .cms-product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:clamp(16px,2vw,32px)}
body[data-brand="onesport"] .cms-product-card img{aspect-ratio:1;object-fit:contain;background:var(--os-soft)}
body[data-brand="onesport"] .cms-teamwearConfigurator{max-width:1440px;padding-inline:clamp(12px,4vw,56px)}
.teamwear-v2{display:block!important;max-width:none!important;overflow-wrap:anywhere;--os-ink:#142c42;--os-muted:#536675;--os-line:#dbe2e8;--os-soft:#f3f6f8}
.teamwear-v2 [hidden]{display:none!important}
.teamwear-v2 :is(section,aside,figure,fieldset,label,div){min-width:0}
.teamwear-v2 button{cursor:pointer;min-height:44px;border:1px solid var(--os-line);background:#fff;color:var(--os-ink);border-radius:6px;padding:10px 14px;font-weight:650}
.teamwear-v2 button:disabled{cursor:default;opacity:.5}
.teamwear-v2 :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){display:block;width:100%;max-width:100%;min-height:46px;padding:11px;border:1px solid #aebdc9;background:#fff;border-radius:5px;color:var(--os-ink);margin:6px 0 0;box-sizing:border-box}
.teamwear-v2 input[type=checkbox]{width:20px;height:20px;vertical-align:middle;accent-color:var(--os-ink);flex:none}
.teamwear-v2 label{display:block;font-weight:600;margin-block:12px}
.teamwear-v2 label:has(input[type=checkbox]){display:flex;align-items:start;gap:10px;line-height:1.55}
.teamwear-v2 :is(p,figcaption,small){color:var(--os-muted);line-height:1.6}
.teamwear-v2 h3{font-size:clamp(1.4rem,2.4vw,2rem);margin-top:0;line-height:1.2}
.teamwear-progress{scroll-margin-top:90px;border-bottom:1px solid var(--os-line);margin-bottom:24px;padding-bottom:18px}
.teamwear-step-label{font-size:.85rem;font-weight:700;letter-spacing:.04em}
.teamwear-progress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;list-style:none;gap:8px;margin:0}
.teamwear-progress button{width:100%;height:100%;text-align:left;font-size:.85rem;display:flex;align-items:center;gap:8px}
.teamwear-progress button[aria-current]{background:var(--os-ink);color:#fff;border-color:var(--os-ink)}
.teamwear-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,5vw,64px);align-items:start}
.teamwear-preview{position:sticky;top:100px}
.teamwear-v2 .teamwear-mockup{margin:0;padding:0;background:transparent;border:0;position:relative;display:block}
.teamwear-image-stage{position:relative;aspect-ratio:1;background:var(--os-soft);border-radius:8px;overflow:hidden}
.teamwear-v2 .teamwear-product-image{position:static;width:100%;height:100%;max-height:none;object-fit:contain;display:block;opacity:1;filter:none}
.teamwear-v2 .teamwear-mark{position:absolute;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:4px;transform:translate(-50%,-50%);border:2px solid #617b91;border-radius:50%;background:#fffffff2;font-size:1.2rem;z-index:1;color:var(--os-ink);box-shadow:0 2px 10px #142c4218}
.teamwear-v2 .teamwear-mark[aria-pressed=true]{background:var(--os-ink);border-color:#fff;color:#fff;box-shadow:0 0 0 2px var(--os-ink)}
.teamwear-v2 .teamwear-mark[aria-pressed=true]:has(img){background:#fff}
.teamwear-v2 .teamwear-mark img{width:100%;height:100%;object-fit:contain;display:block;border-radius:0;max-height:none}
.teamwear-v2 .teamwear-chest-left{left:62%;top:39%}.teamwear-v2 .teamwear-chest-right{left:38%;top:39%}
.teamwear-v2 .teamwear-sleeve-left{left:85%;top:30%}.teamwear-v2 .teamwear-sleeve-right{left:15%;top:30%}
.teamwear-v2 .teamwear-collar-left{left:59%;top:18%}.teamwear-v2 .teamwear-collar-right{left:41%;top:18%}
.teamwear-v2 .teamwear-towel-mark{left:50%;top:60%}
.teamwear-v2 figcaption{font-size:.75rem;margin-top:14px;text-align:left}
.teamwear-selection-summary{padding-top:16px;border-top:1px solid var(--os-line);font-weight:700}
.teamwear-product-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:360px;overflow-y:auto;padding:4px}
.teamwear-product-cards button{display:flex;flex-direction:column;gap:12px;align-items:start;font-size:.8rem;padding:10px;text-align:left;word-break:normal}
.teamwear-product-cards button[aria-pressed=true]{border-color:var(--os-ink);box-shadow:0 0 0 1px var(--os-ink)}
.teamwear-product-cards img{width:100%;aspect-ratio:1;object-fit:contain;background:var(--os-soft)}
.teamwear-size-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--os-line);padding:10px 0}
.teamwear-size-row label{margin:0}.teamwear-size-row small{display:block;font-size:.75rem;font-weight:400}
.teamwear-counter{display:flex;align-items:center;gap:4px}.teamwear-counter button{width:44px;padding:0;font-size:1.2rem}
.teamwear-v2 .teamwear-counter input{width:58px;min-width:0;text-align:center;margin:0;padding:8px 2px}
.teamwear-quantity-total{font-weight:700;padding:16px 0}
.teamwear-v2 fieldset{margin:22px 0;padding:16px;border:1px solid var(--os-line);border-radius:6px}
.teamwear-v2 legend{font-weight:700;padding:0 6px}
.teamwear-v2 .teamwear-placement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.teamwear-v2 .teamwear-placement{padding:8px;border:1px solid var(--os-line);border-radius:5px}
.teamwear-v2 .teamwear-placement label{font-size:.85rem}.teamwear-v2 .teamwear-placement:has(input:checked){background:var(--os-soft);border-color:#657f94}
.teamwear-v2 .teamwear-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.teamwear-v2 .teamwear-quote{background:var(--os-soft);border:1px solid var(--os-line);padding:20px;border-radius:6px;margin-block:20px}
.teamwear-quote dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;font-size:.85rem}
.teamwear-quote dd{margin:0;text-align:right;font-weight:600}.teamwear-total{font-size:1.2rem;font-weight:750;border-top:1px solid var(--os-line);padding-top:16px}
.teamwear-review ul{padding-left:20px;line-height:1.75;font-size:.9rem}
.teamwear-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 calc(16px + env(safe-area-inset-bottom));margin-top:20px;border-top:1px solid var(--os-line);background:#fff}
.teamwear-v2 .teamwear-next,.teamwear-v2 button[type=submit]{background:var(--os-ink);color:#fff;border-color:var(--os-ink)}
.teamwear-mini-summary{font-size:.75rem;color:var(--os-muted);text-align:center}.teamwear-status{font-weight:650;min-height:1.5em}
@media(max-width:760px){.teamwear-workspace{grid-template-columns:1fr;gap:20px}.teamwear-preview{position:static;display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);align-items:center;gap:14px}.teamwear-selection-summary{border:0;padding:0}.teamwear-v2 figcaption{font-size:.7rem}.teamwear-progress button{justify-content:center;padding:8px 4px}.teamwear-progress button span{display:none}.teamwear-step-actions{position:static}.teamwear-product-cards{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}.teamwear-product-cards button{font-size:.72rem;padding:8px}.teamwear-v2 .teamwear-controls{grid-template-columns:1fr}}
@media(max-width:420px){.teamwear-preview{display:block}.teamwear-image-stage{max-width:230px;margin:auto}.teamwear-selection-summary{font-size:.8rem}.teamwear-v2 .teamwear-placement-grid{grid-template-columns:1fr}.teamwear-product-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.teamwear-mini-summary{max-width:80px}.teamwear-v2 .teamwear-quote{padding:12px}.teamwear-quote dl{grid-template-columns:1fr}.teamwear-quote dd{text-align:left;margin-bottom:10px}}
@media(max-width:760px){body[data-brand="onesport"] .quick-access{position:static;transform:none;width:auto;display:flex;flex-wrap:wrap;justify-content:center;margin:20px 12px}.quick-access .quick-access-link{transform:none;width:50px;border-radius:50%;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){body[data-brand="onesport"] *,body[data-brand="onesport"] *:before{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
