/* =============================================================================
   Hans Wagner Footer (global, auf allen Seiten)
   - dunkler Hintergrund #1a1a1a (matched Dark-Header)
   - Frischegruen-Akzentlinie oben
   - klare Typografie + Brand-Hover
   - Storefront-Credit "by WooThemes" raus
   Stand: 2026-04-27
   ============================================================================= */

footer.site-footer,
.site-footer,
#colophon {
  background: #1a1a1a !important;
  color: rgba(255,255,255,0.65) !important;
  border-top: 2px solid #049B4E !important;
  padding: 40px 0 24px !important;
}
.site-footer .col-full { max-width: 1260px !important; padding: 0 24px !important; }
.site-footer .footer-widgets { display: flex !important; flex-wrap: wrap !important; gap: 32px !important; margin-bottom: 28px !important; }
.site-footer .footer-widgets > .block,
.site-footer .footer-widgets .footer-widget-1,
.site-footer .footer-widgets .footer-widget-2,
.site-footer .footer-widgets .footer-widget-3,
.site-footer .footer-widgets .footer-widget-4 {
  flex: 1 1 200px !important;
  min-width: 200px !important;
}

/* Widget-Headlines */
.site-footer .widget-title,
.site-footer .gamma,
.site-footer h2,
.site-footer h3 {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin: 0 0 14px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  position: relative !important;
  display: block !important;
}
.site-footer .widget-title::after,
.site-footer .gamma::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 32px; height: 2px;
  background: #049B4E;
}

/* Text + Links */
.site-footer p,
.site-footer .textwidget,
.site-footer ul {
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.65) !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-footer ul li {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.site-footer ul li::marker { content: none !important; }
.site-footer a {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none !important;
  transition: color 0.12s !important;
}
.site-footer a:hover {
  color: #049B4E !important;
  text-decoration: none !important;
}

/* Bottom-Bar (Copyright + Site-Info) */
.site-footer .site-info,
.site-footer .copyright2gether {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 18px 0 0 !important;
  margin-top: 24px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

/* Storefront-Theme-Credit ("designed by WooThemes") komplett raus */
.site-footer .site-info a[href*="woothemes"],
.site-footer .site-info a[href*="woocommerce"],
.site-footer .site-info .imprint,
.site-footer .site-info::after,
.site-footer .credits-link { display: none !important; }
.site-footer .site-info {
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Search-Widget im Footer — single-line mit Lupe rechts */
.site-footer .widget_search form,
.site-footer .widget_product_search form,
.site-footer .woocommerce-product-search {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
/* Storefront-Default Lupe-Pseudo links abschalten */
.site-footer .widget_search form::before,
.site-footer .widget_product_search form::before,
.site-footer .woocommerce-product-search::before {
  content: none !important;
  display: none !important;
}
.site-footer .widget_search input[type="search"],
.site-footer .widget_product_search input[type="search"],
.site-footer .woocommerce-product-search input[type="search"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 10px 44px 10px 14px !important;
  font-size: 13px !important;
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}
.site-footer .widget_search input[type="search"]::placeholder,
.site-footer .widget_product_search input[type="search"]::placeholder,
.site-footer .woocommerce-product-search input[type="search"]::placeholder {
  color: rgba(255,255,255,0.4) !important;
}
.site-footer .widget_search button[type="submit"],
.site-footer .widget_product_search button[type="submit"],
.site-footer .woocommerce-product-search button[type="submit"] {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 40px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}
.site-footer .widget_search button[type="submit"]::before,
.site-footer .widget_product_search button[type="submit"]::before,
.site-footer .woocommerce-product-search button[type="submit"]::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23049B4E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  transition: opacity .15s ease !important;
}
.site-footer .widget_search button[type="submit"]:hover::before,
.site-footer .widget_product_search button[type="submit"]:hover::before,
.site-footer .woocommerce-product-search button[type="submit"]:hover::before {
  opacity: 0.7 !important;
}

/* Mini-Cart-Widget im Footer (falls vorhanden) */
.site-footer .widget_shopping_cart .product_list_widget {
  background: transparent !important;
}

/* Mobile */
@media (max-width: 768px) {
  footer.site-footer { padding: 28px 0 80px !important; }  /* Platz für Handheld-Bar */
  .site-footer .footer-widgets { flex-direction: column !important; gap: 20px !important; }
  .site-footer .footer-widgets > .block { min-width: 0 !important; flex: 1 1 100% !important; }
}

/* =============================================================================
   STOREFRONT HANDHELD FOOTER BAR — Mobile only, HW-CI dunkel + grün
   ============================================================================= */
@media (max-width: 768px) {
  .storefront-handheld-footer-bar {
    background: #1a1a1a !important;
    border-top: 2px solid #049B4E !important;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.3) !important;
    z-index: 100 !important;
  }
  .storefront-handheld-footer-bar ul {
    margin: 0 !important;
    padding: 0 !important;
  }
  .storefront-handheld-footer-bar ul li {
    border-color: rgba(255,255,255,0.08) !important;
    background: transparent !important;
  }
  .storefront-handheld-footer-bar ul li > a {
    background: transparent !important;
    color: #fff !important;
    padding: 12px 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
  }
  .storefront-handheld-footer-bar ul li > a::before {
    color: #049B4E !important;
    font-size: 22px !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
    display: block !important;
  }
  .storefront-handheld-footer-bar ul li > a:hover,
  .storefront-handheld-footer-bar ul li > a:focus,
  .storefront-handheld-footer-bar ul li.current-menu-item > a,
  .storefront-handheld-footer-bar ul li > a:active {
    color: #049B4E !important;
  }
  .storefront-handheld-footer-bar ul li.cart .count {
    background: #049B4E !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: 0 0 0 1px #049B4E !important;
    font-weight: 700 !important;
  }
  /* Search-Overlay */
  .storefront-handheld-footer-bar ul li.search .site-search {
    background: #1a1a1a !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 16px !important;
  }
  .storefront-handheld-footer-bar ul li.search .site-search input[type="search"],
  .storefront-handheld-footer-bar ul li.search .dgwt-wcas-search-input {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-radius: 6px !important;
  }
  .storefront-handheld-footer-bar ul li.search .site-search input::placeholder,
  .storefront-handheld-footer-bar ul li.search .dgwt-wcas-search-input::placeholder {
    color: rgba(255,255,255,0.4) !important;
  }
}
