/* ── Shared Section ── */

.detail-section-light {
  background: var(--color-bg-light);
  padding: 100px 0;
}

.detail-section-light .cta-block {
  margin-top: 40px;
}

.detail-section-light .bereich-probleme-grid {
  margin-top: 50px;
}

/* ── Erklärung ── */

.detail-textbox {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 50px;
  margin-top: 50px;
}

.detail-textbox p {
  color: var(--color-grey-text);
  font-size: var(--size-p-large);
  line-height: 1.7;
  text-align: center;
}

.detail-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.detail-mini-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.detail-mini-card p {
  color: var(--color-grey-text);
  margin-top: 8px;
}

/* ── Icon Circle (benefit icons) ── */

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-light-gold);
  color: var(--color-dark-gold-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-dark-gold-text);
}

/* ── Tutorial Video in Hero Section ── */

.hero-tutorial-video {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.tutorial-video-container {
  position: relative;
  width: 900px;
  max-width: 100%;
  height: 506px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tutorial-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-tutorial-video.scrolled .tutorial-video-container {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-tutorial-video {
    margin-top: 40px;
  }
  .tutorial-video-container {
    width: 95%;
    border-radius: 12px;
    height: 198px;
  }
}

/* ── Lösung Cards ── */

.detail-probleme {
  background: var(--color-white);
}

.detail-probleme .problem-card {
  background: var(--color-bg-light);
}

.detail-loesung-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 25px;
}

.detail-loesung-card h3 {
  font-size: var(--size-h5);
  margin-top: 15px;
  margin-bottom: 15px;
}

/* ── Typische Ergebnisse ── */

.vhs-ergebnisse {
  padding: 100px 0;
}

.referenzen-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.referenzen-slider .ref-card {
  width: 100%;
}

.vhs-ergebnisse .section-header {
  margin-bottom: 40px;
}

.vhs-ergebnisse__summary {
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-card);
  padding: 30px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  isolation: isolate;
}

.vhs-ergebnisse__summary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-light-gold);
  opacity: 0.15;
  border-radius: var(--radius-card);
  z-index: -1;
}

.vhs-ergebnisse__summary .p-large {
  margin-bottom: 10px;
}

.vhs-ergebnisse__summary p {
  color: var(--color-black);
}

/* ── So funktioniert das System ── */

.vhs-so-funktioniert {
  background: var(--color-bg-light);
  padding: 100px 0;
}

/* ── Timeline (Ablauf der Zusammenarbeit) ── */

.timeline-container {
  position: relative;
  padding: 40px 0;
  max-width: 800px;
  margin: 50px auto 0;
}

.timeline-line {
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e5e7eb;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-dark-gold) 0%, var(--color-light-gold) 100%);
  transition: height 0.1s linear;
}

.timeline-steps {
  position: relative;
  padding-left: 80px;
}

.timeline-step {
  position: relative;
  margin-bottom: 30px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step.active {
  opacity: 1;
}

.timeline-dot {
  position: absolute;
  left: -68px;
  top: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.timeline-step.active .timeline-dot {
  border-color: var(--color-dark-gold);
  background: var(--color-white);
  transform: scale(1.2);
}

.timeline-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-dark-gold-text);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-step.active .timeline-number {
  opacity: 1;
}

.timeline-content {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step.active .timeline-content {
  border-color: var(--color-dark-gold);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-black);
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-grey-text);
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 15px;
  }
  .timeline-steps {
    padding-left: 50px;
  }
  .timeline-dot {
    left: -48px;
  }
}

.vhs-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 50px auto 0;
}

.vhs-step {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-nummer {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-light-gold);
  color: var(--color-dark-gold-text);
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: var(--size-h6);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-grey-text);
}

/* ── Wähle dein Paket ── */

.vhs-pakete {
  padding: 100px 0;
}

.vhs-pakete__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.paket-card {
  background: var(--color-white);
  border: 2px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.paket-card.recommended {
  position: relative;
  z-index: 2;
  transform: scale(1.05);
  border: 3px solid var(--color-dark-gold);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #fefcf7 100%);
}

.badge-recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-dark-gold) 0%, var(--color-light-gold) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

@media (max-width: 968px) {
  .paket-card.recommended {
    transform: scale(1);
  }
}

.paket-card-header h3 {
  font-size: var(--size-h6);
}

.paket-subtitle {
  color: var(--color-grey-text);
  font-size: var(--size-p);
  margin-top: 5px;
}

.paket-meta {
  color: var(--color-grey-text);
  font-size: 14px;
  margin-top: 6px;
  font-weight: 500;
}

.paket-description {
  color: var(--color-grey-text);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

.paket-savings {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  margin-top: 12px;
}

.paket-savings strong {
  display: block;
  color: #16a34a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.paket-savings span {
  display: block;
  color: var(--color-grey-text);
  font-size: 12px;
  margin-top: 2px;
}

.paket-preis {
  font-size: 20px;
  font-size: var(--size-h4);
}

.paket-preis-monat {
  font-size: 20px;
  color: var(--color-black);
  font-weight: 500;
}

.paket-divider {
  border: none;
  border-top: 1px solid var(--color-grey-border);
  margin: 0;
}

.price-savings {
  margin-top: 0px;
  padding: 12px;
  background: #f0fdf4;
  border-radius: 8px;
  text-align: center;
}

.savings-amount {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.savings-calc {
  display: block;
  font-size: 12px;
  color: #15803d;
  font-weight: 500;
}

.paket-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.paket-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-grey-text);
  font-size: var(--size-p);
}

.paket-features svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.paket-features li.feature-not-included {
  color: #6b7280;
  opacity: 0.7;
}

.paket-features li.feature-not-included svg {
  color: #ef4444;
}

.paket-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.paket-buttons .btn-gold,
.paket-buttons .btn-transparent-arrow {
  justify-content: center;
}

.paket-buttons .btn-transparent-arrow {
  width: 100%;
}

/* Paket-Kauf-Buttons vorübergehend verbergen (Links noch nicht final) */
.paket-buttons .btn-gold {
  display: none;
}

/* ── Hero Bulletpoints (Done-for-You Hero) ── */

.bereich-hero-desc-short {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
}

.hero-bulletpoints {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  text-align: left;
}

.hero-bulletpoints li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #1f2937;
  font-weight: 500;
}

.hero-bulletpoints .check-icon {
  width: 24px;
  height: 24px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .hero-bulletpoints {
    flex-direction: column;
    gap: 16px;
  }
  .hero-bulletpoints li {
    font-size: 15px;
  }
  .hero-bulletpoints .check-icon {
    width: 20px;
    height: 20px;
  }
}

/* ── Für wen sind wir geeignet ── */

.vhs-fuer-wen {
  background: var(--color-bg-light);
  padding: 100px 0;
}

.fuer-wen__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.fuer-wen__pill {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--size-p);
  transition: border-color 0.3s ease;
}

.fuer-wen__pill:hover {
  border-color: var(--color-dark-gold);
}

.fuer-wen__pill svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-dark-gold);
}

/* ── Shared ── */

.detail-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .referenzen-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .vhs-pakete__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .detail-section-light {
    padding: 60px 0;
  }
  .detail-textbox {
    padding: 30px;
  }
  .detail-mini-grid {
    grid-template-columns: 1fr;
  }
  .referenzen-slider {
    grid-template-columns: 1fr;
  }
  .vhs-step {
    flex-direction: column;
  }
  .fuer-wen__grid {
    gap: 10px;
  }
  .fuer-wen__pill {
    padding: 12px 15px;
  }
  .step-content h3 {
  font-size: 25px;
  }
  .paket-card-header h3 {
    font-size: 26px !important;
  }
  .paket-preis .text-gradient {
    font-size: 45px !important;
  }
}
