/* ===== VARIABLES & THEME ===== */
:root {
    --primary-color: #0A192F; /* Deep blue from MUS Logo */
    --secondary-color: #0077FF; /* Tech blue */
    --accent-color: #00E5FF; /* Cyan for tech vibes */
    --danger-color: #FF3B30; /* Red for alerts/pain points */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #060F1E;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    
    --glass-dark-bg: rgba(10, 25, 47, 0.7);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }
.max-w-800 { max-width: 800px; }
.text-sm { font-size: 0.875rem; }
.block { display: block; }
.text-3xl { font-size: 2rem; }

.text-gradient {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-white { color: #fff !important; }
.text-light { color: #a0aec0 !important; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-danger { color: var(--danger-color); }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #fff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.align-center {
    align-items: center;
}

/* ===== GLASSMORPHISM ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
}

.glass-strong {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.glass-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-dark-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 3rem;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-color);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar.scrolled .logo-text { color: var(--primary-color); }
.navbar.scrolled .nav-links a { color: var(--text-color); }
.navbar.scrolled .nav-links a.btn-primary { color: white; }
.navbar.scrolled .mobile-menu-btn { color: var(--primary-color); }

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 4rem;
}

.logo-link {
    display: inline-block;
}

.logo-img {
    height: 80px;
    width: auto;
    border-radius: 6px;
    background: white; /* Da das Logo JPG ist und weißen Hintergrund hat */
    padding: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-links a {
    color: white;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('img/hero_factory.jpg') center/cover no-repeat;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(3, 11, 26, 0.85) 0%, rgba(3, 11, 26, 0.6) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,119,255,0.15) 0%, transparent 70%);
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
    max-width: 700px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== SECTIONS ===== */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Custom List */
.custom-list {
    list-style: none;
}

.custom-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.custom-list i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.glass-chart-container {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ===== CALCULATOR ===== */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control.bg-dark {
    background: rgba(0,0,0,0.2) !important;
    border-color: rgba(255,255,255,0.1);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.15);
}

.result-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin: 1rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
}

.detail-row strong {
    color: white;
}

.calc-conclusion {
    padding: 1.5rem;
    background: rgba(0, 229, 255, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    text-align: left;
    color: #e2e8f0;
}

/* ===== COMPARISON TABLE (KMU) ===== */
.comparison-table {
    overflow: hidden;
}

.comp-header, .comp-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
}

.comp-header {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
}

.comp-row {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-highlight {
    background: rgba(0, 119, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 119, 255, 0.2);
    font-weight: 600;
    color: var(--secondary-color);
}

.feature-ticks {
    list-style: none;
    margin-top: 2rem;
}

.feature-ticks li {
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-ticks i {
    margin-right: 0.5rem;
}

/* ===== TABS (ECOSYSTEM) ===== */
.phase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
}

.tab-content-container {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.tab-pane.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.highlight-text {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.concept-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 5px solid var(--secondary-color);
}

.icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.concept-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.concept-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 500;
}

.concept-card ul li:before {
    content: "→";
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* ===== FLYWHEEL ANIMATION ===== */
.flywheel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hub-pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1) translate(-0%, -0%); transform-origin: center; }
    50% { transform: scale(1.05) translate(-0%, -0%); transform-origin: center; }
    100% { transform: scale(1) translate(-0%, -0%); transform-origin: center; }
}

.spin-slow {
    animation: spin 30s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Add slight floating to nodes */
.node { animation: float 4s ease-in-out infinite; }
.n1 { animation-delay: 0s; }
.n2 { animation-delay: 1s; }
.n3 { animation-delay: 2s; }
.n4 { animation-delay: 3s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    padding: 3rem;
    border-top: 4px solid var(--accent-color);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
}

/* ===== CONTACT BOXES ===== */
.contact-detail-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 119, 255, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 0.8rem;
}

.footer-links-col a {
    color: #a0aec0;
}

.footer-links-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS UTILITY ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframe for initial load */
.hero .fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3.8rem; }
    
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero h1 { font-size: 2.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 2rem; }
    
    .comp-header, .comp-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-grid { grid-template-columns: 1fr; }
    .flywheel-svg { height: 400px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 1.5rem 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    font-family: var(--font-body);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.cookie-banner .cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--secondary-color);
}

.cookie-btn-decline {
    background: transparent;
    border: 1px solid #ccc;
    color: var(--text-color);
}

.cookie-btn-decline:hover {
    background: #f1f5f9;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        padding: 1rem;
    }
    .cookie-banner .cookie-buttons {
        flex-direction: column;
    }
}
