/* Reset and Base Styles */
:root {
    /* Aixtradata Color Scheme - Blue Palette (shared with keepio) */
    --color-primary: #3C74A6;        /* Primary blue */
    --color-primary-dark: #224573;   /* Dark blue */
    --color-primary-light: #4B93BF;  /* Light blue */
    --color-accent: #77C3F2;         /* Accent blue */
    --color-accent-light: #91D7F2;   /* Light accent */

    /* Neutral Colors */
    --color-dark: #1f2937;
    --color-gray: #64748b;
    --color-light-gray: #e2e8f0;
    --color-bg: #f8fafc;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3C74A6 0%, #4B93BF 100%);
    --gradient-accent: linear-gradient(135deg, #4B93BF 0%, #77C3F2 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e8f4fb 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-primary-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    gap: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-primary-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(60, 116, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(60, 116, 166, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* Produkt Section */
.produkt {
    padding: 100px 0;
    background: white;
}

.product-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--color-light-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(60, 116, 166, 0.15);
    border-color: var(--color-primary);
}

.product-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.product-card p {
    color: var(--color-gray);
    margin-bottom: 25px;
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: 50px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    color: var(--color-gray);
    margin-bottom: 15px;
}

.legal-content ul {
    color: var(--color-gray);
    margin: 0 0 15px 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu.active .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container,
    .hero-container,
    .nav-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
