/* ══════════════════════════════════════════════════════════════
   Innovall PDP Global Styles
   Served as static file — no webpack/PostCSS processing needed
   ══════════════════════════════════════════════════════════════ */

/* ── Neue Haas Unica — Self-hosted ─────────────────────────── */
@font-face {
  font-family: 'neue-haas-unica';
  src: url('/fonts/NeueHaasUnica-Light.woff2') format('woff2'),
       url('/fonts/NeueHaasUnica-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'neue-haas-unica';
  src: url('/fonts/NeueHaasUnica-Regular.woff2') format('woff2'),
       url('/fonts/NeueHaasUnica-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'neue-haas-unica';
  src: url('/fonts/NeueHaasUnica-Medium.woff2') format('woff2'),
       url('/fonts/NeueHaasUnica-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'neue-haas-unica';
  src: url('/fonts/NeueHaasUnica-Bold.woff2') format('woff2'),
       url('/fonts/NeueHaasUnica-Bold.woff') format('woff');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Variables ── */
:root {
  --innovall-primary:       #357a47;
  --innovall-dark:          #060118;
  --innovall-radius:        1rem;
  --bs-primary:             #357a47;
  --bs-primary-rgb:         53, 122, 71;
  --bs-secondary:           #060118;
  --bs-tertiary:            #c25613;
  --bs-success:             #c5c815;
  --bs-light:               #f7f7f3;
  --bs-dark:                #060118;
  --bs-body-font-family:    "neue-haas-unica", sans-serif;
  --bs-body-color:          #060118;
  --bs-body-bg:             #ffffff;
  --bs-border-color:        #bcc1c7;
  --bs-gutter-x:            48px;
  --bs-btn-border-radius:   100px;
  --bs-btn-padding-y:       0.875rem;
  --bs-btn-padding-x:       2rem;
  --bs-btn-font-size:       1rem;
  --bs-btn-font-weight:     600;
}

/* ── Base ── */
html, body {
  overflow-x: hidden;
}

body {
  font-family: "neue-haas-unica", sans-serif !important;
  font-weight: 400;
  color: #060118;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "neue-haas-unica", sans-serif;
  font-weight: 700;
  color: #060118;
}
h1 { letter-spacing: -0.28px; line-height: 1.1; }
h2 { letter-spacing: -0.54px; line-height: 1.3; margin-bottom: 1.25rem !important; }

.text-primary { color: #357a47 !important; }
.bg-primary   { background-color: #357a47 !important; }
.bg--dark     { background-color: #060118 !important; color: #fff; }
.bg--light    { background-color: #f7f7f3 !important; }

section { padding-top: 4rem; padding-bottom: 4rem; }

@media (min-width: 992px) {
  section { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (max-width: 991.98px) {
  section { padding-top: 3rem; padding-bottom: 3rem; }
  .hero-row { flex-direction: column; }
  body { padding-bottom: 80px; }
}

@media (max-width: 575.98px) {
  section { padding-top: 2rem; padding-bottom: 2rem; }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .main-image {
    max-height: 300px;
    padding: 0;
    border-radius: 0;
  }

  .thumbnail-btn img {
    width: 48px;
    height: 48px;
  }

  .problem-card,
  .quality-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .step-card {
    padding: 1.25rem;
  }

  .quote-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .price-box {
    padding: 1rem;
  }

  .variant-card {
    padding: 1rem;
  }

  .innovall-accordion-toggle {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 0.9375rem;
  }

  .innovall-accordion-toggle::after {
    right: 1rem;
  }

  .innovall-accordion-collapse > div {
    padding: 0 1.25rem 1.25rem;
  }

  .table {
    font-size: 0.8125rem;
  }

  .sticky-cta {
    padding: 0.75rem 1rem;
  }

  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.25rem; }
  h3, .h3 { font-size: 1.125rem; }
}

/* ── Buttons ── */
.btn {
  border-radius: 100px !important;
  padding: 0.875rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.2s ease !important;
}
.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.05rem !important;
}
.btn-primary {
  background-color: #357a47 !important;
  border-color: #357a47 !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #2d683c !important;
  border-color: #2d683c !important;
  color: #ffffff !important;
}
.btn-arrow::after {
  content: " →";
  font-style: normal;
  margin-left: 0.25rem;
}

/* ── Gallery ── */
.main-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 0;
  background: #f7f7f3;
  padding: 0;
  display: block;
}
.thumbnail-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.thumbnail-scroll::-webkit-scrollbar {
  display: none;
}
.thumbnail-scroll .thumbnail-btn {
  scroll-snap-align: start;
}
.thumbnail-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}
.thumbnail-btn img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  display: block;
}
.thumbnail-btn.active,
.thumbnail-btn:hover {
  border-color: #357a47;
}

/* ── Variant cards ── */
.variant-card {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}
.variant-card.active {
  border: 2px solid #357a47;
  background: #f0f7f2;
}
.variant-card:hover {
  border-color: #357a47;
}

/* ── Price box ── */
.price-box {
  background: #f7f7f3;
  border-radius: 16px;
  padding: 1.5rem;
}

/* ── USP check ── */
.usp-check {
  width: 22px;
  height: 22px;
  background: #357a47;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── Number circle ── */
.number-circle {
  width: 36px;
  height: 36px;
  background: #357a47;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Section label ── */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #357a47;
  margin-bottom: 0.75rem;
}

/* ── Cards ── */
.problem-card,
.quality-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.step-card {
  padding: 2rem;
  height: 100%;
  text-align: center;
  background: #f7f7f3;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.quote-card {
  background: linear-gradient(135deg, #357a47 0%, #2d683c 100%);
  color: white;
  border-radius: 24px;
  padding: 3rem;
}
.tip-box {
  background: white;
  border-left: 4px solid #357a47;
  border-radius: 0 16px 16px 0;
  padding: 1.25rem 1.5rem;
}

/* ── Reviews ── */
.review-card {
  background: #f7f7f3;
  border-radius: 24px;
  padding: 1.75rem;
  height: 100%;
}
.rating-bar {
  height: 6px;
  background: #e5e5e5;
  border-radius: 100px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: #357a47;
  border-radius: 100px;
}

/* ── Trust badges ── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #666;
}

/* ── Stars ── */
.star {
  color: #ffc107;
  font-size: 1.25rem;
  letter-spacing: -2px;
  line-height: 1;
}

/* ── Bacteria pill ── */
.bacteria-pill {
  display: inline-block;
  background: #f7f7f3;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  margin: 0.25rem;
  font-weight: 500;
}

/* ── Innovall Accordion ── */
.innovall-accordion {
  background-color: #f7f7f3;
  border: 1px solid #f7f7f3;
  border-radius: 40px;
  transition: all 0.1s ease-in-out;
  position: relative;
  overflow: hidden;
}
.innovall-accordion + .innovall-accordion {
  margin-top: 12px;
}
.innovall-accordion--white {
  background-color: #ffffff;
  border: 1px solid #bcc1c7;
}
.innovall-accordion-toggle {
  display: block;
  width: 100%;
  text-align: left;
  padding: 24px 56px 24px 32px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: #060118;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  font-family: "neue-haas-unica", sans-serif;
}
.innovall-accordion-toggle::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060118' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.innovall-accordion-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}
.innovall-accordion-toggle:focus {
  outline: none;
}
.innovall-accordion-toggle--faq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.innovall-accordion-toggle--faq::after {
  display: none;
}
.innovall-accordion-toggle--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  text-align: center;
  border: 1px solid #c8d5c8;
  border-radius: 8px;
}
.innovall-accordion-toggle--centered::after {
  display: none;
}
.innovall-accordion-collapse > div {
  padding: 0 32px 24px;
}

/* ── Sticky mobile CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 0.875rem 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.container {
  max-width: 1200px;
}

/* ── Ticker / Laufband ── */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.ticker-label {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}
.ticker-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.5rem;
  margin: 0 0.5rem;
}

/* ── Wirkungstimeline — responsive ── */
@media (max-width: 767px) {
  .timeline-flex {
    flex-direction: column !important;
  }
  .timeline-arrow {
    width: 100% !important;
    height: 36px;
    transform: rotate(90deg);
  }
}
