/* Styles */
#maincontent h2, #maincontent h3 {
    color: #5E5F3E;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    display: block;
    box-sizing: border-box;
}
#maincontent section {
    margin: 100px auto;
}
#maincontent p {
    line-height: 1.5;
}
.page-footer .footer-logo {
    margin-top: 0 !important;
}

/* B2B Header */
#b2b-header {
    position: relative;
    margin: 0 !important;
}
#b2b-header h1 {
    color: white;
    display: block;
    position: absolute;
    top: 50%;
    z-index: 1;
    text-align: center;
    line-height: 1;
    margin: auto 0 auto 0;
    left: 2vw;
    top: 0;
    bottom: 0;
    height: max-content;
}
#b2b-header h1 > span:nth-child(1) {
    font-size: 3.5vw;
    font-weight: 600;
    display: block;
} 
#b2b-header h1 > span:nth-child(2) {
    font-size: 1.2vw;
    font-weight: 300;
    display: block;
    margin-top: 1vw;
}
@media screen and (max-width: 768px) {
    #b2b-header h1 {
        left: 0;
        top: 5vw;
        right: 0;
        margin: 0 auto;
        text-align: center;
        bottom: 0;
        height: max-content;
        width: 100%;
    }
    #b2b-header h1 > span:nth-child(1) {
        font-size: 10vw;
    }
    #b2b-header h1 > span:nth-child(2) {
        font-size: 4vw;
    }
    
}
/* B2B Intro */
#b2b-intro {
    padding: 0;
    margin: 48px auto 100px auto !important;
    width: clamp(320px, 90%, 1300px);
}
#b2b-intro h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0.5em;
}
#b2b-intro span {
    font-size: 28px;
    font-weight: 700;
    display: block;
    margin-bottom: 1.5em;
    color: #5E5F3E;
}
#b2b-intro p {
    padding: 0;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}
@media screen and (max-width: 768px) {
    #b2b-intro h2 {
        font-size: 22px;
    }
    #b2b-intro span {
        font-size: 19px;
    }
    #b2b-intro p {
        font-size: 16px;
    }
}

/* B2B Offer */
#b2b-offer {
    padding: 0;
    margin: 64px auto;
    width: clamp(320px, 90%, 1300px);
}
#b2b-offer h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 48px 0;
}
#b2b-offer .offer-cont {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
#b2b-offer .offer-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 0 0 10px 0;
    background-color: #F8F7F2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#b2b-offer .offer-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 0 30px;
    text-align: left;
}
#b2b-offer .offer-card p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
    padding: 0 30px;
    text-align: left;
}
@media screen and (max-width: 768px) {
    #b2b-offer .offer-card p {
        font-size: 16px;
    }
    #b2b-offer .offer-card h3 {
        font-size: 19px;
    }
}

/* B2B Reasons */
#b2b-reasons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 60px;
}
#b2b-reasons-image {
    flex: 3;
}
#b2b-reasons-content {
    flex: 7;
    padding-right: 60px;
}
#b2b-reasons p {
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    margin: 0;
    padding: 0;
}
#b2b-reasons h2 {
    text-align: left;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 48px 0;
    padding: 0;
}
#b2b-reasons h3 {
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    padding: 0;
}
@media screen and (max-width: 768px) {
    #b2b-reasons {
        flex-direction: column;
        align-items: center;
    }
    #b2b-reasons-content {
        flex: 1;
        width: 90%;
        padding-right: 0;
        margin: auto;
    }
    #b2b-reasons .mobile-only {
        margin-top: 20px;
    }
    #b2b-reasons h2 {
        font-size: 19px;
        margin-bottom: 20px;
    }
    #b2b-reasons h3 {
        font-size: 16px;
    }
    #b2b-reasons p {
        font-size: 16px;
    }
}

/* B2B Advantages */
#b2b-advantages {
    background-color: #F8F7F2;
    padding: 30px 0;
    overflow: hidden;
}
#b2b-advantages h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin:0 0 48px 0;
    line-height: 1;
}

/* B2B Advantages Swiper */
#swiper-b2b-advantages.swiper-container {
  width: clamp(320px, 100%, 1400px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px clamp(8px, 5%, 20px);
  overflow: hidden;
}
#swiper-b2b-advantages .swiper-wrapper {
  width: 100%;
  box-sizing: border-box;
}
#swiper-b2b-advantages .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#swiper-b2b-advantages .swiper-slide svg {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}
#swiper-b2b-advantages h3 {
    font-size: clamp(16px, 1.3vw, 20px);
    color: black;
    transition: 0.3s ease;
    word-break: keep-all;
    text-align: center;
}
#swiper-b2b-advantages p {
    font-size: clamp(16px, 1.3vw, 18px);
    color: black;
    transition: 0.3s ease;
    word-break: keep-all;
    text-align: center;
    padding: 0 15px;
    margin: 0;
    line-height: 1.2;
}
#swiper-b2b-advantages .swiper-pagination {
  position: static;
}

/* B2B Form to be added later*/

/* B2B Login and Contact */
#b2b-login h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 48px 0 30px 0;
    line-height: 1;
}
#b2b-login p {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 20px 0;
}
#b2b-login #b2b-login-btn {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    background-color: #5E5F3E;
    text-decoration: none;
    border-radius: 50px;
    padding: 13px 24px;
    width: max-content;
    margin: 10px auto;
}
#b2b-login a:visited {
    color: #ffffff;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
    #b2b-login h2 {
        font-size: 19px;
    }
    #b2b-login p {
        font-size: 16px;
    }
    #b2b-login #b2b-login-btn {
        font-size: 18px;
    }
    #b2b-login #b2b-email-link {
        font-size: 16px;
    }
}

/* B2B More Holzkern */
#b2b-more-holzkern {
    background-color: #F8F7F2;
    padding: 30px 0;
    margin-bottom: 0 !important;
}
#b2b-more-holzkern h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin:0 0 48px 0;
    line-height: 1;
}
@media screen and (max-width: 768px) {
    #b2b-more-holzkern h2 {
        font-size: 22px;
    }
    
}

/* Slideshow */
.slideshow-container {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin: auto;
}
.mySlides {
    display: none;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #F0F0F1;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.dot {
    cursor: pointer;
    height: 5px;
    width: 5px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.activated, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
.green-white {
    background-color: #747C59;
    color: white;
}
@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
