/* ############# HEADER SECTION ##############  */

#header-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    margin-bottom: 2rem;
}

#header-section::before {
    content: "";
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    background-image: radial-gradient(var(--bg-dark-2), var(--bg-dark));
    top: -20%;
    left: 0;
    z-index: -5;
}

.header-section-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 23rem;
    margin-top: 6rem;
    gap: 2rem;
}

.header-title h1 {
    color: var(--text-primary-light);
}
.header-title h3 {
    color: var(--accent-2);
    text-align: center;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border: .3rem var(--bg-light) solid;
    border-bottom: none;
    margin-top: 5rem;
    max-height: 30rem;
    max-width: var(--section-max-width);
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

/* Hero slider images (crossfade) */
.hero-image-wrapper .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* default for scenic photo */
    object-position: center;
    opacity: 0;
    transition: opacity 800ms ease-in-out;
}
/* Ensure full banner is always fully visible (letterboxed if needed) */
.hero-image-wrapper .hero-slide.contain {
    object-fit: contain;
    background-color: #000; /* add safe background to avoid empty gaps */
}
.hero-image-wrapper .hero-slide.active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-wrapper .hero-slide {
        transition: none;
    }
}



/* ############## ABOUT US SECTION ############## */

#about-us-section {
    padding-top: 2rem;
    overflow-x: hidden;
}

.about-us-section_wrapper {
    padding: 1rem;
    margin-bottom: 3rem;

    position: relative;
    z-index: 10;
}

.about-us-section_wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    z-index: -2;

    --radius: 12rem;
    width: var(--radius);
    height: var(--radius);

    background-color: rgba(45, 89, 52, 0.2);
    border-radius: 50%;
}

.about-us-section_title h3 {
    margin-bottom: 1rem;
}


.about-us-section_title h5 {
    margin-bottom: 1rem;
}

.about-us-section_image {
    display: none;
}

.about-us-section_desc {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
}


/* ############# PARTNERS_SECTION ##############  */


#partners-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.partners-section_container {
    max-width: var(--section-max-width);
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 5rem;
    padding: 3rem 0;
    flex-direction: column;
}

.partners-section_container--text {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.partners-section_container--text_main {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
}

.partners-section_container--text_badge.product_badge {
    margin: 0;
}

.partners-section_container--logos {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.partners-section_container--logos div {
    max-width: 70vmin;
}

/* Highlighted partner block (Träger Team) */
.partners-section_container--highlight {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, rgba(11, 85, 85, 0.05) 0%, rgba(45, 89, 52, 0.08) 100%);
    position: relative;
}

.partners-section_container--highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--bg-primary-1) 0%,
        var(--accent-2) 50%,
        var(--bg-primary-1) 100%);
}

.partners-section_container--highlight-wrapper {
    max-width: var(--section-max-width);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    background: #fffa;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
}

.partners-section_container--highlight-wrapper h2 {
    text-align: center;
    color: var(--bg-primary-1);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-bottom: 1rem;
}

.partners-section_container--highlight-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-2), var(--bg-primary-1));
    border-radius: 2px;
}

.partners-section_container--highlight-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    text-align: left;
    width: 100%;
}

.partners-section_container--highlight-content p {
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1rem;
}

.partners-section_container--highlight-content ol,
.partners-section_container--highlight-content ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.partners-section_container--highlight-content ol {
    counter-reset: custom-counter;
    list-style: none;
    padding-left: 0;
}

.partners-section_container--highlight-content ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
}

.partners-section_container--highlight-content ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, var(--bg-primary-1), var(--accent-2));
    color: white;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.partners-section_container--highlight-content ul li {
    position: relative;
    padding-left: 0.5rem;
}

.partners-section_container--highlight-content li {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.partners-section_container--highlight-content strong {
    color: var(--bg-primary-1);
    font-weight: 700;
}

.partner-card {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: min(60rem, 95%);
    width: 100%;
    background-color: transparent;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.08);
}

.partner-card img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Traeger CTA Button */
.traeger-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.ticket-cta-button {
    background: linear-gradient(135deg, var(--accent-2) 0%, #c4691f 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-2);
    box-shadow: 0 4px 12px rgba(255, 141, 26, 0.3);
}

.ticket-cta-button:hover {
    background: linear-gradient(135deg, #c4691f 0%, var(--accent-2) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 141, 26, 0.5);
}

@media screen and (max-width: 768px) {
    .ticket-cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 768px) {
    .partners-section_container--highlight-wrapper {
        padding: 3rem 3.5rem;
    }

    .partners-section_container--highlight-content {
        padding: 0 1rem;
    }
}

/* ############# FEATURES_SECTION ##############  */

#features-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-top: 2rem;

    position: relative;
    z-index: -1;

}

#features-section_wrapper {
    max-width: var(--section-max-width);
    position: relative;
    z-index: -2;
}

.features-section-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.features-section-top::before {
    content: '';
    position: absolute;
    width: 150vw;
    top: 0;
    left: -20%;
    height: 100%;
    background: linear-gradient(135deg, rgb(11, 85, 85) 0%, rgb(15, 70, 75) 100%);
    z-index: -1;
}

.features-section-top h3,
.features-section-top p,
.features-section-top * {
    color: #ffffff;
}

.features-section-top .section-title_border {
    background-color: rgba(255, 255, 255, 0.8);
}


#products {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, rgba(11, 85, 85, 0.05) 0%, rgba(45, 89, 52, 0.08) 100%);
    position: relative;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bg-primary-1) 0%, var(--accent-2) 50%, var(--bg-primary-1) 100%);
}

.product-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: var(--section-max-width);
}

.product {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    padding: 2.5rem 2rem;
    background: #fffa;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Ensure product text colors work on white backgrounds even in dark sections */
.product h3,
.product h4,
.product h5,
.product h6 {
    color: #0a5555 !important;
}

.product p,
.product li {
    color: #2c3e50 !important;
}

.product a {
    color: var(--bg-primary-1) !important;
}

.product_category {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
    gap: .3rem;
    width: 100%;
    padding: .5rem 1rem;
    margin-bottom: 1rem;
}

.product_category .section-title_border {
    background-color: var(--accent-2);
}

.product_category h4 {
    color: #1a1a1a;
}

.product.reverse {
    flex-direction: row-reverse;
}

.product_badge {
    align-self: flex-start;
    background-color: var(--bg-primary-1);
    color: #ffffff;
    font-weight: 600;
    padding: .5rem .8rem;
    border-radius: .5rem;
    margin-bottom: 1.5rem;
}

.product-text {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
}

.product-text h3 {
    color: #0a5555;
}

.product-text h6 {
    color: #1a1a1a;
}

.product-text p {
    color: #2c3e50;
    line-height: 1.7;
}

.product-text a{
    color: var(--bg-primary-1);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.product-text a:hover {
    color: #0a5555;
    text-decoration: underline;
}

.product-text svg {
    width: 1rem;
    height: 1rem;
}

.product-text a svg path {
    fill: var(--bg-primary-1);
    transition: fill 0.2s ease;
}

.product-text a:hover svg path {
    fill: #0a5555;
}

.product-text_title h3 {
    margin-bottom: 1rem;
}

.product-text_top h3 {
    margin-bottom: 1rem;
}

.product-image {
    width: 100%;
}

.product-image img {
    border-radius: 1rem;
    overflow: hidden;
}

.desktop {
    display: none;
}

.product_feature-list--wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.product_feature-list--wrapper ul {
    margin-left: 2rem;
}

.product_feature-list--wrapper li {
    list-style-type: disc;
    text-align: left;
    margin-bottom: .5rem;
    color: #2c3e50;
}

.product_banner {
    max-height: 20rem;
    overflow: hidden;
    border-radius: 1rem;
}

.product_banner img {
    object-position: center;
    border-radius: 1rem;
}

.feature-title {
    text-align: center;
    color: var(--text-primary-light);
    font-size: 1.2rem;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.features-card-list {
    display: flex;
    justify-content: flex-end;
    align-items: start;
    flex-direction: column;
    gap: .5rem;
    padding: 0 2rem 1rem 3rem;
}

.features-card-list li {
    list-style-type: none;
    font-size: 1rem;

    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
}

.card-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.fill .card-icon path {
    stroke: var(--bg-light);
}

.stroke .card-icon path {
    stroke: var(--bg-primary-2);
}

.stroke .feature-title {
    color: var(--text-secondary);
}


/* ############## CONTACT_US SECTION */

#contact-us-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 1rem;
    margin: 10rem 0 5rem 0;
}

.contact-us-section-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-us-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.contact-us-title-container h3 {
        text-align: center;
}

.contact-us-title-container p {
    text-align: center;
}

#contact-us-section .buttons-container {
    flex-direction: row;
    margin: 1rem 0;
}

#contact-us-section .button {
    background: linear-gradient(135deg, rgb(11, 85, 85) 0%, rgb(15, 70, 75) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

#contact-us-section .button:hover {
    background: linear-gradient(135deg, rgb(15, 70, 75) 0%, rgb(11, 85, 85) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 85, 85, 0.3);
}

@media screen and (min-width: 720px) {

    #header-section::after {
        content: '';
        position: absolute;
        width: 100vw;
        height: 100%;
        z-index: -1;
    }

    .header-section-top {
        max-width: var(--section-max-width);
    }

    .header-title {
        gap: 1rem;
        margin-top: 5rem;
        margin-bottom: 2rem;
        max-width: 35rem;
    }

    .about-us-section_wrapper::after {
        all: unset;
    }

    #about-us-section {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }


    .about-us-section_wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        max-width: var(--section-max-width);
    }

    /*.about-us-section_title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }*/

    .about-us-section_title h3,
    .about-us-section_title h5 {
        text-align: left;
    }

    #features-section {
        margin-top: 4rem;
    }

    #features-section::before {
        all:unset;
    }

    .features-section-top {
        margin-bottom: 5rem;
    }

    .features-cards-container {
        display: grid;
        grid-template-areas:
            "left right"
            "bottom bottom"
        ;
        gap: 2rem;
        width: 100%;
    }

    .card-container:nth-child(1) {
        grid-area: left;
    }

    .card-container:nth-child(2) {
        grid-area: right;
    }

    .card-container:nth-child(3) {
        grid-area: bottom;
    }

    .features-card-list {
        padding: 0;
    }

    .features-section-top p,
    .features-section-top h3,
    .features-section-top * {
        color: #1a1a1a;
    }

    .features-section-top .section-title_border {
        background-color: var(--accent-2);
    }

    .features-section-top::before {
        all: unset;
    }

    #products {
        gap: 6rem;
    }

    .product {
        backdrop-filter: blur(5px);
        gap: 3rem;
    }

    .product.reverse p,
    .product.reverse h5,
    .product.reverse h3,
    .product.reverse h6,
    .product.reverse h4 {
        color: #ffffff !important;
    }

    .product.reverse li {
        color: #ffffff !important;
    }

    .product.reverse a {
        color: #ffffff !important;
        font-weight: 600;
    }

    .product.reverse a:hover {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .product.reverse a svg path {
        fill: #ffffff;
    }

    .product.reverse {
        background: linear-gradient(135deg, rgb(11, 85, 85) 0%, rgb(15, 70, 75) 100%);
    }

    .product.reverse::before {
        all: unset;
    }

}
@media screen and (min-width: 900px) {
    .partners-section_container {
        flex-direction: row;
    }

    .mobile {
        display: none;
    }

    .desktop {
        display: block;
    }
}

@media screen and (min-width: 1080px) {

    #about-us-section {
        padding-top: 6rem;
    }

    .partners-section_container {
        flex-direction: row;
    }

    .mobile {
        display: none;
    }

    .desktop {
        display: block;
    }

    .features-cards-container {
        display: flex;
        flex-direction: row;
    }

    .card-container {
        max-width: 25rem;
    }
}


@media screen and (min-width: 1486px) {
    .about-us-section_image {
        display: block;
        position: absolute;
        width: 10rem;
    }

    .about-us-section_image.left {
        left: -20%;
    }

    .about-us-section_image.right {
        right: -20%;
    }
}
