/* ============================================================
   KREIVA.ch – Custom CSS  (Template Folium)
   Header: Menü-Umbruch, Logo, Burger-Icon, Newsletter-Button
   ============================================================ */

/* 1) Menü nie umbrechen */
#sp-header .sp-megamenu-parent {
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* 2) Logo und Button behalten ihre Breite, Menü darf schrumpfen */
#sp-header #sp-logo,
#sp-header #sp-menu-right {
  flex-shrink: 0;
}

#sp-header #sp-menu {
  min-width: 0;
}

/* 3) Logo nie stauchen oder verzerren */
#sp-header .logo {
  flex-shrink: 0;
}

#sp-header .logo-image,
#sp-header .logo-image-phone {
  width: auto;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* 4) Newsletter-Button nie umbrechen */
#sp-header .sppb-btn {
  white-space: nowrap;
}

/* ---------- Grössen-Stufen ---------- */

/* 5) 1400–1650 px: leicht kompakter */
@media (min-width: 1400px) and (max-width: 1650px) {
  #sp-header .sp-megamenu-parent > li > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }
  #sp-header .logo-image {
    max-height: 45px;
  }
  #sp-header .sppb-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* 6) 1200–1400 px: deutlich kompakter */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  #sp-header .sp-megamenu-parent > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
  #sp-header .logo-image {
    max-height: 42px;
  }
  #sp-header .sppb-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* 7) 992–1200 px (Tablet quer): maximal kompakt, Titel bleiben sichtbar */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #sp-header .sp-megamenu-parent > li > a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
    letter-spacing: 0;
  }
  #sp-header .logo-image {
    max-height: 38px;
  }
  #sp-header .sppb-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* 8) Unter 992 px: Burger und Logo nebeneinander, vertikal zentriert */
@media (max-width: 991.98px) {
  #sp-header #sp-logo {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  #sp-header #offcanvas-toggler {
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
    font-size: 20px;
  }
}
/* === Social-Icons im Footer vergrössern === */
#sp-bottom .social-icons > li > a,
#sp-bottom .social-icons > li > a > i,
#sp-bottom .social-icons > li > a > span {
  font-size: 30px;
  line-height: 1;
}

#sp-bottom .social-icons > li {
  margin-left: 14px;
}