.container {
    max-width: 85%;
    margin: auto;
    text-align: center;

}


.course-table {
    width: 100%;
    border-collapse: collapse;
    background: #22252b;
    color: white;
    border-radius: 8px;
    overflow: hidden;
}

.course-table th {
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #b0c4de;
    background: #3b4151;
    text-align: center;
}

.course-table th:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: #3b4151;
    color: white;
    padding-left: 12px
}

.course-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #3a3d46;
    line-height: 1.3;
    white-space: normal !important;
}

.course-table td:first-child {
    text-align: left;
    font-weight: 500;
    width: 30%;
    white-space: normal !important;
    padding-left: 20px;
}

.green-check,
.red-x {
    font-size: 1.1rem;
    padding: 2px;
}

.course-icon {
    width: 60px;
    height: auto;
    opacity: 0.9;
    transition: transform 0.3s ease-in-out;
}

.course-icon:hover {
    transform: scale(1.1);
}

.course-table tbody tr:nth-child(odd) {
    background: #262a31;
}

.course-table tbody tr:nth-child(even) {
    background: #22252b;
}

.course-table tbody tr:hover {
    background: #30343d;
    transition: 0.2s ease;
}

.scrollable-content {
    margin-top: 6%;
    padding-bottom: 10%;
    ;

}

.green-check {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.4rem;
}

.red-x {
    color: #FF4C4C;
    font-weight: bold;
}

.cta-btn {
    display: inline-block;
    background: #4080FF;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s;
}

.cta-btn:hover {
    background: #3060DD;
    transform: scale(1.05);
}

.discount-badge {
    background-color: #FF4B4B;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px;
    position: absolute;
    top: -10px;
    right: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.kurs-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 140px;
    text-align: center;
    position: relative;
}

.kurs-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.kurs-header br {
    display: none;
}

.price-container {
    margin-top: auto;
}

.price-container {

    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #ff4c4c;
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.1rem;
    color: #60AAFF;
}



.knowledge-warning-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: -2px;
}

.knowledge-warning {
    background: #2d2f36;
    color: white;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    border-top: 2px solid #3a3d46;
    width: calc(100% / 4 * 2);
    max-width: 35%;
}



@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    .course-table {
        table-layout: auto;
        font-size: 0.9rem;
        width: 100%;
    }

    .footer-container {
        display: none;
    }

    .bottom-line {
        display: none;
    }

    .course-table td:first-child,
    .course-table th:first-child {
        width: 65%;
        min-width: 200px;
        padding-left: 10px;
        font-size: 0.8rem;
    }

    .titleForCourse {
        margin-top: 20%;
        font-size: 1.5rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .course-table thead tr:first-child th:first-child {
        font-size: 1rem;
    }

    .course-table td:not(:first-child),
    .course-table th:not(:first-child) {
        font-size: 0.8rem;
        width: 8.75%;
        min-width: 50px;
    }

    .course-table td:first-child {
        line-height: 1.5;
        word-wrap: break-word;
        white-space: normal;
    }

    .course-table th {
        font-size: 0.85rem;
        padding: 8px;
    }

    .course-icon {
        width: 45px;
    }

    .discount-badge {
        font-size: 0.7rem;
        padding: 4px 6px;
    }

    .knowledge-warning-container {
        display: none;
    }
     .vac-promo {
    display: none !important;
  }
    
/* ============================================================
   Scroll‑Wrapper für beide Achsen
   ============================================================ */
   .table-wrapper {
    width: 100%;
    max-height: 80vh;                /* Begrenze Höhe, passt viewport an */
    overflow-x: auto;                /* horizontal scroll */
    overflow-y: auto;                /* vertical scroll */
    -webkit-overflow-scrolling: touch; /* iOS‑Momentum */
    border-radius: 8px;              /* optional: Rundungen */
    /* background: #22252b;             */
    padding: 8px;                    /* Puffer ringsherum */
    box-sizing: border-box;
    margin-bottom: 1rem;
  }
  
  /* Optional: dezente Scrollbar‑Stile */
  .table-wrapper::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }
  .table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(96,170,255,0.5);
    border-radius: 3px;
  }
}


/* ============================================================
   Scroll‑Wrapper für beide Achsen
   ============================================================ */
   .table-wrapper {
    width: 100%;
    max-height: 80vh;                /* Begrenze Höhe, passt viewport an */
    overflow-x: auto;                /* horizontal scroll */
    overflow-y: auto;                /* vertical scroll */
    -webkit-overflow-scrolling: touch; /* iOS‑Momentum */
    border-radius: 8px;              /* optional: Rundungen */
    padding: 8px;                    /* Puffer ringsherum */
    box-sizing: border-box;
    margin-bottom: 1rem;
  }
  
  /* Optional: dezente Scrollbar‑Stile */
  .table-wrapper::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }
  .table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(96,170,255,0.5);
    border-radius: 3px;
  }
  








  /* ============================================
   Card-Layout – standardmäßig versteckt
   ============================================ */
.course-cards {
    display: none;
  }
  
  /* Nur auf Mobile: Tabelle ausblenden, Karten anzeigen */
  @media (max-width: 768px) {
    /* verstecke Desktop-Tabelle */
    .course-table {
      display: none;
    }
  
    /* Karten-Container */
    .course-cards {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
    }
  
    /* Einzelne Karte */
    .course-card {
      background: #22252b;
      border-radius: 8px;
      padding: 1rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    }
  
    /* Header innerhalb der Karte (Logo, Titel, Preis) */
    .course-card .kurs-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 0.75rem;
    }
    .course-card .kurs-header h2 {
      margin: 0.5rem 0;
      font-size: 1.25rem;
    }
    .course-card .kurs-header .new-price {
      font-size: 1.1rem;
      color: var(--color-primary-light);
    }
  
    /* Feature-Liste */
    .course-card .features {
      list-style: none;
      padding: 0;
      margin: 0 0 1rem;
    }
    .course-card .features li {
      position: relative;
      padding-left: 1.5rem;
      line-height: 1.4;
      margin-bottom: 0.25rem;
    }
    .course-card .features li::before {
      content: '✔';
      position: absolute;
      left: 0;
      color: #4CAF50;
      font-weight: bold;
    }
  
    /* CTA-Button */
    .course-card .cta-btn {
      display: block;
      text-align: center;
      margin: 0 auto;
    }
  }
  


  .vac-promo {
  background: radial-gradient(ellipse at center, rgba(96,170,255,0.05), rgba(0,0,0,0.8));
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 16px;
  margin: 3rem auto 4rem;
  max-width: 800px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.vac-heading {
  font-family: 'Stoneage', sans-serif;
  font-size: 2.5rem;
  color: #60AAFF;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(96,170,255,0.8);
}
.vac-subtext {
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.vac-btn {
  display: inline-block;
  background: linear-gradient(135deg, #60AAFF, #4080FF);
  color: #001530;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(96,170,255,0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}
.vac-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(96,170,255,0.8);
  color: #fff;
}
.vac-btn i {
  margin-right: 0.5rem;
}
@media (max-width: 768px) {
  .vac-heading {
    font-size: 2rem;
  }
  .vac-subtext {
    font-size: 1rem;
  }
  .vac-btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}