:root {
    --bs-primary-red: #a83023;
    --bs-dark-gray: #333333;
    --bs-light-gray: #f0f0f0;
    --bs-medium-gray: #999999;
    --bs-white: #ffffff;
    --bs-border-color: #ddd;
    --bs-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --bs-transition: all 0.2s ease;
}

.bs_wrapper {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bs-white);
}

.bs_header {
    text-align: center;
    margin-bottom: 30px;
}

.bs_logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.bs_logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.bs_logo_text {
    font-size: 30px;
    color: var(--bs-dark-gray);
    text-align: center;
    font-weight: bold;
}

.bs_logo_text small {
    font-size: 14px;
    font-weight: normal;
}

.bs_title {
    background: var(--bs-primary-red);
    color: var(--bs-white);
    font-size: 36px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    margin: 0;
}

.bs_schedule_grid {
    display: grid;
    grid-template-columns: 120px repeat(5, 1fr);
    gap: 2px;
    margin-bottom: 40px;
    box-shadow: var(--bs-shadow);
    border-radius: 8px;
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bs_time_slot {
    background: var(--bs-dark-gray);
    color: var(--bs-white);
    padding: 15px 10px;
    font-weight: bold;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs_day_header {
    background: var(--bs-dark-gray);
    color: var(--bs-white);
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

.bs_subject_cell {
    background: var(--bs-light-gray);
    padding: 15px;
    cursor: pointer;
    transition: var(--bs-transition);
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
    color: var(--bs-dark-gray);
}

.bs_subject_cell:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 48, 35, 0.3);
    border: 1px solid var(--bs-primary-red);
}

.bs_subject_cell:empty {
      cursor: default !important;
      pointer-events: none;
      background: var(--bs-white);
      box-shadow: none;
      border: none;
      transition: none;
  }
  .bs_subject_cell:empty:hover {
      background: var(--bs-white);
      box-shadow: none;
      border: none;
      transform: none;
  }

.bs_subject_name {
    font-weight: bold;
    margin-bottom: 5px;
}

.bs_teacher_name {
    font-size: 12px;
    color: var(--bs-medium-gray);
}

.bs_info_box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bs_info_icon {
    background: #f39c12;
    color: var(--bs-white);
    font-weight: bold;
    font-size: 20px;
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs_teacher_photo {
    background: var(--bs-medium-gray);
    color: var(--bs-white);
    font-weight: bold;
    font-size: 18px;
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs_teachers_section {
    margin-top: 50px;
}

.bs_section_title {
    font-size: 28px;
    color: var(--bs-dark-gray);
    margin-bottom: 30px;
    text-align: center;
}

.bs_accordion {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.bs_accordion_header {
    background: var(--bs-light-gray);
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--bs-transition);
    border: none;
    width: 100%;
    text-align: left;
}

.bs_accordion_header:hover {
    background: #e0e0e0;
}

.bs_teacher_photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bs-medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    font-weight: bold;
    font-size: 18px;
}

.bs_teacher_info h3 {
    margin: 0 0 5px 0;
    color: var(--bs-dark-gray);
    font-size: 18px;
}

.bs_teacher_subjects {
    color: var(--bs-medium-gray);
    font-size: 14px;
}

.bs_accordion_icon {
    margin-left: auto;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.bs_accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-out;
    background: var(--bs-white);
}

.bs_accordion_content.bs_active {
    max-height: 3000px;
    transition: max-height 1s ease-in;
}

.bs_accordion_inner {
    padding: 20px;
    border-top: 1px solid var(--bs-border-color);
    height: auto;
    overflow: visible;
}

.bs_accordion.bs_active .bs_accordion_icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .bs_schedule_grid {
        grid-template-columns: 80px repeat(5, 1fr);
        font-size: 12px;
    }
    
    .bs_subject_cell {
        padding: 10px 5px;
    }
    
    .bs_title {
        font-size: 24px;
        padding: 10px 20px;
    }
}




/* ### Klassen für die Akkordion Textfelder und Tabellen ### */

.bs_teacher_content {
    padding: 0;
    height: auto;
    overflow: visible;
}

.bs_contact_info {
    background: var(--bs-light-gray);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.bs_contact_info p {
    margin: 0 0 8px 0;
    font-size: 14px;
}

.bs_content_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    height: auto;
    margin-bottom: 20px;
}

.bs_content_table thead {
    background: var(--bs-primary-red);
    color: var(--bs-white);
}

.bs_content_table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bs_content_table th:first-child {
    border-top-left-radius: 8px;
}

.bs_content_table th:last-child {
    border-top-right-radius: 8px;
}

.bs_content_table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.bs_content_table tbody tr:nth-child(even) {
    background: #fafafa;
}

.bs_content_table tbody tr:hover {
    background: #f5f5f5;
    transition: background-color 0.2s ease;
}

.bs_content_table td:first-child {
    font-weight: 600;
    color: var(--bs-dark-gray);
    background: rgba(227, 30, 36, 0.05);
}

.bs_content_table td:first-child em {
    font-style: italic;
    font-weight: normal;
    color: var(--bs-medium-gray);
    font-size: 12px;
    display: block;
    margin-top: 3px;
}

.bs_content_table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.bs_content_table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}