/* Heuteblick.life — logo + animated ad banner + call button */

/* ---- Header logo (logo art is gold/red on black → dark rounded plaque) ---- */
.site-logo-link {
  display: inline-block;
  line-height: 0;
  background: #0b0b0b;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
}
.site-logo-img {
  height: 66px;
  width: auto;
  max-width: 100%;
  display: inline-block;
}
@media (max-width: 767px) {
  .site-logo-img { height: 54px; }
  .site-logo-link { padding: 6px 12px; }
}

/* ---- Call button in header ---- */
.hb-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #C9A227 0%, #E8C766 50%, #C9A227 100%);
  color: #1a1300 !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(201,162,39,.7);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.hb-call-btn i { font-size: 14px; }
.hb-call-btn:hover {
  color: #1a1300 !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px -8px rgba(201,162,39,.85);
}
.phone-number { text-align: center; }
@media (max-width: 575px) { .phone-number { margin-top: 10px; } }

/* ---- Animated ad banner (below header, all pages) ---- */
.hb-ad-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 48px 20px;
  text-align: center;
  background: linear-gradient(120deg, #0c0c0c 0%, #1c1608 45%, #0c0c0c 100%);
  background-size: 200% 200%;
  animation: hb-ad-pan 14s ease infinite;
  border-top: 2px solid #C9A227;
  border-bottom: 2px solid #C9A227;
}
@keyframes hb-ad-pan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* moving sheen */
.hb-ad-banner::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(232,199,102,.16), transparent);
  transform: skewX(-18deg);
  animation: hb-ad-sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hb-ad-sheen {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
/* subtle floating dots */
.hb-ad-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201,162,39,.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  animation: hb-ad-drift 20s linear infinite;
  pointer-events: none;
}
@keyframes hb-ad-drift {
  from { background-position: 0 0; }
  to   { background-position: 26px 52px; }
}
.hb-ad-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hb-ad-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: #E8C766;
  border: 1px solid rgba(201,162,39,.55);
  border-radius: 999px;
  padding: 5px 16px; margin-bottom: 20px;
  animation: hb-ad-pulse 3s ease-in-out infinite;
}
@keyframes hb-ad-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,162,39,.35); }
  50%     { box-shadow: 0 0 0 7px rgba(201,162,39,0); }
}
.hb-ad-headline {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800; line-height: 1.18; margin: 0 0 14px;
  background: linear-gradient(90deg, #E8C766, #fff 40%, #E8C766 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: hb-ad-shine 6s linear infinite;
}
@keyframes hb-ad-shine { to { background-position: 200% center; } }
.hb-ad-text { color: #dcdcdc; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7; margin: 0; }
.hb-ad-text a {
  color: #E8C766; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(232,199,102,.5);
  transition: color .2s ease, border-color .2s ease;
}
.hb-ad-text a:hover { color: #FFDE86; border-color: #FFDE86; }
@media (max-width: 767px) { .hb-ad-banner { padding: 34px 18px; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hb-ad-banner, .hb-ad-banner::after, .hb-ad-banner::before,
  .hb-ad-label, .hb-ad-headline { animation: none !important; }
  .hb-ad-headline { -webkit-text-fill-color: #E8C766; }
}

/* ============================================================
   Header redesign — clean, modern, matches gold/dark branding
   ============================================================ */

/* Kill the theme's orange contact bar + cramped layout */
.home-page-header,
.page-template .home-page-header,
.page-template-custom-home-page .home-page-header .main-topbar {
  background-color: #fff !important;
  padding-bottom: 0 !important;
}
.home-page-header .contact-info {
  background-color: transparent !important;
  padding: 0 !important;
}
.main-header { padding-top: 0 !important; }
.home-page-header .main-topbar:after { display: none !important; }

/* Row 1: logo | call + socials — vertically centered, breathing room */
.main-topbar { padding: 14px 0 12px !important; }
.main-topbar > .row { align-items: center; }
.contact-info > .row { align-items: center; justify-content: flex-end; gap: 6px; }

/* Hide the empty mail/location placeholder columns so nothing looks broken */
.home-page-header .contact-info .mail,
.home-page-header .contact-info .location { display: none !important; }

/* Give the call-button column room, push it + socials to the right */
.contact-info .phone-number {
  width: auto !important;
  flex: 0 0 auto !important;
  text-align: right !important;
}
.contact-info .topbar-social-icon {
  width: auto !important;
  flex: 0 0 auto !important;
}

/* Refined call button (calmer than the loud gradient) */
.hb-call-btn {
  background: #141414 !important;
  color: #E8C766 !important;
  border: 1px solid rgba(201,162,39,.55);
  box-shadow: none !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
}
.hb-call-btn i { color: #E8C766 !important; }
.hb-call-btn:hover {
  background: #C9A227 !important;
  color: #141414 !important;
  border-color: #C9A227;
  transform: translateY(-1px);
}
.hb-call-btn:hover i { color: #141414 !important; }

/* Social icons: neutral circles, gold on hover */
.home-page-header .topbar-social-icon .custom-social-icons { margin: 0; padding: 0; display: flex; gap: 8px; }
.home-page-header .topbar-social-icon .custom-social-icons li { list-style: none; }
.home-page-header .topbar-social-icon .custom-social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #F3F3F3 !important; color: #333 !important;
  transition: all .2s ease;
}
.home-page-header .topbar-social-icon .custom-social-icons a:hover {
  background: #141414 !important; color: #E8C766 !important; transform: translateY(-2px);
}

/* Row 2: nav bar on a soft surface, centered menu + search on the right */
.header-sec-top { padding: 0 !important; }
.home-page-header .main-topbar + .row,
.main-header .container > .main-topbar ~ .row {
  border-top: 1px solid #EDEDED;
}
#site-navigation .main-menu ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px; margin: 0; padding: 0; list-style: none;
}
#site-navigation .main-menu ul li { list-style: none; }
#site-navigation .main-menu ul li a {
  position: relative;
  display: inline-block;
  padding: 16px 18px !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1c1c1c !important;
  background: transparent !important;
}
#site-navigation .main-menu ul li a::after {
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: 10px;
  height: 2px; background: #C9A227;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
#site-navigation .main-menu ul li a:hover::after,
#site-navigation .main-menu ul li.current_page_item a::after { transform: scaleX(1); }
#site-navigation .main-menu ul li a:hover { color: #9A7B1E !important; }

/* Search icon: match the brand instead of loud orange */
.home-page-header .search-box i,
.home-page-header .search-box a i {
  background: #141414 !important; color: #E8C766 !important;
  width: 40px; height: 40px; line-height: 40px; text-align: center;
  border-radius: 10px; transition: all .2s ease;
}
.home-page-header .search-box i:hover { background: #C9A227 !important; color: #141414 !important; }

/* Logo plaque: a touch tighter, aligned left on desktop */
.logo.text-center { text-align: left; }
@media (max-width: 991px){ .logo.text-center { text-align: center; } }

/* Thin gold hairline under the whole header instead of thick border */
header[role="banner"] .home-page-header { border-bottom: 2px solid #C9A227; }

/* Mobile: stack neatly, center everything */
@media (max-width: 767px) {
  .contact-info > .row { justify-content: center; }
  .contact-info .phone-number { text-align: center !important; margin-bottom: 8px; }
  #site-navigation .main-menu ul li a { padding: 12px 12px !important; letter-spacing: .08em; }
}

/* --- Row 2 (nav + search): clean single-line layout --- */
.main-header .main-topbar > .container > .row:last-child,
.main-header .main-topbar > .row:last-child {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
}
/* nav column takes available space, menu centered within */
.header-sec-top {
  flex: 1 1 auto !important;
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
}
/* kill the empty spacer column (has a stray space, so :empty won't catch) */
/* hide only the empty spacer col that sits as a sibling of the nav (.header-sec-top) */
.header-sec-top ~ div.col-xxl-2 { display: none !important; }
/* search column: natural width, right side */
.main-header .main-topbar > .container > .row:last-child > div.col-xxl-1,
.main-header .main-topbar > .row:last-child > div.col-xxl-1 {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 !important;
  display: flex; align-items: center;
}
#header.text-center { display: flex; align-items: center; justify-content: center; }
#site-navigation .main-menu ul { flex-wrap: nowrap; }

@media (max-width: 767px){
  .main-header .main-topbar .row:last-child { flex-wrap: wrap !important; justify-content: center !important; }
  #site-navigation .main-menu ul { flex-wrap: wrap; }
  .main-header .main-topbar > .container > .row:last-child > div.col-xxl-1,
.main-header .main-topbar > .row:last-child > div.col-xxl-1 { margin-top: 6px; }
}

/* --- Precise fix: contact-info row (call + socials) grouped on the right --- */
.home-page-header .contact-info > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  margin: 0 !important;
}
.home-page-header .contact-info .phone-number,
.home-page-header .contact-info .topbar-social-icon {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 !important;
}
.home-page-header .contact-info .phone-number { order: 1; }
.home-page-header .contact-info .topbar-social-icon { order: 2; }
