:root
{
    --bg-main: #080808;
    --bg-darkgrey: #121212;
    --dark-grey: #0e0e0e;
    --muted-grey: #a6a6a6;
    --text-color:#f4f4f4; 
    --elgant-line: rgba(255,255,255, 0.5);
    --transition-formula: cubic-bezier(0.16, 1, 0.3, 1);
    --title-size: clamp(16px, 3vw, 25px);
    --text-size: clamp(10px, 1.5vw, 16.5px);
    --line: #3b3b3b;
    --solar-green: #A3FA3D;
    --solar-red: #e63f3f
}
.hero
{
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}
.data-page
{
    max-width: 1800px;
}

a[href^="tel"], a[href^="malito"] ,a[href^="https"]{
    color: inherit; 
    text-decoration: none; 
  }
  
.hero 
{
    min-height: calc(100vh - 75px); /*75px from the navbar!*/
    padding: 5rem 5vw; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    border-bottom: 1px solid var(--line);
}

/*
section:nth-of-type(even)
{
    background: var(--bg-darkgrey);
}
*/

html::-webkit-scrollbar {
    display: none;
}

html, body{
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-x: clip;
}

*, *::before, *::after
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*              BODY SETTINGS                */

body 
{
    background-color: var(--bg-main);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/*              NAVBAR SETTINGS               */

.header-container{
    z-index: 100;
    top: 0;
    position: sticky;
}

.navbar
{
  position: relative;
  top: 0px;
  z-index: 2;
  background-color: rgb(8 8 8 / 80%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /*Best-Practice nicht alle Browser versionen Unterstützen backdrop-filter (Apple)*/
  border-bottom: 1px solid var(--elgant-line);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  padding: 0 24px;
}

.nav-left
{
    flex: 1; /* create a box based on the free space */
}

.nav-left .return-button
{
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -.048em;
    color: var(--text-color);
    font-size: var(--title-size); 
}

.nav-center .nav-switch-toggle-arrow{
    transition: transform 1.2s var(--transition-formula);
    display: inline-block;
}

.nav-switch-toggle.is-open .nav-switch-toggle-arrow{
    transform: rotate(180deg);
}

.nav-center span
{
    font-size: clamp(13px, 2vw, 20px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.nav-center .nav-switch-toggle
{
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    font-size: clamp(20px, 3vw, 24px);
}

.nav-menu{
    position: absolute;
    display: flex;
    top: 100%;
    width: 100%;
    height: 400px;
    pointer-events: none;
    background-color:rgba(43, 43, 43, 1);
    transform: translateY(-400px);
    justify-content: center;
    align-items: center;
    gap: clamp(25px, 3vw, 35px);
    transition: transform 2s var(--transition-formula),
                opacity 2s,
                background-color 2s; 
    z-index: 1;
}

.nav-menu.is-open
{
    pointer-events: auto;
    transform: translateY(0px);
}

.nav-menu-box  
{
    display: flex;

    color: var(--text-color);
    font-size: clamp(20px, 3vw, 35px);
    text-decoration: none;
    height: 55%;
    aspect-ratio: 2/1;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.nav-menu-box:hover
{
    background-color: rgba(255, 255, 255, 0.9);
}

.nav-right
{
    flex: 1;  /* create a box based on the free space */
    display: flex; /* flex on the paraent wouldnt suffice, since the it has div childs*/
    justify-content: flex-end;
    gap: clamp(8px, 1.3%, 12px);
}

.nav-icon
{
    transition: transform 2s var(--transition-formula); 
    width: clamp(25px, 3vw, 35px);
    aspect-ratio: 1/1;
}

.nav-icon:hover
{
    transform: scale(1.08);
}

/*              CARD SETTINGS                */

.card
{
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: clamp(40px, 30vw, 520px);
    transition: transform 2s var(--transition-formula),
    filter 1s var(--transition-formula);
}

/*              CARD MEDIA                */

.card .media 
{ 
    width: 100%;
    aspect-ratio: 4.5/2.5;
    overflow: hidden;
    border-radius: clamp(4px, 1vw, 9px);
}

.card .media img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:hover 
{
    filter:brightness(1.3);
    transform: scale(1.05);
}

/*              COLLECTION NAME                */

.collectionName 
{
    margin: clamp(10px, 1.5vw, 30px) 0px clamp(10px, 1.5vw, 30px) 0px;
}

.collectionName h2
{
    font-size: clamp(2.45rem, 5vw, 5.3rem);
    letter-spacing: -.061em;
    line-height: 1;
}

.small-lead
{
    line-height: 1.2;
    color: #d0d0d0;
} 

.swiper{
    overflow: visible;
}

/*              CARD CONTENT                */

.card-content 
{
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(25px);
    transition: opacity 0.6s var(--transition-formula), 
                transform 0.6s var(--transition-formula),
                filter 0.6s var(--transition-formula),
                max-height 0.6s var(--transition-formula); 
    margin-top: 15px;
}

.card-content .title 
{
    font-size: var(--title-size);
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 1px;
}

.card-content .text
{
    font-size: var(--text-size);
    color: rgba(255, 255, 255, 0.85);
}


/*              MAGAZINE LOGIC                */


.swiper.is-magazine .card:not(.is-active)
{
    filter: blur(20px);
    opacity: 0.4;
}

.swiper.is-magazine .card.is-active
{
    filter: blur(0px);
    opacity: 1; 
}

.swiper.is-magazine .card.is-active .card-content
{
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.mid-page {
    height: 100vh;
    padding: 40px;
    border-top: 1px solid var(--elgant-line);
}

.eyebrow 
{ 
    font-size: 0.68rem;
    /*margin-bottom: 5vw;*/
    color: rgba(255, 255, 255, 0.85);
    font-weight: bold;
    text-transform: uppercase; 
    letter-spacing: .12em;
}
.h1, .eyebrow, .lead
{
    position: relative;
    z-index: 1;
}

h1
{
    font-size: clamp(3.2rem, 22vw, 13.5rem);
    margin: 5vh 0;
    letter-spacing: -0.07em; /*-0.01 of the font size*/
    text-transform: uppercase; 
    line-height: 0.85; 
}

h1 span
{
    color: var(--solar-green);
}

.lead
{
    font-size: clamp(1rem,1.3vw, 2rem);
    line-height: 1.2;
    color: #d0d0d0;
    max-width: 39.5rem;
}

.xsmall-lead
{
    text-transform: lowercase;
    font-size: clamp(0.85rem,0.68vw, 1rem);
    line-height: 0.8;
    color: var(--muted-grey);
}

.progress-grid 
{
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.before-launch
{
    text-transform:none;
    position: relative;
    cursor: pointer;
    transition: visibility 2s var(--transition-formula),
                opacity 2s var(--transition-formula);
}
.before-launch:hover .proof-box 
{
    visibility: visible;
    opacity: 1;
}
.proof-box 
{
    position: fixed;
    font-size: 0.8rem;
    opacity: 0;
    border: 1px solid var(--line);
    padding: 0.5em 0.5em;
    background-color: #0e0e0e;
    color: var(--text-color); 
    text-decoration: none;
}


section.hero:first-of-type
{
    position: relative;
    overflow: hidden;
}
.three-stripes
{  
    z-index: 0; /*stay in the background */
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15vw; 
    display: flex;
    gap: clamp(10px, 1vw, 18px);
}

.tech-path
{   
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.sync-panel
{
    border-top: none;
    background-color: #0e0e0e;
    padding: 1.2rem clamp(1.5rem, 3vw, 2.6rem);
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tech-dot
{
    position: absolute;
}

.three-stripes span
{
   background-color: rgb(247, 247, 247);
    width: clamp(12px, 2.5vw, 45px);
   height: 100%;
}

.progress-grid li
{
    text-transform: uppercase;
    background-color: #0e0e0e;
    padding: clamp(1.5rem,3vw,2.6rem);
    color:#f4f4f4;
    list-style: none;
    min-height: 220px;
    border-right: 1px solid var(--line); 
    border-bottom: 1px solid var(--line);
}

.progress-grid h2
{
    font-size: clamp(1.2rem, 3.3vw, 4.5rem);
}

.progress-grid li small
{
    font-size: clamp(0.89rem, 2vw, 2.89rem);
    text-transform: lowercase;
    font-weight: bold;
    color: var(--solar-green);
    margin-left: 0.15em;
}
.progress-grid li
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.status-title
{
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}
.status-title::before
{
    content:"";
    display: inline-block; 
    width: 0.35em;
    height: 0.35em;
    border-radius: 50%;
    margin-right: 0.2rem;
    margin-left: 1%;
    background: rgb(98, 98, 98);
}

.status-title.is-live::before
{
    background: var(--solar-green);
    box-shadow: 0 0 0 4px rgb(216 255 52 / 20%);
}

.sync-panel
{
    border-top: none;
    background-color: #0e0e0e;
    padding: 1.2rem clamp(1.5rem, 3vw, 2.6rem);
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sync-track
{
    height: 4px;
    max-width: none;
    width: 100%;
    background-color: var(--muted-grey);
}

.sync-fill
{
 height: 100%;
 width: 100%;
 background-color: var(--solar-green);
 transition: width 1s linear;
}


/*              Tech Page                  */ 



.tech-section {   
    min-height: 100vh;                    
    padding: 6rem 5vw;                     
    display: flex;
    flex-direction: column;
    justify-content: center;              
}


.tech-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.tech-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-path {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 0;
    margin-top: 1rem;
    list-style: none;
}

.tech-path li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.tech-path li::before {
    content: "";
    position: absolute;
    left: 8px;
    width: calc(100% + 3rem); 
    height: 2px;
    background-color: var(--line);
    top: 2.21rem; 
    z-index: 0;
}

.tech-path li:last-child::before {
    display: none;
}


.tech-dot {
    position: relative;
    z-index: 1; 
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--solar-green);
    margin: 1rem 0 1.5rem 0;
    box-shadow: 0 0 10px rgba(163, 250, 61, 0.4); 
}

.tech-path .xsmall-lead {
    font-size: clamp(0.95rem, 1.2vw, 1.25rem);
    line-height: 1.5;
    color: var(--muted-grey);
}

.footer-container{
    border-top: 1px solid var(--line);
    background-color: var(--bg-darkgrey);
}

.footer-bar{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0 1.2rem 0;
    justify-content: center;
    min-height: 5rem; 
}

.footer-bar-headline{
    position: relative;
}

.footer-bar-content{
    display: flex; 
    gap: clamp(1rem, 2vw, 2.5rem);;
    margin-top: 1.4rem;
    align-items: center;
}

.footer-bar-content img{
     max-width: 2vw;
     aspect-ratio: 1/1;
     border-radius: 50%;
     object-fit: contain;
     margin-right: 0.5rem ;
     margin-left: 2rem;
}

.footer-bar-content-info{

    font-size: 0.9rem;
    color: var(--muted-grey);
}

.footer-bar-content-info {
    display: flex;
    align-items: center;
    color: inherit; 
    text-decoration: none;
}

@media(max-width: 500px)
{
    .progress-grid li {
        min-height: 110px;
    }
}

@media(max-width: 600px) { 
    .three-stripes{
    right: 2vw;
    opacity: 0.65;
    }
}

@media (max-width: 768px) {
    .progress-grid{
        grid-template-columns: 1fr;
    }

    .tech-path {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tech-path li {
        padding-left: 2.5rem;
    }

    .tech-dot {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    .tech-path li::before {
        left: 7px;
        top: 16px;
        width: 2px;
        height: calc(100% + 2.5rem);
    }

    .footer-bar-content img {
        max-width: 5vw;
        margin-right: -0.5rem;
        margin-left: 1rem;
    }

    .footer-bar{
        min-height:3rem;
    }

    .swiper-wrapper{
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .card{
        width: 80%;
    }

    .footer-bar-content-info{

        font-size: 0.8rem;
    }

    .footer-bar-content img{

        margin-right: 0.6rem;
   }

       .navbar {
        padding: 0 16px;
    }

    .nav-menu {
        flex-direction: column;
        height: auto;
        min-height: 320px;
        padding: 2rem 0;
        gap: 1.2rem;
    }

    .nav-menu-box {
        width: 80%;

        aspect-ratio: auto;
        padding: 1.5rem 1.8rem;

    }

}