/**
 * package_tabs.css
 * Tab-System für Paketstufen (Basis/Komfort/Premium)
 * Upload nach: /media/css/package_tabs.css
 */

/* ========================================
   PACKAGE TABS CONTAINER
   ======================================== */

.package-tabs-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.package-tabs-header {
  text-align: center;
  margin-bottom: 3rem;
}

.package-tabs-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.package-tabs-header .divider {
  height: 2px;
  max-width: 120px;
  margin: 1rem auto 1.5rem;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

.package-tabs-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   TAB BUTTONS (HORIZONTAL)
   ======================================== */

.package-tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 3rem;
  justify-content: center;
}

.package-tab-btn {
  flex: 1;
  max-width: 350px;
  padding: 1.2rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
}

.package-tab-btn:hover {
  color: var(--primary);
  background: rgba(13, 58, 95, 0.03);
}

.package-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ========================================
   TAB CONTENT (3 SPALTEN)
   ======================================== */

.package-tab-content {
  display: none;
  opacity: 0;
}

.package-tab-content.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  opacity: 1;
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   TAB COLUMNS (Ihr Ergebnis | Enthalten | Mehrwert)
   ======================================== */

.package-tab-column {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.package-tab-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.package-tab-column h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--line);
}

.package-tab-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-tab-column li {
  padding: 0.8rem 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  position: relative;
  padding-left: 2rem;
  border-bottom: 1px solid rgba(224, 228, 232, 0.5);
}

.package-tab-column li:last-child {
  border-bottom: none;
}

.package-tab-column li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.8rem;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .package-tab-buttons {
    flex-direction: column;
    border-bottom: none;
  }
  
  .package-tab-btn {
    max-width: 100%;
    border-bottom: 2px solid var(--line);
    border-left: 3px solid transparent;
  }
  
  .package-tab-btn.active {
    border-bottom-color: var(--line);
    border-left-color: var(--primary);
    background: rgba(13, 58, 95, 0.05);
  }
  
  .package-tab-content.active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .package-tab-column {
    padding: 2rem;
  }
}
