/* =====================================================
   ECHTE FRÜNDE '22
   COMPONENTS.CSS
   Version 6.0
===================================================== */

/* =====================================================
   SCROLL TO TOP
===================================================== */

#scrollTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:56px;

    height:56px;

    border:none;

    border-radius:50%;

    background:var(--green);

    color:var(--white);

    font-size:1.35rem;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:

        0 12px 30px rgba(0,0,0,.35);

    transition:

        transform .25s ease,

        background .25s ease,

        box-shadow .25s ease;

    z-index:999;

}

#scrollTop:hover{

    transform:translateY(-4px);

    background:var(--green-dark);

    box-shadow:

        0 18px 40px rgba(0,0,0,.45);

}

#scrollTop:active{

    transform:translateY(0);

}

/* =====================================================
   HERO BUTTONS SECTION
===================================================== */

.hero-buttons-section{

    padding:34px 0 50px;

    background:var(--black);

}



/* =====================================================
   HERO BUTTONS
===================================================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    flex-wrap:nowrap;

}



/* =====================================================
   BUTTONS
===================================================== */

.btn,

.btn-outline{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:175px;

    padding:15px 28px;

    border-radius:999px;

    text-decoration:none;

    font-weight:600;

    transition:

        transform .25s ease,

        background .25s ease,

        border-color .25s ease,

        color .25s ease,

        box-shadow .25s ease;

}


.btn{

    background:var(--green);

    color:var(--white);

    border:2px solid var(--green);

}


.btn:hover{

    background:var(--green-dark);

    border-color:var(--green-dark);

    transform:translateY(-3px);

    box-shadow:

        0 10px 24px rgba(111,191,115,.25);

}


.btn-outline{

    background:transparent;

    color:var(--white);

    border:2px solid rgba(255,255,255,.35);

}


.btn-outline:hover{

    background:rgba(255,255,255,.08);

    border-color:var(--white);

    transform:translateY(-3px);

}



/* =====================================================
   BUTTON GROUP
===================================================== */

.button-group{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top:50px;

}

/* =====================================================
   PAGE CONTENT
===================================================== */

.page-content{

    position:relative;

    background:var(--black);

    z-index:2;

}



/* =====================================================
   SECTIONS
===================================================== */

section{

    position:relative;

    padding:90px 0;

}


.container{

    width:min(100% - 40px,var(--container));

    margin:0 auto;

}



/* =====================================================
   SECTION HEADER
===================================================== */

.section-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}


.section-kicker{

    display:inline-block;

    margin-bottom:16px;

    color:var(--green);

    font-size:.85rem;

    font-weight:700;

    letter-spacing:.14em;

    text-transform:uppercase;

}


.section-header h2{

    margin-bottom:0;

    color:var(--white);

}



/* =====================================================
   STORY
===================================================== */

.story{

    max-width:850px;

    margin:0 auto;

    text-align:center;

}


.story p{

    margin-bottom:28px;

    color:rgba(255,255,255,.94);

    font-size:1.08rem;

    line-height:1.9;

}


.story p:last-child{

    margin-bottom:0;

}



/* =====================================================
   LINKS
===================================================== */

a{

    transition:

        color .25s ease,

        opacity .25s ease;

}


a:hover{

    opacity:.95;

}



/* =====================================================
   CARD GRID
===================================================== */

.card-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:32px;

    margin-top:50px;

}



/* =====================================================
   CARD
===================================================== */

.card{

    background:#161616;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:36px;

    transition:

        transform .30s ease,

        border-color .30s ease,

        box-shadow .30s ease;

}


.card:hover{

    transform:translateY(-6px);

    border-color:rgba(111,191,115,.40);

    box-shadow:

        0 20px 45px rgba(0,0,0,.35);

}



/* =====================================================
   CARD TITLE
===================================================== */

.card h3{

    margin-bottom:18px;

    color:var(--green);

}



/* =====================================================
   CARD TEXT
===================================================== */

.card p{

    margin:0;

    color:rgba(255,255,255,.94);

    line-height:1.8;

}



/* =====================================================
   BADGE
===================================================== */

.badge{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:8px 16px;

    margin-bottom:18px;

    border-radius:999px;

    background:rgba(111,191,115,.18);

    color:var(--green);

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.05em;

    text-transform:uppercase;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:900px){

    .header-inner{

        height:140px;

    }

    .logo-slider{

        width:64px;

        height:64px;

    }

    .nav-top{

        gap:26px;

        margin-top:16px;

    }

    .hero{

        margin-top:140px;

        height:calc(100svh - 140px);

    }

    .card-grid{

        grid-template-columns:1fr;

    }

}


@media (max-width:768px){

    .header-inner{

        height:130px;

    }

    .header.compact .header-inner{

        height:72px;

    }

    .logo-slider{

        width:60px;

        height:60px;

    }

    .hero{

        margin-top:130px;

        height:calc(85svh - 130px);

    }

    .hero-buttons{

        gap:14px;

    }

    .btn,

    .btn-outline{

        min-width:150px;

        padding:14px 22px;

        font-size:.95rem;

    }

}


@media (max-width:480px){

    .header-inner{

        width:min(100% - 24px,var(--container));

    }

    section{

        padding:70px 0;

    }

    .logo-slider{

        width:54px;

        height:54px;

    }

    .hero{

        height:80svh;

    }

    .hero-buttons{

        gap:12px;

    }

    .btn,

    .btn-outline{

        min-width:135px;

        padding:13px 18px;

        font-size:.9rem;

    }

    .footer-nav{

        gap:18px;

    }

}



/* =====================================================
   HELPERS
===================================================== */

.hidden{

    display:none !important;

}


.visible{

    display:block !important;

}


.text-center{

    text-align:center !important;

}


.mt-0{

    margin-top:0 !important;

}


.mb-0{

    margin-bottom:0 !important;

}


.fade{

    opacity:0;

    transition:opacity .30s ease;

}


.fade.show{

    opacity:1;

}