*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gruen: #55c951;
    --gruen-dunkel: #2f8a2b;
    --gruen-hell: #eef8ed;
    --tinte: #1d2a1f;
    --grau-text: #5b675c;
    --linie: #dfe7df;
    --weiss: #ffffff;
    --radius: 13.5px;
}

html { scroll-behavior: smooth; }

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--tinte);
    background: var(--weiss);
    line-height: 1.7;
    font-size: 16px;
}

.kopf {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
}

.kopf__innen {
    max-width: 1040px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.kopf__marke {
    font-size: 19px;
    font-weight: bold;
    color: var(--tinte);
    text-decoration: none;
}

.kopf__pfad {
    font-size: 14px;
    color: var(--grau-text);
}

.titel {
    max-width: 1040px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    border-bottom: 1px solid var(--linie);
}

.titel h1 {
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.titel__text {
    max-width: 62ch;
    color: var(--grau-text);
    margin-bottom: 26px;
}

.titel__leiste {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    color: var(--grau-text);
}

.knopf {
    display: inline-block;
    padding: 11px 18px;
    border-radius: var(--radius);
    background: var(--gruen);
    color: var(--weiss);
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.15s;
}

.knopf:hover { background: var(--gruen-dunkel); }

.knopf:focus-visible,
.inhalt a:focus-visible {
    outline: 3px solid var(--gruen);
    outline-offset: 3px;
}

.aufbau {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

.inhalt {
    position: sticky;
    top: 72px;
    padding: 36px 0;
}

.inhalt ul { list-style: none; }

.inhalt a {
    display: block;
    padding: 5px 0 5px 12px;
    border-left: 2px solid var(--linie);
    color: var(--grau-text);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.inhalt a:hover {
    color: var(--gruen-dunkel);
    border-left-color: var(--gruen);
}

.text {
    padding: 36px 0 80px;
    max-width: 72ch;
}

.abschnitt {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--linie);
    scroll-margin-top: 80px;
}

.abschnitt:last-child { border-bottom: none; }

.abschnitt h2 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.abschnitt p {
    color: #3b453c;
    margin-bottom: 10px;
}

.tabelle {
    overflow-x: auto;
    margin: 6px 0 14px;
}

.tabelle table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    line-height: 1.5;
}

.tabelle th,
.tabelle td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px;
    border-bottom: 1px solid var(--linie);
}

.tabelle th {
    background: var(--gruen-hell);
    font-weight: bold;
}

.tabelle td:first-child {
    font-weight: bold;
    width: 30%;
}

@media (max-width: 760px) {
    .aufbau {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .inhalt { display: none; }

    .titel { padding-top: 36px; }
}