/* ==========================================================================
   BD LOTUS - EXPRESS BEWERBUNG (SOCIAL MEDIA LANDING PAGE)
   Mobile-First Design System & Multi-Step Funnel Styling
   ========================================================================== */

:root {
  --primary: #1c7c8d;
  --primary-dark: #0f5f6c;
  --primary-light: #e6f6f5;
  --secondary: #84d4cb;
  --sand: #f8fcff;
  --white: #ffffff;
  --accent: #e07a5f;
  --accent-light: #fff5f2;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: rgba(28, 124, 141, 0.15);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(28, 124, 141, 0.10);
  --shadow-lg: 0 24px 50px rgba(28, 124, 141, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at top center, #eef9f8 0%, var(--sand) 100%);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); /* Space for sticky mobile bar */
  -webkit-font-smoothing: antialiased;
}

/* Base Container */
.express-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 16px;
}

/* Header & Brand Bar */
.express-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px 20px 4px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(224, 122, 95, 0.25);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  animation: pulseBadge 2.5s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 122, 95, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(224, 122, 95, 0); }
}

/* Hero Section */
.hero-card {
  text-align: center;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin: 0 auto 10px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #158b9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.location-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  margin: -4px auto 22px;
  padding: 14px 16px;
  max-width: 460px;
  text-align: left;
  background: linear-gradient(135deg, #e4f6f3 0%, #f3fbfa 100%);
  border: 1px solid rgba(28, 124, 141, 0.2);
  border-radius: 16px;
  color: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(28, 124, 141, 0.09);
}

.location-notice__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 6px 14px rgba(28, 124, 141, 0.22);
}

.location-notice__content {
  display: grid;
  gap: 2px;
}

.location-notice__eyebrow {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-notice__content strong {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.3;
}

.location-notice__content > span:last-child {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

/* Social Proof Banner */
.social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.avatar-group {
  display: flex;
  margin-right: -4px;
}

.avatar-group img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  object-fit: cover;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.rating-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rating-stars {
  color: #ffb800;
  letter-spacing: 1px;
}

/* Main Funnel Card */
.funnel-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

/* Progress Header */
.progress-header {
  margin-bottom: 24px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.step-indicator {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-percent {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--primary-light);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 100px;
  transition: width var(--transition-smooth);
}

/* Funnel Steps Container */
.funnel-step {
  display: none;
  animation: fadeInStep var(--transition-smooth);
}

.funnel-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.step-subheading {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Options Grid / Cards (Step 1 & 2) */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fdfefe;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
  min-height: 56px;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.option-card:hover {
  border-color: var(--secondary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 16px rgba(28, 124, 141, 0.15);
}

.option-content {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.option-content > :last-child {
  min-width: 0;
}

.option-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.option-title {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  overflow-wrap: anywhere;
}

.option-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.option-badge {
  display: inline-block;
  background: #e2f5f3;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.option-card.selected .radio-indicator {
  border-color: var(--primary);
  background: var(--primary);
}

.option-card.selected .radio-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

/* Step 2 Sub-Sections */
.form-group-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 18px 0 10px 0;
}

.pill-options-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.pill-option {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  font-family: inherit;
  line-height: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.option-card:focus-visible,
.pill-option:focus-visible {
  outline: 3px solid rgba(15, 95, 108, 0.4);
  outline-offset: 3px;
}

.pill-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Step 3 Form Inputs */
.input-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-label span.req {
  color: var(--accent);
}

.text-input, .select-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition-fast);
  appearance: none;
}

.text-input:focus, .select-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(28, 124, 141, 0.12);
}

.text-input::placeholder {
  color: #94a3b8;
}

/* Privacy Consent */
.privacy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
  margin-top: 4px;
  min-height: 44px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.privacy-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.privacy-checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

/* Button Navigation Bar */
.btn-nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.btn-back {
  height: 52px;
  padding: 0 18px;
  background: #f1f5f9;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-back:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

.btn-primary-submit {
  flex: 1;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(28, 124, 141, 0.3);
  transition: all var(--transition-fast);
  min-width: 0;
  padding-right: 14px;
  padding-left: 14px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.btn-primary-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 124, 141, 0.4);
}

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

.btn-primary-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Status Message Alert */
.status-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

.status-alert.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.status-alert.info {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Benefits & Trust Accordion / Grid Below Funnel */
.employer-trust-section {
  margin-top: 32px;
}

.trust-section-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.benefits-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.benefit-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 18px 14px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.benefit-mini-card .b-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(28, 124, 141, 0.12);
}

.benefit-mini-card .b-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.benefit-mini-card h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
}

.benefit-mini-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 5px;
}

/* FAQ Accordion */
.faq-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-answer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sticky Bottom Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.sticky-bar-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 0;
  overflow-wrap: anywhere;
}

.sticky-bar-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sticky-bar-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(28, 124, 141, 0.3);
  min-height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Footer */
.express-footer {
  text-align: center;
  padding: 24px 0 12px 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.express-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  margin: 0 6px;
}

/* Media Queries for Desktop Polish */
@media (min-width: 640px) {
  body {
    padding-bottom: 0;
  }

  .express-container {
    padding: 24px 16px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .funnel-card {
    padding: 32px 28px;
  }
  .sticky-mobile-bar {
    display: none;
  }
}

/* Compact phones: keep the header and fixed CTA within the viewport. */
@media (max-width: 420px) {
  .express-container {
    padding: 14px;
  }

  .express-header {
    padding-right: 0;
    padding-left: 0;
    gap: 8px;
  }

  .brand-logo {
    gap: 6px;
    min-width: 0;
  }

  .brand-logo img {
    height: 32px;
  }

  .brand-name {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .speed-badge {
    flex-shrink: 0;
    padding: 5px 8px;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .rating-stars {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    line-height: 1.35;
  }

  .funnel-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .progress-header {
    margin-bottom: 20px;
  }

  .options-grid,
  .input-grid {
    gap: 10px;
    margin-bottom: 20px;
  }

  .option-card {
    gap: 10px;
    padding: 13px 14px;
  }

  .option-content {
    gap: 10px;
  }

  .pill-options-row {
    flex-direction: column;
    gap: 8px;
  }

  .btn-nav-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-back,
  .btn-primary-submit {
    width: 100%;
    height: auto;
    min-height: 52px;
  }
}

@media (max-width: 360px) {
  .express-container {
    padding: 12px;
  }

  .brand-logo img {
    height: 28px;
  }

  .brand-name {
    font-size: 0.76rem;
  }

  .speed-badge {
    padding: 5px 7px;
    font-size: 0.64rem;
  }

  .sticky-mobile-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .sticky-bar-text {
    font-size: 0.76rem;
  }

  .sticky-bar-text span {
    display: none;
  }

  .sticky-bar-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}
