/* ========================================
   OrgDesk - Design System
   Die Zentrale für deinen Betrieb
   ======================================== */

/* ----------------------------------------
   CSS Variables - Design Tokens
   ---------------------------------------- */
:root {
    /* Primary Colors */
    --primary-900: #0F1D2F;
    --primary-800: #1E3A5F;
    --primary-700: #2D5A8A;
    --primary-600: #3D7AB5;
    --primary-500: #4A90D9;
    
    /* Accent - Türkis */
    --accent-500: #00B4D8;
    --accent-400: #00C9E8;
    --accent-600: #0096B4;
    
    /* Semantic Colors */
    --success-500: #10B981;
    --success-100: #D1FAE5;
    --warning-500: #F59E0B;
    --warning-100: #FEF3C7;
    --danger-500: #EF4444;
    --danger-100: #FEE2E2;
    
    /* Neutrals */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Background */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-dark: #0F1D2F;
    
    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--bg-primary);
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-800), var(--accent-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-500);
}

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

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section--dark {
    background-color: var(--bg-dark);
    color: var(--gray-100);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--gray-50);
}

.section--gray {
    background-color: var(--bg-secondary);
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: white;
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5);
}

.btn--secondary {
    background: var(--bg-primary);
    color: var(--primary-800);
    border: 2px solid var(--gray-200);
}

.btn--secondary:hover {
    border-color: var(--accent-500);
    color: var(--accent-600);
}

.btn--outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ----------------------------------------
   Header / Navigation
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.header--scrolled {
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-800);
}

.header__logo-icon {
    font-size: 1.75rem;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.header__nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.header__nav-link:hover {
    color: var(--accent-500);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu */
.header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.header__mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .header__nav,
    .header__actions {
        display: none;
    }
    
    .header__mobile-toggle {
        display: flex;
    }
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(30, 58, 95, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-lg);
    background: var(--accent-500);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    animation: fadeInUp 0.6s ease-out;
}

.hero__title {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero__visual {
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.hero__image-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.hero__mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-400);
}

/* Floating Elements */
.hero__float {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero__float--1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.hero__float--2 {
    bottom: 20%;
    left: -5%;
    animation-delay: 1s;
}

.hero__float-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.hero__float-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

@media (max-width: 968px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ----------------------------------------
   Problem Section
   ---------------------------------------- */
.problem {
    background: var(--bg-dark);
    color: white;
}

.problem__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.problem__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.problem__card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.problem__card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.problem__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: white;
}

.problem__card-text {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
.features__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--accent-500);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.feature-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-card__text {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Highlight Feature */
.feature-card--highlight {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: white;
    border: none;
}

.feature-card--highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card--highlight .feature-card__icon {
    background: rgba(255, 255, 255, 0.15);
}

.feature-card--highlight .feature-card__title {
    color: white;
    font-size: 1.5rem;
}

.feature-card--highlight .feature-card__text {
    color: var(--gray-300);
    font-size: 1rem;
}

.feature-card__visual {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 968px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card--highlight {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: white;
}

.cta__title {
    color: white;
    margin-bottom: var(--space-md);
}

.cta__text {
    font-size: 1.125rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-md);
}

.footer__tagline {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.footer__column-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--accent-500);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__brand {
        grid-column: span 2;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* ----------------------------------------
   Utilities
   ---------------------------------------- */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}
