/**********************************************************************
 PREMIUM SECTION HEADER (GLOBAL)
**********************************************************************/

.section-premium-header{
  text-align:center;
  margin-bottom:60px;
}

.section-premium-title {
  font-size: 2.8rem;      
  line-height: 1.1;       
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--premium-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;          
}

.section-premium-title .hero-title-accent{
  margin-top:4px;
}

.section-premium-subtitle{
  font-size:.92rem;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:12px;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.section-cta-container {
    display: flex;
    justify-content: center;
    gap: 25px;       
    margin-top: 15px;  
    margin-bottom: 30px;
}

@media(max-width:900px){

  .hero-title{
    font-size:3rem;
  }

  .hero-split{
    flex-direction:column;
    text-align:center;
  }

  .hero-description{
    margin:auto auto 30px auto;
  }

  .hero-cta-group{
    flex-direction:column;
  }

  .section-premium-title{
    font-size:2.6rem;
  }

}

/* =========================================================
   PACKS SECTION (MEHRFACHKARTEN) – FINAL MIT BILD
   ========================================================= */

.packs-section {
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid #f2f0ed;
}

.packs-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pack-button-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 26px;
  border: 1px solid #ece7e1;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.pack-button-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.pack-img-aside {
  flex: 0 0 36%;
  max-width: 36%;
  background-size: cover;
  background-position: center;
  border-right: 1px solid #f1ede8;
  filter: grayscale(.2) sepia(.1);
  transition: filter .25s ease;
}

.pack-button-card:hover .pack-img-aside {
  filter: none;
}

.pack-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.pack-info {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.pack-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--premium-dark);
}

.pack-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.pack-old {
  font-size: .85rem;
  text-decoration: line-through;
  opacity: .35;
}

.pack-new {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.pack-tag-text {
  font-size: .68rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .45;
}

.pack-action {
  margin-right: 20px;
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  transition: all .2s ease;
}

.pack-button-card:hover .pack-action {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1000px) {

  .packs-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 650px) {

  .packs-grid-3x2 {
    grid-template-columns: 1fr;
  }

  .pack-img-aside {
    flex: 0 0 34%;
    max-width: 34%;
  }

}

/**********************************************************************
 CLASSES & COURSES SECTION
**********************************************************************/

.classes-section {
    padding: 80px 0;
}

.class-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.class-card-link:hover {
    text-decoration: none;
    transform: translateY(-8px); 
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    justify-items: center;
}

.class-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-light);
    display: flex;
    flex-direction: column;
    height: 100%; 
    width: 100%;
    max-width: 420px;
    transition: box-shadow 0.3s ease;
}

.class-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body-horizontal {
    padding: 30px;
    display: flex;
    flex-direction: row; 
    align-items: flex-start;
    gap: 20px;
}

.card-icon-wrapper {
    flex-shrink: 0;
}

.card-icon-wrapper i {
    font-size: 2.2rem; 
    color: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-card-link:hover .card-icon-wrapper i {
    color: var(--premium-dark); 
    transform: scale(1.1) rotate(-10deg); 
}

.card-text-content h3 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: var(--premium-dark);
    font-weight: 700;
}

.card-text-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.courses-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 1100px) {

    .grid-3 {
        grid-template-columns: repeat(2, minmax(280px, 420px));
        justify-content: center;
    }

}

@media (max-width: 768px) {

    .grid-3 {
        grid-template-columns: minmax(260px, 420px);
        justify-content: center;
        padding: 0 18px;
        gap: 20px;
    }

    .card-body-horizontal {
        flex-direction: column;
        padding: 25px;
    }
    
    .classes-section {
        padding-left: 18px;
        padding-right: 18px;
    }

}