:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-secondary: #8b5cf6;
  --color-accent: #06b6d4;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-bg-white: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-gradient-start: #dbeafe;
  --color-bg-gradient-end: #e9d5ff;
  --color-text-dark: #1e293b;
  --color-text-medium: #475569;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-medium);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

.navbar {
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.navbar-brand:hover {
  color: var(--color-primary-dark);
}

.nav-link {
  color: var(--color-text-medium);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

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

.hero-section {
  background: linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.kpi-widget {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-widget:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.kpi-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.kpi-label {
  font-size: 0.875rem;
  color: var(--color-text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

.card-text {
  font-size: 0.875rem;
  color: var(--color-text-medium);
  margin-bottom: 1rem;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 1rem;
}

.badge-route {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.5rem;
}

.badge-alltag {
  background: #dbeafe;
  color: #1e40af;
}

.badge-training {
  background: #fce7f3;
  color: #be185d;
}

.badge-pause {
  background: #d1fae5;
  color: #065f46;
}

.badge-routine {
  background: #fef3c7;
  color: #92400e;
}

.stop-info {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: none;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: scale(1.03);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.03);
}

.checkpoint-item {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s ease;
}

.checkpoint-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.checkpoint-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 1rem;
  font-size: 0.875rem;
}

.route-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
  height: 100%;
}

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

.route-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.system-step {
  text-align: center;
  padding: 2rem;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.system-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer {
  background: var(--color-text-dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.form-control {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.comparison-table {
  width: 100%;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th {
  background: var(--color-primary);
  color: white;
  padding: 1rem;
  font-weight: 600;
  text-align: left;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

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

.comparison-table tr:hover {
  background: var(--color-bg-light);
}

.legend-item {
  background: var(--color-bg-white);
  padding: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.user-log {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--color-accent);
  margin-bottom: 1rem;
}

.user-log-author {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.user-log-text {
  font-size: 0.875rem;
  color: var(--color-text-medium);
  font-style: italic;
}

.faq-item {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.faq-answer {
  color: var(--color-text-medium);
  font-size: 0.875rem;
}

.legal-content {
  background: var(--color-bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.legal-content h2 {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--color-text-medium);
}

.thank-you-box {
  background: linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 3rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: white;
}

#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-text-dark);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
}

#cookieConsent.show {
  display: block;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero-section h1 {
    font-size: 2.25rem;
  }

  .section {
    padding: 2rem 0;
  }

  .kpi-widget {
    margin-bottom: 1rem;
  }

  .card-img-top {
    height: 200px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}
