/* KfzDesk - Hauptstylesheet */
:root {
  --primary: #1E3A5F;
  --primary-light: #2a5080;
  --primary-dark: #152a44;
  --accent: #F97316;
  --accent-hover: #ea6a0a;
  --white: #ffffff;
  --silver: #9CA3AF;
  --silver-light: #F3F4F6;
  --silver-mid: #E5E7EB;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6B7280;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.12), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

/* ── Navigation ── */
nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.nav-logo-text { color: var(--white); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }
.nav-logo-text span { color: var(--accent); }

.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.5rem 1.2rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.2);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.4);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; color: var(--white); }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ── Sections ── */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--silver-light); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── Module Cards ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--silver-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}
.module-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary); }
.module-card:hover::before { opacity: 1; }
.module-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.module-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.module-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.module-features { list-style: none; }
.module-features li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.module-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--silver-mid);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.1), var(--shadow-lg);
  transform: scale(1.03);
}
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 0.2rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-name { font-size: 1rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; }
.pricing-price sub { font-size: 0.9rem; color: var(--text-light); font-weight: 400; }
.pricing-desc { color: var(--text-light); font-size: 0.9rem; margin: 1rem 0 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--silver-mid);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-features li .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-features li .cross { color: var(--silver); flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }
.btn-primary-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-primary-outline:hover { background: var(--primary); color: var(--white); }

/* ── Compliance Banner ── */
.compliance {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3rem 1.5rem;
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--white);
}
.compliance-icon {
  width: 44px;
  height: 44px;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.compliance-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.compliance-item p { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--silver-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-text { font-size: 1rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 1rem; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent), #f59845);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-white { background: var(--white); color: var(--accent); }
.btn-white:hover { background: var(--silver-light); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ── Footer ── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Legal pages ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.legal-content h1 { color: var(--primary); font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal-content .last-updated { color: var(--text-light); font-size: 0.875rem; margin-bottom: 2.5rem; }
.legal-content h2 { color: var(--primary); font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.legal-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { color: var(--text-mid); line-height: 1.8; margin: 0.5rem 0 1rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--accent); }
