/* ==================================================
   DESKTOP SIDEBAR
================================================== */
.hero-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: var(--hero-color);
  color: white;
  z-index: 500;
}
.hero-sidebar-content {
  padding: 1.5rem;
}
/* ==================================================
   TITEL
================================================== */
.hero-sidebar-content h1 {
  font-size: 1.8rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.hero-sidebar-subtitle {
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.9;
}
/* ==================================================
   MENÜ
================================================== */
.hero-sidebar-product-menu {
  display: flex;
  flex-direction: column;
}
.hero-sidebar-menu-section a.active {
  border-left: 4px solid var(--hero-color-active);
  border-radius: 6px;
  color: var(--hero-color-active);
  padding-left: 8px;
  font-weight: bold;
}
.hero-sidebar-menu-headline {
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0.75rem 0;
  opacity: 0.85;
}
.hero-sidebar-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 1rem 0;
}
/* ==================================================
   LINKS
================================================== */
.hero-sidebar-product-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.5rem 0;
  line-height: 1.4;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.hero-sidebar-product-menu a:hover {
  opacity: 0.85;
  transform: translateX(3px);
}
/* ==================================================
   CTA
================================================== */
.hero-sidebar-menu-action {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-weight: bold;
}
/* ==================================================
   BUTTONS
================================================== */
.hero-sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.hero-sidebar-btn-primary,
.hero-sidebar-btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}
.hero-sidebar-btn-primary {
  background: white;
  color: var(--hero-color-button) !important;
  font-weight: bold;
}
.hero-sidebar-btn-secondary {
  background: var(--hero-color-button);
  border: 2px solid white;
  color: white !important;
}
/* ==================================================
   TABLET
================================================== */
@media (max-width: 1050px) {
  .hero-sidebar {
    position: relative;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .hero-sidebar-content {
    padding: 1.5rem;
  }
  .hero-sidebar-content h1 {
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .hero-sidebar-menu-headline {
    font-size: 0.6rem;

    margin: 0.3rem 0;
  }
  .hero-sidebar-subtitle {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  .hero-sidebar-product-menu a {
    padding: 0.2rem 0;
    font-size: 0.85rem;
    line-height: 1.3;
  }
  .hero-sidebar-menu-section {
    margin: 0.1rem 0;
  }
  .hero-sidebar-menu-divider {
    margin: 0.3rem 0;
  }
  .hero-sidebar-buttons {
    flex-direction: row;
    margin: 0.3rem 0;
  }
}
/* ==================================================
   MOBILE
================================================== */
@media (max-width: 600px) {
  .hero-sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }
  .hero-sidebar-content {
    padding: 1rem;
  }
  .hero-sidebar-content h1 {
    font-size: 1.5rem;
  }
  .hero-sidebar-subtitle {
    font-size: 0.9rem;
  }
  .hero-sidebar-menu-section {
    margin: 0.1rem 0;
  }
  .hero-sidebar-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-sidebar-btn-primary,
  .hero-sidebar-btn-secondary {
    width: auto;
    flex: 1 1 calc(50% - 0.5rem);
  }
}
