:root {
    --font-family: SFMono-Regular, monospace;
}

html, body {
    background-color: #FFF;
    height: 100%;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-image: url("../Images/Kunden/Faeze/FaezeBackground.jpg");
}
*, *::before, *::after {
    box-sizing: border-box;
}

.spacer {
    height: 20vh;
}

.scroll-section {
    opacity: 0.2;
    transition:
        opacity 300ms ease-out,
        transform 300ms ease-out;
    will-change: opacity, transform;
}
.scroll-section.in-view {
    transform: translateY(0);
    opacity: 1;
}

#fz-main {
    display: flex;
    flex-direction: column;
    padding-top: 8vh;
    padding-bottom: 8vh;
}

/* ---------------------------------------------------------------------- */
/* Section 1 */

#fz-section1 {
    height: 75vh;
    align-items: start;
    padding-top: 10%;
    margin-right: 5%;
    margin-left: 5%;
}
#fz-section1 img {
    width: clamp(10vh, 50vh, 50vh);
    max-height: 50vh;
}

/* ---------------------------------------------------------------------- */
/* Section 2 */

#fz-section2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 10vh;
}
#fz-section2-main {
    margin-top: 10vh;
    margin-bottom: 10vh;
    margin-right: 5%;
    border-radius: 1.5vh;
    width: 45%;
    z-index: 2;
    box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.18);
}
#fz-section2-svg {
    position: absolute;
    height: 100%;
    width: 45%;
    padding-top: 10vh;
    right: 0;
    background: transparent;
}
.fz-section2-text {
    width: 50%;
    padding-left: 5%;
}
.fz-section2-text p {
    padding-right: 5%;
}

/* ---------------------------------------------------------------------- */
/* Section 3 */

#fz-section3 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10%;
}
#fz-carousel {
    width: 40%;
    padding-left: 10%;
}
.fz-section3-text {
    width: 50%;
    padding-right: 5%;
}

/* ---------------------------------------------------------------------- */
/* Section 4 */

#fz-section4 {
    width: 100%;
    align-items: center;
    display: flex;
}
#fz-section4-img {
    position: absolute;
    width: 100%;
}
#fz-section4-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
#fz-section4-text {
    width: 50%;
    padding-left: 5%;
}
#fz-section4-main {
    margin-top: 10vh;
    margin-bottom: 10vh;
    margin-right: 20%;
    border-radius: 0.5vh;
    width: 20%;
    box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.18);
}
#fz-section4-sec {
    position: absolute;
    height: auto;
    width: 18%;
    margin-top: 10vh;
    margin-bottom: 15vh;
    right: 10%;
    transform: rotate(3deg);
    background: transparent;
    border-radius: 0.5vh;
    box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.18);
}

/* ---------------------------------------------------------------------- */
/* Section 5 */

#fz-section5 {
    margin-top: 12%;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#fz-section5-text {
    text-align: center;
    width: 100%;
    padding-left: 20%;
    padding-right: 20%;
}
#fz-section5-text p {
    text-align: center;
}

/* ---------------------------------------------------------------------- */
/* Section 6 */

#fz-section6 {
    margin-top: 5%;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
#fz-section6 h2 {
    font-size: 5rem;
    margin: 0;
}
#fz-section6-img {
    width: 50%;
}
#fz-section6-text {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-left: 5%;
    padding-right: 5%;
}
.resultat-column {
    width: 30%;
}

/* ------------------------------------------------------------- */
/* Impressum / Infos */

#infos {
    background: #000;
    min-height: 300px;
    max-height: 50%;
    color: #e5e7eb;
    display: flex;
    padding: 0 5%;
    border-radius: 12px;
    margin: 0.5%;
}
#infos a {
    text-decoration: none;
    color: #e5e7eb;
}
#infos > div {
    width: 50%;
    text-align: left;
}
#infos-left img {
    width: 4vw;
    max-width: 60px;
    height: auto;
    margin-right: 1.5vw;
    cursor: pointer;
    transition: transform 0.2s ease;
}
#infos-left img:hover {
    transform: scale(1.1);
}
#infos-left h5 {
    font-weight: 300;
    font-size: clamp(1.5rem, 2vw, 2vw);
}
#infos-right h5 {
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.5vw);
}

/* ---------------------------------------------------------------------- */
/* Carousel Flickity */
.carousel {
    background: transparent;
    width: 100%;
}
.carousel-cell {
    width: 70%;
    height: 300px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.carousel-cell img {
    display: block;
    height: 100%;
    opacity: 0.7;
    -webkit-transform: scale(0.5);
    transform: scale(0.5) ;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
    transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}
.carousel-cell.is-selected img {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: none;
    filter: none;
}
@media screen and (min-width: 768px ) {
    .carousel-cell {
        height: 400px;
    }
}
@media screen and ( min-width: 960px) {
    .carousel-cell {
        width: 60%;
    }
}
.flickity-prev-next-button {
    width: 60px;
    height: 60px;
    background: transparent;
    opacity: 0.6;
}
.flickity-prev-next-button:hover {
    background: transparent;
    opacity: 1;
}
.flickity-prev-next-button .arrow {
    fill: #0f172a;
}
.flickity-prev-next-button.no-svg {
    color: #0f172a;
}
.flickity-prev-next-button:disabled {
    display: none;
}

/* ---------------------------------------------------------------------- */
/* Fonts */

h1 {
    font-family: var(--font-family), monospace;
    font-size: clamp(2rem, 3vw, 3vw);
    font-weight: 100;
}

h2 {
    font-family: SFMono-Light, monospace;
    font-size: clamp(1.5rem, 2vw, 2vw);
    font-weight: 100;
}
h3 {
    font-family: SFMono-Regular, monospace;
    font-size: clamp(1rem, 1.5vw, 1.5vw);
    font-weight: 200;
}
h4 {
    text-align: justify;
    font-family: SFMono-Regular, monospace;
    font-weight: 100;
    font-size: clamp(1rem, 2vw, 2vw);
}
h5 {
    text-align: justify;
    font-family: SFMono-Regular, sans-serif;
}

p {
    font-family: SFMono-Regular, monospace;
    font-size: clamp(0.8rem, 1vw, 1vw);
    font-weight: 200;
    text-align: justify;
}

@media (max-width: 560px) {
    #fz-main {
        padding-left: 2%;
        padding-right: 2%;
        overflow-x: hidden;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    h4 {
        font-size: 0.95rem;
    }
    h5 {
        font-size: 0.9rem;
    }
    h6 {
        font-size: 0.85rem;
    }
    p {
        font-size: 0.85rem;
        line-height: 1.3;
        text-align: left;
    }
    /* ---- Section 1 ---- */
    #fz-section1 {
        height: 70vh;
        max-width: 100%;
    }
    #fz-section1 img {
        width: 80%;
        max-height: 60%;
    }

    /* ---- Section 2 ---- */
    #fz-section2 {
        flex-direction: column;
        align-items: flex-start;
    }
    #fz-section2-svg {
        width: 100%;
        height: 110%;
        opacity: 0.2;
        transform: translateY(-10%);
        z-index: -5;
    }
    #fz-section2-main {
        z-index: 2;
        margin-top: 2%;
        margin-bottom: 2%;
        border-radius: 1.5vh;
        box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.18);
    }
    #fz-section2-main, #fz-section2-svg, .fz-section2-text {
        width: 100%;
    }
    #fz-section2-main, #fz-section2-svg {
        margin-bottom: 6vh;
    }
    .fz-section2-text {
        max-width: 100%;
    }

    /* ---- Section 3 ---- */
    #fz-section3-text p {
        text-align: left;
        justify-content: left;
        font-size: 0.8rem;
    }
    .carousel {
        overflow-x: visible;
        width: 100%;
    }
    .carousel-cell {
        width: 100%;
        overflow-x: visible;
    }
    .flickity-prev-next-button {
        width: 60px;
        height: 60px;
        background: transparent;
        opacity: 0;
    }

    /* ---- Section 4 ---- */
    #fz-section4 {
        flex-direction: column;
    }
    #fz-section4-img {
        opacity: 0;
        height: 0;
        width: 0;
    }
    #fz-section4-text {
        width: 100%;
    }
    #fz-section4-main {
        width: 50%;
        margin: 0;
    }
    #fz-section4-sec {
        width: 45%;
        margin: 0;
        transform: translateY(70%) rotate(2deg) translateX(10%);
    }

    /* ---- Section 5 ---- */
    #fz-section5-text {
        padding: 0;
    }

    /* ---- Section 6 ---- */
    #fz-section6 h2 {
        font-size: 2.4rem;
        font-weight: 500;
    }
    #fz-section6-img {
        width: 80%;
    }
    #fz-section6-text {
        flex-direction: column;
    }
    .resultat-column {
        width: 100%;
    }
}
























