@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
:root {
    --white: #fff;
    --color-primary: #E6F3D3;
    --color-secondary: #6D9D2A;
    --bg-grey: #EBEBEB;
}

html body {
    font-family: 'D-DIN', sans-serif;
}

.table-of-contents {
    background-color: var(--color-primary);
}

@media (max-width: 992px) {
    .table-of-contents {
        background-color: transparent;
    }
}

.table-of-contents__heading {
    background-color: var(--bg-grey);
    display: block;
    font-size: 1.5rem;
    margin: 0;
    margin-top: 2rem;
    padding: 15px;
    text-transform: uppercase;
}
@media (max-width: 1200px) {
    .table-of-contents__heading {
        hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
    }
}
@media (max-width: 992px) {
    .table-of-contents__heading {
        color: var(--color-secondary);
        background-color: transparent;
        font-weight: 700;
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .table-of-contents__heading--toggleable {
        cursor: pointer;
    }

    .table-of-contents__heading--toggleable::after {
        background-image: url('../images/toggle.svg');
        background-repeat: no-repeat;
        background-size: 1rem;
        content: '';
        display: inline-block;
        height: 1rem;
        margin-left: 0.5rem;
        transition: transform 0.2s ease;
        transform: translateY(5px);
        width: 1rem;
    }

    .table-of-contents__heading--open::after {
        transform: translateY(-5px) rotate(-180deg);
    }
}

.table-of-contents__list {
    list-style: none;
    padding: 0;
}

.table-of-contents__list--collapsed {
    display: none;
}

.table-of-contents__link {
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
}

@media (max-width: 1200px) { 
    .table-of-contents__link {
        hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
    }
}


.table-of-contents__item {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    padding: 15px;
}

.table-of-contents__item::before {
    content: '●';
    color: var(--color-secondary);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.table-of-contents__item:nth-child(odd) {
    background-color: var(--white);
}

.table-of-contents__item:nth-child(even) {
    background-color: var(--bg-grey);
}

.sp-ersti__img {
    height: clamp(130px, 15vw, 15vw);
    object-fit: cover;
    width: 100%;
}

.sp-ersti__titel {
    text-transform: uppercase;
}

.akkordeon__titel {
    align-items: center;
    background-color: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.akkordeon__titel:focus {
    outline: none;
}

.akkordeon__titel:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

.akkordeon__titel::before {
    background-image: url('../images/toggle.svg');
    background-repeat: no-repeat;
    background-size: 1rem;
    content: '';
    display: inline-block;
    flex-shrink: 0;
    height: 1rem;
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
    transform: translateY(5px);
    width: 1rem;
}

.akkordeon__titel[aria-expanded="true"]::before {
    transform: rotate(-180deg);
}

.akkordeon__item {
    border-bottom: 1px solid var(--color-secondary);
    margin-bottom: 0.75rem;
}

.sp-ersti__misc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: flex-start;
    margin-bottom: 8rem;
    margin-top: 3rem;
}

@media (max-width: 576px) {
    .sp-ersti__misc-container {
        gap: 1.5rem;
        justify-content: center;
    }
}

.ersti-misc-vid {
    align-items: center;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 10rem;
}

.ersti-misc-vid:focus {
    outline: none;
}

.ersti-misc-vid:focus-visible {
    outline: 2px solid black;
    outline-offset: 3px;
}

.ersti-misc-vid__btn {
    aspect-ratio: 1;
    background-color: var(--color-primary);
    background-image: url('../images/play-button.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 5rem;
    border-radius: 10px;
    width: 10rem;
}

.ersti-misc-vid__text {
    font-weight: 700;
    margin-top: 0.75rem;
    text-transform: uppercase;
}

.ersti-misc-link {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    width: 10rem;
}

.ersti-misc-link:hover {
    text-decoration: none;
}

.ersti-misc-link__btn {
    align-items: center;
    background-color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    height: 10rem;
    justify-content: center;
    width: 10rem;
}

.ersti-misc-link__img {
    height: 5rem;
    object-fit: contain;
    width: 5rem;
}

.ersti-misc-link__anchor {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-top: 0.75rem;
    text-transform: uppercase;
}

.ersti-misc-download {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    width: 10rem;
}

.ersti-misc-download:hover {
    text-decoration: none;
}

.ersti-misc-download__btn {
    align-items: center;
    background-color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    height: 10rem;
    justify-content: center;
    width: 10rem;
}

.ersti-misc-download__img {
    height: 5rem;
    object-fit: contain;
    width: 5rem;
}

.ersti-misc-download__anchor {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-top: 0.75rem;
    text-transform: uppercase;
}
.acf-missing-renderer {
    color: red;
    font-size: 2rem;
    font-weight: 700;
}