/* B&S Transport GmbH — Homepage Page-Specific Styles
   Phase 2 — Deutsche Startseite
   Ergänzungen zu Phase-1-Basisstyles (variables.css, layout.css, components.css) */

/* ============================================================
   1. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy);
  min-height: 80vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-4xl);
  text-align: center;
  color: var(--color-text-inverse);
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-lg);
  Color: #d1d9e0;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 400;
  line-height: var(--line-height-base);
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: var(--space-2xl);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   2. TRUST NUMBERS SECTION
   ============================================================ */

.trust-numbers {
  /* Section background handled by layout.css .section */
}

.trust-number {
  text-align: center;
}

.trust-number-value {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: var(--line-height-tight);
}

.trust-number-label {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  margin-top: var(--space-sm);
}

/* ============================================================
   3. SERVICE CARDS
   ============================================================ */

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-base);
}

.service-card .card-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--font-size-sm);
}

.service-card .card-link:hover {
  text-decoration: underline;
}

/* ============================================================
   4. INDUSTRY CARDS
   ============================================================ */

.industry-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.industry-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.industry-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.industry-card {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   5. USP GRID — "WARUM B&S" NAVY SECTION
   ============================================================ */

.usp-block {
  text-align: center;
}

.usp-icon {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  font-size: var(--font-size-xl);
}

.usp-block h3 {
  color: var(--color-text-inverse);
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.usp-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

/* ============================================================
   6. PROCESS FLOW
   ============================================================ */

.process-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 0 0 auto;
  max-width: 200px;
}

.process-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: var(--font-size-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.process-step-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-navy);
}

.process-step-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.process-arrow {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-size: var(--font-size-2xl);
  padding-top: var(--space-md);
}

@media (max-width: 768px) {
  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
  }
}

/* ============================================================
   7. KONFIGURATOR FORM STYLES
   ============================================================ */

#konfigurator {
  scroll-margin-top: 80px;
}

.wizard-progress {
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2xl);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--color-accent);
  transition: width var(--transition-base);
  border-radius: var(--radius-sm);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: var(--color-bg);
  color: var(--color-text);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 26, 0.15);
  outline: none;
}

.form-group .field-error {
  border-color: #d9534f;
}

.form-group [data-error-for] {
  color: #d9534f;
  font-size: var(--font-size-xs);
  margin-top: var(--space-xs);
  display: none;
}

.form-group [data-error-for].visible {
  display: block;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-nav {
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
  margin-top: var(--space-2xl);
}

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

/* ============================================================
   8. SUCCESS MESSAGE
   ============================================================ */

.konfigurator-success {
  text-align: center;
  padding: var(--space-2xl);
  display: none;
}

.konfigurator-success.visible {
  display: block;
}

.konfigurator-success-icon {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: var(--space-md);
}

.konfigurator-success h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.konfigurator-success p {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
}

/* ============================================================
   9. CAREER TEASER
   ============================================================ */

.career-teaser {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.career-teaser-img {
  flex: 0 0 300px;
  height: 200px;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

.career-teaser-content h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.career-teaser-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .career-teaser {
    flex-direction: column;
  }

  .career-teaser-img {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ============================================================
   10. CONTACT CTA
   ============================================================ */

.contact-cta {
  text-align: center;
  color: var(--color-text-inverse);
}

.contact-cta h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
 color: #d1d9e0;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================================
   11. SECTION LABEL
   ============================================================ */

.section-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
