/* ==========================================================================
   EMP Chair Pro Styles
   ========================================================================== */

/* --- Hero Section --- */
.emp-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -80px; /* Kompensiert den Header, falls sticky */
  padding-top: 80px;
}

/* Partner-Logo: unten rechts im Hero, nur auf größeren Screens */
.emp-hero-partner-logo {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 2;
    opacity: 0.92;
}

.emp-hero-partner-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

@media (max-width: 900px) {
    .emp-hero-partner-logo {
        display: none;
    }
}

.emp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.emp-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.5) 100%
  );
}

.relative.z-index-1 {
  position: relative;
  z-index: 1;
}

.emp-hero-content {
  max-width: 650px;
  padding: 2rem 0;
}

.emp-badge {
  display: inline-block;
  background-color: var(--primary, #00d4aa);
  color: #111;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.emp-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  color: var(--primary, #00d4aa);
  margin-bottom: 1.5rem;
}

.emp-hero-content .hero-text {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.emp-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.emp-btn-play {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.emp-btn-play:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Video Modal --- */
.emp-video-modal {
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.emp-video-modal.show {
  opacity: 1;
}

.video-modal-content {
  width: 90%;
  max-width: 900px;
  background: #000;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Benefits Grid --- */
.emp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.emp-benefit-card {
  background: var(--card-bg, #1a1a1a);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.emp-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary, #00d4aa);
  margin-bottom: 1.5rem;
}

.emp-benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
}

.emp-benefit-card p {
  color: var(--gray-text, #aaa);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Split Layouts (Text & Bilder) --- */
.emp-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.emp-split-layout.reverse {
  direction: rtl;
}
.emp-split-layout.reverse > * {
  direction: ltr; /* Reset direction for content */
}

.align-center {
  align-items: center;
}

.emp-split-content h2,
.emp-split-content h3 {
  margin-bottom: 1.5rem;
  color: #fff;
}

.emp-split-content p {
  margin-bottom: 1.5rem;
  color: #ccc;
  line-height: 1.7;
}

.rounded-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.shadow-large {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

/* Porträt-Bilder im Grid: vollständig zeigen, Kopf nicht abschneiden */
.image-grid-2 img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: top;
  border-radius: 12px;
  background-color: #1a1a1a;
}

/* Bild im Prozess-Bereich: Person auf dem Stuhl vollständig zeigen */
.emp-process-img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    object-position: center top;
    background-color: #1a1a1a;
}

/* Anwendungsgebiete: Abstand zwischen den Rows */
.emp-applications .emp-split-layout {
    margin-bottom: 4rem;
}

/* 2 Bilder nebeneinander in der Bildsspalte */
.emp-application-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    direction: ltr; /* rtl vom Parent neutralisieren */
    align-items: stretch; /* beide Container gleich hoch */
}

.emp-application-images > * {
    direction: ltr;
}

/* Alle Bildcontainer: gleiche feste Höhe */
.emp-application-images .kurs-detail-image {
    height: 360px;
}

/* Alle Bilder darin: füllen den Container vollständig */
.emp-application-images .kurs-detail-image img {
    width: 100%;
    height: 100%;
    min-height: unset; /* globale min-height überschreiben */
    object-fit: cover;
    object-position: top center;
}

/* "So funktioniert das Training": Portrait korrekt anzeigen */
.emp-process .kurs-detail-image img {
    min-height: 480px;
    object-fit: contain;
    object-position: bottom center;
    background-color: transparent;
}

/* --- Partner Logo Section --- */
.emp-partner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 1rem 0;
}

.emp-partner-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary, #00d4aa);
    margin: 0;
}

.emp-partner-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.emp-partner-text {
    max-width: 600px;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Steps / Ablauf --- */
.emp-steps {
  margin-top: 2rem;
}

.emp-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary, #00d4aa);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.step-content p {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.comparison-column {
  padding: 3rem 2rem;
}

.comparison-column.classic {
  background: #1a1a1a;
}

.comparison-column.magnetic {
  background: #222;
  position: relative;
  border: 2px solid var(--primary, #00d4aa);
}

.col-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.col-header h3 {
  font-size: 1.4rem;
}

.recommended-badge {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary, #00d4aa);
  color: #111;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  position: relative;
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ccc;
  line-height: 1.5;
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-list li i {
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-size: 1.2rem;
}

.text-red {
  color: #ff4d4d;
}
.text-green {
  color: var(--primary, #00d4aa);
}

/* --- FAQ Accordion --- */
.faq-accordion-wrapper {
  margin-top: 3rem;
}

.faq-item {
  background: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary, #00d4aa);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-answer p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- Helpers & Responsive --- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-800 {
  max-width: 800px;
}
.mb-5 {
  margin-bottom: 3rem;
}
.mt-5 {
  margin-top: 3rem;
}
.bg-dark-soft {
  background: #151515;
}

@media (max-width: 900px) {
  .emp-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .emp-split-layout.reverse {
    direction: ltr;
  }
  .comparison-table-wrapper {
    grid-template-columns: 1fr;
  }
  .comparison-column.magnetic {
    margin-top: 2rem;
  }
}
