/* octotack.com — the phone / tablet header (Nick, 18 Nov 2026, iPhone screenshot). Before: no background of its own on iPhone, the heading scrolled THROUGH it (between the logo and the three buttons, and in the status-bar area above it),
   logo + buttons small and loose. Now: a calm, opaque dark bar with a fine divider, the status-bar area is covered, logo + the three buttons are one row of equal 40 px circles. Only ≤ 833 px; the desktop bar (≥ 834 px) is untouched.
   Needs <meta name="viewport" … viewport-fit=cover> (then env(safe-area-inset-*) is the real notch / status-bar / home-bar size; without insets every value below is 0 and nothing moves). */
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 76px)}
@media (max-width:833px){
  /* the status-bar / notch area is ALWAYS covered (it stays when the header slides away on scroll-down) */
  /* 19 Nov 2026 (Nick's real iPhone screenshot, "bei B ist der Bug noch da"): on the iPhone the fixed bar sat BELOW the status bar (the layout viewport starts under it and env(safe-area-inset-top) is 0 there), while the page itself still paints up
     into the status-bar area — so the hero headline showed ABOVE the bar, behind the clock. The cover therefore reaches 160 px UP from the layout top as well (a fixed layer is painted wherever the web view is, not only inside the layout viewport),
     plus env(safe-area-inset-top) down when the browser does report the notch: whichever way the browser measures, the status-bar strip is covered and nothing scrolls through it. Where the layout top IS the screen top this extra part is simply off screen. */
  html::before{content:"";position:fixed;top:-160px;left:0;right:0;height:calc(160px + env(safe-area-inset-top,0px));background:#0A0A0B;z-index:61;pointer-events:none}
  html body #site-header#site-header{position:fixed;top:0;left:0;right:0;box-sizing:border-box;height:auto!important;display:flex!important;align-items:center;justify-content:space-between;gap:10px;
    padding:calc(env(safe-area-inset-top,0px) + 8px) max(16px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px))!important;
    background:rgba(10,10,11,.94)!important;-webkit-backdrop-filter:saturate(160%) blur(18px)!important;backdrop-filter:saturate(160%) blur(18px)!important;border-bottom:1px solid rgba(242,240,234,.09)!important;box-shadow:none;pointer-events:auto;z-index:60}
  html body #site-header#site-header.is-scrolled,html body #site-header#site-header.is-stuck{background:rgba(10,10,11,.97)!important;border-bottom:1px solid rgba(242,240,234,.09)!important}
  html body #site-header#site-header .topnav{margin:0!important;flex:0 0 auto;justify-self:auto;display:flex;align-items:center;gap:8px}
  html body #site-header#site-header .headback svg{width:19px!important;height:19px!important;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  html body #site-header#site-header .headright{display:flex;align-items:center;gap:8px;margin:0;flex:0 0 auto}
  /* one row of equal 40 px circles: logo · language · client login · menu */
  html body #site-header#site-header .headback,html body #site-header#site-header .sitelogo,html body #site-header#site-header .lsw>summary,html body #site-header#site-header .headlogin,html body #site-header#site-header .navtoggle{box-sizing:border-box;display:grid!important;place-items:center;width:40px!important;height:40px!important;min-width:0!important;padding:0!important;margin:0!important;border-radius:999px!important;border:1px solid rgba(242,240,234,.16)!important;background:rgba(24,24,28,.9)!important;box-shadow:none!important;overflow:hidden}
  html body #site-header#site-header .sitelogo img{width:36px!important;height:36px!important;border-radius:999px;object-fit:cover}
  html body #site-header#site-header .lsw>summary b,html body #site-header#site-header .headlogin .hl-t{display:none!important}
  html body #site-header#site-header .lsw>summary svg,html body #site-header#site-header .headlogin svg{width:19px!important;height:19px!important;margin:0!important}
  html body #site-header#site-header .navtoggle__bars{width:18px}
  html body #site-header#site-header .headlogin{gap:0}
  /* the page starts below the (now taller) bar */
  html body{padding-top:calc(env(safe-area-inset-top,0px) + 20px)}
  /* landscape phones: keep the page out of the notch sides */
  @media (orientation:landscape){html body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}}
}

/* 19 Nov 2026 (Nick): white sliver at the bottom of the header logo. The white logo for light sections was not hidden and sat under the dark one; the round clip showed its top edge. Hidden unless the bar is over a light section. */
html body #site-header#site-header .sitelogo .logo-light{display:none!important}
html body #site-header#site-header.on-light .sitelogo .logo-light{display:block!important;width:100%;height:100%}
