/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.nav {
  display: block;
}

/* Nav toggle */
.nav-toggle {
  line-height: 1;
  display: inline-block;
  padding:1.25rem 0.9rem;
  border: 0;
  background-color: #fff;
  position: absolute;
  top: 4px;
  right: 15px;
}

/* Nav toggle icon */
.nav-toggle .icon-menu {
  position: relative;
  display: inline-block;
  width: 33px;
  height: 22px;
  vertical-align: middle;
  fill: none;
}

/* Nav toggle icon lines */
.icon-menu .line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
  background-color: #949494;
}

/* Nav toggle icon line 1 */
.icon-menu .line-1 {
  top: 0;
}

/* When active, rotate line 1 to be lefthand part of X */
.is-active .icon-menu .line-1 {
  -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
  -ms-transform: translateY(11px) translateX(0) rotate(45deg);
  transform: translateY(11px) translateX(0) rotate(45deg);
}

/* Nav toggle icon line 2 */
.icon-menu .line-2 {
  top: 50%;
  margin-top: -1px;
}

/* When active, hide line 2 */
.is-active .icon-menu .line-2 {
  opacity: 0;
}

/* Nav toggle icon line 3 */
.icon-menu .line-3 {
  bottom: 0;
}

/* When active, rotate line 3 to be righthand part of X */
.is-active .icon-menu .line-3 {
  -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
  -ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
  transform: translateY(-8px) translateX(0) rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-toggle {
      display: none;
  }
}

/* Mobile first layout SmartMenus Core CSS (it's not recommended editing these rules)
   You need this once per page no matter how many menu trees or different themes you use.
-------------------------------------------------------------------------------------------*/

.sm{box-sizing:border-box;position:relative;z-index:9999;-webkit-tap-highlight-color:rgba(0,0,0,0);}
.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;}
.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right;}
.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0;}
.sm ul{display:none;}
.sm li,.sm a{position:relative;}
.sm a{display:block;}
.sm a.disabled{cursor:default;}
.sm::after{content:"";display:block;height:0;font:0px/0 serif;clear:both;overflow:hidden;}
.sm *,.sm *::before,.sm *::after{box-sizing:inherit;}

/* Barrierefreiheitserweiterungen für SmartMenus Core CSS */
.sm a:focus {
  outline: 2px solid;
  outline-offset: -2px;
  z-index: 10000;
}

.sm a.has-submenu {
  /* padding-right: 32px; Mehr Platz für Icon/Indikator */
}

/* Verhindere Navigation bei Menü-Items mit Untermenüs - Cursor-Änderung */
.sm-blue > li.has-submenu > a {
  cursor: default;
}

.sm-blue ul li.has-submenu > a {
  cursor: default;
}

/* Vergrößere die Zielgröße für Mobile/Touch */
@media (max-width: 980px) {
  .header-logo {
    width: 42%;
    float: left;
    margin: 10px 0 0 20px;
    position: absolute;
    z-index: 100000000;
}
.navi {
  margin-top: 110px;
}
.ebene2.extended, .ebene2.extended .ebene3 {
  min-height: 0px!important;
}
  .sm a {
    padding: 10px 15px;
    font-size: 110%;
  }
}

/* Erhöhe Kontrast für disabled-Elemente */
.sm a.disabled {
  opacity: 0.6;
}

/* Stelle sicher, dass Unterstützung für High-Contrast-Mode vorhanden ist */
@media (forced-colors: active) {
  .sm a:focus {
    outline: 3px solid ButtonText;
  }
  .sm a.disabled {
    opacity: 0.6;
    color: GrayText;
  }
}
.sm-blue {
  background: transparent;
  border-radius: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active {
  padding: 20px 15px;
  padding-right: 58px;
  background: #fff;
  background-image: none;
  color: #676767;
  /* font-family: "Inter", "Arial Narrow", Arial, Helvetica, sans-serif; */
  font-size: 23px;
  font-weight: 500;
  line-height: 23px;
  text-decoration: none;
  text-shadow: none;
}
.sm-blue a.current {
  background: #f0f0f0;
  background-image: none;
  color: #000;
}
.sm-blue a.disabled {
  color: #ccc;
}
.sm-blue a .sub-arrow {
     position: absolute;
    top: 50%;
    margin-top: -24px;
    left: auto;
    right: 4px;
    width: 45px;
    height: 45px;
    overflow: hidden;
    font: bold 25px / 42px monospace !important;
    text-align: center;
    text-shadow: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0;
}
.sm-blue a .sub-arrow::before {
  content: '+';
}
.sm-blue a.highlighted .sub-arrow::before {
  content: '-';
}
.sm-blue > li:first-child > a, .sm-blue > li:first-child > :not(ul) a {
  border-radius: 0;
}
.sm-blue > li:last-child > a, .sm-blue > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
  border-radius: 0;
}
.sm-blue > li:last-child > a.highlighted, .sm-blue > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
  border-radius: 0;
}
.sm-blue ul {
  background: #fff;
}
.sm-blue ul ul {
  background: rgba(240, 240, 240, 0.9);
}
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
  background: transparent;
  color: #222;
  font-size: 16px;
  text-shadow: none;
 /*  border-left: 8px solid transparent; */
}
.sm-blue ul a.current {
  background: #000;
  background-image: linear-gradient(to bottom, #111, #000);
  color: #fff;
}
.sm-blue ul a.disabled {
  color: #999;
}
.sm-blue ul ul a,
.sm-blue ul ul a:hover,
.sm-blue ul ul a:focus,
.sm-blue ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-blue ul ul ul a,
.sm-blue ul ul ul a:hover,
.sm-blue ul ul ul a:focus,
.sm-blue ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-blue ul ul ul ul a,
.sm-blue ul ul ul ul a:hover,
.sm-blue ul ul ul ul a:focus,
.sm-blue ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-blue ul ul ul ul ul a,
.sm-blue ul ul ul ul ul a:hover,
.sm-blue ul ul ul ul ul a:focus,
.sm-blue ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
.sm-blue ul li {
 /*  border-top: 1px solid rgba(0, 0, 0, 0.1); */
}
.sm-blue ul li:first-child {
  border-top: 0;
}

/* Barrierefreiheits-Erweiterungen für das schwarz-weiße Theme */
/* Verbesserte Kontrast-Verhältnisse */
.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active {
  /* Weißer Hintergrund mit grauer Schrift für ersten Ebene */
  background: #fff;
  background-image: none;
  color: #676767;
  /* Verbesserte Lesbarkeit */
  text-shadow: none;
}

.sm-blue a:hover, .sm-blue a:focus {
  /* Hellgrauer Hintergrund für Hover/Focus-Zustände */
  background: #fff;
  background-image: none;
  /* outline: 2px solid #000; */
  /* outline-offset: -2px; */
  color: #000;
}

/* Verbesserte Sichtbarkeit für Untermenü-Indikatoren */
.sm-blue a .sub-arrow {
     background: rgb(0 0 0 / 45%);
    color: #fff;
}

/* Bessere Styles für deaktivierte Elemente */
.sm-blue a.disabled {
  color: #ccc;
  opacity: 0.8;
}
.ebene2.extended, .ebene2.extended .ebene3   {
min-height: 495px; 
}
/* Verbesserte Lesbarkeit in Untermenüs */
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
  font-size: 19px;
  color: #676767;
  background: transparent;
}

.sm-blue ul a:hover, .sm-blue ul a:focus {
  background: #fff;
  color: #000;
}

/* Aktiver Zustand in Untermenüs */
.sm-blue ul a.current {
  background: #d2d2d2;
  color: #000;
  font-weight: bold;
}

/* Erhöhter Fokus-Indikator für Barrierefreiheit */
.sm-blue a:focus {
  /* Grundlegender Fokus wird entfernt und nur bei .focus-visible angezeigt */
  outline: none;
  outline-offset: -3px;
}

/* Der spezifische Fokus für Tastaturbenutzer wird in .focus-visible definiert */
.js-focus-visible .sm-blue a.focus-visible {
  outline: 3px solid #000;
  outline-offset: -3px;
  text-decoration: underline;
}

@media (min-width: 980px) {
  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */

 
  .sm-blue ul {
    position: absolute;
    width: 12em;
  }

  .sm-blue li {
    float: left;
  }

  .sm-blue.sm-rtl li {
    float: right;
  }

  .sm-blue ul li, .sm-blue.sm-rtl ul li, .sm-blue.sm-vertical li {
    float: none;
  }

  .sm-blue a {
    white-space: nowrap;
  }

  .sm-blue ul a, .sm-blue.sm-vertical a {
    white-space: normal;
  }

  .sm-blue .sm-nowrap > li > a, .sm-blue .sm-nowrap > li > :not(ul) a {
  /*   white-space: nowrap; */
  }

  /* ...end */
  .sm-blue {
    background: transparent;
    background-image: none;
    border-radius: 0;
    box-shadow: none;    
        /* margin-top: 74px; */
  }
  .sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    padding: 13px 24px;
    background: transparent;
    background-image: none;
    color: #676767;
  }
  .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    background: #fff;
        background-image: none;
        color: #000;
        border-bottom: 2px solid;
  }
  .sm-blue a.current {
    background: #fff;
    background-image: none;
    color: #000;
    border-bottom: 2px solid;
  }
  .sm-blue a.disabled {
    background: #fff;
    background-image: none;
    color: #ccc;
  }
  .sm-blue a .sub-arrow {
    display: none;
    /* top: auto; */
    /* margin-top: 0; */
    /* bottom: 2px; */
    /* left: 50%; */
    /* margin-left: -5px; */
    /* right: auto; */
    /* width: 0; */
    /* height: 0; */
   /*  */
    /* border-style: solid dashed dashed dashed; */
    /* border-color: #676767 transparent transparent transparent; */
    /* background: transparent; */
    /* border-radius: 0; */
  }
  .sm-blue li.kategorie {
 
    margin-left: 20px;
    font-size: 19px;
    margin-top: 9px !important;
    margin-bottom: 10px;
    font-family: "UniversLTStd-Bold";
  }



  .sm-blue a .sub-arrow::before {
    display: none;
  }
  .sm-blue > li:first-child > a, .sm-blue > li:first-child > :not(ul) a {
    border-radius: 0;
  }
  .sm-blue > li:last-child > a, .sm-blue > li:last-child > :not(ul) a {
    border-radius: 0 !important;
  }
  .sm-blue > li {
    line-height: 28px;
  }
  .sm-blue > li:first-child {
    border-left: 0;
  }
  .sm-blue ul {
    border: 0px solid #ccc;
    padding: 19px 0;
    background: #e4e4e4;
    border-radius: 0 !important;
  }
  .sm-blue > li > ul {
    top: 70px !important;
    margin-top: 0 !important;
    left: 13px !important;
    margin-left: 0 !important;
  }
  .sm-blue > li > ul.extended {
  left: -380px!important;
}

  .en .sm-blue > li > ul.extended {
  left: -550px !important;
}

/* ul.ebene3 li { */
  /* max-width: 495px; */
/* } */

.sm-blue ul .ebene2 {
  box-shadow: 4px 12px 8px rgba(0,0,0,.2);

}
  /* Anpassungen für die dritte Ebene */
  .sm-blue ul .ebene3 {
    box-shadow: 4px 6px 8px rgba(0,0,0,.2);
    background: #ffffffed;
    background: #ffffff;
    padding: 0;
    border: 0;
    width: 495px!important;padding-top: 19px;border-top: 1px solid #f2f1f1;
  }
  .sm-blue ul li ul li a, .sm-blue ul li ul li a:hover {
  line-height: 28px;
  }
  /* Untermenüs werden durch SmartMenus gesteuert (kein erzwungenes display) */
  
  .sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
    border: 0 !important;
    padding: 16px 23px;
    background: transparent;
    color: #676767;
    border-radius: 0 !important;
  }
  .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
    background: #726e6e;
    background-image: none;
    color: #fff;
  }
  .sm-blue ul a.current {
    background: #676767;
    background-image: none;
    color: #fff;
  }
  .sm-blue ul a.disabled {
    background: #fff;
    color: #ccc;
  }
  .sm-blue ul a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #676767;
  }
  .sm-blue ul li {
    border: 0;
  }
  .sm-blue .scroll-up,
  .sm-blue .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    height: 20px;
  }
  .sm-blue .scroll-up-arrow,
  .sm-blue .scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 0px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #676767 transparent;
  }
  .sm-blue .scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #676767 transparent transparent transparent;
  }
  .sm-blue.sm-rtl.sm-vertical a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #676767 transparent transparent;
  }
  .sm-blue.sm-rtl > li:first-child > a, .sm-blue.sm-rtl > li:first-child > :not(ul) a {
    border-radius: 0;
  }
  .sm-blue.sm-rtl > li:last-child > a, .sm-blue.sm-rtl > li:last-child > :not(ul) a {
    border-radius: 0 !important;
  }
  .sm-blue.sm-rtl > li:first-child {
    border-left: 1px solid #e0e0e0;
  }
  .sm-blue.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-blue.sm-rtl ul a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #676767 transparent transparent;
  }
  .sm-blue.sm-vertical {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }
  .sm-blue.sm-vertical a {
    padding: 9px 23px;
  }
  .sm-blue.sm-vertical a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #676767;
  }
  .sm-blue.sm-vertical > li:first-child > a, .sm-blue.sm-vertical > li:first-child > :not(ul) a {
    border-radius: 0;
  }
  .sm-blue.sm-vertical > li:last-child > a, .sm-blue.sm-vertical > li:last-child > :not(ul) a {
    border-radius: 0 !important;
  }
  .sm-blue.sm-vertical > li {
    border-left: 0 !important;
  }
  .sm-blue.sm-vertical ul {
    border-radius: 0 !important;
  }
  .sm-blue.sm-vertical ul a {
    padding: 9px 23px;
  }
  
  /* Spezifische Desktop-Fokus-Styles */
  .sm-blue a:focus {
    position: relative;
    z-index: 1;
  }
  
  /* Größere Schaltflächen für bessere Erreichbarkeit */
  .sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    padding: 13px 11px;
    margin: 0 12px;
  }
  
  /* Besserer visueller Indikator für aktive Untermenüs */
  .sm-blue ul {
   border:0;
    border-top: 1px solid #e3e3e3;
  }
}
@media (min-width: 1156px){
  .sm-blue {
    
        margin-top: 74px; 
  }
}

 


/* Verbesserter Fokus-Stil */
.sm-blue a:focus {
  outline: 2px solid #303030;
  outline-offset: -2px;
}

/* Screen-Reader-Only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fokus-Stile für Tastaturnutzer */
/* .js-focus-visible :focus:not(.focus-visible) { */
  /* outline: none; */
  /* box-shadow: none; */
/* } */

.js-focus-visible .focus-visible {
  outline: 2px solid #6c6c6c;
  outline-offset: -2px;
}

/* Skip link styles (immer über allem sichtbar) */
.skip-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2147483647; /* max stacking */
}
.skip-links .skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 2147483647;
  display: inline-block;
  transform: translateY(-200%);
  transition: transform 0.15s ease-in-out;
}
.skip-links .skip-link:focus,
.skip-links .skip-link:active {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}



/* Metanav */
.navi-meta {
position: absolute;
    right: 160px;
}

.metanav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.metanav li {
  list-style: none;
  list-style-type: none!important;
  padding-left: 36px;
}

.metanav li a {
  text-decoration: none;
  color: #33322f;
}
.metanav li a.act {
  font-family: "UniversLTStd-Bold";
}

.metanav li a:hover, .metanav li.termin a {
  color: #CD1719;
}    

.metanav li.leichtes {
  padding-left: 32px; /* Anpassen nach Bedarf */
}

.metanav li.leichtes img {
  display: block;
  width: 20px; /* Anpassen nach Bedarf */
  height: auto;
  transition: opacity 0.2s ease;
}

.metanav li.leichtes img:hover {
  opacity: 0.8;
}
.metanav li.leichtes a {
  display: none;
}
.metanav li.leichtes a.leichtes-link {
  display: block;
}

  /* Skip link styles (immer über allem sichtbar) */
  .skip-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2147483647; /* max stacking */
  }
  .skip-links .skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #000;
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 2147483647;
    display: inline-block;
    transform: translateY(-200%);
    transition: transform 0.15s ease-in-out;
  }
  .skip-links .skip-link:focus,
  .skip-links .skip-link:active {
    transform: translateY(0);
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  /* Focus only on Tab navigation */
  body:not(.user-is-tabbing) :focus {
    outline: none !important;
    box-shadow: none !important;
  }

  /* Generic focus styles when tabbing */
  body.user-is-tabbing a:focus,
  body.user-is-tabbing button:focus,
  body.user-is-tabbing input:focus,
  body.user-is-tabbing select:focus,
  body.user-is-tabbing textarea:focus,
  body.user-is-tabbing [tabindex]:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
  }

  /* Prefer native :focus-visible when supported */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
  }

  /* Menu-specific focus tuning */
  body.user-is-tabbing .sm-blue a:focus,
  .sm-blue a:focus-visible {
    outline: 2px solid #000;
    outline-offset: -2px;
    text-decoration: underline;
  }