/* ============================================================
   kopfzeile.css — die EINE Kopfzeile von techq.ch
   Angelegt 2026-09-22 (MacBook Air von Fabio), nach dem Entwurf
   «techQ Startseite Kombination v2» aus Claude Design.

   27.09.2026 (MacBook Air von Fabio): auf den Entwurf «techQ
   Startseite v15» gebracht — Auftrag Fabio: «v15-Kopfzeile auf alle
   Seiten». Gegenueber vorher: 64 statt 74 px hoch (Logo 25 statt
   30 px), Apple-Blau #0071e3 fuer «Anmelden», Inhaltsbreite 1180 px
   bei 22 px Rand, Handymenue erst unter 860 px (vorher 900), Tempo
   .45s, Warenkorb-Symbol aus dem Entwurf. Dazu eine DUNKLE Fassung —
   die braucht nur die Startseite (Hell/Dunkel-Schalter, `.kz-thema`,
   gesetzt von start2.js); alle anderen Seiten erzwingen hell.

   DER UMBRUCH BEI 860 PX
   site.css blendet die Verweise bis 900 px mit `!important` aus, und
   shop-mobil.css baut dort die Schublade. Beides bleibt unangetastet;
   zwischen 860 und 900 px holt diese Datei die Leiste zurueck und
   blendet die Schublade aus (Abschnitt «860 bis 900 px» unten).

   Auftrag Fabio: «dass überall der Header gleich aussieht wie auf
   der Startseite» — und «zuerst grösser, beim Scrollen kleiner,
   wie jetzt».

   WARUM EINE EIGENE DATEI UND KEIN NEUES MARKUP
   Die Kopfzeile steht in 197 Seiten als eigener Block mit
   Inline-Stilen, 162 davon erzeugt `tools/hilfe_seiten_bauen.py`
   (CrackBookAir) — er holt die Huelle zur Laufzeit aus
   `/ueberuns/werte` und greift mit Ankern hinein. Ein neues Markup
   haette diese Anker zerbrochen. Das Markup bleibt deshalb, wie es
   ist; ausgesehen wird ueber diese Datei. Bis dahin hatte jede
   Seitenfamilie ihr eigenes Aussehen (Startseite blaue Pille, alle
   anderen ein schwarzer Knopf, Hilfe-Seiten ein 36-px-Logo).

   WARUM SO VIEL `!important`
   Hoehe, Abstaende, Schriftgroessen und Farben stehen als
   Inline-Stil am Markup; eine Klassenregel verliert dagegen immer.
   Jede Regel ist deshalb eng auf `body > header` (die Kopfzeile
   des Auftritts, nachgezaehlt: auf allen 197 Seiten direktes Kind
   von <body>) bzw. auf die von den Skripten erzeugten Teile gesetzt.

   Wer was baut:
     kopfzeile.js   Teil 1  Handymenue (#navMobile) inkl. Wischen
                    Teil 2  Klasse `hdr-compact` beim Scrollen
                    Teil 3  Produkte-Flaeche (.kz-fly) + Schleier,
                            Produkte-Gruppe im Handymenue
     nav-auth.js            Warenkorb, «Anmelden» / «Konto»
   ============================================================ */

:root{
  --kz-ink:#1d1d1f;
  --kz-leise:#6e6e73;
  --kz-linie:rgba(0,0,0,.08);
  --kz-trenner:#d2d2d7;
  --kz-flaeche:#e8e8ed;
  /* Apple-Blau aus dem Entwurf v15; weiss darauf 4.70:1 (gerechnet,
     noetig 4.5). Vorher Logo-Blau #1E5FBF. */
  --kz-akzent:#0071e3;
  --kz-akzent-hover:#0077ed;
  --kz-akzent-text:#1c4f9e;
  /* Fokusring: im Entwurf `:focus-visible{outline:2px solid var(--link)}`,
     --link hell #0066cc (5.57:1 auf Weiss). */
  --kz-fokus:#0066cc;
  --kz-grund:rgba(255,255,255,.72);
  --kz-fly-grund:rgba(255,255,255,.96);
  --kz-menue-trenner:#d2d2d7;
  --kz-badge-rand:#fff;
  --kz-karte:#fff;
  --kz-karte-linie:#E3E3E3;
  --kz-karte-text:#3A424B;
  --kz-karte-hover:#F5F5F5;
  /* Gross oben, klein nach dem Scrollen. Die Differenz (12 px) kommt
     beim Schrumpfen als Aussenabstand zurueck, siehe unten. */
  --kz-h-voll:64px;
  --kz-h-klein:52px;
  --kz-logo-voll:25px;
  --kz-logo-klein:22px;
  --kz-dauer:.45s;
  --kz-kurve:cubic-bezier(.2,.7,.2,1);
}
/* Dunkel — nur die Startseite kann dunkel sein (Schalter). Werte aus dem
   Entwurf v15: Schrift #f5f5f7, Leiste rgba(22,22,23,.72), Flaeche
   rgba(22,22,23,.95), Trenner #3a3a3c, Linie im Menue #2c2c2e. */
html[data-theme="dark"]{
  --kz-ink:#f5f5f7;
  --kz-leise:#86868b;
  --kz-linie:rgba(255,255,255,.08);
  --kz-trenner:#3a3a3c;
  --kz-flaeche:#1d1d1f;
  --kz-fokus:#2997ff;
  --kz-grund:rgba(22,22,23,.72);
  --kz-fly-grund:rgba(22,22,23,.95);
  --kz-menue-trenner:#2c2c2e;
  --kz-badge-rand:#161617;
  --kz-karte:#1c1c1e;
  --kz-karte-linie:#38383a;
  --kz-karte-text:#d1d1d6;
  --kz-karte-hover:#2c2c2e;
}

/* ── Die Leiste ─────────────────────────────────────────────── */
html body > header{
  font-family:var(--tq-ui);
  background:var(--kz-grund) !important;
  -webkit-backdrop-filter:saturate(180%) blur(20px) !important;
  backdrop-filter:saturate(180%) blur(20px) !important;
  border-bottom:1px solid var(--kz-linie) !important;
  box-shadow:none !important;
  transition:margin-bottom var(--kz-dauer) var(--kz-kurve),border-color .3s ease;
}
/* Die Leiste steht im Textfluss (sticky). Schrumpft sie, rueckte alles
   darunter um 22 px hoch — der Inhalt spraenge sichtbar. Die gesparte
   Hoehe kommt deshalb als unsichtbarer Aussenabstand zurueck; er liegt
   hinter der festgeklebten Leiste, solange kopfzeile.js (Teil 2) erst unter
   24 px Scrollhoehe wieder aufzieht (24 >= 22). */
html body > header.hdr-compact{margin-bottom:calc(var(--kz-h-voll) - var(--kz-h-klein));}

html body > header > div:first-child{
  height:var(--kz-h-voll) !important;
  /* Entwurf: 1180 px Inhalt + 2 x 22 px Rand, gerechnet OHNE border-box.
     site.css setzt border-box, also 1224 (vorher 1220 und 24, inline). */
  max-width:1224px !important;
  padding-left:22px !important;
  padding-right:22px !important;
  gap:18px !important;
  transition:height var(--kz-dauer) var(--kz-kurve);
}
html body > header.hdr-compact > div:first-child{height:var(--kz-h-klein) !important;}

/* Logo — auf den Hilfe-Seiten stand es inline auf 36 px */
html body > header > div:first-child > a:first-child{display:flex !important;align-items:center;}
html body > header > div:first-child > a:first-child img{
  height:var(--kz-logo-voll) !important;
  width:auto !important;
  transition:height var(--kz-dauer) var(--kz-kurve);
}
html body > header.hdr-compact > div:first-child > a:first-child img{height:var(--kz-logo-klein) !important;}
html body > header .logo-dark{display:none !important;}
html[data-theme="dark"] body > header .logo-light{display:none !important;}
html[data-theme="dark"] body > header .logo-dark{display:block !important;}

/* Rechte Gruppe. `margin-right:-6px` wie im Entwurf: der letzte Knopf
   (Pille bzw. Burger) sitzt optisch buendig mit der Inhaltskante. */
html body > header > div:first-child > div:last-child{
  gap:clamp(12px,1.6vw,24px) !important;
  margin-right:-6px;
}

/* ── Verweise ───────────────────────────────────────────────── */
html body > header .nav-desktop-links{display:inline-flex;align-items:center;}
html body > header nav.nav-desktop-links{
  gap:clamp(12px,1.6vw,24px) !important;
  font-size:13px !important;
  white-space:nowrap;
}
html body > header .hdr-link,
html body > header .kz-produkte{
  font-family:inherit;
  font-size:13px !important;
  font-weight:400;
  line-height:normal;
  color:var(--kz-ink) !important;
  opacity:.8;
  text-decoration:none !important;
  transition:opacity .15s ease;
}
html body > header .hdr-link:hover,
html body > header .hdr-link:focus-visible,
html body > header .kz-produkte:hover,
html body > header .kz-produkte:focus-visible,
html body > header .kz-produkte[aria-expanded="true"],
html body > header .hdr-link[aria-current="page"]{opacity:1;color:var(--kz-ink) !important;}
/* Der aktive Punkt stand inline auf `font-weight:500` — fett verschob er die
   Punkte davor um 1–2 px, und die Leiste sah je Seite anders aus (gemessen
   22.09.2026 auf /kontakt, /domains, /vergleich, /ueberuns). Markiert wird
   er jetzt nur ueber die volle Deckkraft; `aria-current` bleibt. */
html body > header .hdr-link[aria-current="page"]{font-weight:400 !important;}
/* Trennstrich vor «Kundencenter» */
html body > header span.nav-desktop-links{
  width:1px !important;
  height:16px !important;
  background:var(--kz-trenner) !important;
}
@media (max-width:859.98px){
  html body > header .nav-desktop-links{display:none !important;}
}

/* «Produkte» — von kopfzeile.js (Teil 3) aus dem Link zum Knopf gemacht */
html body > header .kz-produkte{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:0;
  background:none;
  padding:6px 0;
  margin:0;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
html body > header .kz-chev{transition:transform .3s ease;flex:none;}
html body > header .kz-produkte[aria-expanded="true"] .kz-chev{transform:rotate(180deg);}

/* ── Warenkorb und Anmelden (nav-auth.js) ───────────────────── */
html body > header #navAuthArea{
  display:flex;
  align-items:center;
  /* Im Entwurf trennt die Zeile 18 px die Verweise von Warenkorb und
     Anmelden; der Abstand der Gruppe ist hier schon gesetzt. */
  margin-left:calc(18px - clamp(12px,1.6vw,24px));
}
html body > header #cartBtn{
  width:34px !important;
  height:34px !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:var(--kz-ink) !important;
  opacity:.85;
  transition:background-color .15s ease,opacity .15s ease;
}
html body > header #cartBtn:hover{background:var(--kz-flaeche) !important;opacity:1;}
html body > header #cartBtn svg{width:17px;height:17px;stroke-width:1.7;}
html body > header #cartBadge{border-color:var(--kz-badge-rand) !important;}
/* Das Symbol aus dem Entwurf (Korb mit zwei Raedern, Strich 1.7).
   nav-auth.js zeichnet ein anderes — statt nav-auth.js auf allen
   Seiten anzufassen, wird es hier ueberdeckt: Maske in currentColor. */
html body > header #cartBtn svg{display:none !important;}
html body > header #cartBtn::before{
  content:"";width:17px;height:17px;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.3 11h10.7l2.1-8H6.3'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center/17px 17px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.3 11h10.7l2.1-8H6.3'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center/17px 17px no-repeat;
}
/* Hell/Dunkel — gibt es nur auf der Startseite (start2.js setzt ihn
   zwischen Warenkorb und «Anmelden»). Masse wie der Warenkorb. */
html body > header .kz-thema{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:34px;height:34px;margin:0 2px;padding:0;border:0;border-radius:50%;
  background:transparent;color:var(--kz-ink);opacity:.85;cursor:pointer;
  transition:background-color .15s ease,opacity .15s ease;
}
html body > header .kz-thema:hover{background:var(--kz-flaeche);opacity:1;}

html body > header #navAuthArea .btn-primary{
  margin-left:10px !important;
  padding:7px 16px !important;
  min-height:0 !important;
  border:0 !important;
  border-radius:980px !important;
  background:var(--kz-akzent) !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:400 !important;
  line-height:normal !important;
  letter-spacing:0 !important;
  white-space:nowrap;
  transition:background-color .15s ease;
}
html body > header #navAuthArea .btn-primary:hover{background:var(--kz-akzent-hover) !important;color:#fff !important;}

/* Angemeldet: «Konto» als helle Pille, das Menue darunter */
html body > header #kontoDropdown{position:relative;display:flex;align-items:center;margin-left:10px !important;}
html body > header #kontoBtn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 14px !important;
  min-height:0 !important;
  border:1px solid var(--kz-trenner) !important;
  border-radius:980px !important;
  background:transparent !important;
  color:var(--kz-ink) !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:400 !important;
  line-height:normal !important;
  cursor:pointer;
}
html body > header #kontoBtn:hover{border-color:var(--kz-ink) !important;}
html body > header .chev-sm{transition:transform .18s ease;flex-shrink:0;}
html body > header #kontoBtn[aria-expanded="true"] .chev-sm{transform:rotate(180deg);}
html body > header .konto-menu{
  position:absolute;top:calc(100% + 10px);right:0;min-width:210px;
  background:var(--kz-karte);border:1px solid var(--kz-karte-linie);border-radius:14px;
  box-shadow:0 18px 40px -20px rgba(20,24,28,.25);
  padding:6px;display:none;z-index:200;
}
html body > header .konto-menu.open{display:block;}
html body > header .konto-item{
  display:flex;align-items:center;gap:9px;width:100%;
  padding:9px 12px;border:0;border-radius:8px;background:none;
  font-family:inherit;font-size:14px;font-weight:400;text-align:left;
  color:var(--kz-karte-text);text-decoration:none;cursor:pointer;
}
html body > header .konto-item:hover{background:var(--kz-karte-hover);color:var(--kz-ink);}
html body > header .konto-item-danger:hover{background:rgba(194,65,12,.10);color:#C2410C;}
html body > header .konto-sep{height:1px;background:var(--kz-karte-linie);margin:4px 0;}

/* ── Burger: zwei Striche, die zum Kreuz werden ─────────────── */
html body > header #navToggle{display:none;}
@media (max-width:859.98px){
  /* Anmelden und Konto wandern ins Handymenue (nav-auth.js legt sie dort
     ab) — oben bleiben Warenkorb und Burger, wie im Entwurf. */
  html body > header #navAuthArea .btn-primary,
  html body > header #kontoDropdown{display:none !important;}
  html body > header #navAuthArea{margin-left:0;}
  /* Sichtbar sind hier nur noch Warenkorb und Burger. Ohne Zwischenraum
     stehen ihre Mitten 44 px auseinander (Entwurf: 38 px bei 34er-Knoepfen)
     — naeher geht nicht, ohne die 44-px-Fingerziele zu kuerzen. */
  html body > header > div:first-child > div:last-child{gap:0 !important;}
  html body > header #cartBtn{margin-right:0;}
  html body > header #navAuthArea > div{margin-right:0 !important;}
  /* 44 px Fingerziel bleibt (shop-mobil.css); sichtbar ist nur das Symbol */
  html body > header #cartBtn{width:44px !important;height:44px !important;}
  html body > header #navToggle{
    display:inline-flex !important;
    position:relative;
    align-items:center;
    justify-content:center;
    width:44px !important;
    height:44px !important;
    padding:0;
    border:0 !important;
    border-radius:50%;
    background:transparent !important;
    color:var(--kz-ink) !important;
    cursor:pointer;
  }
  html body > header #navToggle svg{display:none;}
  /* Hell/Dunkel wie Warenkorb und Burger mit 44-px-Fingerziel */
  html body > header .kz-thema{width:44px;height:44px;margin:0;}
  html body > header #navToggle::before,
  html body > header #navToggle::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:17px;
    height:1.5px;
    margin:-.75px 0 0 -8.5px;
    border-radius:2px;
    background:currentColor;
    transition:transform .35s ease;
  }
  html body > header #navToggle::before{transform:translateY(-3.75px);}
  html body > header #navToggle::after{transform:translateY(3.75px);}
  html body > header #navToggle[aria-expanded="true"]::before{transform:rotate(45deg);}
  html body > header #navToggle[aria-expanded="true"]::after{transform:rotate(-45deg);}
}

/* ── Produkte-Flaeche (Desktop) ─────────────────────────────── */
/* Sie haengt IM <nav> gleich hinter dem Knopf — so fuehrt die
   Tabulatortaste vom Knopf direkt in die Eintraege. Bezugsrahmen fuer
   `position:absolute` ist die Kopfzeile selbst (sticky = positioniert);
   `top:100%` haelt die Flaeche deshalb auch waehrend des Schrumpfens
   genau unter der Leiste. */
html body > header .kz-fly{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  max-height:0;
  overflow:hidden;
  visibility:hidden;
  white-space:normal;
  font-size:14px;
  background:var(--kz-fly-grund);
  border-bottom:1px solid transparent;
  transition:max-height .5s cubic-bezier(.2,.7,.2,1),border-color .3s ease,visibility 0s linear .5s;
}
html.kz-fly-offen body > header .kz-fly{
  max-height:420px;
  visibility:visible;
  border-bottom-color:var(--kz-linie);
  transition:max-height .5s cubic-bezier(.2,.7,.2,1),border-color .3s ease,visibility 0s;
}
html.kz-fly-offen body > header{border-bottom-color:transparent !important;z-index:1001 !important;}
html body > header .kz-fly__innen{
  max-width:1224px;
  margin:0 auto;
  padding:34px 22px 50px;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:48px;
  opacity:0;
  transform:translateY(-10px);
  transition:opacity .35s .06s,transform .5s cubic-bezier(.2,.7,.2,1);
}
html.kz-fly-offen body > header .kz-fly__innen{opacity:1;transform:none;}
html body > header .kz-fly__spalte{display:flex;flex-direction:column;gap:11px;}
html body > header .kz-fly__spalte--gross{gap:18px;}
html body > header .kz-fly__titel{font-size:12px;color:var(--kz-leise);margin-bottom:4px;}
html body > header .kz-fly__spalte--gross .kz-fly__titel{margin-bottom:0;}
html body > header .kz-fly a{color:var(--kz-ink);text-decoration:none;}
html body > header .kz-fly__gross{display:flex;flex-direction:column;gap:3px;transition:opacity .15s ease;}
html body > header .kz-fly__gross:hover{opacity:.72;color:var(--kz-ink);}
html body > header .kz-fly__gross-name{font-size:24px;font-weight:600;letter-spacing:-0.02em;line-height:normal;}
html body > header .kz-fly__gross-preis{font-size:13px;color:var(--kz-leise);}
html body > header .kz-fly__klein{font-size:14px;line-height:normal;transition:color .15s ease;}
/* Entwurf: Verweise ohne eigene Farbe, beim Ueberfahren unterstrichen */
html body > header .kz-fly__klein:hover{color:var(--kz-ink);text-decoration:underline;}
html body > header .kz-fly a:focus-visible{outline:2px solid var(--kz-fokus);outline-offset:3px;border-radius:6px;}

/* Schleier ueber der Seite, solange die Flaeche offen ist */
.kz-schleier{
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(0,0,0,.22);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease,visibility 0s linear .35s;
}
html.kz-fly-offen .kz-schleier{opacity:1;visibility:visible;transition:opacity .35s ease,visibility 0s;}
@media (max-width:859.98px){
  html body > header .kz-fly,.kz-schleier{display:none !important;}
}

/* ── Handymenue (kopfzeile.js Teil 1 haengt #navMobile an den <body>) ── */
/* Die Kopfzeile bleibt ueber dem Menue stehen — der Burger IST das
   Kreuz. kopfzeile.js riegelt dafuer den Rumpf (position:fixed); damit
   die Leiste dabei nicht mit nach oben wandert, wird sie fuer die Dauer
   fest angeheftet, und Teil 2 haelt ihre Hoehe. */
html.kz-menue-offen body > header{
  position:fixed !important;
  top:0 !important;
  left:0;
  right:0;
  z-index:1001 !important;
  background:var(--kz-fly-grund) !important;
}
@media (max-width:859.98px){
  html body > .nav-mobile,
  html body > .nav-mobile.open{
    top:var(--kz-menue-oben,52px);
    left:0;
    right:0;
    bottom:0;
    width:auto;
    z-index:1000;
    border:0;
    box-shadow:none;
    background:var(--kz-fly-grund) !important;
    -webkit-backdrop-filter:saturate(180%) blur(30px);
    backdrop-filter:saturate(180%) blur(30px);
    padding:22px 32px calc(40px + env(safe-area-inset-bottom));
    font-family:var(--tq-ui);
  }
  /* Das Kreuz in der Schublade und der Verdunkler sind ueberfluessig:
     das Menue deckt alles unter der Leiste, und das Kreuz steht oben. */
  html body > .nav-mobile .nav-mobile-kopf,
  html body > .nav-verdunkler{display:none !important;}

  html body > .nav-mobile a,
  html body > .nav-mobile .kz-m-produkte{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:10px 0;
    border:0;
    font-size:28px;
    font-weight:600;
    letter-spacing:-0.02em;
    line-height:normal;
    color:var(--kz-ink);
    text-decoration:none;
  }
  /* Die Schublade ist eine Flex-Spalte fester Hoehe: ohne diese Zeile
     drueckt sie ihre Eintraege auf die 44 px aus `min-height` zusammen,
     statt zu rollen (gemessen 27.09.2026: 44 statt 53 px wie im Entwurf). */
  html body > .nav-mobile > *{flex-shrink:0;}
  html body > .nav-mobile a:hover{opacity:.7;color:var(--kz-ink);}
  html body > .nav-mobile .kz-m-produkte{
    width:100%;
    justify-content:space-between;
    background:none;
    font-family:inherit;
    text-align:left;
    cursor:pointer;
  }
  html body > .nav-mobile .kz-m-produkte .kz-chev{width:16px;height:16px;transition:transform .3s ease;}
  html body > .nav-mobile .kz-m-produkte[aria-expanded="true"] .kz-chev{transform:rotate(180deg);}
  html body > .nav-mobile .kz-m-liste{display:flex;flex-direction:column;gap:2px;padding:0 0 12px;}
  html body > .nav-mobile .kz-m-liste[hidden]{display:none;}
  html body > .nav-mobile .kz-m-liste a{font-size:19px;font-weight:400;letter-spacing:0;padding:8px 0;min-height:44px;}

  /* «Kundencenter» und alles darunter: kleiner, mit Strich davor */
  html body > .nav-mobile > a[target="_blank"]{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--kz-menue-trenner);
    font-size:19px;
    font-weight:400;
    letter-spacing:0;
  }
  html body > .nav-mobile #navMobileAuthSlot{
    display:flex;
    flex-direction:column;
    border-top:0 !important;
    margin-top:0 !important;
    padding-top:0 !important;
  }
  html body > .nav-mobile #navMobileAuthSlot .konto-item{
    display:flex;
    align-items:center;
    width:100%;
    min-height:44px;
    padding:10px 0;
    border:0;
    border-radius:0;
    background:none;
    font-family:inherit;
    font-size:19px;
    font-weight:400 !important;
    letter-spacing:0;
    color:var(--kz-ink) !important;
    text-align:left;
    cursor:pointer;
  }
  html body > .nav-mobile #navMobileAuthSlot .konto-item svg{display:none;}
  /* Nicht angemeldet: «Anmelden» ist der Knopf am Ende */
  html body > .nav-mobile #navMobileAuthSlot a[href^="https://my.techq.ch/login"]{
    order:3;
    justify-content:center;
    margin-top:22px;
    padding:14px;
    border-radius:980px;
    background:var(--kz-akzent);
    color:#fff !important;
    font-size:17px;
  }
  html body > .nav-mobile #navMobileAuthSlot a[href^="https://my.techq.ch/login"]:hover{
    background:var(--kz-akzent-hover);opacity:1;
  }
}

/* ── Fokus und weniger Bewegung ─────────────────────────────── */
html body > header .hdr-link:focus-visible,
html body > header .kz-produkte:focus-visible,
html body > header #cartBtn:focus-visible,
html body > header #navToggle:focus-visible,
html body > header #navAuthArea .btn-primary:focus-visible,
html body > header #kontoBtn:focus-visible,
html body > header > div:first-child > a:first-child:focus-visible{
  outline:2px solid var(--kz-fokus);
  outline-offset:3px;
  border-radius:6px;
  box-shadow:none;
}
html body > header .kz-thema:focus-visible{outline:2px solid var(--kz-fokus);outline-offset:3px;}
@media (prefers-reduced-motion:reduce){
  html body > header,
  html body > header > div:first-child,
  html body > header > div:first-child > a:first-child img,
  html body > header .kz-fly,
  html body > header .kz-fly__innen,
  html body > header .kz-chev,
  html body > header #navToggle::before,
  html body > header #navToggle::after,
  .kz-schleier{transition:none !important;}
}

/* ── 860 bis 900 px ─────────────────────────────────────────── */
/* Der Entwurf v15 zeigt die volle Leiste ab 860 px; site.css und
   shop-mobil.css schalten bei 900 um. Hier gewinnt die Leiste: die
   Verweise kommen zurueck (hoehere Spezifitaet, ebenfalls !important),
   Schublade und Verdunkler bleiben aus. */
@media (min-width:860px){
  html body > header .nav-desktop-links{display:inline-flex !important;}
  html body > header #navToggle{display:none !important;}
  html body > .nav-mobile,
  html body > .nav-mobile.open,
  html body > .nav-verdunkler,
  html body > .nav-verdunkler.open{display:none !important;}
}
