body {
    margin: 0; 
    font-family: 'Albert Sans', sans-serif;
}

h2 {    
    font-size: 36px;
    text-align: center;
}

h3 {    
    font-size: 32px;
    text-align: center;
}
h4 {
    font-size: 24px;
    display: flex;
}

.contentWrapper {
    max-width: 80em;
    padding: 2em;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20;
    }

    #faqTitle {
        margin-top: 11em !important;
    }
}


.squareImage{
    aspect-ratio: 1;
    object-fit: cover;
}



/*
#######################################################
#													  #
#					NavBar          				  #
#													  #
#######################################################
*/




.navbarTop {
    box-sizing: border-box;
    max-width: 100%;
    height: 120px;
    background-color: #222612;
    display: grid;
    grid-template-columns: 40% auto 40%;
    padding: 0em 3em;
    gap: 1em;
}


.navbarTop * {
    color: #fff;
}

.navbarTop > * {
    display: flex;
    align-items: center;
    gap: 2em;
}

.navbarTop a {
    text-decoration: none;
    font-size: 22px;
}

.navbarTop > *:last-child {
    justify-content: flex-end;
}

.navbarTop > *:last-child img {
    width: 100%;
}

.navbarTop > *:first-child img {
    width: 100%;
}

.navbarTop .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbarTop .logo img {
    max-height: 100%;
    max-width: 100%;
}

.navbarTop > *:first-child > a {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbarTop > * > a.active::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
    background-color: #f2d129;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.navbarTop > *:first-child > a.stoff {
    display: none;
}

@media (max-width: 1400px) {
    .navbarTop {
        grid-template-columns: 3.75em auto 3.75em;
    }
    .navbarTop > *:first-child > a {
        display: none;
    }
    .navbarTop > *:first-child > a.stoff {
        display: flex;
    }
    .navbarTop > *:last-child > a.stoff {
        display: none;
    }
} 


/*
#######################################################
#													  #
#					slider          				  #
#													  #
#######################################################
*/
.slider{
    /* Variablen werden auf elementebene später per js (/layout/slide.js) für jeden slider geändert */
    --position: 0;
    --maxSlider: 4;
    --swipeAddition: 0px;
    position: relative;
    margin-top: 8.333em;
    max-width: 92.222em;
    margin: 0 auto;
    padding: 1em;
}

.slider .slides {
    display: flex;
    overflow: hidden;
    border-radius: 25px;
}

.slider .slides > * {
    min-width: 100%;
    max-width: 100%;
    transform: translate(
        calc(
            calc(
                calc(
                    -1 * var(--position)
                ) * 100%
            ) + var(--swipeAddition)
        )
    );
    transition-duration: 200ms;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.forground {
    color: white;
    font-size: 50px;
    backdrop-filter: blur(5px) brightness(0.8);
    padding: 1em;
    background-color: #22261293;
    border-radius: 10px;
}
.forground > span {
    text-align: center;
}
.slider .slides > * .background {
    width: 100%;
}

.slider .slides > * .forground {
    position: absolute;
}

.slider .controlelementsWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
}

.slider .controlelementsWrapper svg {
    --svgColor: var(--primaryColor);
}

.slider .bar {
    width: 90%;
    height: 2px;
    background-color: var(--sliderBarBackground);
    position: relative;
}

.slider .bar::after {
    content: "";
    position: absolute;
    width: calc(100% / var(--maxSlider));
    left: calc(calc(calc(100% / var(--maxSlider)) * var(--position)) + calc(-1 * calc(var(--swipeAddition) / var(--maxSlider))));
    height: 4px;
    background-color: var(--primaryColor);
    top: 50%;
    transform: translateY(-50%);
    transition-duration: 200ms;
}

.slider .beforebtn, .slider .nextbtn {
    cursor: pointer;
    display: flex;
    transition-duration: 200ms;
}

.slider .beforebtn.inactive, .slider .nextbtn.inactive {
    filter: grayscale() brightness(1.6);
}

/* barClickHitbox wird später von js (/layout/slide.js) in das div mit der class .bar gelegt */
.slider .barClickHitbox {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2em;
    width: 100%;
    cursor: pointer;
    z-index: 11;
}



.tablet, .mobile {
    display: none;
}

.landscape{
    display: block;
}

@media (max-width: 1550px) {
    .slider .slides > * .forground {
        position: absolute;
        max-width: 70%;
        font-size: 2em;
    }
}

@media (max-width: 1000px) {
    .slider .forground {
        font-size: 12px;
    }
}


@media (max-width: 900px) {
    .slider .slides > * .forground {
        font-size: 1.6em;
    }
}

@media (max-width: 700px) {
    .slider .forground {
        font-size: 9px;
    }
    .slider .landscape, .slider .mobile {
        display: none;
    }

    .slider .tablet{
        display: block;
    }
    
    .slider{
        margin: 0;
        padding: 0;
    }
    .slider .slides{
        border-radius: 0;
    }
    .slider .background{
        height: 13em;
        object-fit: cover;
    }
}

@media (max-width: 500px) {
    .slider .forground {
        font-size: 9px;
    }
    .slider .landscape, .slider .tablet {
        display: none;
    }

    .slider .mobile{
        display: block !important;
    }
}





/*
#######################################################
#													  #
#					Zwischentext    				  #
#													  #
#######################################################
*/


.infoText {
    display: flex;
    flex-direction: column;
    margin-top: 72px;
    align-items: center;
}
.infoTextHeadlines {
    text-align: center;
}
    .infoTextHead {
        font-size: 36px;
    }
    .imageTitle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1em;
    }
    .infoTextMiddleHead {
        font-size: 32px;
    }
    .infoTextContent {
        font-size: 20px;        
        display: flex;
        flex-direction: column;
    }


.impressumBoxFloat {
    display: flex;
    flex-direction: column;
    margin-top: 98px;
    background-color: #D9D7C1;
    padding: 50px 900px 70px 50px;
    border-radius: 20px;
}
    .impressumHeadlines {
        text-align: left;
    }
    .impressumBoxContent {
        display: flex;
        flex-direction: column;
    }

    .impressumBoxFloat > div {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    

.infoTextBoxFloat {    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 98px;
    background-color: #D9D7C1;
    padding-bottom: 70px;
    border-radius: 20px;
}

    .infoTextBoxFloat > div {    
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        max-width: 47.778em;
        margin: 0 auto;
        padding: 1em;
    }

    .infoTextBoxFloat img {    
        border-radius: 20px;
        width: 100%;
        object-fit: cover;
    }
    .infoTextBoxFloat img.wideImage {    
        width: 100%;
    }
    .infoBoxContent {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
.infoTextBoxFull {    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 98px;
    background-color: #D9D7C1;
    padding-bottom: 70px;
}

    .infoTextBoxFull > div {    
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        max-width: 47.778em;
        margin: 0 auto;
        padding: 1em;
    }

    .infoTextBoxFull img {    
        border-radius: 20px;
        width: 100%;
        object-fit: cover;
    }
    
@media (max-width: 1400px) {
    .infoTextHead {
        font-size: 24px;
    }
    .infoBoxContent {
        font-size: 16px;
    }
    .infoTextContent {
        font-size: 16px;
    }
}
    
    
.rolloTextBoxFull  {
    display: flex;
    align-items: center;
    margin-top: 98px;
    background-color: #D9D7C1;
    padding-bottom: 70px;
    padding: 50px;
} 
    .rolloTextBoxFull > div {    
        display: flex;
        align-items: center;
        box-sizing: border-box;
        max-width: 47.778em;
        margin: 0 auto;
        padding: 1em;
        gap: 100px;
    }

    .rolloTextBoxFull img {    
        border-radius: 20px;
        width: 100%;
        object-fit: cover;
    }
    .rolloTextHeadlines {
        text-align: center;
    }
    .rolloBoxContent {
        display: grid;
        grid-template-columns: 47.5% 47.5%;
        grid-template-rows: auto auto;
        gap: 2em;
        margin-top: 20px;
    }
    
    
    /*
#######################################################
#													  #
#					buttons         				  #
#													  #
#######################################################
*/


.primaryButton {
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 13px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.389em;    
    padding: 0 4.2em;
    height: 3.111em;
    cursor: pointer;
    font-size: 1.3em;
    user-select: none;
    text-decoration: none;
    box-sizing: border-box;
    color: yellow;
    transition-duration: 300ms;
    font-family: 'Albert Sans', sans-serif;
}
    .primaryButton:hover {        
        background-color: yellow;
        color: black;
    }
.primaryTextButton {
    min-width: 30%;
    padding: 1em;
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 13px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.389em;
    height: 3.111em;
    cursor: pointer;
    font-size: 1.3em;
    user-select: none;
    text-decoration: none;
    box-sizing: border-box;
    transition-duration: 300ms;
    color: yellow;    
    font-family: 'Albert Sans', sans-serif;
    margin-top: 30px;
}
    .primaryTextButton:hover {        
        transition-duration: 200ms;               
        background-color: yellow;
        color: black;
    }

    /*
#######################################################
#													  #
#					3-pic layout    				  #
#													  #
#######################################################
*/


.modelleWrapper {
    display: flex;
    justify-content: space-between;
    gap: 5em;
}
.modelleWrapper img{
    width: calc(33% - calc(2em / 3));
    aspect-ratio: width/height;
    object-fit: cover;
    border-radius: 20px;
}
#modelleText {
    display: flex;
    align-items: center;
    margin-top: 40px;
    font-size: 16px;
    gap: 60px;
}

@media (max-width: 700px) {
    #modellImage2 {
        display: none;
    }
    .modelleWrapper img{
        width: calc(50% - calc(2em / 2));
        aspect-ratio: width/height;
    }
    .modelleWrapper {
        gap: 1em;
    }
}


/*
#######################################################
#													  #
#					full width green banner 		  #
#													  #
#######################################################
*/


.befestigungWrapper {
    background-color: #D9D7C1;
    padding: 1em;
    padding-top: 30px;
    padding-bottom: 70px;
}
.befestigungWrapper > div{
    max-width: 1260px;
    margin: 0 auto;
}
    .befestigungWrapper > div > div {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 5em;
    }
    .boxTextContent {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 100px;
    }
    .boxTextContent .primaryButton {
        width: 60%;
    }
    .befestigungWrapper > div > div > div{
        width: calc(50% - 2em);
    }
    .imageWrapper > img {
        width: 100%;
        border-radius: 30px;
    }
    .befestigungWrapper .imageSidebySide{
        display: flex;
        gap: 1em;
    }

#messenBoxContent {
    display: grid;
    grid-template-columns: 47.5% 47.5%;
    grid-template-rows: auto auto;
    gap: 2em;
    margin-top: 20px;
}

#messenBoxContent .messenImage{
    grid-column: 1;
    grid-row: 1 / 3;
}
#messenBoxContent .messenText{
    grid-column: 2;
    grid-row: 1;
}
#messenBoxContent .messenButton{
    grid-column: 2;
    grid-row: 2;
}
#messenBoxContent > div {
    display: flex;    
    gap: 2em;
    margin-top: 20px;
}
#messenBoxContent .infoBoxContent {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.messAnleitungWrapper {
    display: flex;
    align-items: center;
}


/*
#######################################################
#													  #
#					FAQ Boxen          				  #
#													  #
#######################################################
*/


.faqBox {
    background-color: #D9D7C1;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
    #faqTitle {
        margin-top: 200px;
        text-align: center;
        position: relative;
        margin: 0;
        padding-bottom: 1em;
        margin-top: 9em;
    }
    #messenDenkenKlein {
        max-width: 40%;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .faqHeadline {
        font-size: 24px;        
    }
    .faqContent {
        font-size: 20px;
    }
    .faqWrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }



/*
#######################################################
#													  #
#					footer             				  #
#													  #
#######################################################
*/


.footer {
    background-color: #222612;
    color: white;   
    margin-bottom: 0;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
    .footer a {
        color: white;
        text-decoration: none;
    }
        
.mobileFooterBar {
    display: none;
}
    .mobileFooterBar .iconWrapper {
        display: flex;
        justify-content: center;
        width: 20vw;
    }
    .mobileFooterBar a {
        color: white;
        text-decoration: none;
        font-size: 13px;
    }
    .iconWrapper a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .iconWrapper a > img {
        width: 3em;
    }

    .mobileFooterBar span {
        text-align: center;
    }

.backToTopButton {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 2em;
    right: 2em;
    border: solid #fff 2px;
    border-radius: 20px;
    background-color: #222612;
    width: 60px;
    height: 60px;
    align-items: center;
    cursor: pointer;
}
.backToTopButtonMobile {
    display: none;
}




/*
#######################################################
#													  #
#	        imageText left and right  				  #
#													  #
#######################################################
*/


.imagePlusTextLeft, .imagePlusTextRight{
    gap: 40px;
    display: grid;
    align-items: center;
}

.imagePlusTextLeft h4:first-child, .imagePlusTextRight h4:first-child{
    margin-top: 0;
}

.imagePlusTextRight {
    grid-template-columns: 40% auto;
    margin-top: 71px;
    margin-bottom: 94px;
}

.imagePlusTextLeft {
    grid-template-columns: auto 40%;
    margin-top: 71px;
    margin-bottom: 94px
}
    .contentWrapperImageText {
        display: flex;
        flex-direction: column;
    }
    .imagePlusTextRight > img, .imagePlusTextLeft > img{ 
        width: 100%;
        min-width: 65%;
        object-fit: cover;
    }
    #ladderImages {
        border-radius: 20px;
    }
    
@media (max-width: 650px) {
    .imagePlusTextRight,.imagePlusTextLeft{
        padding: 0 1em;
    }
}
@media (max-width: 1100px) {
    .imagePlusTextRight > img {
        width: 30vw;
        object-fit: cover;
        border-radius: 10px;
    }
    .imagePlusTextRight {
        align-items: stretch;
    }
    .imagePlusTextLeft > img {
        width: 30vw;
        object-fit: cover;
        border-radius: 10px;
    }
    .imagePlusTextLeft {
        align-items: stretch;
    }
}
@media (max-width: 400px) {
    .imagePlusTextRight, .imagePlusTextLeft {
        grid-template-columns: auto;
        margin-top: 20px;
    }
    .imagePlusTextRight > img {
        grid-row: 2;
    }
    .imagePlusTextRight > img, .imagePlusTextLeft > img {
        width: 80vw;
        object-fit: cover;
        border-radius: 10px;
        margin: 0 auto;
        max-width: unset;
    }
}

.imageLadderTextBox {    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 98px;
    background-color: #D9D7C1;
    padding-bottom: 70px;
}
    
    .imageLadderTextBox > div {    
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        max-width: 47.778em;
        margin: 0 auto;
        padding: 1em;
    }

    .headlineImageTextRight > img {
        border-radius: 20px;
        object-fit: cover;
    }
    #ladderBoxImage {  
        border-radius: 20px;
    }
.contentImageTextLeft {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.contentImageTextRight {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.messenTextBox {    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 98px;
    background-color: #D9D7C1;
    padding-bottom: 70px;
}
    
    .messenTextBox > div {    
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        max-width: 80em;
        margin: 0 auto;
        padding: 1em;
    }

    .messenTextBox .imageSidebySide {
        display: flex; 
        gap: 50px;
    }
    .contentImageTextRight {
        align-items: center;
    }

@media (max-width: 600px){
    .messenTextBox .imageSidebySide {
        flex-direction: column;
    }
}

/*
#######################################################
#													  #
#					media            				  #
#													  #
#######################################################
*/
@media (max-width: 950px) {
    .footer {
        margin-top: 120px;
    }
    
}

@media (max-width: 700px) {
    .mobileFooterBar {
        height: 100px;
        background-color: #222612;
        color: white;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        border-radius: 0;
    }
    .footer {
        margin-bottom: 6em;
        padding: 10px;
        border-radius: 0;
    }
    .backToTopButtonMobile {
        display: flex;
        justify-content: flex-end;
        margin-right: 5px;
        margin-bottom: 0;
        margin-top: 120px;
        position: fixed;
        bottom: 105px;
        right: 0;
        border-radius: 0;
        cursor: pointer;
    }
    .backToTopButton {
        display: none;
    }
}





@media (max-width: 950px) {
    .befestigungWrapper > div > div {
        flex-direction: column-reverse;
    }
    .befestigungWrapper > div > div > div{
        width: 100%;
    }
    .befestigungWrapper .imageSidebySide {
        justify-content: space-around;
    }

    .faqBox {
        background-color: unset;
    }
    
    .faqHeadline{
        background-color: #D9D7C1 !important;
        padding: 0.5em;
        border-radius: 15px;
    }
    
    
}

@media (max-width: 600px) {

    #modelleText {
        margin-bottom: 1em;
        flex-wrap: wrap;
        align-items: center;
    }

    .infoText, #modelleText ,.modelleWrapper {
        padding: 0 2em;
    }

    .infoTextBox {
        border-radius: 0;
    }

}

@media (max-width: 650px) {
        
    .contentWrapper {
        padding: 0;
    }
    .imagePlusTextLeft {
        margin-top: 1em;
    }

    #modelleText {
        margin-bottom: 1em;
        flex-wrap: wrap;
        align-items: center;
    }

    .infoText, #modelleText ,.modelleWrapper {
        padding: 0 2em;
    }

    .infoTextBox {
        border-radius: 0;
    }
    
    #messenBoxContent {
        grid-template-columns: 100%;
    }

    #messenBoxContent .messenImage{
        grid-column: 1;
        grid-row: 2;
    }
    #messenBoxContent .messenImage img{
        aspect-ratio: 323 / 169;
        object-position: 0 -2em;
    }
    #messenBoxContent .messenText{
        grid-column: 1;
        grid-row: 1;
    }
    #messenBoxContent .messenButton{
        grid-column: 1;
        grid-row: 3;
    }
    .navbarTop{
        grid-template-columns: 1.75em auto 1.75em;
        padding: 0 1em;
    }

}

@media (max-width: 350px) {
    .befestigungWrapper .imageSidebySide {
        justify-content: space-around;
        flex-direction: column;
    }
}



@media (max-width: 1000px) {
    #faqTitle {
        margin-top: 11em !important;
        justify-content: space-between;
        flex-direction: row-reverse;
        display: flex;
        align-items: center;
        margin-top: 1em !important;
        padding: 1em;
    }
    .messenDenkenKleinWrapper{
        width: 5.625em;
        overflow: hidden;
    }
    #messenDenkenKlein {
        max-width: unset;
        position: relative;
        height: 4.444em;
        object-fit: cover;
        object-position: top;
        width: 200px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

.modellCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.modellCard {
    
    width: 45%;
    min-width: 20em;
}

.cardContent {
    display: flex;
    align-items: center;
    gap: 2em;
}

.cardContent > img {
    aspect-ratio: 1;
    border-radius: 20px;
    object-fit: cover;
    width: 40%;
}