/*
Theme Name:     Hello-biz-child
Theme URI:      
Description:    Hello-biz child theme with local fonts & Stitch typography.
Author:         Me
Author URI:     
Template:       hello-biz
Version:        0.1.0
*/

@import url('fonts/fonts.css');

/* ==========================================================================
   Global Typography Defaults (Stitch: Himmelblau · Viet 18)
   ========================================================================== */
:root {
  --font-headline: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 300;
  color: var(--e-global-color-text, #e5e2e1);
  background-color: var(--e-global-color-custom1, #0d0d0d);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Body / Text */
p,
li,
blockquote,
.elementor-widget-text-editor,
.elementor-text-editor {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

/* Buttons, Nav, Labels */
button,
.elementor-button,
.site-navigation a,
.site-title a,
.nav-item,
.header-ghost-button {
  font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Top Info / Noti Bar (Stitch Himmelblau Viet 18)
   ========================================================================== */
.site-noti-bar {
  background-color: #1a1a1a !important;
  color: #c4c7c7 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11.5px !important;
  letter-spacing: 0.05em !important;
  padding: 9px 40px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
}

.noti-bar-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1400px !important;
}

.noti-bar-info {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  color: #c4c7c7 !important;
}

.noti-bar-info a {
  color: #c4c7c7 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.noti-bar-info a:hover {
  color: #ffffff !important;
}

.noti-divider {
  opacity: 0.35;
  font-size: 8px;
}

.noti-bar-actions {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
}

.noti-icon {
  color: #c4c7c7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  text-decoration: none !important;
}

.noti-icon:hover {
  color: #ffffff !important;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .site-noti-bar {
    display: none !important;
  }
}

/* ==========================================================================
   Stitch TopNavBar Header
   ========================================================================== */
#site-header,
.site-header {
  background-color: #131313 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0 40px !important;
  height: 80px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

.header-left-slot {
  display: flex;
  align-items: center;
  justify-self: start;
}

.header-right-slot {
  display: flex;
  align-items: center;
  justify-self: end;
}

.header-nav-left {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-item {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: #c4c7c7 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff !important;
}

.nav-item.active {
  border-bottom: 1px solid #ffffff;
}

.site-header .site-branding,
#site-header .site-branding {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  justify-self: center !important;
  text-align: center !important;
  position: static !important;
  transform: none !important;
}

.site-header .site-title,
#site-header .site-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.site-header .site-title a,
#site-header .site-title a {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  margin-right: -0.22em !important; /* optically exact center cancel */
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  transition: color 0.3s ease, opacity 0.3s ease !important;
}

.site-header .site-title a:hover {
  opacity: 0.8;
}

.header-ghost-button {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  padding: 8px 18px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block;
  white-space: nowrap;
}

.header-ghost-button:hover {
  background-color: #ffffff !important;
  color: #0d0d0d !important;
  border-color: #ffffff !important;
}

/* Screen reader skip link */
.skip-link {
  font-family: 'Montserrat', sans-serif !important;
}

/* Mobile & Tablet Header Controls */
.mobile-phone-btn,
.mobile-menu-toggle {
  display: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
  padding: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.mobile-phone-btn:hover,
.mobile-phone-btn:focus,
.mobile-phone-btn:active,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
button.mobile-menu-toggle:hover,
button.mobile-menu-toggle:focus,
#mobile-menu-toggle:hover,
#mobile-menu-toggle:focus {
  background: transparent !important;
  background-color: transparent !important;
  color: #c4c7c7 !important;
  outline: none !important;
  box-shadow: none !important;
  transform: scale(1.05);
}

/* Tablet & Mobile Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  #site-header,
  .site-header {
    padding: 0 20px !important;
    height: 70px !important;
  }
  .header-left-slot,
  .header-nav-left,
  .header-nav-right {
    display: none !important;
  }
  .site-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  .site-header .site-branding,
  #site-header .site-branding {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: auto !important;
    text-align: left !important;
  }
  .site-header .site-title,
  #site-header .site-title {
    text-align: left !important;
    margin: 0 !important;
  }
  .site-header .site-title a,
  #site-header .site-title a {
    text-align: left !important;
    font-size: 13px !important;
    letter-spacing: 0.18em !important;
    margin-right: -0.18em !important;
    display: inline-block !important;
  }
  .header-right-slot {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
  }
  .mobile-menu-toggle,
  button.mobile-menu-toggle,
  #mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 480px) {
  #site-header,
  .site-header {
    padding: 0 16px !important;
    height: 64px !important;
  }
  .site-header .site-title a,
  #site-header .site-title a {
    font-size: 11.5px !important;
    letter-spacing: 0.14em !important;
    margin-right: -0.14em !important;
  }
}

/* ==========================================================================
   Off-Canvas Navigation Drawer
   ========================================================================== */
.site-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s ease;
}

.site-offcanvas.is-open {
  visibility: visible;
  pointer-events: auto;
}

.offcanvas-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-offcanvas.is-open .offcanvas-backdrop {
  opacity: 1;
}

.offcanvas-sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 380px);
  background-color: #0d0d0d;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px 36px 32px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-offcanvas.is-open .offcanvas-sheet {
  transform: translateX(0);
}

body.offcanvas-open {
  overflow: hidden !important;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ==========================================================================
   Global Button Reset (Eliminates Hello-Biz theme default magenta #c36)
   ========================================================================== */
button,
[type="button"],
[type="submit"],
[type="reset"] {
  border-color: rgba(255, 255, 255, 0.4);
  color: inherit;
}

button:focus,
button:hover,
button:active,
button:focus-visible,
[type="button"]:focus,
[type="button"]:hover,
[type="button"]:active,
[type="button"]:focus-visible {
  background-color: transparent !important;
  color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Off-Canvas Close Button (Always clean, transparent, no pink background) */
.offcanvas-close,
button.offcanvas-close,
#offcanvas-close {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #c4c7c7 !important;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.offcanvas-close:hover,
.offcanvas-close:focus,
.offcanvas-close:active,
.offcanvas-close:focus-visible,
button.offcanvas-close:hover,
button.offcanvas-close:focus,
button.offcanvas-close:active,
#offcanvas-close:hover,
#offcanvas-close:focus,
#offcanvas-close:active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  transform: scale(1.1);
}

.offcanvas-nav {
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  gap: 2px;
}

.offcanvas-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c4c7c7;
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.offcanvas-link:hover,
.offcanvas-link.active {
  color: #ffffff;
  padding-left: 6px;
}

.offcanvas-cta-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
  margin-top: 24px;
  transition: all 0.3s ease;
  display: block;
}

.offcanvas-cta-button:hover {
  background-color: #ffffff;
  color: #0d0d0d;
}

.offcanvas-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offcanvas-info p {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #8e9192;
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.offcanvas-info a {
  color: #c4c7c7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.offcanvas-info a:hover {
  color: #ffffff;
}

.offcanvas-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.offcanvas-socials a {
  color: #c4c7c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.offcanvas-socials a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* ==========================================================================
   Images & Gallery: Entrance Animations & Effects
   (Fade-up with staggered wave delay nur bei Bildern & 1.05 hover zoom)
   ========================================================================== */
@keyframes hbFadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.elementor-widget-image-gallery .gallery-item {
  animation: hbFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: hidden;
  border-radius: 4px;
}

/* Staggered wave delay nur bei Bildern: 100ms -> 200ms -> 300ms */
.elementor-widget-image-gallery .gallery-columns-3 .gallery-item:nth-child(3n+1) {
  animation-delay: 0.1s;
}

.elementor-widget-image-gallery .gallery-columns-3 .gallery-item:nth-child(3n+2) {
  animation-delay: 0.2s;
}

.elementor-widget-image-gallery .gallery-columns-3 .gallery-item:nth-child(3n+3) {
  animation-delay: 0.3s;
}

@media (max-width: 600px) {
  .elementor-widget-image-gallery .gallery-columns-3 .gallery-item:nth-child(n) {
    animation-delay: 0.08s;
  }
}

/* Responsive Masonry auf sm / Mobilgeräten (füllt Lücken automatisch) */
@media (max-width: 768px) {
  .elementor-widget-image-gallery .gallery.gallery-columns-3 {
    display: block !important;
    column-count: 2 !important;
    column-gap: 12px !important;
    margin: 0 !important;
  }
  .elementor-widget-image-gallery .gallery.gallery-columns-3 .gallery-item {
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    vertical-align: top;
  }
  .elementor-widget-image-gallery .gallery.gallery-columns-3 .gallery-item img {
    height: auto !important;
  }
}


/* Image hover zoom (langsamer, eleganter Zoom) */
.elementor-widget-image-gallery .gallery-item {
  overflow: hidden;
  border-radius: 4px;
}

.elementor-widget-image-gallery .gallery-item .gallery-icon {
  overflow: hidden;
  display: block;
}

.elementor-widget-image-gallery .gallery-item img {
  transition: transform 1.4s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.elementor-widget-image-gallery .gallery-item:hover img {
  transform: scale(1.07);
}

/* Single image hover zoom (Über uns / Philosophie) */
.elementor-element-hb18vig img {
  transition: transform 1.2s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  border-radius: 4px;
  will-change: transform;
}

.elementor-element-hb18vig:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Hero Section: Schnelle, dynamische Entrance-Animation
   ========================================================================== */
.elementor-element-hb18her .animated {
  animation-duration: 0.45s !important;
}

/* ==========================================================================
   Section 2 (Teaser Cards): Background Images & Card Fade-in
   ========================================================================== */
.elementor-element-hb18ed1,
.elementor-element-hb18ed2,
.elementor-element-hb18ed3 {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  will-change: opacity, transform;
}

.elementor-element-hb18ed1.is-visible,
.elementor-element-hb18ed2.is-visible,
.elementor-element-hb18ed3.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Hover Effect: Elegant lift, multi-layer shadow, overlay depth */
.elementor-element-hb18ed1.is-visible:hover,
.elementor-element-hb18ed2.is-visible:hover,
.elementor-element-hb18ed3.is-visible:hover {
  transform: translate3d(0, -10px, 0) scale(1.015) !important;
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.45), 0 0 20px rgba(26, 92, 67, 0.2) !important;
  transition-delay: 0s !important;
}

html[data-theme="light"] .elementor-element-hb18ed1.is-visible:hover,
html[data-theme="light"] .elementor-element-hb18ed2.is-visible:hover,
html[data-theme="light"] .elementor-element-hb18ed3.is-visible:hover {
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.22), 0 0 20px rgba(26, 92, 67, 0.15) !important;
}

/* Smooth title lift inside card on hover */
.elementor-element-hb18ed1 .elementor-widget-heading,
.elementor-element-hb18ed2 .elementor-widget-heading,
.elementor-element-hb18ed3 .elementor-widget-heading {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.4s ease !important;
}

.elementor-element-hb18ed1:hover .elementor-widget-heading,
.elementor-element-hb18ed2:hover .elementor-widget-heading,
.elementor-element-hb18ed3:hover .elementor-widget-heading {
  transform: translateY(-4px);
}

.elementor-element-hb18ed1:hover .elementor-heading-title,
.elementor-element-hb18ed2:hover .elementor-heading-title,
.elementor-element-hb18ed3:hover .elementor-heading-title {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

/* Subtitle letter-spacing expansion on hover */
.elementor-element-hb18e1_sub .elementor-heading-title,
.elementor-element-hb18e2_sub .elementor-heading-title,
.elementor-element-hb18e3_sub .elementor-heading-title {
  transition: letter-spacing 0.4s ease, color 0.4s ease !important;
}

.elementor-element-hb18ed1:hover .elementor-element-hb18e1_sub .elementor-heading-title,
.elementor-element-hb18ed2:hover .elementor-element-hb18e2_sub .elementor-heading-title,
.elementor-element-hb18ed3:hover .elementor-element-hb18e3_sub .elementor-heading-title {
  letter-spacing: 0.48em !important;
}

/* Subtle overlay depth enhancement on hover */
.elementor-element-hb18ed1::before,
.elementor-element-hb18ed2::before,
.elementor-element-hb18ed3::before {
  transition: opacity 0.45s ease !important;
}

.elementor-element-hb18ed1:hover::before,
.elementor-element-hb18ed2:hover::before,
.elementor-element-hb18ed3:hover::before {
  opacity: 0.85 !important;
}

/* Staggered wave delay bei initialem Scroll Fade-in: Card 1 -> Card 2 -> Card 3 */
.elementor-element-hb18ed1.is-visible:not(:hover) {
  transition-delay: 0.1s !important;
}

.elementor-element-hb18ed2.is-visible:not(:hover) {
  transition-delay: 0.2s !important;
}

.elementor-element-hb18ed3.is-visible:not(:hover) {
  transition-delay: 0.3s !important;
}

@media (max-width: 768px) {
  .elementor-element-hb18ed1.is-visible:not(:hover),
  .elementor-element-hb18ed2.is-visible:not(:hover),
  .elementor-element-hb18ed3.is-visible:not(:hover) {
    transition-delay: 0.05s !important;
  }
}

/* ==========================================================================
   Theme Toggle Button & Light Mode System
   ========================================================================== */

/* Toggle Button Styling */
.theme-toggle-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 50% !important;
  color: #c4c7c7 !important;
  cursor: pointer !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 12px !important;
  padding: 0 !important;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  flex-shrink: 0 !important;
}

.theme-toggle-btn:hover {
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: scale(1.08);
}

.offcanvas-theme-toggle {
  margin-left: 0 !important;
}

/* Icon visibility */
html:not([data-theme="light"]) .theme-icon-moon {
  display: none !important;
}
html:not([data-theme="light"]) .theme-icon-sun {
  display: block !important;
}

html[data-theme="light"] .theme-icon-sun {
  display: none !important;
}
html[data-theme="light"] .theme-icon-moon {
  display: block !important;
}

/* --------------------------------------------------------------------------
   Color Design System  — 60-30-10 Rule
   ────────────────────────────────────────────────────────────────────────────
   60% = Neutral backgrounds & large surfaces (body, cards, sections)
   30% = Secondary UI layer (nav, subheadings, borders, muted text)
   10% = Primary accent: CTAs, active states, prices, interactive focus
   -------------------------------------------------------------------------- */

/* ── DARK MODE (default) ────────────────────────────────────────────────── */
/* Override primary to a luminous mint so it reads clearly on #0d0d0d canvas */
html:not([data-theme="light"]) {
  --e-global-color-primary: #4dba87;    /* 10% — Brighter jade mint, visible on dark */
}

/* Dark Mode: Ghost buttons have white borders, never green */
html:not([data-theme="light"]) .elementor-element-hb18h_btn .elementor-button,
html:not([data-theme="light"]) .elementor-element-hb18mbw .elementor-button,
html:not([data-theme="light"]) .elementor-element-hb18rbt .elementor-button {
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  background-color: transparent !important;
  transition: all 0.3s ease !important;
}

html:not([data-theme="light"]) .elementor-element-hb18h_btn .elementor-button:hover,
html:not([data-theme="light"]) .elementor-element-hb18mbw .elementor-button:hover,
html:not([data-theme="light"]) .elementor-element-hb18rbt .elementor-button:hover {
  background-color: #ffffff !important;
  color: #0d0d0d !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="light"] {
  color-scheme: light;
}

/* ── LIGHT MODE ─────────────────────────────────────────────────────────── */
html[data-theme="light"],
html[data-theme="light"] body {
  /* 60% — Dominant neutral canvas */
  --e-global-color-custom1: #fbfaf8;    /* Body / page background: warm ivory */
  --e-global-color-custom2: #ffffff;    /* Card / surface: pure white */
  --e-global-color-custom3: #f2f0ec;    /* Contrast surface: muted warm grey */

  /* 30% — Secondary layer: readable, low-key UI elements */
  --e-global-color-text:     #1b1c1a;   /* Body copy: near-black charcoal */
  --e-global-color-custom5:  #1b1c1a;   /* On-surface deep */
  --e-global-color-secondary: #5e6e66;  /* Secondary text / muted labels */
  --e-global-color-custom4:  #5e6e66;   /* Sage-slate: nav, subheadings */
  --e-global-color-accent:   #1b4d3e;   /* Accent: slightly deeper green for hover text */

  /* 10% — Primary accent: CTAs, active nav, prices, focus rings */
  --e-global-color-primary:  #1a5c43;   /* Jade-forest green — lighter than #003629 */
  --e-global-color-custom6:  #ffffff;   /* On-primary text: white */

  /* Supporting helper tokens */
  --hb-green-primary: #1a5c43;
  --hb-green-hover:   #135038;          /* Darker on hover for depth */
  --hb-green-light:   #e2f4eb;          /* 10% tint for hover backgrounds */
  --hb-green-border:  rgba(26, 92, 67, 0.14);

  color: var(--e-global-color-text) !important;
  background-color: var(--e-global-color-custom1) !important;
}

/* ==========================================================================
   Header & Navigation in Light Mode (Elementor Native Primary Green)
   ========================================================================== */
html[data-theme="light"] .site-noti-bar {
  background-color: #f2f0ec !important;
  color: #35403b !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

html[data-theme="light"] .noti-bar-info,
html[data-theme="light"] .noti-bar-info span,
html[data-theme="light"] .noti-bar-info a,
html[data-theme="light"] .site-noti-bar a,
html[data-theme="light"] .noti-icon {
  color: #35403b !important;
}

html[data-theme="light"] .noti-bar-info a:hover,
html[data-theme="light"] .site-noti-bar a:hover,
html[data-theme="light"] .noti-icon:hover {
  color: var(--e-global-color-primary) !important;
}

html[data-theme="light"] .noti-divider {
  color: #8a9690 !important;
  opacity: 0.6 !important;
}

html[data-theme="light"] #site-header,
html[data-theme="light"] .site-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(26, 92, 67, 0.08) !important;
}

html[data-theme="light"] #site-header .site-title a,
html[data-theme="light"] .site-header .site-title a,
html[data-theme="light"] .site-title a {
  color: var(--e-global-color-primary) !important;
}

html[data-theme="light"] .nav-item {
  color: #404945 !important;
}

html[data-theme="light"] .nav-item:hover {
  color: var(--e-global-color-primary) !important;
}

html[data-theme="light"] .nav-item.active {
  color: var(--e-global-color-primary) !important;
  border-bottom: 2px solid var(--e-global-color-primary) !important;
}

/* Primary Header CTA Button */
html[data-theme="light"] .header-ghost-button {
  background-color: var(--e-global-color-primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--e-global-color-primary) !important;
}

html[data-theme="light"] .header-ghost-button:hover {
  background-color: var(--hb-green-hover) !important;
  border-color: var(--hb-green-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(26, 92, 67, 0.2) !important;
}

/* Theme Toggle Button */
html[data-theme="light"] .theme-toggle-btn {
  border-color: rgba(26, 92, 67, 0.22) !important;
  color: var(--e-global-color-primary) !important;
  background-color: transparent !important;
}

html[data-theme="light"] .theme-toggle-btn:hover {
  background-color: var(--hb-green-light) !important;
  border-color: var(--e-global-color-primary) !important;
  color: var(--e-global-color-primary) !important;
}

html[data-theme="light"] .mobile-menu-toggle svg line {
  stroke: #111111 !important;
}

/* ==========================================================================
   Off-Canvas Drawer in Light Mode
   ========================================================================== */
html[data-theme="light"] .offcanvas-sheet {
  background-color: #ffffff !important;
  border-left-color: rgba(26, 92, 67, 0.1) !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .offcanvas-logo {
  color: var(--e-global-color-primary) !important;
}

html[data-theme="light"] .offcanvas-close svg {
  stroke: #111111 !important;
}

html[data-theme="light"] .offcanvas-link {
  color: #404945 !important;
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .offcanvas-link:hover,
html[data-theme="light"] .offcanvas-link.active {
  color: var(--e-global-color-primary) !important;
}

html[data-theme="light"] .offcanvas-cta-button {
  background-color: var(--e-global-color-primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--e-global-color-primary) !important;
}

html[data-theme="light"] .offcanvas-cta-button:hover {
  background-color: var(--hb-green-hover) !important;
  border-color: var(--hb-green-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(26, 92, 67, 0.2) !important;
}

html[data-theme="light"] .offcanvas-info p,
html[data-theme="light"] .offcanvas-info a,
html[data-theme="light"] .offcanvas-socials a {
  color: var(--e-global-color-custom4) !important;
}

html[data-theme="light"] .offcanvas-info a:hover,
html[data-theme="light"] .offcanvas-socials a:hover {
  color: var(--e-global-color-primary) !important;
}

/* ==========================================================================
   Primary Buttons in Light Mode (Elementor Native Primary Green)
   ========================================================================== */
html[data-theme="light"] .elementor-button,
html[data-theme="light"] .elementor-element-hb18h_btn .elementor-button,
html[data-theme="light"] .elementor-element-hb18mbw .elementor-button,
html[data-theme="light"] .elementor-element-hb18rbt .elementor-button {
  background-color: var(--e-global-color-primary) !important;
  color: #ffffff !important;
  border-color: var(--e-global-color-primary) !important;
  transition: all 0.25s ease !important;
}

html[data-theme="light"] .elementor-button:hover,
html[data-theme="light"] .elementor-element-hb18h_btn .elementor-button:hover,
html[data-theme="light"] .elementor-element-hb18mbw .elementor-button:hover,
html[data-theme="light"] .elementor-element-hb18rbt .elementor-button:hover {
  background-color: var(--hb-green-hover) !important;
  border-color: var(--hb-green-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(26, 92, 67, 0.25) !important;
}

/* Footer Link Buttons */
html[data-theme="light"] .elementor-element-hb18fd1 .elementor-button,
html[data-theme="light"] .elementor-element-hb18fd2 .elementor-button {
  background-color: transparent !important;
  color: var(--e-global-color-custom4) !important;
  border-color: transparent !important;
}

html[data-theme="light"] .elementor-element-hb18fd1 .elementor-button:hover,
html[data-theme="light"] .elementor-element-hb18fd2 .elementor-button:hover {
  color: var(--e-global-color-primary) !important;
}

/* ==========================================================================
   Section Containers: Mapping to Elementor Native Variables
   ========================================================================== */
html[data-theme="light"] #hero::before,
html[data-theme="light"] .elementor-element-hb18her::before {
  /* Dark cinematic gradient — opacity controlled by rgba, NOT by --overlay-opacity */
  opacity: 1 !important;
  background-image: linear-gradient(
    180deg,
    rgba(10, 12, 10, 0.78) 0%,
    rgba(10, 12, 10, 0.45) 100%
  ) !important;
  background-color: transparent !important;
}

/* Light Canvas Sections */
html[data-theme="light"] #about,
html[data-theme="light"] #ueber-uns,
html[data-theme="light"] .elementor-element-hb18edg,
html[data-theme="light"] #geschichte,
html[data-theme="light"] .elementor-element-hb18abt,
html[data-theme="light"] .elementor-element-hb18aqt,
html[data-theme="light"] .elementor-element-hb18arx,
html[data-theme="light"] #veranstaltungsraum,
html[data-theme="light"] .elementor-element-hb18vrs,
html[data-theme="light"] .elementor-element-hb18vtx,
html[data-theme="light"] .elementor-element-hb18vim,
html[data-theme="light"] #natur,
html[data-theme="light"] .elementor-element-hb18nat {
  background-color: var(--e-global-color-custom1) !important;
}

/* Contrast Surface Sections */
html[data-theme="light"] #menu,
html[data-theme="light"] .elementor-element-hb18mnu,
html[data-theme="light"] .elementor-element-hb18mit,
html[data-theme="light"] #feiern,
html[data-theme="light"] .elementor-element-hb18fei,
html[data-theme="light"] #galerie,
html[data-theme="light"] .elementor-element-hb18gal,
html[data-theme="light"] #reservieren,
html[data-theme="light"] #kontakt,
html[data-theme="light"] .elementor-element-hb18res,
html[data-theme="light"] .elementor-element-hb18roh,
html[data-theme="light"] .elementor-element-hb18rct {
  background-color: var(--e-global-color-custom3) !important;
  border-color: rgba(26, 92, 67, 0.08) !important;
}

/* Reservation & Contact Section: Seamless 50/50 split layout without unwanted gaps/margins */
.elementor-element-hb18res {
  padding: 0 !important;
  gap: 0 !important;
  --gap: 0px 0px !important;
}

html[data-theme="light"] .elementor-element-hb18roh {
  border-right: 1px solid rgba(26, 92, 67, 0.08) !important;
}

@media (max-width: 767px) {
  html[data-theme="light"] .elementor-element-hb18roh {
    border-right: none !important;
    border-bottom: 1px solid rgba(26, 92, 67, 0.08) !important;
  }
}

/* Menu Items: Seamless typographic layout (transparent with subtle bottom border, no broken white boxes) */
html[data-theme="light"] .elementor-element-hb18mit,
html[data-theme="light"] .elementor-element-hb18mi1,
html[data-theme="light"] .elementor-element-hb18mi2,
html[data-theme="light"] .elementor-element-hb18mi3,
html[data-theme="light"] .elementor-element-hb18mi4,
html[data-theme="light"] .elementor-element-hb18md1,
html[data-theme="light"] .elementor-element-hb18md2,
html[data-theme="light"] .elementor-element-hb18md3,
html[data-theme="light"] .elementor-element-hb18md4,
html[data-theme="light"] .elementor-element-hb18mc1,
html[data-theme="light"] .elementor-element-hb18mc2,
html[data-theme="light"] .elementor-element-hb18mc3,
html[data-theme="light"] .elementor-element-hb18mc4 {
  background-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .elementor-element-hb18mi1,
html[data-theme="light"] .elementor-element-hb18mi2,
html[data-theme="light"] .elementor-element-hb18mi3,
html[data-theme="light"] .elementor-element-hb18mi4 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.09) !important;
}

/* Feiern item borders */
html[data-theme="light"] .elementor-element-hb18fa1,
html[data-theme="light"] .elementor-element-hb18fa2,
html[data-theme="light"] .elementor-element-hb18fa3,
html[data-theme="light"] .elementor-element-hb18fa4,
html[data-theme="light"] .elementor-element-hb18fa5 {
  border-color: rgba(26, 92, 67, 0.1) !important;
}

/* Banner Overlay (EXKLUSIVE ATMOSPHÄRE) */
html[data-theme="light"] #atmosphaere::before,
html[data-theme="light"] .elementor-element-hb18bnr::before {
  opacity: 1 !important;
  background-color: rgba(10, 14, 12, 0.80) !important;
}

/* Dark Mode: Balanced cover overlay — restaurant photo and warm ambiance stay clearly visible */
html:not([data-theme="light"]) #hero::before,
html:not([data-theme="light"]) .elementor-element-hb18her::before {
  opacity: 1 !important;
  background-image: linear-gradient(
    90deg,
    rgba(10, 12, 11, 0.72) 0%,
    rgba(10, 12, 11, 0.55) 45%,
    rgba(10, 12, 11, 0.28) 100%
  ) !important;
  background-color: transparent !important;
}

html:not([data-theme="light"]) #atmosphaere::before,
html:not([data-theme="light"]) .elementor-element-hb18bnr::before {
  opacity: 1 !important;
  background-color: rgba(10, 14, 12, 0.58) !important;
}

/* Footer Container */
html[data-theme="light"] .elementor-element-hb18ftr,
html[data-theme="light"] .elementor-element-hb18ftn {
  background-color: #ece9e4 !important;
  border-color: rgba(26, 92, 67, 0.08) !important;
}

/* Ensure footer is positioned at the very bottom & remove theme footer gaps */
#site-footer,
.site-footer {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main,
.elementor-7 {
  flex: 1 0 auto;
}

/* ==========================================================================
   Section 2 Dark Photography Cards (Preserve Contrast)
   ========================================================================== */
html[data-theme="light"] .elementor-element-hb18ed1 .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18ed2 .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18ed3 .elementor-heading-title {
  color: #ffffff !important;
}

html[data-theme="light"] .elementor-element-hb18e1_sub .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18e2_sub .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18e3_sub .elementor-heading-title {
  color: #c4c7c7 !important;
}

/* ==========================================================================
   Cover Sections: White Text in Light Theme
   (Hero & Atmosphere Banner have dark photo covers — text must stay white)
   ========================================================================== */
html[data-theme="light"] #hero,
html[data-theme="light"] .elementor-element-hb18her,
html[data-theme="light"] #hero .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18her .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18h_tit .elementor-heading-title {
  color: #ffffff !important;
}

html[data-theme="light"] #hero .elementor-element-hb18h_desc,
html[data-theme="light"] #hero .elementor-element-hb18h_desc p,
html[data-theme="light"] .elementor-element-hb18her .elementor-text-editor,
html[data-theme="light"] .elementor-element-hb18her .elementor-text-editor p {
  color: rgba(255, 255, 255, 0.90) !important;
}

html[data-theme="light"] #atmosphaere,
html[data-theme="light"] .elementor-element-hb18bnr,
html[data-theme="light"] #atmosphaere .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18bnr .elementor-heading-title,
html[data-theme="light"] .elementor-element-hb18bn_tit .elementor-heading-title {
  color: #ffffff !important;
}

html[data-theme="light"] .elementor-element-hb18bn_sub .elementor-heading-title {
  color: rgba(255, 255, 255, 0.85) !important;
}






