* {
    box-sizing: border-box;
}


body {
    margin: 0;
    padding: 0;

    font-family:
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.4;

    background: #f4f4f4;

    color: #222;
}


.seite {
    width: min(
        1200px,
        calc(100% - 30px)
    );

    margin: 0 auto;

    padding: 20px 0;
}


header {
    margin-bottom: 25px;
}


h1 {
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 26px;
}


.suche {
    display: flex;

    gap: 10px;

    align-items: center;

    flex-wrap: wrap;
}


.suche input {
    min-width: 300px;

    padding: 9px 10px;

    font-size: 14px;
}


.suche button {
    padding: 9px 18px;

    font-size: 14px;

    cursor: pointer;
}


.suche a {
    font-size: 13px;
}


.produkt {
    background: white;

    padding: 22px 25px;

    margin-bottom: 20px;

    border-radius: 8px;
}


.produkt-kopf {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    align-items: flex-start;
}


.produkt h2 {
    margin-top: 0;
    margin-bottom: 2px;

    font-size: 21px;
}


.datensatz {
    margin-top: 0;
    margin-bottom: 0;

    font-size: 13px;

    color: #666;
}


.typ {
    padding: 5px 12px;

    background: #eee;

    border-radius: 20px;

    font-size: 13px;

    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Produktinhalt
|--------------------------------------------------------------------------
*/


.produkt-inhalt {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 30px;

    align-items: start;

    margin-top: 22px;
}


/*
|--------------------------------------------------------------------------
| Linker Infoblock
|--------------------------------------------------------------------------
*/


.produkt-info {
    min-width: 0;
}


.produkt-info p {
    margin: 3px 0;

    font-size: 14px;
}


.schlagwoerter {
    display: block;
}


.schlagwoerter strong {
    display: inline;
}


.schlagwoerter span {
    overflow-wrap: anywhere;
}


/*
|--------------------------------------------------------------------------
| Nährwerttabelle
|--------------------------------------------------------------------------
*/


.naehrwerte {
    width: auto;

    min-width: 0;
}


.naehrwert-tabelle {
    width: auto;

    table-layout: auto;

    border-collapse: collapse;

    font-size: 12px;
}


.naehrwert-tabelle th,
.naehrwert-tabelle td {
    padding: 5px 12px;

    border-bottom:
        1px solid #ddd;
}


/*
|--------------------------------------------------------------------------
| Tabellenkopf
|--------------------------------------------------------------------------
*/


.naehrwert-tabelle thead th {
    font-size: 12px;

    font-weight: 700;

    border-bottom:
        2px solid #ccc;

    white-space: nowrap;
}


.naehrwert-tabelle thead th:first-child {
    width: auto;

    min-width: 145px;

    text-align: left;
}


.naehrwert-tabelle thead th:not(:first-child) {
    min-width: 85px;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Tabelleninhalt
|--------------------------------------------------------------------------
*/


.naehrwert-tabelle tbody th {
    width: auto;

    min-width: 145px;

    text-align: left;

    font-weight: 600;

    white-space: nowrap;
}


.naehrwert-tabelle tbody td {
    min-width: 85px;

    text-align: center;

    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Mobile Ansicht
|--------------------------------------------------------------------------
*/


@media (max-width: 850px) {


    .produkt-inhalt {
        display: block;

        margin-top: 20px;
    }


    .produkt-info {
        margin-bottom: 20px;
    }


    .naehrwerte {
        width: 100%;

        overflow-x: auto;
    }


    .naehrwert-tabelle {
        width: max-content;

        min-width: 100%;
    }


}


@media (max-width: 750px) {


    .seite {
        width:
            calc(100% - 20px);

        padding: 15px 0;
    }


    .produkt {
        padding: 18px;
    }


    .suche input {
        min-width: 0;

        width: 100%;
    }


    .naehrwert-tabelle {
        font-size: 11px;
    }


    .naehrwert-tabelle thead th {
        font-size: 11px;
    }


    .naehrwert-tabelle th,
    .naehrwert-tabelle td {
        padding: 5px 8px;
    }


    .naehrwert-tabelle thead th:first-child,
    .naehrwert-tabelle tbody th {
        min-width: 125px;
    }


    .naehrwert-tabelle thead th:not(:first-child),
    .naehrwert-tabelle tbody td {
        min-width: 75px;
    }


}