table.produktvergleich {
    border-collapse: collapse;
    width: 100%;
}

.produktvergleich th,
.produktvergleich td {
    border: 1px solid #ddd;
    padding: .5rem;
    text-align: center;
}

.produktvergleich .unterkategorie-label {
    text-align: left;
}

.produktvergleich .kategorie-cell {
    width: 100px;          /* bei Bedarf 90–120 testen */
    padding: 0;
    text-align: center;
    vertical-align: middle;
}


.produktvergleich .kategorie-label {
    display: inline-block;
    transform: rotate(-90deg);
    transform-origin: center;
    line-height: 1.2;
    white-space: normal;
    max-width: 100px;
    hyphens: auto;
    hyphenate-limit-chars: 10 5 5;
    word-break: normal;
    overflow-wrap: normal;
    text-align: center;
    font-weight: 700; /* <– neu, Kategorie fett */
}

.produktvergleich tr.kategorie-start td,
.produktvergleich tr.kategorie-start th {
    border-top-width: 2px;
    border-top-style: solid;
}

.produktfilter {
    margin-bottom: 20px;
    width: 100%;
    float: left;
    clear: both;
}

.produktfilter-item {
    margin-right: 1rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

/* Spalten-Ausblendung */
.produktvergleich .produkt-hidden {
    display: none;
}

.produktvergleich_tabbox {
    width: 100%;
    float: left;
    clear: both;
    margin: 0;
}

.tab_repsonsive  {
    width: 100%;
    float: left;
    clear: both;
    margin: 0;
    text-align: center;
    color: var(--orange);
    font-weight: 700;
    display: none;
}

.tab_repsonsive > span {
    padding: 0 20px;
    position: relative;
}

.tab_repsonsive > span::before {
    content: '←';
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1em;
}

.tab_repsonsive > span::after {
    content: '→';
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1em;
}

/* -- Legende -- */
.inhaltsbereich .bewertung-legende-liste {
    margin: 0;
    padding: 0 !important;
}

.inhaltsbereich ul.bewertung-legende-liste li {
    padding: 0;
    display: flex;
    align-items: center;
    margin: 0 0 5px 0;
}

.inhaltsbereich ul.bewertung-legende-liste li::before {
    display: none;
}

.inhaltsbereich ul.bewertung-legende-liste li > span {
    display: inline-block;
    vertical-align: top;
}

.inhaltsbereich ul.bewertung-legende-liste li > span.bewertung-legende-icon {
    margin: 0 10px 0 0;
    width: 110px;
}

.inhaltsbereich ul.bewertung-legende-liste li > span.bewertung-legende-titel {
    width: calc(100% - 120px);
}

.bewertung-legende {
    width: 100%;
    float: left;
    clear: both;
    margin: 20px 0 0 0;
}


.unterkategorie-label > p {
    max-width: 550px;
}

/* -- NEU: 2025-12-23 -- */
.produkt-konfigurieren a.more {
    display: inline-block;
    vertical-align: top;
    margin: 5px 0 5px 0;
    background: var(--orange);
    color: #FFFFFF;
    padding: 5px 10px;
    box-shadow: inset 0 0 0 0 var(--orangehover);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.produkt-konfigurieren a.more:hover {
font-weight: 400;
  box-shadow: inset 350px 0 0 0 var(--orangehover);
}

/* -- Responsive -- */
@media (max-width: 1300px) {
    .produktvergleich .unterkategorie-label {
        width: 150px;   
        hyphens: auto;
        hyphenate-limit-chars: 10 5 5;
    }
}

@media (max-width: 1000px) {
    .tab_repsonsive {
        display: block;
    }
    
    .produktfilter > span {
        display: block;
        margin: 0 0 10px 0;
    }

    .produktvergleich_tabbox {
        width: 100%;
        overflow-x: auto;
        margin: 20px 0;
    }

    table.produktvergleich {
        width: 1000px;
    }
}

@media (max-width: 600px) {
    .inhaltsbereich ul.bewertung-legende-liste li > span.bewertung-legende-icon {
        width: 70px;
    }

    .inhaltsbereich ul.bewertung-legende-liste li > span.bewertung-legende-titel {
        width: calc(100% - 80px);
    }

    .produktfilter-item {
        display: inline-block;
        vertical-align: top;
        width: calc(50% - 21px);
        border: 1px solid var(--orange);
        margin: 0 0 5px 0;
        padding: 5px 5px;
        cursor: pointer;
    }

    .produktfilter-item:nth-of-type(even) {
        margin-left: 10px;
    }
}

@media (max-width: 400px) {
    .inhaltsbereich ul.bewertung-legende-liste li > span.bewertung-legende-icon {
        width: 50px;
    }

    .inhaltsbereich ul.bewertung-legende-liste li > span.bewertung-legende-titel {
        width: calc(100% - 60px);
    }

    .produktfilter-item {
        display: block;
        width: calc(100% - 12px);
        margin: 0 0 5px 0;
        padding: 5px 5px;
    }

    .produktfilter-item:nth-of-type(even) {
        margin-left: 0;
    }
}