/* ===========================================
   AINA Technology - Landing Page Design System
   =========================================== */

/* CSS Variables - AINA Corporate Identity */
:root {
    /* Brand Colors */
    --aina-blue: #2B6FA3;
    --aina-blue-dark: #1E5F8E;
    --aina-blue-light: #4A8BC4;
    --aina-magenta: #D63384;
    --aina-magenta-dark: #C41E7F;
    --aina-pink-light: #F5C7D8;
    
    /* Theme Accents (per Landing Page) */
    --accent: var(--aina-magenta);
    --accent-dark: var(--aina-magenta-dark);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem;
    --container-max: 1100px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Theme Variations */
.theme-ki { --accent: #D63384; --accent-dark: #C41E7F; }
.theme-delphi { --accent: #0D9488; --accent-dark: #0F766E; }
.theme-hr { --accent: #EA580C; --accent-dark: #C2410C; }
.theme-hub { --accent: #2B6FA3; --accent-dark: #1E5F8E; }

/* ===========================================
   Base Styles
   =========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--gray-800);
    background: linear-gradient(180deg, #FDFCFA 0%, #F9F8F5 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

/* Warmer Hintergrund-Akzent */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(214, 51, 132, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Fließende diagonale Akzentlinie */
body::after {
    content: '';
    position: fixed;
    top: 30%;
    left: -10%;
    width: 120%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43, 111, 163, 0.08), rgba(214, 51, 132, 0.08), transparent);
    transform: rotate(-2deg);
    pointer-events: none;
    z-index: 0;
}

/* ===========================================
   Typography
   =========================================== */
h1, h2, h3 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

/* Fließende Unterstreichung für H2 */
.section h2,
.story-section h2 {
    display: inline-block;
    position: relative;
}

.section h2::after,
.story-section h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--aina-blue), transparent);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem 0;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-600); }

/* ===========================================
   Layout
   =========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-alt {
    background-color: rgba(249, 248, 245, 0.7);
}

/* ===========================================
   Header (Minimal - No Navigation!)
   =========================================== */
.header {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--aina-blue);
}

.logo span {
    color: var(--aina-magenta);
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(253,252,250,0.95) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--accent));
    opacity: 0.03;
    transform: rotate(-12deg);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero .lead {
    margin-bottom: 2rem;
}

/* ===========================================
   Benefits / Problem-Solution
   =========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid rgba(43, 111, 163, 0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray-600);
    margin: 0;
}

/* ===========================================
   Trust / Social Proof
   =========================================== */
.trust-section {
    text-align: center;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-quote {
    max-width: 640px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--white);
    border: 1px solid rgba(43, 111, 163, 0.08);
    border-left: 4px solid var(--accent);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: var(--gray-700);
}

/* ===========================================
   CTA Section
   =========================================== */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--aina-blue) 0%, var(--aina-blue-dark) 100%);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .lead {
    color: rgba(255,255,255,0.9);
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* ===========================================
   Buttons
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-white {
    background: var(--white);
    color: var(--aina-blue);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================================
   Footer (Minimal)
   =========================================== */
.footer {
    padding: 2rem 0;
    background: var(--gray-900);
    color: var(--gray-300);
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-divider {
    color: var(--gray-600);
    user-select: none;
}

/* ===========================================
   Contact Form (Simple)
   =========================================== */
.contact-form {
    max-width: 480px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===========================================
   Accessibility
   =========================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--aina-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* High Contrast */
@media (prefers-contrast: high) {
    .benefit-card,
    .trust-quote {
        border: 2px solid var(--gray-800);
    }
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }
    
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .trust-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================================
   Print Styles
   =========================================== */
@media print {
    .header, .footer, .cta-section {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
