/* ==========================================
   BAULOGISTIK-network – Modern Minimalist Onepager
   ========================================== */

/* --- CSS Variables --- */
:root {
    --color-dark: #12100d;
    --color-orange: #f8982d;
    --color-light: #f1eee7;
    --color-orange-dim: rgba(248, 152, 45, 0.08);
    --color-orange-glow: rgba(248, 152, 45, 0.2);
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Background --- */
.network-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    filter: blur(0.5px);
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: var(--color-dark);
}

/* --- Hamburger Menu --- */
.hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 200;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--color-orange);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger:hover .hamburger-line {
    background: var(--color-light);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Menu Overlay --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 16, 13, 0.70);
    backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-content {
    text-align: center;
    position: relative;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--color-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.menu-link:hover {
    color: var(--color-orange);
    transform: translateX(10px);
}

.menu-link.active {
    color: var(--color-orange);
}

/* --- Impressum Overlay --- */
.impressum-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 95;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.impressum-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
}

.impressum-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.impressum-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--color-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.impressum-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #f1eee7;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hamburger {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .impressum-content {
        padding: 5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hamburger {
        top: 1rem;
        right: 1.25rem;
        width: 35px;
        height: 35px;
    }
}

/* --- Container --- */
.container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2rem;
}

/* --- Fixed Header (nur Logo) --- */
.fixed-header {
    position: relative;
    z-index: 50;
    text-align: center;
    padding: 1rem 0 0;
    width: 100%;
    max-width: 1000px;
    flex-shrink: 0;
    pointer-events: none;
}

/* --- Logo --- */
.logo-container {
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    pointer-events: auto;
}

.logo {
    width: 100%;
    max-width: clamp(280px, 70vw, 500px);
    height: auto;
}

/* --- Claim (im Content) --- */
.claim {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    color: var(--color-light);
    text-align: center;
}

.claim-text {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-orange);
    font-weight: 600;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: fixed;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    color: var(--color-light);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 152, 45, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(248, 152, 45, 0.5);
}

.scroll-indicator svg {
    width: 22px;
    height: 22px;
}

.scroll-indicator:hover {
    background: rgba(248, 152, 45, 1);
    box-shadow: 0 6px 30px rgba(248, 152, 45, 0.7);
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    40% {
        transform: translateX(-50%) translateY(-10px) scale(1);
    }
    60% {
        transform: translateX(-50%) translateY(-5px) scale(1);
    }
}

/* --- Content Wrapper --- */
.content-wrapper {
    width: 100%;
    max-width: 1000px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2rem;
    margin-top: -2rem;
    scroll-padding-top: 0;
}

.content-wrapper::-webkit-scrollbar {
    display: none;
}

/* --- Content Slides --- */
.content-slide {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 0 0 8rem;
    opacity: 0.3;
    transition: opacity 0.6s ease;
    scroll-margin-top: 0;
}

.content-slide.active {
    opacity: 1;
}

.content-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

/* --- Intro Text --- */
.intro {
    margin-bottom: 2rem;
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--color-orange);
}

.intro-text {
    font-size: clamp(1.125rem, 2.2vw, 1.25rem);
    line-height: 1.9;
    font-weight: 300;
    color: #f1eee7;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.01em;
    text-align: center;
}

/* --- USPs --- */
.usps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 5rem;
    padding: 3rem 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(241, 238, 231, 0.02);
    border: 1px solid rgba(248, 152, 45, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.usp-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(241, 238, 231, 0.06);
}

.usp-item:last-child {
    border-bottom: none;
}

.usp-icon {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    background: var(--color-orange);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(248, 152, 45, 0.4);
}

.usp-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    color: var(--color-light);
    text-align: center;
    letter-spacing: 0.01em;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .fixed-header {
        padding: 1.5rem 0 0.5rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .content-wrapper {
        scroll-snap-type: none;
    }
    
    .content-slide {
        min-height: 85vh;
        padding: 2rem 0 8rem;
        align-items: flex-start;
        scroll-snap-align: none;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
    
    .intro::before {
        width: 60px;
    }
    
    .intro-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .usps {
        gap: 0;
        margin-top: 4rem;
        padding: 2rem 2rem;
        border-radius: 6px;
    }
    
    .usp-item {
        padding: 1.25rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .usps {
        padding: 1.75rem 1.5rem;
    }
    
    .usp-item {
        flex-direction: row;
        gap: 1rem;
    }
    
    .usp-text {
        text-align: center;
    }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Print --- */
@media print {
    .background-animation {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
