/* ==========================================================================
   Aufgaben-Tool — Dark Tech Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --bg-base: #080c14;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-card: rgba(17, 24, 39, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(34, 211, 238, 0.3);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Accents */
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(34, 211, 238, 0.35);
  --glow-indigo: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-window: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: dark;
}

[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glows — GPU Beschleunigt */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  contain: strict;
}

.bg-glow-primary {
  top: -150px;
  left: 50%;
  transform: translateX(-50%) translate3d(0, 0, 0);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, var(--accent-indigo) 70%, transparent 100%);
}

.bg-glow-secondary {
  top: 900px;
  right: -100px;
  transform: translate3d(0, 0, 0);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple) 0%, var(--accent-blue) 60%, transparent 100%);
}

.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan-glow) 50%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
  border-radius: 12px;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  box-shadow: var(--shadow-window);
}

.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.15);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon-box {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
}

.logo-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan-glow);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.version-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-cyan-glow);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan-glow);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-cyan-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.highlight-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan-glow);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan-glow);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.375rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Mockup Window Showcase
   ========================================================================== */

.preview-section {
  padding: 4rem 0 6rem;
}

.mockup-wrapper {
  perspective: 1000px;
}

.mockup-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: box-shadow var(--transition-smooth);
}

.mockup-window:hover {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.15);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.875rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.window-lock-icon {
  width: 12px;
  height: 12px;
  color: var(--accent-emerald);
}

.badge-live {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-cyan-glow);
  background: rgba(34, 211, 238, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

/* Mockup Layout */
.mockup-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 480px;
}

/* Sidebar */
.mockup-sidebar {
  background: rgba(11, 17, 30, 0.7);
  border-right: 1px solid var(--border-subtle);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.user-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sidebar-section-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sidebar-lists {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.list-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.list-item.active {
  background: rgba(34, 211, 238, 0.12);
  color: var(--text-primary);
  font-weight: 600;
  border-left: 3px solid var(--accent-cyan-glow);
}

.list-icon {
  font-size: 1rem;
}

.list-name {
  flex: 1;
}

.list-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.list-item.active .list-count {
  background: rgba(34, 211, 238, 0.2);
  color: var(--accent-cyan-glow);
}

.btn-add-list {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px dashed var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-list svg {
  width: 16px;
  height: 16px;
}

.btn-add-list:hover {
  border-color: var(--accent-cyan-glow);
  color: var(--accent-cyan-glow);
  background: rgba(34, 211, 238, 0.05);
}

/* Mockup Main Content */
.mockup-content {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.4);
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.current-list-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.current-list-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.header-filter-group {
  display: flex;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.filter-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
}

/* Quick Add Form */
.quick-add-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quick-add-input-wrapper {
  position: relative;
  flex: 1;
}

.plus-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-cyan-glow);
  font-size: 1.25rem;
  font-weight: 600;
  pointer-events: none;
}

.quick-add-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.875rem;
  outline: none;
  transition: all var(--transition-fast);
}

.quick-add-input:focus {
  border-color: var(--accent-cyan-glow);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
  background: rgba(0, 0, 0, 0.5);
}

.btn-quick-add {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-quick-add:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Tasks Container */
.task-items-container {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.task-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.875rem 1rem;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.task-card:hover {
  background: rgba(23, 33, 53, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-top: 2px;
}

.task-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.checkbox-box svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.25s ease;
}

.task-checkbox:checked + .checkbox-box {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.task-checkbox:checked + .checkbox-box svg {
  stroke-dashoffset: 0;
}

.task-details {
  flex: 1;
}

.task-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  transition: all var(--transition-fast);
}

.task-completed .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.badge-priority {
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.badge-high {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-medium {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-low {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.task-date {
  color: var(--text-secondary);
}

.date-today {
  color: var(--accent-cyan-glow);
  font-weight: 600;
}

.badge-recurring {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.task-note-indicator {
  color: var(--text-muted);
}

.mockup-hint {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: rgba(34, 211, 238, 0.06);
  border: 1px dashed rgba(34, 211, 238, 0.25);
  padding: 0.625rem 1rem;
  border-radius: 8px;
  text-align: center;
}

/* ==========================================================================
   Bento Features Grid
   ========================================================================== */

.features-section {
  padding: 6rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card-large {
  grid-column: span 2;
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan-glow);
}

.card-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-visual-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pill {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.pill-add {
  border-style: dashed;
  border-color: var(--accent-cyan-glow);
  color: var(--accent-cyan-glow);
}

/* ==========================================================================
   3-Step Process
   ========================================================================== */

.process-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.3), transparent);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.step-card {
  flex: 1;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(34, 211, 238, 0.35);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan-glow);
  opacity: 0.5;
}

.step-divider svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner-section {
  padding: 5rem 0 7rem;
}

.cta-banner {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15), rgba(15, 23, 42, 0.8) 70%);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 12, 20, 0.95);
  padding: 3rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan-glow);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 17, 30, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

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

  .mobile-toggle {
    display: flex;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-large {
    grid-column: span 1;
  }

  .process-steps {
    flex-direction: column;
  }

  .step-divider {
    transform: rotate(90deg);
  }

  .cta-title {
    font-size: 1.875rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Legal Pages (Impressum, Datenschutz, AGB)
   ========================================================================== */

.legal-section-wrapper {
  padding: 3rem 0 6rem;
}

.legal-container {
  max-width: 900px;
}

.legal-card {
  padding: 3rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-window);
}

.legal-top-nav {
  margin-bottom: 2rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan-glow);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.legal-back-link:hover {
  background: rgba(34, 211, 238, 0.16);
  transform: translateX(-3px);
}

.legal-main-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content-body {
  color: var(--text-secondary);
  font-size: 0.96875rem;
  line-height: 1.75;
}

.legal-block {
  margin-bottom: 2.25rem;
}

.legal-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.legal-block h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.25rem 0 0.5rem;
}

.legal-block p {
  margin-bottom: 0.875rem;
}

.legal-block ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-block li {
  margin-bottom: 0.35rem;
}

.legal-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.legal-info-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
}

.legal-info-table tr:last-child td {
  border-bottom: none;
}

.legal-info-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 220px;
  background: rgba(255, 255, 255, 0.02);
}

.legal-highlight-box {
  background: rgba(34, 211, 238, 0.05);
  border-left: 4px solid var(--accent-cyan-glow);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.75rem 1.25rem;
  }

  .legal-main-title {
    font-size: 1.75rem;
  }

  .legal-info-table td {
    display: block;
    width: 100% !important;
  }

  .legal-info-table td:first-child {
    background: transparent;
    padding-bottom: 0.25rem;
  }

  .legal-info-table td:last-child {
    padding-top: 0.25rem;
  }
}

/* ==========================================================================
   Auth Modal (Login & Registration)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.25rem;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.15);
  position: relative;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.modal-logo-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
}

.modal-logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan-glow);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.auth-error-banner {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-cyan-glow);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
  background: rgba(0, 0, 0, 0.5);
}

.auth-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.8125rem;
}

.modal-footer-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}


