/* =====================================================================
   Airfy Partner: gemeinsames Hauptmenü für alle Seiten
   (Startseite „Partner“, „Technology“, „Enterprise“).
   Nachbau von „navigation-2“ (React Bits Pro): zentrierte, abgerundete
   Glas-Navigation mit aufklappenden Karten. Eigenständig, ohne Framework;
   alle Regeln unter .an-*, damit die unterschiedlichen Seiten-Designs
   nichts daran verändern.
   ===================================================================== */
@font-face {
  font-family: 'Airfy Nav'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url('/shared/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Airfy Nav'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url('/shared/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.an, .an *, .an *::before, .an *::after { box-sizing: border-box; }
.an {
  --an-ink: #0B1114; --an-ice: #AFCDDB; --an-sky: #7FAFC5; --an-mist: #E6E9EB;
  --an-line: rgba(175, 205, 219, .16); --an-ease: cubic-bezier(.4, 0, .2, 1);
  position: fixed; top: 12px; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: center; padding: 0 12px; margin: 0;
  pointer-events: none; font-family: 'Airfy Nav', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-stretch: 100%; font-style: normal; line-height: 1.25; letter-spacing: normal; text-transform: none;
  color: var(--an-mist); -webkit-font-smoothing: antialiased; text-align: left;
  opacity: 0; transform: translateY(-18px);
  transition: opacity .5s var(--an-ease), transform .5s var(--an-ease);
}
.an.an-ready { opacity: 1; transform: none; }
.an a { text-decoration: none; color: inherit; }
.an ul { list-style: none; margin: 0; padding: 0; }
.an img, .an svg { display: block; max-width: none; }
.an button { font: inherit; color: inherit; margin: 0; }
.an :focus-visible { outline: 2px solid var(--an-ice); outline-offset: 2px; }

.an-shell {
  pointer-events: auto; width: fit-content; max-width: 100%;
  border-radius: 24px; overflow: hidden;
  background: rgba(12, 20, 24, .58);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--an-line);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.an-bar { display: flex; align-items: center; gap: 6px; padding: 9px 9px 9px 20px; }
.an-logo { display: flex; align-items: center; gap: 9px; margin-right: 16px; flex: none; }
.an-logo img:first-child { width: 22px; height: 22px; }
.an-logo img:last-child { width: auto; height: 13.5px; }

.an-items { display: flex; gap: 2px; }
.an-item {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 400; letter-spacing: -.005em; color: rgba(230, 233, 235, .72);
  transition: color .2s, background-color .2s; white-space: nowrap;
}
.an-item:hover, .an-item.is-open { color: #fff; background: rgba(175, 205, 219, .08); }
.an-item[aria-current="page"] { color: #fff; background: rgba(175, 205, 219, .15); }
.an-item[aria-current="page"]::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--an-ice); box-shadow: 0 0 0 3px rgba(175, 205, 219, .18); }
.an-chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .3s var(--an-ease); }
.an-item.is-open .an-chev { transform: rotate(180deg); }

.an-end { display: flex; align-items: center; gap: 8px; margin-left: 16px; flex: none; }
.an-lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(175, 205, 219, .2); }
.an .an-lang > * {
  display: block; padding: 7px 9px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: 11.5px; font-weight: 500; letter-spacing: .08em; line-height: 1; color: var(--an-ice);
  transition: background-color .2s, color .2s;
}
.an .an-lang > *[aria-current="true"], .an .an-lang > *[aria-pressed="true"] { background: var(--an-ice); color: var(--an-ink); }
.an-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 18px; border-radius: 14px;
  background: var(--an-ice); color: var(--an-ink) !important; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s;
}
.an-cta:hover { background: #fff; }
.an-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--an-ease); }
.an-cta:hover svg { transform: translateX(3px); }

/* aufklappende Karten (Desktop) */
.an-drop { height: 0; opacity: 0; overflow: hidden; transition: height .3s var(--an-ease), opacity .3s var(--an-ease); }
.an-drop.is-open { opacity: 1; }
.an-drop-in { padding: 2px 8px 8px; }
.an-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 620px; }
.an-card {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(175, 205, 219, .14);
  opacity: 0; transform: translateY(10px);
  transition: opacity .2s ease-out, transform .2s ease-out, border-color .2s, background-color .2s, box-shadow .2s;
  transition-delay: calc(var(--i, 0) * 50ms), calc(var(--i, 0) * 50ms), 0s, 0s, 0s;
}
.an-cards-in .an-card { opacity: 1; transform: none; }
.an-card:hover, .an-card:focus-visible { border-color: rgba(175, 205, 219, .38); background: rgba(175, 205, 219, .07); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.an-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(175, 205, 219, .1); }
.an-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--an-ice); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.an-card-t { display: block; margin: 1px 0 3px; font-size: 14px; font-weight: 500; color: #fff; }
.an-card-d { display: block; font-size: 12.5px; line-height: 1.35; color: rgba(230, 233, 235, .62); }

/* Mobil / Touch */
.an-quick, .an-burger, .an-mobile { display: none; }
@media (max-width: 1023.98px), (hover: none) {
  .an { top: 10px; padding: 0 10px; }
  .an-shell { width: 100%; max-width: 720px; border-radius: 22px; }
  .an-bar { padding: 8px 8px 8px 16px; }
  .an-items, .an-end, .an-drop { display: none; }
  .an-logo { margin-right: auto; }
  .an-quick {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; margin-right: 6px;
    font-size: 14px; font-weight: 500; color: #fff; background: rgba(175, 205, 219, .1); white-space: nowrap;
  }
  .an-quick[aria-current="page"] { background: rgba(175, 205, 219, .2); }
  .an-quick[aria-current="page"]::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--an-ice); }
  .an-burger {
    display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 12px;
    background: var(--an-ice); color: var(--an-ink); cursor: pointer;
  }
  .an-burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .an-burger .an-x { display: none; }
  .an-burger[aria-expanded="true"] .an-x { display: block; }
  .an-burger[aria-expanded="true"] .an-menu-i { display: none; }
  .an-mobile { display: block; height: 0; overflow: hidden; transition: height .3s var(--an-ease); }
  .an-m-in { max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 12px 14px; }
  .an-m-group { padding: 6px 0; border-top: 1px solid rgba(175, 205, 219, .1); }
  .an-m-group:first-child { border-top: 0; }
  .an-m-head { display: flex; align-items: center; gap: 8px; padding: 10px 6px; font-size: 16px; font-weight: 500; color: #fff; }
  .an-m-head[aria-current="page"]::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--an-ice); box-shadow: 0 0 0 3px rgba(175, 205, 219, .18); }
  .an-m-here { margin-left: auto; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--an-ice); }
  .an-m-cards { display: grid; gap: 6px; padding-bottom: 6px; }
  .an-m-cards .an-card { padding: 10px; border-radius: 13px; opacity: 1; transform: none; }
  .an-m-cards .an-ico { width: 30px; height: 30px; border-radius: 8px; }
  .an-m-cards .an-ico svg { width: 16px; height: 16px; }
  .an-m-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(175, 205, 219, .1); }
  .an-m-foot .an-lang { flex: none; }
  .an-m-foot .an-cta { flex: 1; justify-content: center; padding: 12px 16px; }
}
@media (max-width: 380px) { .an-quick { padding: 8px 10px; font-size: 13px; } .an-logo img:last-child { height: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .an, .an-drop, .an-mobile, .an-card, .an-chev, .an-cta svg { transition: none !important; }
}
.an-noscript { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; gap: 16px; padding: 12px 20px; border-radius: 24px; background: rgba(12, 20, 24, .85); font: 14px/1.2 system-ui, sans-serif; }
.an-noscript a { color: #E6E9EB; }
