table { width: 100%; margin: 0; border-collapse: collapse; }
td, th { padding: .5em; _border: 1px #000 solid; text-align: left; }
td { font: normal 0.9em 'Montserrat', sans-serif; }
th { color: #fff; font: bold 0.9em 'Montserrat', sans-serif; text-align: left; }
thead { background: #003b46; }
tbody { background: transparent; }
#highlight tr.hilight { background: #fff; }

/* ============================================================
   RESPONSIVE — Tabelle auf kleinen Bildschirmen
   ============================================================ */

@media only screen and (max-width: 768px) {

/* Tabelle in Block-Elemente umwandeln */
table, thead, tbody, th, td, tr {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

/* Tabellenheader verstecken (aber barrierefrei sichtbar lassen) */
thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

tr {
    border: 1px solid #ccc;
    margin-bottom: 0.75em;
    border-radius: 4px;
    overflow: hidden;
}

td {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding: 0.6em 0.6em 0.6em 45%;
    text-align: left;
    min-height: 2em;
}

td:last-child {
    border-bottom: none;
}

td:before {
    position: absolute;
    top: 0.6em;
    left: 0.6em;
    width: 40%;
    padding-right: 0.5em;
    white-space: nowrap;
    font-weight: bold;
    color: #003b46;
    font-size: 0.85em;
}

/* Spalten-Labels */
td:nth-of-type(1):before { content: "Kriterium"; }
td:nth-of-type(2):before { content: "Smart & Easy"; }
td:nth-of-type(3):before { content: "WordPress"; }
td:nth-of-type(4):before { content: "Baukästen"; }

/* Highlight-Zeilen auf Mobile */
#highlight tr.hilight {
    background: #f8f7f5;
}

}