/*
 Theme Name:   Inspiro AlphaOmega Theme
 Description:  Profi-Header, dynamischer Shop-Link & Flags, Hero-Slider-Flex, saubere Styles
 Author:       Mick & ChatGPT
 Template:     inspiro
 Version:      2.3
*/

/***** HEADER GRUNDLAYOUT *****/
.site-header, .header-inner {
  background: #fff; padding: 0; border: none; box-shadow: none;
}
body.home .site-header, body.home .header-inner {
  background: transparent; position: absolute; width: 100%; z-index: 100; top: 0; left: 0;
}
body:not(.home) .site-header, body:not(.home) .header-inner {
  background: #09677F !important;
}
.header-flex {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 10px 30px 10px 10px; min-height: 56px;
}
.header-logo-img {
  height: 40px !important; width: auto; display: block; margin: 0 12px 0 0;
}
body:not(.home) .header-logo-img {
  height: 32px !important;
}
/***** NAVIGATION (Menü) *****/
.header-menu, .primary-menu-wrapper, .primary-menu-wrapper ul, .header-menu .menu {
  display: flex !important; flex-direction: row !important; align-items: center !important;
  justify-content: flex-end !important; gap: 15px !important; background: none !important;
  margin: 0 !important; padding: 0 !important;
}
.primary-menu-wrapper li, .header-menu li {
  display: list-item !important; position: relative !important;
  margin: 0 3px !important; list-style: none !important;
}
.primary-menu-wrapper a, .header-menu a {
  font-size: 1.02rem !important; font-weight: 500 !important;
  padding: 8px 13px !important; color: #fff !important; background: none !important;
  border: none !important; position: relative;
  transition: border-color .15s, color .15s;
}
body.home .primary-menu-wrapper a, body.home .header-menu a {
  color: #09677F !important;
}
.primary-menu-wrapper .current-menu-item > a,
.header-menu .current-menu-item > a,
.primary-menu-wrapper a:hover,
.header-menu a:hover {
  border-bottom: 2px solid #19A3C0 !important;
  font-weight: 700 !important;
}
.primary-menu-wrapper .sub-menu, .header-menu .sub-menu {
  min-width: 150px !important;
  max-width: 240px !important;
  width: auto !important;
  padding: 7px 0 !important;
}
.primary-menu-wrapper .sub-menu a, .header-menu .sub-menu a {
  white-space: nowrap !important;
  overflow: hidden; text-overflow: ellipsis;
  padding: 8px 18px !important; line-height: 1.6 !important;
}
/***** SLIDER-DOTS – CLEAN, CI-GRÜN *****/
.metaslider .flex-control-nav li a,
.inspiro-slider .inspiro-slider-dots li span {
  background: #fff !important; opacity: 0.95 !important;
  border-radius: 50% !important; width: 14px !important; height: 14px !important;
  margin: 0 6px !important; box-shadow: 0 1px 6px #09677f33 !important;
  border: 1.5px solid #19A3C0 !important;
  transition: background .14s, border .14s !important;
}
.metaslider .flex-control-nav li a.flex-active,
.inspiro-slider .inspiro-slider-dots li.active span {
  background: #19A3C0 !important; border-color: #fff !important;
}
/***** SLIDER & CONTAINER – KEIN WEISSER STREIFEN MEHR *****/
.hero-slider-container + .metaslider,
.hero-slider-container + .inspiro-slider,
.metaslider, .inspiro-slider {
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important; border-bottom: none !important;
}
.metaslider .flex-control-nav,
.inspiro-slider .inspiro-slider-dots {
  background: none !important; box-shadow: none !important; margin-bottom: 0 !important;
}
.page-header, .inspiro-slider + .site-content, .metaslider + .site-content,
body .site-content, body .main-content, body .content-area, body .wp-block-group {
  margin-top: 0 !important; padding-top: 0 !important; background: transparent !important; border: none !important;
}
/***** UTILITY-BLOCK RECHTS (FLAGGEN + SHOP) *****/
.header-utility { display: flex; align-items: center; gap: 16px; margin-left: 22px; }
.header-langswitch { display: flex; align-items: center; gap: 5px; }
.header-langswitch img {
  height: 23px; width: 32px; border-radius: 2px;
  border: 1px solid #19A3C0; box-shadow: 0 1px 4px #09677f18; background: #fff;
}
.header-shoplink img {
  height: 32px; width: auto; border-radius: 5px;
  border: 1px solid #09677f44; box-shadow: 0 2px 10px #09677f22; margin-left: 9px; background: #fff;
}
.header-shoplink img:hover { filter: brightness(1.09) saturate(1.1) drop-shadow(0 2px 8px #ffeb3b33); }
/***** NUR NOCH EINEN PFEIL (FLAGGENPFEIL) *****/
.primary-menu-wrapper .menu-item-has-children > a::after,
.header-menu .menu-item-has-children > a::after {
  content: none !important; border: none !important; margin: 0 !important; display: none !important;
}
.header-langswitch .pll-dropdown-arrow {
  display: inline-block; width: 14px; height: 14px; margin-left: 4px;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 7px solid #19A3C0; vertical-align: middle;
}
/***** RESPONSIVE *****/
@media (max-width: 780px) {
  .header-flex { flex-direction: column; align-items: flex-start; padding: 12px 8px; }
  .header-menu { flex-direction: column; gap: 8px; }
  .header-logo-img { height: 30px !important; }
}

