/* LoadTronic – Navigation (Logo-Kreis · Leiste · Such-Kreis) und Suche.
   Wird von allen Seiten eingebunden. */

.pillwrap{ gap: 10px; }

.nav-circle{
  pointer-events: auto;
  flex: 0 0 auto;
  width: 53px; height: 53px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.32));
  border: 1px solid rgba(11,18,32,.10);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow2, 0 12px 36px rgba(10,15,25,.10));
  color: rgba(11,18,32,.78);
  cursor: pointer;
  transition: transform .18s ease, background .3s ease, box-shadow .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-circle:hover{ transform: translateY(-1px); background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.5)); }
.nav-circle:active{ transform: scale(.94); }
.nav-circle img{ width: 24px; height: 24px; object-fit: contain; display: block; }
.nav-circle svg{ width: 21px; height: 21px; display: block; }

@media (max-width: 740px){
  /* Handy: Logo-Menü ganz links, Suche ganz rechts – beide bleiben bei jeder Breite am Rand */
  .mob-nav-wrap{
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    left: max(16px, env(safe-area-inset-left, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    pointer-events: none;   /* die Fläche zwischen den Knöpfen bleibt für die Seite klickbar */
  }
  .mob-nav-wrap > .mob-nav-btn{ flex: 0 0 auto; pointer-events: auto; }
  .mob-search-btn{ color: rgba(11,18,32,.78); transition: opacity .2s ease, transform .18s ease; }
  .mob-search-btn svg{ width: 22px; height: 22px; display: block; }
  .mob-nav-wrap.menu-open .mob-search-btn{ opacity: 0; pointer-events: none; }
}

/* ---------- Suche ---------- */
.site-search[hidden]{ display: none !important; }
.site-search{
  position: fixed; inset: 0; z-index: 10070;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 96px 16px 16px;
  background: rgba(10,15,25,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: ssFade .18s ease;
}
@keyframes ssFade{ from{ opacity: 0; } to{ opacity: 1; } }
.site-search-panel{
  width: min(640px, 100%);
  max-height: calc(100dvh - 124px);
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  overflow: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.site-search-field{
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid rgba(11,18,32,.08);
  color: rgba(11,18,32,.5);
}
.site-search-field svg{ width: 20px; height: 20px; flex: 0 0 auto; }
.site-search-field input{
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--ink, #0b1220);
}
.site-search-field input::-webkit-search-cancel-button{ display: none; }
.site-search-close{
  border: 0; background: rgba(11,18,32,.06); color: var(--ink, #0b1220);
  font: inherit; font-weight: 800; font-size: 13px;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.site-search-results{ overflow-y: auto; padding: 6px 8px 10px; -webkit-overflow-scrolling: touch; }
.ss-group{ padding: 12px 10px 4px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5b6472); }
.ss-item{
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 10px; border-radius: 14px; border: 0; background: transparent;
  text-align: left; font: inherit; color: var(--ink, #0b1220); cursor: pointer;
}
.ss-item:hover, .ss-item.is-active{ background: rgba(32,181,225,.10); }
.ss-thumb{ width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: rgba(11,18,32,.06); }
.ss-ico{
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(32,181,225,.14), rgba(63,104,174,.14)); font-size: 20px;
}
.ss-text{ flex: 1; min-width: 0; }
.ss-title{ display: block; font-weight: 900; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-sub{ display: block; margin-top: 2px; font-size: 13px; color: var(--muted, #5b6472); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-all .ss-title{ color: var(--hero2, #3F68AE); }
.ss-empty{ padding: 18px 12px; color: var(--muted, #5b6472); font-size: 14px; }
@media (max-width: 740px){
  .site-search{ padding: calc(12px + env(safe-area-inset-top, 0px)) 10px 10px; }
  .site-search-panel{ max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px)); border-radius: 22px; }
}

/* Footer-Links (Impressum, AGB …) am Handy mit größerer Tippfläche – optisch unverändert */
@media (max-width: 740px){
  .footer-bottom a{ display: inline-block; padding: 12px 2px; margin: -12px 0; }
}
