/* Container-Stile für die Tabelle */
.table-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 3rem;
    overflow-x: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

/* Stile für die Tabelle */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.responsive-table th, 
.responsive-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.responsive-table th {
    background-color: var(--companycolor1);
    color: white;
    text-transform: uppercase;
    font-weight: 300;
}

.responsive-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Responsive Verhalten */
@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 15px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        text-align: left;
        font-weight: bold;
    }
}

/* Zusätzliche Optimierung für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .responsive-table td {
        padding: 8px;
    }
}
