/* ============================================= */
/* == GENTASTIC - PROFESSIONAL PRODUCT STYLES == */
/* ============================================= */
:root {
  --brand-color: #578765;
  --brand-color-light: #e9f9f5;
  --text-primary: #2c3e50;
  --text-secondary: #5a6a79;
  --bg-light: #f8f9fa;
  --border-color: #e9ecef;
}

/* === GLOBALE HELFER & LAYOUT === */
.section-bg-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.brand-turquoise {
  color: var(--brand-color);
}
.text-secondary {
  color: var(--text-secondary) !important;
}

/* === ALLGEMEINE SEKTIONEN-STILE === */
.section-title {
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--brand-color);
  border-radius: 2px;
}
.purchase-panel {
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-color);
  padding: 2.5rem;
  border-radius: 1rem;
  background-color: white;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
}
.highlight-panel {
  background-color: white;
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.02);
}

/* === BILDER & KARUSSELL === */
.carousel-fixed-height {
  aspect-ratio: 1 / 1;
  background-color: #f8f9fa;
}
.carousel-fixed-height .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.product-thumbnail {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.product-thumbnail:hover {
  border-color: var(--border-color);
}
.product-thumbnail.active {
  border-color: var(--brand-color);
  transform: scale(1.1);
}

/* === AKKORDEON FÜR FAQs etc. === */
.custom-accordion-v2 .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.custom-accordion-v2 .accordion-item:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.06);
}
.custom-accordion-v2 .accordion-header {
  margin: 0;
}
.custom-accordion-v2 .accordion-button {
  font-weight: 600;
  color: var(--text-primary);
  background-color: #fff;
  padding: 1.25rem 1.5rem;
}
.custom-accordion-v2 .accordion-button:not(.collapsed) {
  color: var(--text-primary);
  background-color: var(--brand-color-light);
  box-shadow: none;
}
.custom-accordion-v2 .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(32, 201, 151, 0.2);
}
.custom-accordion-v2 .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c3e50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.2s ease-in-out;
}
.custom-accordion-v2 .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}
.custom-accordion-v2 .accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  background-color: #fff;
  line-height: 1.7;
}

/* === ICON-BOXEN & KARTEN === */
.feature-icon-box {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--brand-color-light);
  color: var(--brand-color);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  height: 100%;
  width: 3px;
  background-color: var(--border-color);
  border-radius: 2px;
}
.timeline-step {
  position: relative;
  margin-left: 4rem;
  margin-bottom: 3rem;
}
.timeline-step:last-child {
  margin-bottom: 0;
}
.timeline-content {
  position: relative;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}
.icon-box-timeline {
  position: absolute;
  left: -4.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--brand-color);
  color: white;
  font-size: 1.25rem;
  border: 3px solid var(--bg-light);
}
.package-pills .nav-item {
  flex-grow: 1;
}
.package-pills .nav-link {
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  margin: 0 2px;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.package-pills .nav-link.active {
  color: #fff;
  background-color: var(--brand-color);
  border-color: var(--brand-color);
  box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}
.package-pills .badge {
  font-size: 0.65rem;
  padding: 0.3em 0.6em;
  vertical-align: middle;
}

/* === WARENKORB & NAV-EXTRAS === */
#cart-status {
  position: relative;
}
#cart-count-badge {
  font-size: 0.6rem;
  line-height: 1;
  padding: 0.25em 0.5em;
}

/* === ZUSÄTZLICHE STILE FÜR STANDARD-PRODUKTSEITE === */
.content-panel h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.content-panel .benefits-list {
  list-style: none;
  padding-left: 0;
}
.content-panel .benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.content-panel .benefits-list li .bi {
  color: var(--brand-color);
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}
.info-box {
  background-color: var(--brand-color-light);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
}
/* In Deiner globalen CSS-Datei oder in einem <style> am Seitenanfang */
.card-fixed-width {
  flex: 0 0 300px; /* fixe Breite von 300px */
  max-width: 300px; /* verhindert, dass sie breiter wird */
}

/* Dark mode overrides */
body.dark-mode .purchase-panel,
body.dark-mode .highlight-panel,
body.dark-mode .timeline-content,
body.dark-mode .info-box,
body.dark-mode .custom-accordion-v2 .accordion-item {
  background-color: var(--dark-surface);
  color: var(--text-light);
  border-color: var(--dark-border);
}
body.dark-mode .custom-accordion-v2 .accordion-button {
  color: var(--text-light);
  background-color: var(--dark-surface);
}
body.dark-mode .custom-accordion-v2 .accordion-button:not(.collapsed) {
  background-color: var(--brand-color);
  color: #fff;
}
body.dark-mode .feature-icon-box {
  background-color: var(--brand-color);
  color: #fff;
}
body.dark-mode .section-bg-light {
  background-color: var(--dark-bg);
  border-color: var(--dark-border);
}
body.dark-mode .package-pills .nav-link,
body.dark-mode .variant-pills .nav-link {
  background-color: var(--dark-surface);
  color: var(--text-light);
  border-color: var(--dark-border);
}
body.dark-mode .package-pills .nav-link.active,
body.dark-mode .variant-pills .nav-link.active {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
  color: #fff;
}
