.techtable-container {
    width: min(1080px, 100% - 40px);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 2rem;
    width: min(880px, 100% - 40px);
}

.techtable-header h2 {
    margin: 0 0 12px;
    color: var(--dark);
    line-height: 1.2;
}

.techtable-header p {
    margin: 0;
    color: var(--dark-grey);
    line-height: 1.6;
}


.techtable-wrapper {
    width: 100%;
}

.techtable {
    width: 100%;
    border-collapse: collapse;
}

/* Kopfzeile visuell ausblenden (Labels kommen aus data-label) */
.techtable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.techtable tbody {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.techtable tbody tr {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-grey);
    border-radius: 24px;
    overflow: hidden;
    background: var(--light-beige);
    padding: 0 28px;
}

.techtable tbody th,
.techtable tbody td {
    text-align: left;
}

.techtable tbody th::before,
.techtable tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--deep-turquiose);
    margin-bottom: 4px;
}

.techtable tbody th {
    color: var(--dark);
    font-weight: 700;
}

.techtable tbody th::before {
    color: var(--light-grey);
}

.techtable tbody td {
    color: var(--grey);
    line-height: 1.55;
    border-top: 1px solid var(--light-grey);
}

/* ---------- Desktop: echte Tabelle ---------- */
@media screen and (min-width: 53em) {
    .techtable-wrapper {
        border: 1px solid var(--light-grey);
        border-radius: 24px;
        overflow: hidden;
        background: var(--light-beige);
    }

    .techtable thead {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        clip: auto;
        white-space: normal;
        overflow: visible;
    }

    .techtable thead th {
         text-align: left;
        padding: 20px 24px;
        background: transparent;
        color: var(--dark);
        font-weight: 700;
        border-bottom: 2px solid var(--deep-turquiose);
    }

    .techtable tbody {
        display: table-row-group;
    }

    .techtable tbody tr {
        display: table-row;
        border: 0;
        border-radius: 0;
        background: transparent;
        transition: background-color 0.2s ease;
    }

    .techtable tbody tr:hover {
        background: rgba(12, 131, 131, 0.06); 
        box-shadow: inset 3px 0 0 var(--deep-turquiose); 
    }

    .techtable tbody tr:not(:last-child) th,
    .techtable tbody tr:not(:last-child) td {
        border-bottom: 1px solid var(--dark-grey);
    }

    .techtable tbody th,
    .techtable tbody td {
        display: table-cell;
        padding: 20px 24px;
        vertical-align: top;
        border-top: 0;
    }

    .techtable tbody th::before,
    .techtable tbody td::before {
        display: none;
    }

    .techtable tbody th {
        width: 26%;
        background: transparent;
        font-size: 1rem;
    }

    .techtable tbody td {
        color: var(--grey);
    }
}

@media screen and (min-width: 23em) {}
@media screen and (min-width: 42em) {}
@media screen and (min-width: 73em) {}