/* Mobile Fehler-Paket (28.11.2026) */

/* 1) Zähler: Kreise unabhängig von Browser und Schrift exakt mittig, Zahl mittig dazu */
html body .personnel-quantity{align-items:center!important}
html body .personnel-quantity button[data-personnel-delta]{position:relative!important;display:block!important;-webkit-appearance:none;appearance:none;align-self:center!important;margin:0!important;padding:0!important;line-height:0!important}
html body .personnel-quantity button[data-personnel-delta]::before{position:absolute!important;inset:0!important;margin:auto!important;display:block!important}
html body .personnel-quantity > span{line-height:1!important}
html body .personnel-quantity output{display:block!important;align-self:center!important;height:auto!important;min-height:0!important;line-height:1!important;padding:0!important;margin:0!important;text-align:center;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1}

/* 2) Programmatischer Fokus auf Überschriften/Bereichen: kein roter Rahmen (Tastatur-Fokus bleibt sichtbar bei Bedienelementen) */
html body :is(h1,h2,h3,section,header,main,[role=dialog] h2)[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}

@media (max-width:760px){
  /* 3) Jobs-Bereiche: kompakte Chips, ganz lesbar, wischbar mit sanftem Rand-Hinweis */
  html body .jobs-area-tabs{display:flex!important;gap:8px!important;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 0 4px!important;margin-inline:0!important;max-width:100%;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
  html body .jobs-area-tabs button:last-child{margin-right:28px}
  html body .jobs-area-tabs::-webkit-scrollbar{display:none}
  html body .jobs-area-tabs button{flex:none!important;max-width:none!important;scroll-snap-align:start;display:inline-flex!important;align-items:center;gap:7px!important;min-height:44px;padding:9px 14px!important;border-radius:999px!important;font-size:14px;white-space:nowrap}
  html body .jobs-area-tabs .jobs-area-mark{display:none}

  /* 4) Schwebende Navigation: blendet beim Runterscrollen aus, beim Hochscrollen ein */
  html body :is(.preview-dock,.cookie-tab,.crew-quick,.back-to-top){transition:translate .28s ease,opacity .26s ease,visibility .26s,background-color .2s}
  html body.dock-away .preview-dock{translate:0 calc(100% + 24px)}
  html body.dock-away .cookie-tab{translate:0 90px}
  html body.dock-away :is(.crew-quick,.back-to-top){translate:0 66px}
  html body.footer-in-view .cookie-tab{opacity:0;visibility:hidden;pointer-events:none}

  /* 5) Kein heller Streifen unter dem Footer: Platz für Navigation im Footer statt unter der Seite */
  html body{padding-bottom:0!important}
  html body footer.footer{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))!important}
  html body main{padding-bottom:0}
}
@media (max-width:760px) and (prefers-reduced-motion:reduce){
  html body :is(.preview-dock,.cookie-tab,.crew-quick,.back-to-top){transition:none}
}
