/* ========================================== */
/* ALBO SOLUTIONS - PLATFORM STYLES v2.0 */
/* 100% Design-kompatibel mit Business Case */
/* Unified Design Tokens */
/* ========================================== */

/* ========================================== */
/* CSS VARIABLES - UNIFIED WITH styles.css */
/* ========================================== */

:root {
  /* Primary Colors - Unified */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --accent-blue: #3b82f6;
  
  /* Brand Colors */
  --horvath-blue: #003E7E;
  --horvath-blue-light: #1e5a9e;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  /* Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --text: var(--gray-900);
  --text-light: var(--gray-600);
  --text-dark: #1a1a1a;
  --border: var(--gray-200);
  --border-color: #e2e8f0;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --hover-bg: #f1f5f9;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  
  /* Transitions */
  --transition: all 0.2s ease;
  --transition-fast: all 0.15s ease;
  
  /* Z-Index */
  --z-sticky: 1020;
  --z-modal: 1050;
}

/* ========================================== */
/* RESET & BASE STYLES */
/* ========================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: 1.5;
  color: var(--text);
  background: var(--background-alt);
  overflow-x: hidden;
}

/* ========================================== */
/* PLATFORM HEADER (UNIFIED MIT BUSINESS CASE) */
/* ========================================== */

.platform-header {
  /* GLEICHER GRADIENT WIE BUSINESS CASE */
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
  color: white;
  
  /* GLEICHE MASSE WIE BUSINESS CASE */
  padding: 12px 40px;
  min-height: 60px;
  
  /* Styling */
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  
  /* Sticky Position */
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
}

.header-left h1 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin: 0 0 2px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.header-subtitle {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.3;
}

.header-stats {
  display: flex;
  gap: 28px;
  align-items: center;
}

.stat {
  text-align: center;
  min-width: 75px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 3px;
}

.stat-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  line-height: 1.2;
}

/* ========================================== */
/* MAIN NAVIGATION (6 TABS) */
/* ========================================== */

.main-navigation {
  background: var(--background);
  border-bottom: 2px solid var(--border);
  padding: 0 var(--spacing-xl);
  display: flex;
  gap: 0;
  box-shadow: var(--shadow-sm);
  
  /* STICKY WIE BUSINESS CASE */
  position: sticky;
  top: 60px;
  z-index: var(--z-sticky);
}

.nav-tab {
  padding: var(--spacing-md) var(--spacing-lg);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.nav-tab:hover {
  color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.nav-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
}

/* ========================================== */
/* CONTENT AREA */
/* ========================================== */

.platform-content {
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
}

/* ========================================== */
/* LANDING PAGE */
/* ========================================== */

.landing-page {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 0.3s ease;
}

.landing-hero {
  margin-bottom: 3rem;
}

.landing-hero h1 {
  font-size: 48px;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.landing-hero p {
  font-size: 20px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.quick-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.access-card {
  background: var(--background);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}

.access-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.access-card .icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

.access-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.access-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================== */
/* CASES OVERVIEW */
/* ========================================== */

.cases-overview {
  padding: 2rem 0;
  animation: fadeIn 0.3s ease;
}

.cases-overview h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cases-overview > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.case-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-type-card {
  background: var(--background);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  transition: var(--transition-fast);
}

.case-type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.case-type-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.case-type-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.case-type-card button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.case-type-card button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ========================================== */
/* PLACEHOLDER SECTIONS */
/* ========================================== */

.section-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 0.3s ease;
}

.section-placeholder .icon {
  font-size: 64px;
  margin-bottom: 1rem;
}

.section-placeholder h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-placeholder p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.section-placeholder .coming-soon {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--hover-bg);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  font-weight: 600;
}

/* ========================================== */
/* ANIMATIONS */
/* ========================================== */

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================== */
/* BUTTONS - UNIFIED STYLE */
/* ========================================== */

.btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

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

.btn-danger:hover {
  background: #dc2626;
}

/* ========================================== */
/* UTILITIES */
/* ========================================== */

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

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ========================================== */
/* RESPONSIVE DESIGN */
/* ========================================== */

@media (max-width: 1200px) {
  .header-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .platform-header {
    padding: 12px 20px;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-stats {
    gap: 1rem;
  }

  .main-navigation {
    padding: 0 1rem;
    overflow-x: auto;
    gap: 0;
  }

  .nav-tab {
    padding: 0.75rem 1rem;
    font-size: 14px;
    white-space: nowrap;
  }

  .platform-content {
    padding: 1rem;
  }

  .case-types-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero h1 {
    font-size: 32px;
  }

  .landing-hero p {
    font-size: 16px;
  }

  .quick-access {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-left h1 {
    font-size: 16px;
  }

  .header-subtitle {
    font-size: 10px;
  }

  .stat {
    min-width: 60px;
  }

  .stat-value {
    font-size: 18px;
  }

  .stat-label {
    font-size: 8px;
  }
}

/* ========================================== */
/* DARK MODE SUPPORT (Optional) */
/* ========================================== */

@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here later */
}

/* ========================================== */
/* PRINT STYLES */
/* ========================================== */

@media print {
  .platform-header,
  .main-navigation {
    position: static;
  }
  
  .nav-tab {
    page-break-inside: avoid;
  }
}

/* ========================================== */
/* END OF FILE */
/* ========================================== */