/* Grundfonts */
@font-face {
    font-family: 'Geogrotesque';
    src: local('fonts/Geogrotesque Medium'), local('Geogrotesque-Medium'),
        url('fonts/GeogrotesqueCyr-Medium.woff2') format('woff2'),
        url('fonts/GeogrotesqueCyr-Medium.woff') format('woff'),
        url('fonts/GeogrotesqueCyr-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Geogrotesque semi bold';
    src: local('fonts/Geogrotesque SemiBold'), local('Geogrotesque-SemiBold'),
        url('fonts/GeogrotesqueCyr-SemiBold.woff2') format('woff2'),
        url('fonts/GeogrotesqueCyr-SemiBold.woff') format('woff'),
        url('fonts/GeogrotesqueCyr-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Geogrotesque regular';
    src: local('fonts/Geogrotesque Regular'), local('Geogrotesque-Regular'),
        url('fonts/GeogrotesqueCyr-Regular.woff2') format('woff2'),
        url('fonts/GeogrotesqueCyr-Regular.woff') format('woff'),
        url('fonts/GeogrotesqueCyr-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Geogrotesque italic';
    src: local('fonts/Geogrotesque Italic'), local('Geogrotesque-Italic'),
        url('fonts/GeogrotesqueCyr-Italic.woff2') format('woff2'),
        url('fonts/GeogrotesqueCyr-Italic.woff') format('woff'),
        url('fonts/GeogrotesqueCyr-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Reset / Normalize light */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed
}

/* Body */
body {
    background-color: #F9F7F6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin-left: 1.41575em;
    margin-right: 1.41575em;
}

@media (min-width: 891px) {
    .container {
        margin: 0 auto;
        margin-left: 1.41575em;
        margin-right: 1.41575em;
    }
}

@media (min-width: 1201px) {
    .container {
        margin: 0 auto;
    }
}

.recycling-page .pretitle {
    font-family: 'Geogrotesque semi bold', sans-serif;
    font-weight: 600;
    font-style: normal;
    margin: 50px auto 7px;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: .023em;
    text-align: center;
    text-transform: uppercase;
}

.recycling-page .subheadline {
    font-family: 'Geogrotesque', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 32px;
    text-align: left;
    margin: 0;
}

@media (min-width: 891px) {
    .recycling-page .subheadline {
        font-size: 29px;
        text-align: center;
        line-height: 44px;
    }
}

/* Tabs Container */
.tabs-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    position: relative;
    width: 100%;
    margin: 2.5rem auto 1.5rem;
}

@media (min-width: 981px) {
    .tabs-container {
        width: max-content;
        align-items: center;
        margin: 3rem auto 4rem;
    }
}

/* Scrollbar Bereich */
.tabs-scroll {
    flex: 1;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    /* iOS smooth scroll */
    cursor: grab;
    width: 100%;
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tabs-scroll:active {
    cursor: grabbing;
}

/* Tabs Liste */
.products-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    width: 100%;
    justify-content: space-around;
    gap: 50px;
}

@media (min-width: 981px) {
    .products-tabs {
        gap: 4rem;
    }
}

.tab-link {
    font-family: "Geogrotesque semi bold";
    font-weight: 600;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    padding-bottom: 0.2rem;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
    position: relative;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 39px;
    height: 1px;
    background-color: transparent;
    transition: background-color 0.2s;
}

.tab-link.active::after {
    background-color: #2E2E2E;
}

/* Scroll Buttons */
.scroll-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 10;
    padding: 0;
    margin-top: 3px;
}

.scroll-btn svg path {
    stroke: #2E2E2E;
    transition: stroke 0.2s ease;
}

.scroll-btn:hover svg path {
    stroke: #000;
    /* dunkler beim Hover */
}

.scroll-btn.disabled svg path {
    stroke: #aaa;
    /* ausgegraut */
}

.scroll-btn.left {
    margin-right: 30px;
}

.scroll-btn.right {
    margin-left: 30px;
}

.scroll-btn {
    display: block;
}

@media (min-width: 981px) {
    .scroll-btn {
        display: none;
    }
}

/* Tabs Content */
.products-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    gap: 2rem;
}

@media (min-width: 891px) {
    .products-wrapper {
        min-height: 650px;
        margin-top: 4rem;
    }
}

/* Tab Content Animation */
.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 2rem;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
}

@media (min-width: 981px) {
    .tab-content {
        gap: 4rem;
    }
}

.tab-content .products-right {
    order: 1;
    flex: 0 0 20%;
    display: flex;
    justify-content: start;
    flex-direction: column;
}

.tab-content .products-left {
    order: 2;
    flex: 1;
}

.tab-content .products-right img {
    max-width: 80px;
}

@media (min-width: 981px) {
    .tab-content .products-right img {
        max-width: 180px;
    }

    .tab-content .products-right {
        order: 2;
        flex: 0 0 49%;
        justify-content: start;
        flex-direction: row;
        align-items: flex-start;
    }

    .tab-content .products-left {
        order: 1;
        flex: 1;
    }

    .tab-content .products-right img:first-of-type {
        margin-right: 50px;
    }

    #product-0 .products-right img:first-of-type {
        margin-top: 20px;
    }
}


.tab-content.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
}

/* Left / Right Slide Klassen */
.tab-content.slide-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}

.tab-content.slide-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 2;
}



/* Listen Elemente */
.elements-list {
    list-style: none;
    padding: 0;
}

@media (min-width: 891px) {
    .elements-list {
        padding-left: 0.3rem;
    }
}

.elements-list li {
    border-bottom: 1px solid #C6C5C4;
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem;
}

@media (min-width: 891px) {
    .elements-list li {
        padding-bottom: 2rem;
        margin-bottom: 1.6rem;
    }
}

.elements-list li:last-child {
    border-bottom: 0;
}

.products-block .title {
    font-family: 'Geogrotesque';
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

@media (min-width: 981px) {
    .products-block .title {
        font-size: 20px;
        line-height: 40px;
        margin-bottom: 0.7rem;
    }
}

.products-block .material {
    font-family: 'Geogrotesque regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 23px;
    letter-spacing: 0.023em;
}

@media (min-width: 981px) {
    .products-block .material {
        font-size: 18px;
        line-height: 27px;
    }
}

.products-block .recycling_info {
    font-family: 'Geogrotesque semi bold';
    font-weight: 600;
    font-size: 12px;
    line-height: 23px;
    letter-spacing: 0.026em;
}

@media (min-width: 981px) {
    .products-block .recycling_info {
        font-size: 18px;
        line-height: 27px;
    }
}

.products-block .description {
    font-family: 'Geogrotesque italic';
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.026em;
    color: #2E2E2E;
}

@media (min-width: 981px) {
    .products-block .description {
        font-size: 18px;
        line-height: 27px;
    }
}