@font-face {
    font-family: 'Neue Haas Roman';
    src: url('../f/NeueHaasDisplayRoman.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Haas Light';
    src: url('../f/NeueHaasDisplayLight.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Haas Thin';
    src: url('../f/NeueHaasDisplayXThin.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.footer-element p > a {
    color: black;
    font-size: 0.8rem;
}
:root {
    /* Colors */
    --grey: #b0b0b0;
    --lightgrey: #cccccc;
    --blue: #3b70ff;

    /* Font Sizes */
    --font-small: 25px;
    --font-headline: 113px;
    --font-medium: 50px;

    /* Corner Radius */
    --corner-radius: 8px;
    --corner-radius-inner: 6px;
}
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Neue Haas Roman', sans-serif;
    font-size: 15pt;
}
body {
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}


ul {
    padding: 0;
}
h1 {
    font-family: 'Neue Haas Thin', sans-serif;
    font-size: 10em;
    line-height: 1;
    letter-spacing: -0.025em;
    color: black;
    font-weight: unset;
}
h2 {
    font-family: 'Neue Haas Thin', sans-serif;
    font-size: 2.5em;
    line-height: 1;
    color: black;
    font-weight: unset;
}
.download-container {
    
}
.download-link {
    display: block;
    border: 1px solid black;
    padding: 0.6em;
    text-align: center;
    margin-bottom: 1.5em;
    text-decoration: none;
    color: black;
    font-family: 'Neue Haas Thin', sans-serif;
    font-size: 2.5em;
    transition: all 0.3s ease;
}
.download-link:hover {
    color: #F29385;
    border-color: #F29385;
    transition: all 0.3s ease;
}
.logo-container {
    position: fixed;
    top: 2.5em;
    left: 0;
    z-index: 100;
    width: 11vw;
    padding: 1.5em;
    z-index: 101;
}
.logo {
    display: block;
    margin: 0 auto;
}
.menubar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    height: fit-content;
    padding: 0.75em 0;
    padding-bottom: 0.55em;
    justify-content: center;
    z-index: 100;
}
.menulinks-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 77vw;
    margin: 0 auto;
    padding: 0 9em;
}
.menulink {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.lagelink:hover {
    color: #4f9669;
    transition: color 0.3s ease;
}
.gebäudelink:hover {
    color: #628fcb;
    transition: color 0.3s ease;
}
.worklink:hover {
    color: #e483b3;
    transition: color 0.3s ease;
}
.flächenlink:hover {
    color: #F29385;
    transition: color 0.3s ease;
}
/* Banner Styles */
.banner {
    position: relative;
    width: 77vw;
    padding-top: 2.5em;
    height: calc(100vh - 5.25em);
    background-color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
}
.footer-container {
    width: 77vw;
    margin: 0 auto;
    padding-top: 3.5em;
    padding-bottom: 3.5em;
}
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3em;
}
.footer-headline {
    margin-bottom: 1em;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    scale: 1;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, scale 0.6s ease-out;
    transition-delay: 0.25s;
    will-change: opacity, transform, scale;
}

.animate-on-scroll.scale-up {
    scale: 0.9;
}

.animate-on-scroll.visible.scale-up {
    scale: 1.1;
}



/* Optional: Different animation variations */

.animate-on-scroll.fade-left {
    transform: translateX(-50px);
}

.animate-on-scroll.fade-right {
    transform: translateX(50px);
}

.animate-on-scroll.fade-up {
    transform: translateY(50px);
}

.animate-on-scroll.fade-down {
    transform: translateY(-50px);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.block-container-gradient {
    width: 100%;
    padding: 5em 0;
    /* background: linear-gradient(0.75turn, #4F9669, #F8F4B6); */
    display: flex;
    flex-direction: column;
    gap: 3.5em;
}
.flexgrid-container {
    display: grid;
    width: 77vw;
    margin: 0 auto;
    gap: 18em;
    row-gap: 3.5em;
    align-items: flex-end;
    grid-template-columns: auto auto;
}
.flexgrid-container .paragraph {
    column-count: 1;
    grid-column: 2;
    margin-left: 0;
    margin-top: 0;
    width: 50%;
}
.bildcontainer {
    width: 100%;
    display: block;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
}
.bildcontainer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bildcontainer .paragraph {
    grid-row: 2;
    column-count: 1;
    width: 50%;
    margin-left: unset;
}
.gradientblock-content-container {
    width: 77vw;
    margin: 0 auto;
    gap: 1.5em;
}
.headline-bildcontainer {
    display: block;
    width: 15vw;
    align-self: flex-end;
    flex-shrink: 0;
}
.headline-bildcontainer svg {
    width: 100%;
    height: auto;
    display: block;
}
.paragraph {
    text-transform: uppercase;
    column-count: 2;
    column-gap: 1.5em;
    margin-left: 50%;
    margin-top: 3.5em;

}

/* SVG Animation Styles */
.svg-animate {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.svg-animate.visible {
    opacity: 1;
}

.svg-animate .st0,
.svg-animate .st1 {
    fill: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

.svg-animate.visible .st0,
.svg-animate.visible .st1 {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    transition: none;
}
.footer-link {
    color: black;
    text-decoration: none;
}
.footer-mobile-imprint {
    display: none;
}

/* Image Slider Styles */
.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.image-slider .slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.image-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 800px) {

    * {
        margin: 0;
        box-sizing: border-box;
        font-family: 'Neue Haas Roman', sans-serif;
        font-size: 12pt;
    }
    .menulinks-container {
        padding: 0;
    }
    .menubar {
        width: 100%;
        margin: 0 auto;
    }
    .menulink {
        padding: 0;
    }
    .flexgrid-container {
        display: flex;
        flex-direction: column;
    }
    .headline-bildcontainer {
        align-self: flex-start;
        width: 100%;
    }
    .flexgrid-container .paragraph {
        width: 100%;
    }
    .headline-container p {
        margin-left: 0;
        column-count: 1;
    }
    .headline-container h1 {
        font-size: 4em;
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* grid-template-rows: repeat(2, 1fr); */
        gap: 1em;
    }
    .footer-logo {
        grid-column: 1 / span 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }
    .footer-logo br {
        display: none;
    }
    .footer-logo-image {
        grid-column: 1 / span 2;
        width: 100%;
    }
    .footer-link {
        grid-column: 1;
    }
    .footer-link:last-child {
        grid-column: 2;
    }
    .footer-element {
        grid-column: 1;
    }
    .banner-video {
        height: 100vh;
    }
    .footer-element:last-child {
        grid-column: 2;
    }
    .footer-element:nth-child(3) {
        grid-column: 2 !important;
    }
    .footer-content p {
        font-size: 0.8em;
    }
    .footer-logo a {
        display: none;
        font-size: 0.8em;
    }
    .footer-mobile-imprint {
        display: block;
    }
    .footer-mobile-imprint a {
        font-size: 0.8em;
    }
    
}

