/* === Corporate Colors === */
:root {
  --primary-black: #000000;
  --primary-gold: #DBAC5B;
  --primary-yellow: #FDD07A;
  --white: #FFFFFF;
}

/* === Global Button Styles === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  word-wrap: break-word;
}

/* === Shop and Info Buttons === */
.btn-info, .btn-outline-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

/* === Call-to-Action Buttons === */
.cta-btn, .more-info-btn, .discover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  word-wrap: break-word;
}

/* === Bootstrap Button Overrides === */
.btn-success, .btn-danger, .btn-info, .btn-light, .btn-dark,
.btn-outline-success, .btn-outline-danger, .btn-outline-info, .btn-outline-light, .btn-outline-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

/* === Button Size Overrides === */
.btn-sm, .btn-lg, .btn-xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

body, .frontpage-main {
  background: var(--white);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary-black);
}

/* === Hero Slider === */
.hero-caption {
  padding: 2rem 3rem; /* Mobile default */
}

@media (min-width: 768px) {
  .hero-caption {
    padding: 3rem 4rem; /* Desktop */
  }
}

.hero-slider .carousel-item img {
  object-fit: cover;
  height: 60vh;
  min-height: 350px;
  filter: brightness(0.85) saturate(1.1);
  border-radius: 0 0 2rem 2rem;
}
.hero-slider .carousel-caption {
  top: 20%;
  left: 8%;
  right: auto;
  text-align: left;

  border-radius: 1rem;
  padding: 2rem 2.5rem;
  max-width: 500px;
  
}
.hero-slider h1 {
  color: var(--primary-black);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero-slider .lead {
  color: var(--primary-gold);
  font-size: 1.3rem;
  font-weight: 500;
}
.hero-slider .btn-warning {
  background: var(--primary-gold);
  border: none;
  color: var(--primary-black);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(219,172,91,0.12);
  border-radius: 2rem;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.hero-slider .btn-warning:hover {
  background: var(--primary-yellow);
  color: var(--primary-black);
}
.hero-slider .btn-outline-light {
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  background: transparent;
  border-radius: 2rem;
  font-weight: 700;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.hero-slider .btn-outline-light:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
}

/* === Info Boxes === */
.info-boxes .info-box {
  background: #fff;
  border: 1.5px solid var(--primary-gold);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(219,172,91,0.07);
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.info-boxes .info-box:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(219,172,91,0.13);
  background: var(--primary-yellow);
}
.info-boxes .bg-warning {
  background: var(--primary-gold) !important;
  color: var(--primary-black) !important;
  border: none !important;
}

/* === Bestseller Cards === */
.bestseller .card {
  border: none;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.18s, box-shadow 0.18s;
}
.bestseller .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(219,172,91,0.13);
}
.bestseller-img {
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary-gold) 60%, var(--primary-yellow) 100%);
  color: var(--primary-black);
  font-size: 1.1rem;
  font-weight: 600;
}
.bestseller .btn-outline-dark {
  border-radius: 2rem;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.bestseller .btn-outline-dark:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
}

/* === USP Icons === */
.usp-icons .usp-icon {
  background: var(--primary-yellow);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 2px 8px rgba(219,172,91,0.10);
}
.usp-icons .fw-bold {
  color: var(--primary-gold);
  font-size: 1.1rem;
}

/* === Headline + Pic Section === */
.headline-pic h2 {
  color: var(--primary-gold);
  font-size: 2.2rem;
  font-weight: 800;
}
.headline-img {
  border-radius: 1.2rem;
  background: linear-gradient(135deg, var(--primary-yellow) 60%, var(--primary-gold) 100%);
  color: var(--primary-black);
  font-size: 1.2rem;
  font-weight: 600;
}
.headline-pic .btn-warning {
  background: var(--primary-gold);
  color: var(--primary-black);
  border-radius: 2rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.headline-pic .btn-warning:hover {
  background: var(--primary-yellow);
  color: var(--primary-black);
}

/* === Bundle/Category Carousel === */
.bundle-carousel .card {
  border: none;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.18s, box-shadow 0.18s;
}
.bundle-carousel .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(219,172,91,0.13);
}
.bundle-img {
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary-gold) 60%, var(--primary-yellow) 100%);
  color: var(--primary-black);
  font-size: 1.1rem;
  font-weight: 600;
}

/* === Review Carousel === */
.review-carousel .review-slider {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(219,172,91,0.07);
  padding: 2.5rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.review-carousel .display-6 {
  color: var(--primary-gold);
  font-size: 2.2rem;
}
.review-carousel blockquote {
  font-size: 1.2rem;
  color: var(--primary-black);
  font-style: italic;
}

/* === Community CTA === */
.community-cta {
  background: linear-gradient(90deg, var(--primary-gold) 60%, var(--primary-yellow) 100%);
  color: var(--primary-black);
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(219,172,91,0.07);
}
.community-cta .btn-warning {
  background: var(--primary-black);
  color: var(--primary-gold);
  border-radius: 2rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  border: none;
  margin-top: 1rem;
}
.community-cta .btn-warning:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
}

/* === Footer Nexora24-Style === */
.footer {
  background: #181818 !important;
  color: #DBAC5B !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 1.05rem;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
.footer-title {
  color: #FDD07A;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.footer-desc {
  color: #e0cfa0;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.footer-link {
  color: #DBAC5B !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
  font-size: 1.05rem;
  display: inline-block;
  margin-bottom: 0.2rem;
}
.footer-link:hover {
  color: #FDD07A !important;
}
.footer-contact {
  color: #e0cfa0;
  font-size: 1rem;
  line-height: 1.5;
}
.footer-links {
  gap: 0.2rem;
}
.footer img {
  height: 38px;
  width: auto;
  margin-bottom: 0.7rem;
}
.footer small {
  color: #FDD07A !important;
  font-size: 0.98rem;
}
@media (max-width: 991px) {
  .footer-title {
    font-size: 1rem;
  }
  .footer img {
    height: 28px;
  }
  .footer .row > div {
    margin-bottom: 1.2rem;
  }
}

/* === Community CTA Abstand zum Footer === */
.community-cta {
  margin-bottom: 0 !important;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .community-cta {
    border-radius: 1rem 1rem 0 0;
  }
}

/* === Header === */
#page-topbar {
  background: var(--primary-black) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-radius: 0 0 2rem 2rem;
}
.navbar-header .nav-link, .navbar-header .text-dark {
  color: var(--primary-gold) !important;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.navbar-header .nav-link:hover, .navbar-header .text-dark:hover {
  color: var(--primary-yellow) !important;
}
.navbar-header .navbar-brand-box img {
  filter: drop-shadow(0 2px 8px rgba(219,172,91,0.13));
}

/* === Mobile Nav === */
.fe-mobile-nav {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-bottom: 1px solid rgba(219, 172, 91, 0.2);
  border-radius: 0 0 1.2rem 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Ensure mobile nav is hidden on large screens */
@media (min-width: 1200px) {
  .fe-mobile-nav {
    display: none !important;
  }
}

/* Mobile Navigation Header mit Close Button */
.mobile-nav-header {
  position: relative;
  padding: 1rem 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(219, 172, 91, 0.15);
  margin-bottom: 0.5rem;
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 250, 250, 0.9) 100%);
  border: 1px solid rgba(219, 172, 91, 0.2);
  color: #2A2A2A;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-nav-close:hover {
  background: linear-gradient(135deg, rgba(219, 172, 91, 0.1) 0%, rgba(219, 172, 91, 0.05) 100%);
  border-color: rgba(219, 172, 91, 0.4);
  color: #DBAC5B;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(219, 172, 91, 0.15);
}

.mobile-nav-close:active {
  transform: scale(0.95);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fe-mobile-nav .fe-nav-link {
  color: #2A2A2A;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid rgba(219, 172, 91, 0.15);
  text-decoration: none;
  display: block;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.fe-mobile-nav .fe-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(219, 172, 91, 0.1) 0%, rgba(219, 172, 91, 0.05) 100%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.fe-mobile-nav .fe-nav-link:hover {
  color: #DBAC5B;
  text-decoration: none;
  transform: translateX(8px);
  background: rgba(219, 172, 91, 0.05);
}

.fe-mobile-nav .fe-nav-link:hover::before {
  width: 100%;
}

.fe-mobile-nav .fe-nav-link.active {
  color: #DBAC5B;
  background: linear-gradient(90deg, rgba(219, 172, 91, 0.1) 0%, rgba(219, 172, 91, 0.05) 100%);
  border-left: 3px solid #DBAC5B;
}

.fe-mobile-nav .fe-nav-link:last-child {
  border-bottom: none;
}

.fe-mobile-nav .fe-header-icon {
  color: #2A2A2A;
  font-size: 1.25rem;
  margin: 0 0.75rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.fe-mobile-nav .fe-header-icon:hover {
  color: #DBAC5B;
  background: rgba(219, 172, 91, 0.1);
  transform: scale(1.1);
}

/* Mobile Navigation Optimierungen */
.fe-mobile-nav .nav-item {
  margin: 0;
  padding: 0;
  text-align: center;
}

.fe-mobile-nav .nav-item:not(:last-child) {
  margin-bottom: 0;
}

.fe-mobile-nav .nav-item .nav-link {
  margin: 0 auto;
  border-radius: 0;
}

/* Mobile Navigation Container für zentrierte Ausrichtung */
.mobile-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-nav-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(219, 172, 91, 0.15);
  width: 100%;
}

/* Mobile Navigation Container Optimierungen */
#mobile-nav .nav-item {
  margin: 0;
  padding: 0;
  text-align: center;
}

#mobile-nav .nav-item:not(:last-child) {
  margin-bottom: 0;
}

#mobile-nav .nav-item .nav-link {
  margin: 0 auto;
  border-radius: 0;
  width: 100% !important;
  max-width: 100% !important;
}

/* Mobile Navigation Container für zentrierte Ausrichtung */
#mobile-nav .mobile-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem 1.5rem;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
}

/* Hauptnavigation Container */
#mobile-nav .nav.flex-column.text-center {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  position: relative;
}

/* Zusätzliche Overflow-Korrekturen */
#mobile-nav .nav.flex-column.text-center .nav-item {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

#mobile-nav .nav.flex-column.text-center .nav-link {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

/* Mobile Navigation Overflow-Schutz */
#mobile-nav {
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}

/* Mobile Dropdown Z-Index Management */
#mobile-nav .dropdown-menu {
  z-index: 9999 !important;
  position: relative !important;
}

#mobile-nav .language-selector-mobile .dropdown-menu {
  z-index: 9999 !important;
  position: static !important;
  transform: none !important;
}

#mobile-nav * {
  box-sizing: border-box !important;
}

/* Spezifische Overflow-Korrekturen */
#mobile-nav .nav-item {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

#mobile-nav .nav-link {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  word-wrap: break-word !important;
  white-space: normal !important;
}

/* Container-Breite korrigieren */
#mobile-nav .mobile-nav-container {
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

#mobile-nav .mobile-nav-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(219, 172, 91, 0.15);
  width: 100%;
}

/* Bootstrap-Überschreibungen für mobile Navigation */
#mobile-nav .nav {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mobile-nav .nav-item {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mobile-nav .nav.flex-column {
  width: 100% !important;
  max-width: 100% !important;
}

#mobile-nav .text-center {
  width: 100% !important;
  max-width: 100% !important;
}

/* Mobile Navigation Scrollbar Styling */
.fe-mobile-nav::-webkit-scrollbar,
#mobile-nav::-webkit-scrollbar {
  width: 6px;
}

.fe-mobile-nav::-webkit-scrollbar-track,
#mobile-nav::-webkit-scrollbar-track {
  background: rgba(219, 172, 91, 0.1);
  border-radius: 3px;
}

.fe-mobile-nav::-webkit-scrollbar-thumb,
#mobile-nav::-webkit-scrollbar-thumb {
  background: rgba(219, 172, 91, 0.3);
  border-radius: 3px;
}

.fe-mobile-nav::-webkit-scrollbar-thumb:hover,
#mobile-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(219, 172, 91, 0.5);
}

/* Mobile Navigation Responsive Anpassungen */
@media (max-width: 480px) {
  .fe-mobile-nav .fe-nav-link,
  #mobile-nav .nav-link {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    max-width: 100%;
  }
  
  .fe-mobile-nav .fe-header-icon,
  #mobile-nav .fe-header-icon {
    font-size: 1.15rem;
    margin: 0 0.5rem;
    padding: 0.4rem;
  }
  
  .fe-burger {
    font-size: 1.5rem;
    padding: 0.6rem;
    min-width: 44px;
    min-height: 44px;
  }
  
  .mobile-nav-container,
  #mobile-nav .mobile-nav-container {
    max-width: 100%;
    padding: 0 0.75rem 1.25rem;
  }
  
  .mobile-nav-header {
    padding: 0.75rem 1.25rem 0.5rem;
  }
  
  .mobile-nav-close {
    top: 0.75rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* Mobile Navigation Touch Optimierungen */
@media (hover: none) and (pointer: coarse) {
  .fe-mobile-nav .fe-nav-link:hover,
  #mobile-nav .nav-link:hover {
    transform: none;
  }
  
  .fe-mobile-nav .fe-nav-link:active,
  #mobile-nav .nav-link:active {
    transform: translateX(4px);
    background: rgba(219, 172, 91, 0.1);
  }
  
  .fe-burger:active {
    transform: scale(0.9);
  }
}

/* Mobile Burger Button Styling */
.fe-burger {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 250, 250, 0.9) 100%);
  border: 1px solid rgba(219, 172, 91, 0.2);
  color: #2A2A2A;
  font-size: 1.75rem;
  margin-left: 0.5rem;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Button ausblenden wenn Menü geöffnet ist */
.fe-burger.menu-open {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.fe-burger:hover {
  color: #DBAC5B;
  background: linear-gradient(135deg, rgba(219, 172, 91, 0.1) 0%, rgba(219, 172, 91, 0.05) 100%);
  border-color: rgba(219, 172, 91, 0.4);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(219, 172, 91, 0.15);
}

.fe-burger:active {
  transform: scale(0.95);
}

.fe-burger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(219, 172, 91, 0.25);
}

/* Mobile Navigation Container */
#mobile-nav {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-bottom: 1px solid rgba(219, 172, 91, 0.2);
  border-radius: 0 0 1.2rem 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-nav .nav-link {
  color: #2A2A2A !important;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem !important;
  border-bottom: 1px solid rgba(219, 172, 91, 0.15);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  display: block !important;
}

#mobile-nav .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(219, 172, 91, 0.1) 0%, rgba(219, 172, 91, 0.05) 100%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

#mobile-nav .nav-link:hover {
  color: #DBAC5B !important;
  text-decoration: none;
  transform: translateX(8px);
  background: rgba(219, 172, 91, 0.05);
}

#mobile-nav .nav-link:hover::before {
  width: 100%;
}

#mobile-nav .nav-link.active {
  color: #DBAC5B !important;
  background: linear-gradient(90deg, rgba(219, 172, 91, 0.1) 0%, rgba(219, 172, 91, 0.05) 100%);
  border-left: 3px solid #DBAC5B;
}

#mobile-nav .nav-link:last-child {
  border-bottom: none;
}

#mobile-nav .fe-header-icon {
  color: #000;
  font-size: 1.35rem;
  margin: 0 0.5rem;
  text-decoration: none;
}

#mobile-nav .fe-header-icon:hover {
  color: #DBAC5B;
}

/* Zusätzliche mobile Optimierungen */
@media (max-width: 767px) {
  #mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }
  
  #mobile-nav .nav {
    padding-top: 4rem;
    height: 100%;
    justify-content: center;
  }
  
  #mobile-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  #mobile-nav .nav-link {
    font-size: 1.25rem;
    padding: 0.5rem 0;
  }
  
  .fe-burger {
    z-index: 1001;
    position: relative;
  }
}

/* === Responsive Tweaks === */
@media (max-width: 991px) {
  .hero-slider .carousel-caption {
    top: 10%;
    padding: 1.2rem 1.2rem;
    max-width: 90vw;
  }
  .bestseller-img, .bundle-img, .headline-img {
    height: 120px !important;
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
  .hero-slider .carousel-caption {
    top: 5%;
    padding: 0.7rem 0.7rem;
    max-width: 98vw;
  }
  .bestseller-img, .bundle-img, .headline-img {
    height: 80px !important;
    font-size: 0.95rem;
  }
  .footer {
    border-radius: 1rem 1rem 0 0;
    font-size: 0.98rem;
  }
  .footer img {
    height: 28px;
  }
}

/* === Header & Ticker === */
.header-ticker {
  background: #FDD07A;
  color: #000;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #f3e2b0;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fe-header {
  background: #fff;
  border-bottom: 1.5px solid #f3e2b0;
  z-index: 100;
  position: relative;
}

.fe-header .row {
  align-items: center;
  justify-content: space-between;
}

.fe-header .col-auto {
  display: flex;
  align-items: center;
}
.fe-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.fe-logo img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  object-position: center;
}
.fe-nav-main {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  gap: 0.5rem;
}
.fe-nav-link {
  color: #000;
  text-decoration: none;
  padding: 0 0.2rem;
  transition: color 0.18s;
  font-weight: 600;
}
.fe-nav-link:hover {
  color: #DBAC5B;
}
.fe-nav-sep {
  color: #DBAC5B;
  font-weight: 700;
  padding: 0 0.2rem;
  font-size: 1.1em;
  user-select: none;
}
.fe-header-icons {
  justify-content: flex-end;
  min-width: 100px;
}
.fe-header-icon {
  color: #000;
  margin-left: 0.5rem;
  margin-right: 0.1rem;
  font-size: 1.35rem;
  transition: color 0.18s;
  display: inline-flex;
  align-items: center;
}
.fe-header-icon:hover {
  color: #DBAC5B;
}

@media (max-width: 1199px) {
  .fe-nav-main {
    font-size: 1rem;
    gap: 0.2rem;
  }
  .fe-header-icons .fe-header-icon {
    font-size: 1.2rem;
    margin-left: 0.5rem;
  }
  .fe-logo {
    height: 44px !important;
    display: flex;
    align-items: center;
  }
  .fe-logo img {
    height: 38px;
    max-width: 140px;
    object-fit: contain;
    object-position: center;
  }
}

/* Specific styles for tablet range (768-1200px) where hamburger menu is shown */
@media (min-width: 768px) and (max-width: 1199px) {
  .fe-header .row {
    justify-content: space-between;
  }
  
  .fe-header-icons {
    margin-left: auto;
    gap: 0.75rem;
  }
  
  /* Ensure proper spacing for tablet layout */
  .fe-header .col-auto:first-child {
    flex-shrink: 0;
  }
  
  .fe-header .col-auto:last-child {
    margin-left: auto;
  }
  
  /* Mobile/Tablet Icons and Burger styling */
  .fe-header .col-auto:last-child .fe-header-icon {
    font-size: 1.2rem;
    margin-left: 0.5rem;
  }
  
  .fe-header .col-auto:last-child .fe-burger {
    margin-left: 0.75rem;
  }
}
@media (max-width: 767px) {
  .fe-header {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .fe-logo {
    height: 40px !important;
    display: flex;
    align-items: center;
  }
  .fe-logo img {
    height: 36px;
    max-width: 120px;
    object-fit: contain;
    object-position: center;
  }
  
  /* Mobile Icons and Burger styling */
  .fe-header .col-auto:last-child {
    gap: 0.5rem !important;
  }
  
  .fe-header .col-auto:last-child .fe-header-icon {
    font-size: 1.2rem;
    margin-left: 0.3rem;
  }
  
  .fe-header .col-auto:last-child .fe-burger {
    margin-left: 0.5rem;
  }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 576px) {
  .fe-logo {
    height: 36px !important;
  }
  .fe-logo img {
    height: 32px;
    max-width: 100px;
  }
  .fe-header {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
}

/* === Hero Banner wie Scribble === */
.hero-slider {
  position: relative;
  min-height: 420px;
  background: #fff;
  overflow: hidden;
}
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slider .carousel-item img {
  height: 420px;
  min-height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 0 0 2rem 2rem;
}
.hero-slider .carousel-item img {
  display: none;
}
.hero-slider .carousel-item.active {
  background: url('/media/images/herobanner2.jpeg') center center/cover no-repeat;
}
.hero-slider .carousel-caption {
  position: absolute;
  top: 5%;
  left: 7%;
  right: auto;
  text-align: left;
  background: rgba(255,255,255,0);
  border-radius: 1.2rem;
  padding: 2.2rem 2.5rem 2.2rem 2.2rem;
  max-width: 50%;
  
  color: #000;
}
.hero-slider h1 {
  color: #000;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.7rem;
}
.hero-slider .lead {
  color: #2a2a2a;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.hero-slider .btn-warning {
  background: #DBAC5B;
  border: none;
  color: #000;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  margin-right: 0.7rem;
}
.hero-slider .btn-warning:hover {
  background: #FDD07A;
  color: #000;
}
.hero-slider .btn-outline-light {
  border: 2px solid #DBAC5B;
  color: #DBAC5B;
  background: transparent;
  border-radius: 2rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
}
.hero-slider .btn-outline-light:hover {
  background: #DBAC5B;
  color: #000;
}
@media (max-width: 991px) {
  .hero-slider .carousel-caption {
    top: 0%;
    left: 3%;
    padding: 1.2rem 1.2rem;
    max-width: 95vw;
  }
  .hero-slider, .hero-slider .carousel-inner, .hero-slider .carousel-item, .hero-slider .carousel-item img {
    height: 400px;
    min-height: 180px;
  }
  .hero-slider h1 {
    font-size: 1.5rem;
  }
  .hero-slider .lead {
    font-size: 1rem;
  }
}

/* === Fourth Era Design Spec Ergänzungen === */
:root {
  --fe-nav-bg: #FAF9F7;
  --fe-nav-link: #2D1F16;
  --fe-nav-link-hover: #A88764;
  --fe-nav-link-active: #A88764;
  --fe-nav-icon: #2D1F16;
  --fe-gold-gradient: linear-gradient(90deg, #E4C39D 0%, #B48858 100%);
  --fe-gold: #CDAE7F;
  --fe-body: #2A2A2A;
  --fe-headline: #2D1F16;
  --fe-section-bg1: #F2E5D5;
  --fe-section-bg2: #F4EDE7;
}

/* Purchase Options - Light Beige Background */
.purchase-options {
  background: var(--fe-section-bg1) !important;
}

/* Product Content Section - Light Beige Background */
.product-content-section {
  background: var(--fe-section-bg1) !important;
}

/* Review Cards and Product Cards - Light Beige Background */
.review-card, .product-card {
  background: var(--fe-section-bg1) !important;
}

/* Navigation */
.fe-header {
  
  border-bottom: 1.5px solid #f3e2b0;
}
.fe-nav-link {
  color: var(--fe-nav-link) !important;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.18s, text-decoration 0.18s;
}
.fe-nav-link:hover, .fe-nav-link.active {
  color: var(--fe-nav-link-hover) !important;
  text-decoration: underline;
}
.fe-header-icon {
  color: var(--fe-nav-icon) !important;
  stroke-width: 1.5px;
}

/* Primary Button */
.btn-warning, .btn.btn-warning, .btn-primary, .btn.btn-primary {
  background: var(--fe-gold-gradient) !important;
  color: #2A2A2A !important;
  border: none !important;
  border-radius: 7px !important;
  font-weight: bold;
  font-size: 1.08rem;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(180,136,88,0.10);
  transition: background 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.btn-warning:hover, .btn.btn-warning:hover, .btn-primary:hover, .btn.btn-primary:hover {
  background: linear-gradient(90deg, #B48858 0%, #E4C39D 100%) !important;
  box-shadow: 0 4px 16px rgba(180,136,88,0.18);
}

/* Secondary Button */
.btn-outline-dark, .btn.btn-outline-dark, .btn-secondary, .btn.btn-secondary {
  border: 1.5px solid var(--fe-gold);
  color: var(--fe-nav-link) !important;
  background: transparent !important;
  border-radius: 7px !important;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 12px 24px;
  transition: background 0.18s, color 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.btn-outline-dark:hover, .btn.btn-outline-dark:hover, .btn-secondary:hover, .btn.btn-secondary:hover {
  background: #F2E5D5 !important;
  color: var(--fe-gold) !important;
  text-decoration: underline;
}

/* Tertiary Link */
.fe-link-tertiary {
  color: #A88764;
  text-decoration: none;
  transition: text-decoration 0.18s;
}
.fe-link-tertiary:hover {
  text-decoration: underline;
}

/* Typografie */
h1, h2, h3, .fe-headline, .hero-headline, .headline-pic h2, .bestseller h2, .bundle-carousel h2, .review-carousel h2, .community-cta h2 {
  color: var(--fe-headline) !important;
  line-height: 1.15;
}
body, .fe-body, .fe-nav-link, .fe-header-icon, .lead, .mini-headline, .section-subline, .card-body, .footer, .footer-link {
  color: var(--fe-body);
  line-height: 1.6;
}

/* Cards (Product, Bundle, Info) */
.card, .bestseller .card, .bundle-carousel .card, .info-box, .headline-img, .bestseller-img, .bundle-img {
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(44,42,42,0.07);
}

/* Footer */
.footer {
  background: var(--fe-headline) !important;
  color: #FFFBF7 !important;
  border-radius: 0 !important;
}
.footer-top {
  background: var(--fe-gold-gradient) !important;
  color: #2D1F16 !important;
  padding: 12px 0;
}
.footer-link {
  color: #F8F4F0 !important;
  font-size: 1rem;
}

/* Ticker */
.header-ticker {
  background: var(--fe-gold-gradient) !important;
  color: #2D1F16 !important;
  font-size: 1rem;
  font-weight: 500;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E4C39D;
}
.header-ticker a {
  color: #A88764;
  text-decoration: none;
  font-weight: 500;
}
.header-ticker a:hover {
  text-decoration: underline;
}

/* Mobile: Hamburger, Tap-Spaces, Button full width */
@media (max-width: 1199px) {
  .fe-nav-main {
    font-size: 1rem;
    gap: 0.2rem;
  }
  .btn, .btn-lg, .btn-warning, .btn-primary, .btn-outline-dark, .btn-secondary {
    width: 100%;
    min-height: 44px;
    font-size: 1.08rem;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }
  
  /* Ensure proper button sizing on mobile */
  .btn-lg {
    min-height: 48px;
    font-size: 1.1rem;
  }
  
  /* Hero buttons specific mobile optimization */
  .hero-slider .btn-warning,
  .hero-slider .btn-outline-light {
    min-height: 50px;
    font-size: 1.1rem;
  }
  
  /* Ensure all buttons maintain proper centering on mobile */
  .btn, .btn-sm, .btn-lg, .btn-xl {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }
}

/* Additional mobile optimizations for smaller screens */
@media (max-width: 576px) {
  .btn, .btn-lg, .btn-warning, .btn-primary, .btn-outline-dark, .btn-secondary {
    min-height: 48px;
    font-size: 1rem;
    padding: 14px 0;
  }
  
  .hero-slider .btn-warning,
  .hero-slider .btn-outline-light {
    min-height: 52px;
    font-size: 1.1rem;
  }
}

/* Ensure smooth transitions between breakpoints */
.fe-header,
.fe-nav-main,
.fe-header-icons,
.fe-burger {
  transition: all 0.3s ease;
}

/* Mobile/Tablet Icons and Burger container styling */
.fe-header .col-auto:last-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Ensure proper icon sizing on all devices */
.fe-header .col-auto:last-child .fe-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: color 0.18s;
  text-decoration: none;
}

.fe-header .col-auto:last-child .fe-header-icon:hover {
  color: #DBAC5B;
}

/* Hamburger button styling */
.fe-header .col-auto:last-child .fe-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #000;
  transition: color 0.18s;
  padding: 0;
  cursor: pointer;
}

.fe-header .col-auto:last-child .fe-burger:hover {
  color: #DBAC5B;
}

/* Cart counter styling for mobile/tablet */
.fe-header .col-auto:last-child .cart-counter {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 10;
}

/* Ensure cart icon wrapper is properly positioned */
.fe-header .col-auto:last-child .cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* === Warenkorb-Styles === */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-sidebar.show {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cart-close:hover {
    background: #e9ecef;
    color: #333;
}

.cart-body {
    padding: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.9rem;
}

.cart-item-quantity {
    color: #666;
    font-size: 0.85rem;
}

.cart-item-price {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: #dc3545;
    color: white;
}

.cart-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
}

.cart-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.cart-actions {
    display: flex;
    gap: 0.5rem;
}

.cart-actions .btn {
    flex: 1;
}

.cart-actions .btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-black);
}

.cart-actions .btn-primary:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #7B326E;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-icon-wrapper {
    position: relative;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Loading animation */
.cart-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Warenkorb-Button in Produktkarten */
.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-black);
}

.btn-primary:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* SweetAlert2 Anpassungen für Markenfarben */
.swal2-popup {
    border-radius: 12px;
}

.swal2-confirm {
    background-color: var(--primary-gold) !important;
    color: var(--primary-black) !important;
}

.swal2-confirm:hover {
    background-color: var(--primary-yellow) !important;
    color: var(--primary-black) !important;
}

.swal2-cancel {
    background-color: #6c757d !important;
}

.swal2-cancel:hover {
    background-color: #5a6268 !important;
}
