@font-face {
    font-family: 'SohneBreit Kraftig';
    src: url('../fonts/TestSohneBreit-Kraftig.woff2') format('woff2'),
        url('../fonts/TestSohneBreit-Kraftig.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SohneBreit Buch';
    src: url('../fonts/TestSohneBreit-Buch.woff2') format('woff2'),
        url('../fonts/TestSohneBreit-Buch.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SohneBreit Leicht';
    src: url('../fonts/TestSohneBreit-Leicht.woff2') format('woff2'),
        url('../fonts/TestSohneBreit-Leicht.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;

    /* Base Font-Size: 1rem */
    font-size: 15px;
}

.mt-5rem{
    margin-top: 5rem !important;
}

.mb-5rem{
    margin-bottom: 5rem !important;
}

.mb-7_5rem{
    margin-bottom: 7.5rem !important;
}

.mb-10rem{
    margin-bottom: 10.625rem !important;
}

.gap-5rem{
    gap: 5rem !important;
}

.gy-5rem{
    --bs-gutter-y: 5rem !important;
}

/* SLIDER */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    padding-bottom: 4rem;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide a {
    display: block;
    width: fit-content;
}

.swiper-slide img {
    max-width: 286px;
    width: 100%;
    height: auto;
    aspect-ratio: 286 / 162;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #2F2D2C;
    transition: 0.3s all ease;
    background-color: transparent;
    opacity: 1;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #2F2D2C;
}

:root {
    --swiper-navigation-size: 32px;
}

.swiper-button-prev, .swiper-button-next {
    position: absolute;
    z-index: 300;
    color: #989391;
}
.swiper-button-prev {
    top: 88px!important;
    left: -2rem!important; 
}

.swiper-button-next { 
    top: 88px!important;
    right: -2rem!important;
}

.swiper-press {
    position: relative;
}

body.full-page{
    background-color: rgba(228, 226, 225, 1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.mobile-menu-open{
    overflow: hidden;
}

/* HEADER */

body.mobile-menu-open header{
    background-color: rgba(130, 103, 102, 1)!important;
}

header{
    background-color: rgba(166, 140, 139, 1);
    padding: 1rem 0px;
    box-shadow: 0px 4px 15px 0px #00000040;
}

header nav a.logo{
    display: block;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    margin-left: 1rem;
}

header nav ul{
    gap: 4rem;
    margin: 0;
}

header nav ul li{
    color: #000;
}

header nav ul li a{
    color: inherit;
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 400;
    transition: all 0.3s;
}

header nav ul li a:hover{
    font-weight: 600;
}

header button.menu-mobile{
    border: 0;
    background-color: transparent;
}

header button.menu-mobile svg{
    color: rgba(47, 45, 44, 1);
    user-select: none;
    pointer-events: none;
}

header button.menu-mobile.mobile-menu-open svg{
    color: rgba(255, 255, 255, 1);
}

#mobileMenuTrigger{
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
}

#mobileMenuTrigger div.mobile-overlay{
    position: absolute;
    height: calc(100vh - 90px);
    width: 100vw;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: end;
    z-index: 99;
    background-color: rgba(130, 103, 102, 1);
}

#mobileMenuTrigger ul{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 1.5rem;
    margin-right: 1rem;
    margin-top: 2rem;
}

#mobileMenuTrigger.mobile-menu-open div.mobile-overlay{
    display: flex;
}

#mobileMenuTrigger ul li a{
    font-weight: 400;
    line-height: 1;
    font-size: 1rem;
    color: white;
}

/* PREVENT SHIFTING */
header nav ul li a::before { 
    display: block;
    content: attr(text);
    font-weight: bold;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

header button.menu-mobile{
    border: 0;
    background-color: transparent;
}

/* MAIN */

body[page="contact"] main {
    display: grid;
    place-items: center;
    flex-grow: 1;
}

main{
    padding: 10rem 0 12.5rem 0;
}

main h1{
    font-family: 'SohneBreit Buch', sans-serif;
    font-weight: 400;
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: 2px;
    color: rgba(23, 26, 31, 1);
    margin-bottom: 1rem;
}

main p{
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(47, 45, 44, 1);
    margin: 0;
}

/* CONTACT SECTION */

main section.contact p{
    max-width: 420px;
}

main section.contact .img-fade{
    will-change: opacity;
    opacity: 0;
    webkit-transition: opacity 1000ms linear;
    -moz-transition: opacity 1000ms linear;
    -ms-transition: opacity 1000ms linear;
    -o-transition: opacity 1000ms linear;
    transition: opacity 1000ms linear;
}

main section.contact .img-fade.fade-effect{
    opacity: 1;
}

main section.contact nav.contact-nav{
    margin-top: 4.75rem;
    max-width: 420px;
}

main section.contact nav.contact-nav ul{
    display: flex;
    gap: 1rem;
    padding-left: 5rem;
}

main section.contact nav.contact-nav ul li a{
    color: rgba(0, 0, 0, 1);
    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;

    width: fit-content;
}

/* ABOUT SECTION */

main section.about p{
    max-width: 560px;
}

main section.about h1{
    max-width: 560px;
}

main section.about .about-list-row{
    margin: 8rem 0px;
}

main section.about .about-list-row ul li{
    font-family: 'SohneBreit Leicht', sans-serif;
    font-size: 1.875rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: calc(0.16px * 3);
    color: rgba(0, 0, 0, 1);
}

/* FEATURE SECTION */

main section.feature h2{
    font-family: 'SohneBreit Buch', sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: calc(0.16px * 6);
    color: #171A1F;
}

.risk-below-title{
    border: 1px solid #848484;
}

main section.feature h3.feature-subtitle{
    font-size: 1.375rem;
    font-weight: 300;
    line-height: 1.64;
    color: rgba(23, 26, 31, 1);
    margin: 0;
    user-select: none;
}

main section.feature .feature-card{
    text-decoration: none;
}

main img.fadding-effect{
    will-change: opacity;
    opacity: 0;
    webkit-transition: opacity 1000ms linear;
    -moz-transition: opacity 1000ms linear;
    -ms-transition: opacity 1000ms linear;
    -o-transition: opacity 1000ms linear;
    transition: opacity 1000ms linear;
}

main img.show-fade{
    opacity: 1!important;
}

main section.feature .feature-card h3{
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.64;
    margin: 0;
    color: rgba(0, 0, 0, 1);
}

main section.feature .feature-card time{
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.64;
    color: rgba(0, 0, 0, 1);
}

/* PROJECT SECTION */

main section.project h2{
    font-family: 'SohneBreit Buch', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.96px;
    color: rgba(23, 26, 31, 1);
}

main section.project p{
    max-width: 500px;
}

.nav-filter{
    width: 100%;
    max-width: 800px;
    margin: 7rem auto;

    display: grid;
    place-items: center;
}

.nav-filter ul li a{
    color: #000000;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;

    padding: 0.5rem 2rem;
}

.nav-filter ul li a.active{
    font-weight: 500;
    color: white;
    background-color: #93681B;
}

main section.project-grid .project-card{
    will-change: opacity;
    opacity: 0;

    max-width: 380px;
    width: 100%;
    margin-bottom: 5.75rem;
    text-decoration: none;
    webkit-transition: opacity 1000ms linear;
    -moz-transition: opacity 1000ms linear;
    -ms-transition: opacity 1000ms linear;
    -o-transition: opacity 1000ms linear;
    transition: opacity 1000ms linear;
}

main section.project-grid .project-card.project-fade-effect{
    opacity: 1;
}

main section.project-grid .project-card:hover .project-overlay{
    display: grid;
}

main section.project-grid .project-card .project-overlay{
    background-color: rgba(47, 45, 44, 0.65);
    position: absolute;
    inset: 0;

    display: none;
    place-items: center;
    z-index: 30;
}

main section.project-grid .project-card .project-overlay h3{
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1;
}

main section.project-grid .project-info{
    padding-top: 1.5rem;
}

main section.project-grid .project-info h2{
    font-size: 1.5rem;
    font-weight:500;
    line-height: 1;
    color: #000000;
}

main section.project-grid .project-info p{
    font-size: 1.125rem;
    font-weight:400;
    line-height: 1;
    color: #504D4B;
}

/* PROJECT DETAIL SECTION */

main section.project-detail h1{
    font-family: 'SohneBreit Buch', sans-serif;
    font-weight: 400;
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: calc(0.16px * 6);
    margin:0;
    margin-bottom: 5rem;
}

main section.project-detail img{
    will-change: opacity;
    opacity: 0;
    webkit-transition: opacity 1000ms linear;
    -moz-transition: opacity 1000ms linear;
    -ms-transition: opacity 1000ms linear;
    -o-transition: opacity 1000ms linear;
    transition: opacity 1000ms linear;
}

main section.project-detail img.fade-effect{
    opacity: 1;
}

main section.project-detail .project-detail-information{
    max-width: 400px;
    width: 100%;
}

main section.project-detail .project-detail-information h3{
    font-weight: 500;
    font-size: 1rem;
    color: #000000;
    line-height: 1;
    letter-spacing: calc(0.16px * 6);
    margin: 0;
}

main section.project-detail .project-detail-information p{
    font-weight: 400;
    font-size: 1rem;
    color: #000000;
    line-height: 1.64;
    letter-spacing: calc(0.16px * 6);
    margin: 0;

    text-align: justify;
}

main section.project-detail .project-detail-information div p{
    line-height: 1;
}

main section.project-detail .project-detail-information hr{
    margin: 0;
    border: 1px solid #BBBBBB;
}

/* FOOTER */

body.mobile-menu-open footer{
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 99999;
    background: rgba(130, 103, 102, 1);
}

footer {
    background-image: url('../images/footer-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2.5rem 0px;
}

footer .logo{
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

footer .logo h1{
    font-family: 'SohneBreit Kraftig';
    font-weight: 500;
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: calc(0.16px * 15);
    margin: 0;
}

footer nav ul li{
    color: white;
}

footer nav ul li a{
    color: inherit;
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 400;
    transition: all 0.3s;
}

footer nav ul li a:hover{
    font-weight: bold;
}

/* PREVENT SHIFTING */
footer nav ul li a::before { 
    display: block;
    content: attr(text);
    font-weight: bold;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

footer p{
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;

    color: white;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 500;
    margin: 0;
    text-align: center;
}