/*===========================================================
   ====== Layout, Seitenraster, Header und Sektionen ========
   ==========================================================*/


/*======================
   Navigation
  ======================*/

h1, h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*======================
   Navigation
  ======================*/
nav {
    height: 60px;
    background-color: var(--color-1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

nav a:hover {
    background-color: var(--accent-color);
}

nav .home-link {
    margin-right: auto;
}

nav svg {
    fill: var(--text-color);
}

/*======================
   Responsiv
  ======================*/
#sidebar-active {
    display: none;
}
.open-sidebar-button, .close-sidebar-button {
    display: none;
}

@media(max-width: 450px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;
      
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;

        background-color: var(--color-1);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.75s ease-out;
        }
        nav a {
            box-sizing: border-box;
            height: auto;
            width: 100%;
            padding: 20px 30px;
            justify-content: flex-start;
        }
        .open-sidebar-button, .close-sidebar-button {
            padding: 20px;
            display: block;
        }
        #sidebar-active:checked ~ .links-container{
            right: 0;
        }
        #sidebar-active:checked ~ #overlay {
            height: 100%;
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 9;
        }
}

/*======================
   Hauptbereich Home
  ======================*/

main {

    padding: 0;
}

.hero-video  {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    min-height: calc(100vh - 60px); /*100% ohne die nav bar*/
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(3rem, 12vw, 8rem);
    line-height: 0.9;
    letter-spacing: 0.12rem;
}

.hero-content p {
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.hero-text {
    position: absolute;
    top: 200px;
    left: 40px;

}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/*======================
   Produkt Seite
  ======================*/

.produkte-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 5rem;
    padding: 9rem;
}

.produkt {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.produkt:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

.produkt h3 {
    margin-bottom: 1rem;
}

.produkt p {
    margin-bottom: 1rem;
}

.produkt .preis {
    font-weight: bold;
    margin-bottom: 1rem;
}

.produkte-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/*======================
   Warekorb
  ======================*/

.cart {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cart-items {
    display: grid;
    flex-direction: row;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cart-items .produkt {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #1b1d26;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cart-items .produkt-bild {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-items .preis {
    margin-left: auto;
    font-weight: bold;
}

/*======================
   About
  ======================*/

main.about-layout {
    display: block;
    padding: 4rem 0;
}

.about-layout section {
    width: min(900px, 90%);
    margin-bottom: 4rem;
}

.about-hero { 
    font-size: x-large;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 4rem;
}

.about-text {
    margin-left: 5%;
    margin-right: auto;
    margin-bottom: 4rem;
}

.about-values {
    margin-left: auto;
    margin-right: 5%;
    margin-bottom: 4rem;
    margin-top: 25rem;
}



