/* Neuer Kopfbereich (Vorschau): aktiv, wenn <html> die Klasse "hk" traegt.
   Gestaltet nur das vorhandene Template-Markup um, die Menuepunkte kommen weiter aus dem CMS. */
html.hk { --hk-o: #ef7d00; --hk-x: max(20px, calc(50% - 530px)); /* 14zz: Logo buendig mit dem Inhalt */ --hk-top: 34px; --hk-main: 66px; }
html.hk .head-bar { position: sticky; z-index: 6000; height: calc(var(--hk-top) + var(--hk-main)); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); font-family: Inter, "Segoe UI", Arial, sans-serif; }
html.hk .head-bar:before { content: ""; position: absolute; left: 0; right: 0; top: var(--hk-top); height: 1px; }
html.hk .head-wrapper { position: relative; height: 100%; }
html.hk .banner-image, html.hk .header-placeholder { display: none !important; }
html.hk .nav-position { position: static; }
html.hk nav.firstNav { position: absolute !important; inset: 0 !important; left: 0 !important; transform: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; display: block !important; z-index: 6001; pointer-events: none; }
html.hk nav.firstNav .container { position: static; width: auto; max-width: none; margin: 0; padding: 0; }
html.hk nav.firstNav ul, html.hk nav.firstNav form, html.hk nav.firstNav .toggleMenu { pointer-events: auto; }
html.hk .nav2 > li > a, html.hk .nav2 > li > a:hover, html.hk .nav > li > a:hover { transform: none !important; }

/* Logo */
html.hk .head-lower-part, html.hk .head-lower-part header { position: static !important; background: none !important; height: 0; }
html.hk .head-lower-part header > .container { position: static; }
html.hk div.logo { position: absolute; z-index: 6002; left: var(--hk-x); top: calc(var(--hk-top) - 26px); height: calc(var(--hk-main) + 22px); display: flex; align-items: center; }
html.hk div.logo a { display: block; line-height: 0; }
html.hk div.logo img { content: url("/images/Semitax_black%20%282%29.png"); width: 76px !important; height: 76px !important; margin: 0 !important; padding: 0 !important; display: block; }

/* Sprachwahl: klein, oben rechts in der schmalen Leiste */
html.hk .languageBox { position: absolute !important; z-index: 6003; top: 0 !important; right: var(--hk-x) !important; left: auto !important; height: var(--hk-top); padding: 0 !important; margin: 0 !important; max-width: none !important; display: flex; align-items: center; gap: 2px; }
html.hk .languageBox a { display: flex; align-items: center; padding: 4px; border-radius: 4px; }
html.hk .languageBox img { width: 18px !important; height: 12px !important; object-fit: cover; margin: 0 !important; border: 0 !important; border-radius: 2px; opacity: .55; transition: opacity .2s; }
html.hk .languageBox a:hover img, html.hk .languageBox a.hk-on img { opacity: 1; }

@media (min-width: 981px) {
  /* obere Leiste: Unternehmenslinks */
  html.hk ul.nav { position: absolute; top: 0; left: auto; height: var(--hk-top); margin: 0 !important; padding: 0; display: flex !important; align-items: center; width: auto !important; white-space: nowrap; }
  html.hk ul.nav > li { display: block; float: none; }
  html.hk ul.nav > li > a, html.hk ul.nav li:first-child a { letter-spacing: .01em !important; text-transform: none !important; padding: 0 11px !important; line-height: var(--hk-top) !important; transition: color .2s; }
  html.hk ul.nav > li > a:hover { color: #fff !important; }
  html.hk ul.nav > li + li > a:before { content: none; }

  /* Hauptmenue */
  html.hk ul.nav2 { position: absolute; top: var(--hk-top); right: calc(var(--hk-x) + 236px); height: var(--hk-main); margin: 0 !important; padding: 0 !important; width: auto !important; display: flex !important; align-items: center; }
  html.hk ul.nav2:before, html.hk ul.nav2:after { content: none; }
  html.hk ul.nav2 > li { float: none; position: relative; }
  html.hk ul.nav2 > li > a, html.hk ul.nav2 > li:not(:first-child) > a, html.hk ul.nav2 > li:first-child > a { position: relative; font-size: 15px !important; font-weight: 500; letter-spacing: -.005em !important; text-transform: none !important; padding: 0 14px !important; margin: 0 !important; line-height: 40px !important; border-radius: 999px; transition: color .2s, background .2s; }
  html.hk ul.nav2 > li > a:hover, html.hk ul.nav2 > li.hover > a { color: #fff !important; }
  html.hk ul.nav2 > li > a.hk-on { color: #fff !important; }
  html.hk ul.nav2 > li > a.hk-on:after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 2px; border-radius: 2px; background: var(--hk-o); }
  html.hk ul.nav2 > li > a.parent { padding-right: 28px !important; }
  html.hk ul.nav2 > li > a.parent:before { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
  /* Live-Demo als Knopf ganz rechts im Menue */
  html.hk ul.nav2 > li:has(> a[href*="demo"]) { margin-left: auto; order: 9; }
  html.hk ul.nav2 > li > a[href*="demo"] { background: var(--hk-o) !important; color: #111 !important; padding: 0 20px !important; letter-spacing: 0 !important; font-weight: 600; }
  html.hk ul.nav2 > li > a[href*="demo"]:hover { background: #ff9426 !important; }
  html.hk ul.nav2 > li > a[href*="demo"]:after { content: none !important; }

  /* Aufklappmenue */
  html.hk ul.nav2 li ul { position: absolute; top: 100%; left: -9999px; width: auto; min-width: 240px; padding: 14px 0 0 0 !important; margin: 0 !important; opacity: 0; transition: opacity .18s; }
  html.hk ul.nav2 > li.hover > ul { left: 0; opacity: 1; }
  html.hk ul.nav2 li ul:before { content: ""; position: absolute; inset: 14px 0 0 0; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; box-shadow: 0 24px 50px rgba(0,0,0,.6); }
  html.hk ul.nav2 li ul li:first-child { padding-top: 8px; }
  html.hk ul.nav2 li ul li:last-child { padding-bottom: 8px; }
  html.hk ul.nav2 li li a { position: relative; z-index: 1; display: block; background: none !important; min-width: 0 !important; margin: 0 8px; padding: 10px 14px !important; border: 0 !important; border-radius: 9px; box-shadow: none !important; font-size: 14.5px !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; transform: none !important; }
  html.hk ul.nav2 li li a:hover { color: #fff !important; }
  html.hk ul.nav2 li li a.hk-on { color: var(--hk-o) !important; }

  /* Suche */
  html.hk #suchform-desktop { position: absolute !important; display: block !important; top: calc(var(--hk-top) + 14px) !important; right: var(--hk-x) !important; left: auto !important; margin: 0 !important; z-index: 6003; }
  html.hk #suchform-mobile { display: none !important; }
}
html.hk form.search input { text-indent: 0 !important; width: 100% !important; box-sizing: border-box; height: 38px; margin: 0; padding: 0 14px 0 36px !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 999px !important; background: #1b1b1b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px 50% / 15px !important; color: #ddd !important; font: 14px Inter, "Segoe UI", Arial, sans-serif !important; outline: none; box-shadow: none !important; transition: border-color .2s, background-color .2s; }
html.hk form.search input:focus { border-color: var(--hk-o) !important; background-color: #202020 !important; }

/* Handy und Tablet */

/* ---------- Handy und Tablet: eigenes Menue (aufgebaut von kopf.js) ---------- */
@media (max-width: 980px) {
  html.hk { --hk-x: 18px; --hk-top: 0px; --hk-main: 60px; }
  
  html.hk .head-bar:before { display: none; }
  html.hk div.logo { top: 0; height: var(--hk-main); }
  html.hk div.logo img { width: 44px !important; height: 44px !important; }
  html.hk .toggleMenu, html.hk ul.nav, html.hk ul.nav2, html.hk form.search, html.hk .languageBox { display: none !important; }
  html.hk nav.firstNav { display: none !important; }
}
.hk-mbar, .hk-mm { display: none; }
@media (max-width: 980px) {
  html.hk .hk-mbar { display: flex; position: absolute; z-index: 6004; top: 0; height: var(--hk-main); align-items: center; gap: 4px; }
  .hk-ib { -webkit-appearance: none; appearance: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
  .hk-ib:active { background: rgba(255,255,255,.08); }
  .hk-ib svg { width: 21px; height: 21px; }
  .hk-burg { position: relative; }
  .hk-burg i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s cubic-bezier(.2,.8,.2,1), top .3s cubic-bezier(.2,.8,.2,1), opacity .2s; }
  .hk-burg i:nth-child(1) { top: 16px; } .hk-burg i:nth-child(2) { top: 26px; right: 18px; }
  html.hk-open .hk-burg i:nth-child(1) { transform: rotate(45deg); }
  html.hk-open .hk-burg i:nth-child(2) { transform: rotate(-45deg); }

  html.hk .hk-mm { display: block; position: fixed; z-index: 5999; left: 0; right: 0; top: var(--hk-main); bottom: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; font-family: Inter, "Segoe UI", Arial, sans-serif; }
  html.hk-open .hk-mm { opacity: 1; }
  html.hk-open, html.hk-open body { overflow: hidden !important; }
  .hk-mm-in { box-sizing: border-box; display: flex; flex-direction: column; }
  .hk-mm form { margin: 0 0 14px; }
  .hk-mm form input { width: 100%; box-sizing: border-box; border: 1px solid rgba(255,255,255,.1); background: #171717 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px 50% / 17px; color: #fff; font: 16px Inter, "Segoe UI", Arial, sans-serif; padding: 0 16px 0 44px; outline: none; }
  .hk-mm form input::placeholder { color: #777; }
  .hk-mm form input:focus { border-color: #ef7d00; }
  .hk-ml { list-style: none; margin: 0; padding: 0; }
  .hk-ml > li { border-bottom: 1px solid rgba(255,255,255,.07); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
  html.hk-open .hk-ml > li { opacity: 1; transform: none; }
  .hk-ml > li > a, .hk-ml > li > button { -webkit-appearance: none; appearance: none; width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; color: #f2f2f2; font: 600 21px/1.2 Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  
  .hk-ml > li > a:after { content: ""; border-top: 1.6px solid #555; border-right: 1.6px solid #555; transform: rotate(45deg); margin-right: 6px; }
  .hk-ml > li > button:after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid #888; border-bottom: 1.6px solid #888; transform: rotate(45deg); margin: -4px 6px 0 0; transition: transform .25s; }
  .hk-ml > li.hk-auf > button:after { transform: rotate(-135deg); margin-top: 4px; }
  .hk-sub { display: grid; grid-template-columns: 1fr 1fr; padding: 0 0 16px; }
  .hk-ml > li:not(.hk-auf) > .hk-sub { display: none; }
  .hk-sub a { display: block; border: 1px solid rgba(255,255,255,.06); color: #cfcfcf; font: 500 15px/1.2 Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; }
  .hk-sub a.hk-on { color: #ef7d00; border-color: rgba(239,125,0,.4); }
  .hk-meta { display: flex; flex-wrap: wrap; padding: 22px 2px 6px; }
  .hk-meta a { color: #8a8a8a; font: 15px/1.6 Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; }
  
  .hk-fuss { margin-top: auto; display: flex; flex-direction: column; }
  .hk-cta { display: flex; align-items: center; justify-content: center; background: #ef7d00; color: #111 !important; font: 700 16px Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; }
  .hk-lang { display: flex; align-self: center; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.07); }
  .hk-lang a { padding: 7px 18px; border-radius: 999px; color: #8a8a8a; font: 600 13px Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .06em; text-decoration: none; }
  .hk-lang a.hk-on { background: #2a2a2a; color: #fff; }
}

/* ---------- v2: heller, ruhiger, Variante A ---------- */
html.hk ul.nav > li.hk-weg, html.hk ul.nav2 > li.hk-home { display: none !important; }
html.hk .head-bar { background: rgba(30,30,34,.84); border-bottom-color: rgba(255,255,255,.07); transition: box-shadow .3s, background .3s; }
html.hk .head-bar:before { background: rgba(255,255,255,.06); }
html.hk.hk-scr .head-bar { background: rgba(26,26,30,.9); box-shadow: 0 12px 34px rgba(0,0,0,.35); }
html.hk div.logo { transition: top .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1); }
html.hk div.logo img { transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 981px) {
  
  
  html.hk ul.nav { gap: 6px; }
  html.hk ul.nav > li > a, html.hk ul.nav li:first-child a { color: #a3a3a8 !important; font-size: 13px !important; }
  html.hk ul.nav2 { left: calc(var(--hk-x) + 112px); gap: 4px; }
  html.hk ul.nav2 > li > a, html.hk ul.nav2 > li:not(:first-child) > a, html.hk ul.nav2 > li:first-child > a { color: #e4e4e7 !important; }
  html.hk ul.nav2 > li > a:hover, html.hk ul.nav2 > li.hover > a { background: rgba(255,255,255,.08); }
  html.hk ul.nav2 > li > a[href*="demo"] { box-shadow: none; }
  html.hk ul.nav2 li ul:before { background: #232327; border-color: rgba(255,255,255,.1); }
  html.hk ul.nav2 li li a { color: #d0d0d4 !important; }
  html.hk ul.nav2 li li a:hover { background: rgba(255,255,255,.07) !important; }
  html.hk ul.nav2 > li:hover > ul, html.hk ul.nav2 > li:focus-within > ul { left: 0; opacity: 1; }
  html.hk form.search input { background-color: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.1) !important; }
  html.hk #suchform-desktop { width: 190px !important; }
  /* Netzwerk-Aufklappmenue in der oberen Leiste */
  html.hk ul.nav > li.hk-dd { position: relative; }
  html.hk ul.nav > li.hk-dd > a { padding-right: 25px !important; position: relative; cursor: default; }
  html.hk ul.nav > li.hk-dd > a:before { content: ""; position: absolute; right: 11px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg); opacity: .8; }
  html.hk ul.nav li.hk-dd > ul { position: absolute; top: 100%; left: -9999px; opacity: 0; width: auto; min-width: 190px; margin: 0 !important; padding: 6px 0 0 !important; list-style: none; z-index: 6010; transition: opacity .18s; }
  html.hk ul.nav li.hk-dd:hover > ul, html.hk ul.nav li.hk-dd:focus-within > ul, html.hk ul.nav li.hk-dd.hover > ul { left: -6px; opacity: 1; }
  html.hk ul.nav li.hk-dd > ul:before { content: ""; position: absolute; inset: 6px 0 0 0; background: #232327; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.55); }
  html.hk ul.nav li.hk-dd li { display: block; text-align: left; }
  html.hk ul.nav li.hk-dd li:first-child { padding-top: 6px; } html.hk ul.nav li.hk-dd li:last-child { padding-bottom: 6px; }
  html.hk ul.nav li.hk-dd li a, html.hk ul.nav li.hk-dd li:first-child a { position: relative; z-index: 1; display: block; margin: 0 6px; padding: 9px 12px !important; border: 0 !important; border-radius: 8px; background: none !important; box-shadow: none !important; min-width: 0 !important; color: #d0d0d4 !important; font-size: 13.5px !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: 0 !important; left: 0 !important; }
  html.hk ul.nav li.hk-dd li a:hover { background: rgba(255,255,255,.07) !important; color: #fff !important; }
  html.hk ul.nav a.hk-on { color: #fff !important; }
}
@media (max-width: 980px) {
  html.hk .head-bar { top: 0; background: rgba(30,30,34,.88); }
  html.hk.hk-scr .head-bar { background: rgba(26,26,30,.92); }
  html.hk .hk-mm { background: #18181b; }
  .hk-mm form input { background-color: #232327; }
  .hk-sub a { background: #222226; }
  .hk-lang { background: #222226; }
}

/* Sprachwahl-Menue und Ebenen */
@media (min-width: 981px) {
  html.hk ul.nav { z-index: 6020; }
  html.hk ul.nav > li { z-index: auto !important; }
  html.hk .languageBox > a { display: none !important; }
  html.hk .languageBox { right: calc(var(--hk-x) - 8px) !important; z-index: 6030; }
  html.hk ul.nav { right: calc(var(--hk-x) + 64px); }
  .hk-lng { position: relative; }
  .hk-lng-b { -webkit-appearance: none; appearance: none; display: flex; align-items: center; height: 26px; border: 0; border-radius: 999px; background: transparent; color: #a3a3a8; font: 500 12.5px Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .04em; cursor: pointer; transition: color .2s, background .2s; }
  .hk-lng-b svg { width: 15px; height: 15px; }
  .hk-lng-b:after { content: ""; width: 5px; height: 5px; margin: -3px 0 0 1px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg); opacity: .8; }
  .hk-lng:hover .hk-lng-b, .hk-lng.hk-auf .hk-lng-b { color: #fff; background: rgba(255,255,255,.07); }
  .hk-lng-m { position: absolute; right: 0; top: 100%; padding-top: 8px; min-width: 160px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .hk-lng:hover .hk-lng-m, .hk-lng:focus-within .hk-lng-m, .hk-lng.hk-auf .hk-lng-m { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
  .hk-lng-m:before { content: ""; position: absolute; inset: 8px 0 0 0; background: #232327; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.55); }
  .hk-lng-m a { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 6px; padding: 8px 12px; border-radius: 8px; color: #d0d0d4; font: 500 13.5px Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; }
  .hk-lng-m a + a { margin-top: -4px; }
  .hk-lng-m a small { color: #77777d; font-size: 11px; letter-spacing: .08em; }
  .hk-lng-m a:hover { background: rgba(255,255,255,.07); color: #fff; }
  .hk-lng-m a.hk-on { color: #ef7d00; }
}

/* =========== Variante 1: Schwarzglas (verschmilzt mit der schwarzen Seite) =========== */
html.hk.hk-v1 .head-bar { background: rgba(0,0,0,.62); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); }

html.hk.hk-v1.hk-scr .head-bar { background: rgba(0,0,0,.72); }
html.hk.hk-v1 .head-bar:after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(239,125,0,0) 0%, rgba(239,125,0,.55) 50%, rgba(239,125,0,0) 100%); transition: opacity .3s; }
html.hk.hk-v1.hk-scr .head-bar:after { opacity: 1; }
@media (min-width: 981px) {
  html.hk.hk-v1 ul.nav2 > li > a, html.hk.hk-v1 ul.nav2 > li:not(:first-child) > a { font-weight: 500; }
  html.hk.hk-v1 ul.nav2 > li > a:hover, html.hk.hk-v1 ul.nav2 > li.hover > a, html.hk.hk-v1 ul.nav2 > li > a.hk-on { color: #fff !important; background: transparent; }
  html.hk.hk-v1 ul.nav2 > li > a.hk-on:after { bottom: -13px; height: 2px; }
  
  html.hk.hk-v1 form.search input { background-color: rgba(255,255,255,.05) !important; }
  html.hk.hk-v1 ul.nav2 li ul:before, html.hk.hk-v1 ul.nav li.hk-dd > ul:before, html.hk.hk-v1 .hk-lng-m:before { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
}
@media (max-width: 980px) {
  
  
  
}

/* =========== Variante 2: schwebende Leiste (abgerundet, mit Abstand zum Rand) =========== */
html.hk.hk-v2 .head-bar { border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none !important; }
html.hk.hk-v2 .head-bar:before { display: none; }
html.hk.hk-v2 .head-wrapper:before { content: ""; position: absolute; z-index: 0; left: calc(var(--hk-x) - 14px); right: calc(var(--hk-x) - 14px); top: calc(var(--hk-top) + 6px); height: calc(var(--hk-main) - 12px); border-radius: 18px; background: rgba(24,24,27,.66); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 18px 40px rgba(0,0,0,.35); transition: background .3s; }
html.hk.hk-v2.hk-scr .head-wrapper:before { background: rgba(20,20,23,.82); }
html.hk.hk-v2 div.logo, html.hk.hk-v2.hk-scr div.logo { top: var(--hk-top); height: var(--hk-main); left: calc(var(--hk-x) + 2px); }
html.hk.hk-v2 div.logo img, html.hk.hk-v2.hk-scr div.logo img { width: 44px !important; height: 44px !important; }
@media (min-width: 981px) {
  html.hk.hk-v2 ul.nav2 { left: calc(var(--hk-x) + 74px); }
  html.hk.hk-v2 ul.nav2 > li > a, html.hk.hk-v2 ul.nav2 > li:not(:first-child) > a { line-height: 36px !important; color: #c9c9cf !important; }
  html.hk.hk-v2 ul.nav2 > li > a.hk-on { color: #fff !important; background: rgba(255,255,255,.09); }
  html.hk.hk-v2 ul.nav2 > li > a.hk-on:after { content: none; }
  html.hk.hk-v2 ul.nav2 > li > a[href*="demo"] { line-height: 36px !important; box-shadow: none; }
  html.hk.hk-v2 #suchform-desktop { top: calc(var(--hk-top) + 15px) !important; right: calc(var(--hk-x) - 2px) !important; width: 180px !important; }
  html.hk.hk-v2 form.search input { height: 36px; background-color: rgba(255,255,255,.06) !important; border-color: transparent !important; }
  html.hk.hk-v2 ul.nav > li > a { color: #8a8a90 !important; }
  html.hk.hk-v2 ul.nav2 li ul { padding-top: 16px !important; }
  html.hk.hk-v2 ul.nav2 li ul:before { inset: 16px 0 0 0; }
}
@media (max-width: 980px) {
  html.hk.hk-v2 .head-wrapper:before { left: 10px; right: 10px; top: 8px; height: 50px; border-radius: 16px; }
  html.hk.hk-v2 div.logo { top: 8px; height: 50px; left: 22px; }
  html.hk.hk-v2 div.logo img { width: 38px !important; height: 38px !important; }
  html.hk.hk-v2 .hk-mbar { top: 8px; height: 50px; right: 16px; }
  html.hk.hk-v2 .hk-mm { top: 66px; background: #0c0c0e; }
}

/* =========== Abstimmung: Farbe wie beim Scrollen, von Anfang an =========== */
html.hk.hk-v1 .head-bar, html.hk.hk-v1.hk-scr .head-bar { background: rgba(24,24,28,.9); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.07); }
html.hk.hk-v1 .head-bar:before { background: rgba(255,255,255,.06); }
html.hk.hk-v1.hk-scr .head-bar { box-shadow: 0 12px 34px rgba(0,0,0,.4); }
html.hk.hk-v1 .head-bar:after { opacity: .9; }
@media (min-width: 981px) {
  html.hk.hk-v1 ul.nav2 > li > a, html.hk.hk-v1 ul.nav2 > li:not(:first-child) > a { color: #d6d6db !important; }
  html.hk.hk-v1 ul.nav > li > a { color: #96969c !important; }
  html.hk.hk-v1 ul.nav2 li ul:before, html.hk.hk-v1 ul.nav li.hk-dd > ul:before, html.hk.hk-v1 .hk-lng-m:before { background: rgba(30,30,34,.96); }
}
@media (max-width: 980px) {
  html.hk.hk-v1 .head-bar { background: rgba(24,24,28,.92); }
  html.hk.hk-v1 .hk-mm { background: #18181c; }
  html.hk.hk-v1 .hk-mm form input, html.hk.hk-v1 .hk-sub a, html.hk.hk-v1 .hk-lang { background-color: #232328; }
}
/* Variante 2: oben schwarz wie die Seite, die Leiste in derselben Farbe */
html.hk.hk-v2 .head-bar { background: #000; transition: background .3s; }
html.hk.hk-v2.hk-scr .head-bar { background: transparent; }
html.hk.hk-v2 .head-wrapper:before, html.hk.hk-v2.hk-scr .head-wrapper:before { background: rgba(24,24,28,.9); }
html.hk.hk-v1 .head-bar:before { display: none !important; }
/* Beim Scrollen bleibt der ganze Kopf stehen, damit Sprache, Netzwerk und FAQ erreichbar bleiben */
html.hk .head-bar { top: 0 !important; }
@media (min-width: 981px) {
  html.hk.hk-scr div.logo { top: calc(var(--hk-top) - 26px); height: calc(var(--hk-main) + 22px); }
  html.hk.hk-scr div.logo img { width: 76px !important; height: 76px !important; }
  html.hk.hk-v2.hk-scr div.logo { top: var(--hk-top); height: var(--hk-main); }
  html.hk.hk-v2.hk-scr div.logo img { width: 44px !important; height: 44px !important; }
  html.hk.hk-v2.hk-scr .head-bar { background: rgba(0,0,0,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}

/* =========== Handy: Menue klappt von links herein =========== */
@media (max-width: 980px) {
  html.hk .hk-burg-l { position: absolute; z-index: 6004; }
  
  html.hk .hk-burg i { left: 12px; right: 12px; }
  html.hk .hk-burg i:nth-child(2) { right: 18px; left: 12px; }
  html.hk-open .hk-burg i:nth-child(1), html.hk-open .hk-burg i:nth-child(2) { top: inherit; transform: none; }
  html.hk-open .hk-burg i:nth-child(1) { top: 16px; } html.hk-open .hk-burg i:nth-child(2) { top: 26px; right: 18px; }
  html.hk .hk-mm, html.hk.hk-v1 .hk-mm, html.hk.hk-v2 .hk-mm { top: 0; bottom: 0; left: 0; right: auto; width: min(86vw, 360px); z-index: 7001; opacity: 1; visibility: hidden; transform: translateX(-102%); transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; background: #18181c; box-shadow: 24px 0 60px rgba(0,0,0,.5); border-right: 1px solid rgba(255,255,255,.06); }
  html.hk-open .hk-mm { visibility: visible !important; transform: none !important; transition: transform .35s cubic-bezier(.2,.8,.2,1) !important; }
  .hk-mm-bg { display: none; }
  html.hk .hk-mm-bg { display: block; position: fixed; inset: 0; z-index: 7000; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  html.hk-open .hk-mm-bg { opacity: 1; visibility: visible; transition: opacity .3s; }
  .hk-mm-kopf { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 8px 0 18px; background: #18181c; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hk-mm-kopf img { width: 42px; height: 42px; display: block; }
  .hk-mm-x svg { width: 20px; height: 20px; }
  .hk-mm-in { min-height: calc(100% - 60px); padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); }
  .hk-mm form input { height: 44px; border-radius: 12px; font-size: 15px; }
  .hk-ml > li > a, .hk-ml > li > button { padding: 14px 2px; font-size: 17px; font-weight: 600; letter-spacing: 0; }
  .hk-ml > li > a:after { width: 7px; height: 7px; }
  .hk-sub { gap: 6px; padding-bottom: 12px; }
  .hk-sub a { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
  .hk-meta { gap: 2px 16px; padding-top: 16px; }
  .hk-meta a { font-size: 14px; }
  .hk-cta { height: 48px; border-radius: 12px; font-size: 15px; }
  .hk-fuss { padding-top: 20px; gap: 12px; }
  .hk-ml > li { transition-delay: 0ms !important; opacity: 1 !important; transform: none !important; }
}
@media (max-width: 980px) {
  .hk-mm-kopf .hk-lang { margin: 0 4px 0 auto; padding: 3px; align-self: center; }
  .hk-mm-kopf .hk-lang a { font-size: 12px; }
  .hk-ml > li > a.hk-on, .hk-ml > li > button.hk-on { color: #fff; }
  .hk-ml > li > a.hk-on:before, .hk-ml > li > button.hk-on:before { content: ""; position: absolute; left: -18px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: #ef7d00; }
  .hk-ml > li { position: relative; }
  .hk-meta { border-top: 0; }
  .hk-meta a.hk-on { color: #ef7d00; }
  .hk-mm-in > form { margin-bottom: 8px; }
}
html.hk-open .hx-testbadge { display: none !important; }
/* Flaggen statt DE/EN */
.hk-flag { display: block; width: 20px !important; height: 14px !important; object-fit: cover; border-radius: 2px; border: 0 !important; margin: 0 !important; opacity: 1 !important; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
@media (min-width: 981px) {
  .hk-lng-b { gap: 7px; padding: 0 9px 0 8px; }
  .hk-lng-m a > span { display: flex; align-items: center; gap: 10px; }
}
@media (max-width: 980px) {
  .hk-mm-kopf .hk-lang a { padding: 7px 10px; display: flex; align-items: center; opacity: .45; }
  .hk-mm-kopf .hk-lang a.hk-on { opacity: 1; }
}
/* Handy: Logo links, Suche und Menue-Knopf rechts */
.hk-burg-l { display: none; }
@media (max-width: 980px) {
  html.hk .hk-burg-l { display: grid; left: auto; right: 8px; top: 8px; }
  html.hk .hk-mbar { right: 54px !important; }
  html.hk div.logo, html.hk.hk-v1 div.logo, html.hk.hk-v2 div.logo { left: 18px !important; }
}
html.hk ul.nav2 li ul:before, html.hk ul.nav li.hk-dd > ul:before, html.hk .hk-lng-m:before { background: #1f1f23 !important; }

/* Hauptmenü etwas größer (16 statt 15 px), erst ab 1100 px Breite, damit es auf kleineren Laptops weiter in eine Zeile passt */
@media (min-width: 1100px) { html.hk ul.nav2 > li > a, html.hk ul.nav2 > li:not(:first-child) > a, html.hk ul.nav2 > li:first-child > a { font-size: 16px !important; } }
/* Handy-Menue: Unternehmens-Links als ruhige Liste untereinander */
.hk-mm .hk-meta { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0 !important; padding: 22px 2px 6px !important; }
.hk-mm .hk-meta-h { display: block; margin: 0 0 6px; color: #6f6f6f; font: 700 11px/1 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hk-mm .hk-meta a { display: block; padding: 8px 0; font-size: 15px !important; line-height: 1.3; color: #9a9a9a; }
.hk-mm .hk-meta a:hover { color: #fff; }
.hk-mm .hk-meta a.hk-on { color: #ef7d00 !important; font-weight: 600; }
/* Handy-Menue: Rechtliches */
.hk-mm .hk-recht { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 14px 2px 4px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.hk-mm .hk-recht a { color: #6f6f6f; font: 13px/1.6 Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; }
.hk-mm .hk-recht a:hover { color: #fff; }
.hk-mm .hk-recht a.hk-on { color: #ef7d00; }
/* Handy-Menue: Live-Demo-Button bleibt beim Scrollen unten sichtbar */
@media (max-width: 980px) {
  .hk-mm .hk-fuss { position: sticky; bottom: 0; z-index: 2; margin: 0 -18px calc(-22px - env(safe-area-inset-bottom)); padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(24,24,27,0), #18181b 28%); }
}
/* Live-Demo im Kopf ruhiger: Kontur statt orange Flaeche, erst beim Darueberfahren gefuellt (14.10.) */
@media (min-width: 1px) {
  html.hk ul.nav2 > li > a[href*="demo"] { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px var(--hk-o) !important; transition: background .2s, color .2s; }
  html.hk ul.nav2 > li > a[href*="demo"]:hover, html.hk ul.nav2 > li > a[href*="demo"].hk-on { background: var(--hk-o) !important; color: #111 !important; }
}
/* noch dezenter: duenner heller Rahmen, kleiner oranger Punkt, Hover nur Rahmen orange (14.10.) */
@media (min-width: 1px) {
  html.hk ul.nav2 > li > a[href*="demo"] { background: transparent !important; color: #e8e8e8 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22) !important; font-weight: 500 !important; }
  html.hk ul.nav2 > li > a[href*="demo"]:before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hk-o); margin-right: 9px; vertical-align: middle; position: relative; top: -1px; }
  html.hk ul.nav2 > li > a[href*="demo"]:hover, html.hk ul.nav2 > li > a[href*="demo"].hk-on { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1px var(--hk-o) !important; }
}
/* Entwurf A (14.10.): Suche als Lupe oben rechts, Live-Demo als Kontur-Knopf ganz rechts in der Hauptleiste */
@media (min-width: 981px) {
  html.hk ul.nav2 { right: var(--hk-x) !important; }
  html.hk #suchform-desktop { top: 3px !important; right: calc(var(--hk-x) - 6px) !important; width: 30px !important; transition: width .25s ease; }
  html.hk #suchform-desktop input { height: 28px !important; padding: 0 0 0 30px !important; border-color: transparent !important; background-color: transparent !important; background-position: 8px center !important; color: transparent !important; cursor: pointer; }
  html.hk #suchform-desktop input::placeholder { color: transparent; }
  html.hk #suchform-desktop:hover input { background-color: rgba(255,255,255,.06) !important; }
  html.hk #suchform-desktop:focus-within { width: 230px !important; }
  html.hk #suchform-desktop:focus-within input { padding: 0 12px 0 30px !important; color: #fff !important; cursor: text; background-color: #1d1d20 !important; border-color: var(--hk-o) !important; }
  html.hk #suchform-desktop:focus-within input::placeholder { color: #8a8a8e; }
  html.hk .languageBox { right: calc(var(--hk-x) + 22px) !important; }
  html.hk ul.nav { right: calc(var(--hk-x) + 92px) !important; }
  html.hk ul.nav2 > li > a[href*="demo"] { background: transparent !important; color: var(--hk-o) !important; box-shadow: inset 0 0 0 1.5px var(--hk-o) !important; font-weight: 600 !important; padding: 0 20px !important; }
  html.hk ul.nav2 > li > a[href*="demo"]:before { content: none !important; }
  html.hk ul.nav2 > li > a[href*="demo"]:hover, html.hk ul.nav2 > li > a[href*="demo"].hk-on { background: rgba(239,125,0,.12) !important; color: var(--hk-o) !important; box-shadow: inset 0 0 0 1.5px var(--hk-o) !important; }
}
@media (min-width: 981px) {
  html.hk.hk.hk ul.nav2 > li > a[href*="demo"] { color: var(--hk-o) !important; background: transparent !important; }
  html.hk.hk.hk ul.nav2 > li > a[href*="demo"]:hover, html.hk.hk.hk ul.nav2 > li > a[href*="demo"].hk-on { color: var(--hk-o) !important; background: rgba(239,125,0,.12) !important; }
  html.hk #suchform-desktop:focus-within { z-index: 6050 !important; }
}
@media (min-width: 981px) { html.hk:has(#suchform-desktop:focus-within) .languageBox { opacity: 0; pointer-events: none; } }
/* Endstand 14.10.: Live-Demo mit Punkt (dezent), Suche nur als Lupe rechts daneben, klappt beim Klick auf */
@media (min-width: 981px) {
  html.hk .languageBox { right: calc(var(--hk-x) - 8px) !important; }
  html.hk ul.nav { right: calc(var(--hk-x) + 64px) !important; }
  html.hk ul.nav2 { right: calc(var(--hk-x) + 50px) !important; }
  html.hk.hk.hk ul.nav2 > li > a[href*="demo"] { background: transparent !important; color: #e8e8e8 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22) !important; font-weight: 500 !important; }
  html.hk.hk.hk ul.nav2 > li > a[href*="demo"]:before { content: "" !important; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hk-o); margin-right: 9px; vertical-align: middle; position: relative; top: -1px; }
  html.hk.hk.hk ul.nav2 > li > a[href*="demo"]:hover, html.hk.hk.hk ul.nav2 > li > a[href*="demo"].hk-on { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1px var(--hk-o) !important; }
  html.hk #suchform-desktop { top: calc(var(--hk-top) + 14px) !important; right: var(--hk-x) !important; width: 38px !important; }
  html.hk #suchform-desktop input { height: 38px !important; padding: 0 0 0 38px !important; border: 1px solid rgba(255,255,255,.22) !important; background-color: transparent !important; background-position: 11px center !important; }
  html.hk #suchform-desktop:hover input { border-color: rgba(255,255,255,.4) !important; background-color: transparent !important; }
  html.hk #suchform-desktop:focus-within { width: 260px !important; }
  html.hk #suchform-desktop:focus-within input { padding: 0 14px 0 36px !important; border-color: var(--hk-o) !important; background-color: #1d1d20 !important; }
  html.hk:has(#suchform-desktop:focus-within) .languageBox { opacity: 1; pointer-events: auto; }
}
@media (min-width: 981px) { html.hk:has(#suchform-desktop:focus-within) ul.nav2 > li:has(> a[href*="demo"]) { visibility: hidden; } }
/* Handy-Menue: Live-Demo dezent wie am PC (heller Rahmen, oranger Punkt) (14.10.) */
@media (max-width: 980px) {
  .hk-mm .hk-cta { background: transparent; color: #f2f2f3 !important; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
  .hk-mm .hk-cta:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ef7d00; margin-right: 10px; flex: none; }
  .hk-mm .hk-cta:active { box-shadow: inset 0 0 0 1px #ef7d00; }
}
/* Handy-Menue: Live-Demo-Knopf immer ganz unten (kein Leerraum darunter) (14.10.) */
@media (max-width: 980px) {
  .hk-mm .hk-mm-in { min-height: calc(100% - 60px); }
  .hk-mm .hk-fuss { margin-top: auto; }
}

/* Fuss am Handy: Impressum, Datenschutz, AGB kompakt in einer Zeile statt untereinander */
@media (max-width: 980px) {
  html.hk .copyFooter .container { flex-direction: column !important; align-items: center !important; padding: 26px 16px 22px !important; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); }
  html.hk .copyFooter ul.infoBottomNav { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0 !important; padding: 0 !important; height: auto !important; }
  html.hk .copyFooter ul.infoBottomNav li { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; height: auto !important; line-height: 1 !important; }
  html.hk .copyFooter ul.infoBottomNav li a { display: inline-block !important; padding: 8px 0 !important; line-height: 1.2 !important; font-size: 11px !important; letter-spacing: .12em; color: #9a9a9e !important; }
  html.hk .copyFooter .container > span { display: block; text-align: center; font-size: 12px; line-height: 1.6; color: #8a8a8e; }
}

/* Fuss: Hover-Regel der Vorlage (column-count/scale) liess den Fuss springen und die Seite seitlich ueberlaufen */
html.hk div.copyFooter ul li a:hover, html.hk div.copyFooter ul li a:focus { column-count: auto !important; column-gap: normal !important; transform: none !important; }
html.hk .copyFooter ul.infoBottomNav li a { transition: color .2s; }
html.hk .copyFooter ul.infoBottomNav li a:hover { color: #fff !important; }
@media (max-width: 980px) { html.hk .copyFooter ul.infoBottomNav li a { padding: 13px 0 !important; } }
.hk-recht a { display: inline-block; padding: 8px 0; }
.hk-mm-kopf .hk-lang a { min-height: 36px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
html.hk ul.nav2 a:focus-visible, html.hk ul.nav a:focus-visible, .infoBottomNav a:focus-visible { outline: 2px solid #ef7d00; outline-offset: 3px; border-radius: 8px; }
/* Sprunglink zum Inhalt (Tastatur) */
.hk-skip { position: fixed; left: -9999px; top: 12px; z-index: 9999; padding: 10px 16px; border-radius: 10px; background: #ef7d00; color: #000 !important; font-weight: 600; transition: top .2s; text-decoration: none !important; }
.hk-skip:focus { left: 16px; }
