/*
Theme Name: Wotax
Theme URI: http://wotax.local
Author: Antigravity
Author URI: https://gemini.google.com
Description: Ein maßgeschneidertes Premium-Hybrid-Theme für den Wotax Markenrelaunch.
Version: 3.0.0
Text Domain: wotax
*/

/* ==========================================================================
   CSS RESET & GLOBAL
   ========================================================================== */
   *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --deep-navy: #0A1226;
    --corporate-blue: #276BFF;
    --graphite: #2B2F36;
    --warm-grey: #F2F3F5;
    --cool-grey: #D8DDE6;
    --white: #ffffff;
    --font-manrope: "Manrope", sans-serif;
}

body {
    font-family: var(--font-manrope);
    color: var(--graphite);
    background-color: var(--warm-grey);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.mt-5 { margin-top: 3rem; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a0b6d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gradient-dark {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--corporate-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary, .btn-outline, .btn-outline-dark {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--corporate-blue);
    color: var(--white);
    border: 2px solid var(--corporate-blue);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--corporate-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 107, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--deep-navy);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--deep-navy);
    border: 2px solid var(--deep-navy);
}
.btn-outline-dark:hover {
    background-color: var(--deep-navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER (Sticky & Blur)
   ========================================================================== */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
}

.custom-header.scrolled {
    background: rgba(10, 18, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    transition: height 0.4s ease;
}

.custom-header.scrolled .header-inner {
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}
.custom-header.scrolled .logo img {
    height: 45px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--corporate-blue);
}
.main-nav .btn-primary {
    padding: 0.75rem 1.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for smooth parallax start */
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 6s linear;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 18, 38, 0.9) 0%, rgba(10, 18, 38, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cool-grey);
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   GLASSMORPHISM CARDS
   ========================================================================== */
.glass-card-light, .glass-card {
    padding: 3rem 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(10, 18, 38, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.glass-card-light:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(39, 107, 255, 0.1);
}
.glass-card-light h3 {
    color: var(--corporate-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(39, 107, 255, 0.4);
    transform: translateY(-5px);
}
.glass-card h3 {
    color: var(--white);
}
.glass-card p {
    color: var(--cool-grey);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}
.section-header h2 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}
.section-header p {
    font-size: 1.25rem;
    color: var(--graphite);
}

.value-prop-section {
    padding: 8rem 0;
    background-color: var(--warm-grey);
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-section {
    padding: 8rem 0;
    background-color: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    border-radius: 16px;
    overflow: hidden;
    height: 600px;
}
.about-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}
.about-content h2 {
    font-size: 3rem;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}
.about-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.services-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--deep-navy);
    overflow: hidden;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   DYNAMIC ACCENT STRIPES (Logo inspired)
   ========================================================================== */
.dynamic-accent-stripe {
    position: absolute;
    background: var(--corporate-blue);
    height: 200vh;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 50px rgba(39, 107, 255, 0.3);
    transform-origin: center;
}

.accent-top {
    width: 100px;
    top: -50vh;
    left: 60%;
    transform: rotate(23deg);
    opacity: 0.8;
    z-index: 1; /* Above bg, below content */
}

.accent-mid {
    width: 250px;
    top: -30vh;
    right: 20%;
    transform: rotate(23deg);
    opacity: 0.05;
}

.industries-section {
    padding: 8rem 0;
    background-color: var(--warm-grey);
    overflow: hidden;
}

.infinite-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin: 4rem 0;
    padding-left: 2rem;
}
.infinite-marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
}
.marquee-item {
    width: 450px;
    height: 550px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.marquee-item:hover img {
    transform: scale(1.05);
}
.industry-card h4 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
    z-index: 2;
}
.industry-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 18, 38, 0.8) 0%, transparent 50%);
    z-index: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.custom-footer {
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo p {
    font-size: 0.875rem;
    color: var(--cool-grey);
    margin-top: 0.5rem;
}
.footer-links a {
    color: var(--cool-grey);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   MOBILE & RESPONSIVE
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
}
.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 18, 38, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 150;
    }
    .main-nav.nav-open {
        right: 0;
    }
    .main-nav a {
        font-size: 1.5rem;
        margin: 1rem 0;
    }
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image {
        height: 400px;
    }
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    .header-inner {
        height: 90px;
        padding: 0 1.25rem;
    }
    .custom-header.scrolled .header-inner {
        height: 70px;
    }
    .marquee-item {
        width: 300px;
        height: 400px;
    }
    .hero-section {
        min-height: 100vh;
    }
    .hero-content {
        padding-top: 8rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn-primary, .hero-cta .btn-outline {
        width: 100%;
        text-align: center;
    }
    .section-header h2, .about-content h2, .text-center h2 {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
    .value-prop-section, .about-section, .services-section, .industries-section {
        padding: 4rem 0;
    }
    .glass-card-light, .glass-card {
        padding: 2rem 1.5rem;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .footer-links a {
        margin-left: 0;
        margin-right: 1.5rem;
        display: inline-block;
    }
    .accent-top {
        display: none; /* Hide decorative stripe on mobile to avoid horizontal scroll issues */
    }
}
