/* Site navigation of www.virtualbadge.io, rebuilt without webflow.js and Webflow CSS.
   Source: tools/site-nav/ (menu.en.json, menu.de.json, nav.css, nav.js). Do not edit the copies in the apps;
   run python3 tools/site-nav/apply.py instead. Values follow the live Webflow classes named in the comments.
   /de/anleitungen/assets/ is replaced per app with the folder that holds roboto.woff2 and open-sans.woff2. */
@font-face{font-family:"VBN Roboto";font-style:normal;font-weight:100 900;font-display:swap;src:url("/de/anleitungen/assets/roboto.woff2") format("woff2")}
@font-face{font-family:"VBN Open Sans";font-style:normal;font-weight:300 800;font-display:swap;src:url("/de/anleitungen/assets/open-sans.woff2") format("woff2")}

/* The whole header (contact bar 30px, bar 60px, yellow line 7px = 97px) stays at the top while scrolling, on every screen width,
   as on www.virtualbadge.io (since 30 Nov 2026). The apps read --header-h for the distance of jump marks (scroll-padding-top)
   and side rails (.rail) below it. nav.js replaces the 97px with the real height, because the menu can wrap into two lines. */
:root{--header-h:97px !important}

.vbn,.vbn *,.vbn *::before,.vbn *::after{box-sizing:border-box}
.vbn{position:sticky;top:0;z-index:1000;margin:0;padding:0;font-family:"VBN Roboto",Roboto,Arial,sans-serif;font-size:14px;line-height:20px;font-weight:400;color:#333;text-align:left;letter-spacing:normal;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}
:where(.vbn) a{text-decoration:none;color:inherit;font-weight:inherit}
.vbn a:focus-visible,.vbn button:focus-visible{outline:2px solid #5e50ef;outline-offset:2px;border-radius:2px}
:where(.vbn) img,:where(.vbn) svg{display:block;max-width:none}
:where(.vbn) button{font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}

/* Contact bar (.de_contactbar, .div-block-440, .link-25) */
.vbn-contact{display:flex;justify-content:center;height:30px;background:#dfe4ed}
.vbn-contact-in{display:flex;flex:1;justify-content:flex-end;align-items:center;max-width:1400px}
.vbn-clink{display:flex;align-items:flex-end;margin-left:40px;color:#273d55 !important;font-family:"VBN Roboto",Roboto,sans-serif;font-size:14px;line-height:20px;font-weight:400 !important}
.vbn-clink img{width:15px;height:17px;margin:0 0 2px 5px}

/* Main bar (.navbar-de-2025, .container-50) */
.vbn-bar{position:relative;z-index:1000;background:#fff}
.vbn-in{display:flex;align-items:center;max-width:1400px;margin:0 auto}
.vbn-brand{position:relative;display:block;flex:none}
.vbn-brand img{width:220px;height:auto}
.vbn-main{display:flex;flex:1;flex-wrap:wrap;justify-content:space-between;align-items:center}
.vbn-ov{display:contents}
.vbn-menu{display:flex;margin-left:50px;position:relative}

/* Top-level entries (.nav_bar_link) */
.vbn-link{position:relative;display:flex;align-items:center;padding:20px 10px 20px 20px;font-family:"VBN Roboto",Roboto,sans-serif;font-size:15px;line-height:20px;font-weight:400;color:#707070 !important;font-weight:400 !important;white-space:nowrap;cursor:pointer;user-select:none}
.vbn-link:hover,.vbn-dd.vbn-open>.vbn-link{color:#152e69 !important}
.vbn-tlink{color:inherit !important;font-weight:400 !important}
.vbn-caret{display:flex;align-items:center;margin-left:5px;width:15px;height:20px;color:inherit}
.vbn-caret svg{width:15px;height:15px}
.vbn-mcta{display:none}

/* Dropdowns (.nav_bar_dropdown, .floating_navigation_2025): open on hover, no animation */
.vbn-dd{position:relative;z-index:900}
.vbn-panel{display:none;position:absolute;top:60px;left:0;min-width:100%;align-items:flex-start;background:#fff;border:1px solid #819bb4;border-radius:6px;overflow:hidden}
.vbn-dd.vbn-open>.vbn-panel{display:flex}
html:not(.vbn-js) .vbn-dd:hover>.vbn-panel{display:flex}
.vbn-sec{width:auto;padding:0 0 20px 30px}
.vbn-dark{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;flex:none;min-width:300px;padding:0 15px 20px 30px;background:#152e69}
.vbn-sub{display:block;margin:30px 0 10px;font-family:"VBN Roboto",Roboto,sans-serif;font-size:18px;line-height:20px;font-weight:700;color:#152e69 !important}
.vbn-dark .vbn-sub{color:#fff !important}
.vbn-cols{display:flex;align-items:flex-start}
.vbn-col{display:flex;flex-direction:column;align-items:flex-start;margin-right:30px}
.vbn-dark .vbn-cols,.vbn-dark .vbn-col{width:100%;margin-right:0}
.vbn-dl{display:block;width:100%;min-width:150px;padding:10px 0;font-family:"VBN Roboto",Roboto,sans-serif;font-size:15px;line-height:20px;white-space:nowrap;font-weight:400 !important;color:#152e69 !important}
.vbn-dl:hover,.vbn-dl.vbn-cur{color:#5e50ef !important}
.vbn-dark .vbn-dl{min-width:0;color:#fff !important}
.vbn-dark .vbn-dl:hover,.vbn-dark .vbn-dl.vbn-cur{color:#5ed0fc !important}

/* Buttons (.cta_nav_german, .nav_cta_ghost) */
.vbn-cta{display:inline-block;padding:12px 25px;border-radius:6px;background:#f9d423;color:#2a2f4b !important;font-family:"VBN Open Sans","Open Sans",sans-serif;font-size:15px;line-height:20px;font-weight:700;white-space:nowrap}
.vbn-ghost{margin-left:auto;margin-right:12px;background:transparent;box-shadow:inset 0 0 0 1.5px #2a2f4b}

/* Hamburger (.menu-button-3, .w-nav-button) */
.vbn-burger{display:none !important;position:relative;padding:18px !important;color:#333 !important;font-size:24px}
.vbn-burger svg{width:24px;height:24px}
.vbn-burger.vbn-open{color:#5e50ef !important;background:#fff !important}

/* Yellow line under the bar (.yellow_gradient) */
.vbn-line{height:7px;background-image:linear-gradient(283deg,#f1fbfd,#ffd200)}

/* Reading progress: a thin line fixed at the top edge of the window, on every screen width */
.progress.vbn-progress{position:fixed;top:0;left:0;right:0;z-index:1001;height:2px;margin:0;background:transparent;pointer-events:none}
.progress.vbn-progress span{display:block;height:2px;width:0;background:#f9d423}

/* Laptop widths: same custom code as the live site */
@media (min-width:992px) and (max-width:1449px){
  .vbn-in,.vbn-contact-in{padding-left:clamp(0px,min(25px - (1280px - 100vw) * .045139,(1450px - 100vw) * .5),25px);padding-right:clamp(0px,min(25px - (1280px - 100vw) * .045139,(1450px - 100vw) * .5),25px)}
}
@media (min-width:992px) and (max-width:1279px){
  .vbn-menu{margin-left:clamp(24px,50px - (1280px - 100vw) * .090278,50px)}
  /* Since 30 Nov 2026, as on the live site: smaller logo, tighter entries and buttons, so the menu stays on one line
     (before, the English menu with two buttons wrapped into a second line between 992 and 1279px) */
  .vbn-brand img{width:clamp(150px,200px - (1280px - 100vw) * .1736,200px)}
  .vbn-link{padding-left:clamp(10px,20px - (1280px - 100vw) * .0347,20px);padding-right:clamp(6px,10px - (1280px - 100vw) * .0139,10px)}
  .vbn-cta{padding-left:16px;padding-right:16px}
  .vbn-ghost{margin-right:8px}
}

/* Tablet and phone: menu behind the hamburger, sliding down below the bar */
@media (max-width:991px){
  .vbn-contact{padding:0 18px}
  .vbn-contact-in{max-width:100%}
  .vbn-in{justify-content:space-between;max-width:100%}
  .vbn-brand{flex:1;padding-left:2%}
  .vbn-main{flex:0 auto;flex-direction:column;align-items:flex-start;justify-content:flex-start}
  .vbn-main>.vbn-cta{display:none}
  .vbn-burger{display:flex !important;justify-content:flex-end;flex:0 auto}
  /* The open menu ends at the bottom of the screen (90px = contact bar and bar) and scrolls inside,
     so long dropdowns stay reachable below the header that stays at the top */
  .vbn-ov{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;z-index:1}
  .vbn-ov.vbn-shown{display:block}
  .vbn-menu{display:block;margin:0;width:100%;background:#fff;transform:translateY(-100%);transition:transform .4s ease}
  .vbn-ov.vbn-in-view .vbn-menu{transform:none}
  .vbn-link{justify-content:flex-start;border-bottom:1px solid #dfdfdf}
  .vbn-mcta{display:block}
  .vbn-dd{width:100%}
  .vbn-dd>.vbn-link{width:100%}
  .vbn-panel{position:static;display:none;background:#dfe4ed;border-width:0}
  .vbn-dd.vbn-open>.vbn-panel{display:block}
  html:not(.vbn-js) .vbn-dd:hover>.vbn-panel{display:none}
  .vbn-dark{background:transparent;padding-bottom:0;padding-right:0;min-width:0}
  .vbn-sec{padding-bottom:0}
  .vbn-sub,.vbn-dark .vbn-sub{font-size:15px;color:#152e69 !important}
  .vbn-dark .vbn-sub{margin-top:15px}          /* Webflow: titles in white sections keep their 30px (.nav_subheader.dark-text) */
  .vbn-dark .vbn-dl{color:#152e69 !important}
  .vbn-dark .vbn-dl:hover,.vbn-dark .vbn-dl.vbn-cur{color:#5e50ef !important}
  .vbn-cols{flex-direction:column}
}
@media (max-width:767px){
  .vbn-contact{padding:0 15px}
  .vbn-clink{margin-left:20px}
  .vbn-brand img{width:auto;max-width:190px}
}
@media (max-width:479px){
  .vbn-panel{border-radius:0}
  .vbn-main{display:block}
  .vbn-brand img{width:auto;min-width:150px;max-width:180px}
}
@media (prefers-reduced-motion:reduce){.vbn-menu{transition:none !important}}
@media print{.vbn,.vbn-progress{display:none !important}}
