/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0d0d;
    color: #e5e5e5;
    overflow-x: hidden;
}

/* --- BOTTOM NAVIGATION (MOBILE) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0e0e0e;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    z-index: 20;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.6);
}

/* LOGO */
.bottom-nav .logo img {
    height: 2.2rem;
    width: auto;
    border: 1px solid #fff;
}

/* BURGER ICON */
.menu-icon {
    position: relative;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 21;
}

.menu-icon span,
.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.35s ease;
    border-radius: 2px;
}

.menu-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::before {
    top: 0;
}

.menu-icon::after {
    bottom: 0;
}

/* BURGER -> X ANIMATION */
.nav-toggle {
    display: none;
}

.nav-toggle:checked + .menu-icon::before {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle:checked + .menu-icon::after {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-toggle:checked + .menu-icon span {
    opacity: 0;
}

/* --- MOBILE MENU (offcanvas von unten) --- */
nav ul {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    height: 33%;
    transition: bottom 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    border-top: 1px solid #333;
    list-style: none;
}

.nav-toggle:checked + .menu-icon + nav ul {
    bottom: 5rem; /* öffnet sich über der Bottom-Nav */
    opacity: 1;
}
nav li {
    padding: 1rem;
}

/* LINKS */
nav a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

nav a:hover {
    color: #aaa;
}

/* --- DESKTOP HEADER --- */
@media (min-width: 769px) {
    .bottom-nav {
        position: sticky;
        align-items: center;
        padding: 1rem 2rem;
        top: 0;
        bottom: unset;
        border-bottom: 1px solid #222;
        box-shadow: none;
        justify-content: space-between;
    }

    nav ul {
        display: flex;
        position: static;
        flex-direction: row;
        height: auto;
        opacity: 1;
        gap: 2rem;
        background: transparent;
        border: none;
    }

    .menu-icon, .nav-toggle {
        display: none;
    }

    nav a {
        font-size: 1rem;
        color: #e5e5e5;
        text-decoration: none;
        letter-spacing: 0.05em;
        transition: color 0.3s;
    }
}


/* --- HERO SECTION --- */
.hero {
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero p {
    margin-top: 1rem;
    color: #ccc;
}

.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.8rem;
    border: 2px solid #fff;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.3s, color 0.3s;
}

.btn:hover {
    box-shadow: 0 0 10px #ff00b4a1;
    border-color: #ff00b4a1;
    color: #ff00b4a1;
}

/* --- PRODUCT SECTION --- */

/* --- FULLSCREEN PRODUCTS --- */
.product-section {
    height: 95vh;
    margin: 1rem;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.product-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.product-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    padding: 3rem;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    margin-left: 4rem;
}

.product-content.right {
    margin-left: auto;
    margin-right: 4rem;
    text-align: right;
}

.product-content h2 {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 20px -20px 10px #ff00b4a1;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.product-content p {
    color: #bbb;
    line-height: 1.6;
}

/* --- SPLIT PRODUCTS --- */
.product-split {
    display: flex;
    align-items: stretch;
    min-height: 90vh;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.product-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.product-text {
    flex: 1;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.product-text h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-text p {
    color: #999;
    line-height: 1.6;
}


/* --- ABOUT SECTION (minimalistisch, modern) --- */
.about {
    background: #0f0f0f;
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.about h2 {
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    color: #f2f2f2;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    background: #444;
    margin: 1rem auto 0;
}

.about p {
    max-width: 700px;
    margin: 1.2rem auto;
    color: #ccc;
    font-size: 1rem;
    letter-spacing: 0.03em;
    line-height: 1.8;
}

.about p:first-of-type {
    color: #f2f2f2;
    font-style: italic;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1.5rem;
    }

    .about h2 {
        font-size: 1.4rem;
    }

    .about p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}


/* --- FOOTER --- */
footer {
    background: #0c0c0c;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

footer a {
    color: #bbb;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* --- RESPONSIVE TYPOGRAPHY --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.6rem 1.4rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
    }

    .product-grid {
        gap: 1rem;
    }

    .products h2 {
        font-size: 1.5rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

/* --- RESPONSIVE FIX: PRODUCT-SPLIT MOBILE --- */
@media (max-width: 768px) {
    .product-split {
        flex-direction: column; /* übereinander statt nebeneinander */
        min-height: auto;
    }

    .product-image {
        height: 40vh; /* sichtbarer Bildbereich */
        min-height: 280px;
        background-position: center;
    }

    .product-text {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .product-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .product-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #ccc;
    }
}
