/* === GLASMORPHISMUS DESIGN SYSTEM - HORNISSENPORTAL === */
/* Modern, Clean, Transparent */

:root {
  /* Primärfarben - Reduziert & Elegant */
  --primary: #667eea;
  --primary-light: #8b9eff;
  --primary-dark: #5568d3;
  --secondary: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Glasmorphismus Effekte */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-dark: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  /* Subtile Gradienten */
  --gradient-subtle: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
  --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Moderne Schatten */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typografie */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

/* === GLASMORPHISMUS KARTEN === */
.modern-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modern-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.8);
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-card:hover::before {
  opacity: 1;
}

/* === GLASMORPHISMUS STATISTIK-KARTEN === */
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.85);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  color: var(--primary);
}

.stat-value {
  font-size: 2.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
  font-family: var(--font-sans);
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === GLASMORPHISMUS BUTTONS === */
.btn-modern {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9375rem;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-modern:active {
  transform: translateY(0);
}

.btn-modern-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-modern-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-modern-success {
  background: var(--success);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-modern-success:hover {
  background: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-modern-warning {
  background: var(--warning);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-modern-warning:hover {
  background: #d97706;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-modern-danger {
  background: var(--danger);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-modern-danger:hover {
  background: #dc2626;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-modern-info {
  background: var(--info);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-modern-info:hover {
  background: #2563eb;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Glass Button Variante */
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

/* === GLASMORPHISMUS HERO SECTION === */
.modern-hero {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-subtle);
  z-index: 0;
}

.modern-hero h1 {
  font-size: 2.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
}

.modern-hero p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
}

text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
position: relative;
z-index: 1;
}

/* === GLASMORPHISMUS BADGES === */
.badge-modern {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
}

.badge-modern-success {
  background: var(--success);
  color: white;
}

.badge-modern-warning {
  background: var(--warning);
  color: white;
}

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

.badge-modern-info {
  background: var(--info);
  color: white;
}

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

/* Glass Badge Variante */
.badge-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--primary);
}

/* === UTILITY CLASSES === */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

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

.shadow-glass {
  box-shadow: var(--glass-shadow);
}

/* === FORM CONTROLS - Glasmorphismus === */
.form-control-modern {
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  font-weight: 500;
  font-family: var(--font-sans);
}

.form-control-modern:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
  background: white;
  outline: none;
}

.form-label-modern {
  font-weight: var(--font-weight-semibold);
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
}

/* === ANIMATIONS === */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animations zuweisen */
.animate-fadeInDown {
  animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slideInUp {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out;
}

.animate-scaleIn {
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gestaffelte Animationen */
.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .modern-hero {
    padding: 2rem 1.5rem;
  }

  .modern-hero h1 {
    font-size: 2rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-value {
    font-size: 2.5rem;
  }
}
