/* BackPilot - Modern B2B Bakery Theme
   Aesthetic: Warm Sourdough / Crust Tones, Crisp Graphite, Fresh Mint Accents, German Engineering Trust
*/

:root {
  /* Warm Sourdough Palette */
  --crust-50: #FFFDF9;
  --crust-100: #FBF6EE;
  --crust-200: #F5ECD8;
  --crust-300: #EAD6B3;
  --crust-400: #D8B277;
  --crust-500: #B45309; /* Signature Crust Amber */
  --crust-600: #92400E;
  --crust-700: #78350F;
  --crust-800: #54250B;
  --crust-900: #361705;

  /* Charcoal & Slate */
  --charcoal-900: #0F172A;
  --charcoal-800: #1E293B;
  --charcoal-700: #334155;
  --charcoal-600: #475569;
  --charcoal-500: #64748B;
  --charcoal-400: #94A3B8;
  --charcoal-300: #CBD5E1;
  --charcoal-200: #E2E8F0;
  --charcoal-100: #F1F5F9;
  --charcoal-50: #F8FAFC;

  /* Accent Colors */
  --savings-green: #059669;
  --savings-green-light: #ECFDF5;
  --waste-red: #DC2626;
  --waste-red-light: #FEF2F2;
  --dwd-blue: #2563EB;
  --dwd-blue-light: #EFF6FF;
  --wa-green: #25D366;
  --wa-dark: #075E54;
  --wa-bubble-in: #FFFFFF;
  --wa-bubble-out: #E7FFDB;

  /* Surface & Border */
  --bg-main: #FAF8F5;
  --card-bg: #FFFFFF;
  --border-light: #E7DFD3;
  --border-subtle: #F0EAE1;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--charcoal-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

/* Typography Utility */
h1, h2, h3, h4, h5 {
  color: var(--charcoal-900);
  font-weight: 700;
  line-height: 1.25;
}

h1, h2, h3 {
  text-wrap: balance;
}

p, li {
  color: var(--charcoal-700);
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(a, code) {
  overflow-wrap: anywhere;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Banner */
.top-banner {
  background: linear-gradient(90deg, #78350F 0%, #B45309 50%, #78350F 100%);
  color: #FFF;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.top-banner a {
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 700;
  color: #FEF3C7;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex: none;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal-900);
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--charcoal-700);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--charcoal-600);
  background: var(--crust-100);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--crust-500);
  color: #FFF;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.25);
}

.btn-primary:hover {
  background: var(--crust-600);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFF;
  color: var(--charcoal-800);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--crust-100);
  border-color: var(--crust-400);
  color: var(--crust-700);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-success {
  background: var(--savings-green);
  color: #FFF;
}

.btn-success:hover {
  background: #047857;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--crust-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-pill-badge {
  background: #FEF3C7;
  color: #92400E;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--charcoal-900);
  max-width: 960px;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--crust-500);
  background: linear-gradient(120deg, rgba(180, 83, 9, 0.12) 0%, rgba(180, 83, 9, 0) 100%);
  padding: 0 4px;
  border-radius: 6px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--charcoal-700);
  max-width: 820px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Trust Bar */
.trust-bar {
  background: #FFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  margin-bottom: 60px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--crust-100);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crust-600);
  flex-shrink: 0;
}

.trust-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 3px;
}

.trust-content p {
  font-size: 0.9rem;
  color: var(--charcoal-700);
  line-height: 1.45;
}

/* Metrics Quick Bar */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.metric-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--crust-500);
}

.metric-card.savings::before {
  background: var(--savings-green);
}

.metric-card.waste::before {
  background: var(--dwd-blue);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal-900);
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 0.95rem;
  color: var(--charcoal-700);
  line-height: 1.5;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crust-500);
  background: var(--crust-100);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--charcoal-600);
  line-height: 1.6;
}

/* Bakery tools */
.module-section {
  width: 100%;
  padding-block: 28px 48px;
}

.module-section h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.25vw, 2.25rem);
  margin-bottom: 20px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.2vw, 28px);
}

.module-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.module-card p {
  color: var(--charcoal-700);
  font-size: 1.125rem;
  line-height: 1.55;
}

.module-cta {
  margin-top: 20px;
  min-height: 44px;
  font-size: 1rem;
}

.module-cta:focus-visible {
  outline: 3px solid var(--charcoal-900);
  outline-offset: 3px;
}

/* ========================================================
   Interactive Demo Section
   ======================================================== */
.demo-section {
  background: #FFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 0;
}

/* Module Tabs */
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.demo-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--crust-50);
  border: 1px solid var(--border-light);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-tab-btn:hover {
  background: var(--crust-100);
  color: var(--crust-700);
}

.demo-tab-btn.active {
  background: var(--charcoal-900);
  color: #FFF;
  border-color: var(--charcoal-900);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.demo-tab-btn .tab-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(180, 83, 9, 0.15);
  color: var(--crust-600);
}

.demo-tab-btn.active .tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FEF3C7;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.tab-panel.active {
  display: block;
}

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

/* Demo Container Card */
.demo-window {
  background: #FAF8F5;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.demo-window-header {
  background: #FFF;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.demo-window-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #CBD5E1;
}

.window-dots span:nth-child(1) { background: #FDA4AF; }
.window-dots span:nth-child(2) { background: #FCD34D; }
.window-dots span:nth-child(3) { background: #86EFAC; }

.window-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--crust-100);
  color: var(--crust-700);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.demo-branch-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-select-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--charcoal-600);
}

.branch-btn {
  background: #FFF;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--charcoal-700);
  transition: all 0.15s ease;
}

.branch-btn:hover {
  border-color: var(--crust-400);
}

.branch-btn.active {
  background: var(--crust-500);
  color: #FFF;
  border-color: var(--crust-500);
}

/* ========================================================
   Module 1: Retouren-AI Dashboard
   ======================================================== */
.m1-body {
  padding: 24px;
}

.m1-ai-explanation {
  background: linear-gradient(135deg, #EFF6FF 0%, #FAF8F5 100%);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.dwd-icon-wrap {
  width: 52px;
  height: 52px;
  background: #DBEAFE;
  color: #1E40AF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dwd-content {
  flex-grow: 1;
}

.dwd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.dwd-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1E3A8A;
}

.dwd-tag {
  background: #DBEAFE;
  color: #1E40AF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.dwd-text {
  font-size: 0.9rem;
  color: #1E3A8A;
  line-height: 1.45;
}

.dwd-text strong {
  color: #1E40AF;
}

.weather-scenarios {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.weather-chip {
  font-size: 0.8rem;
  background: #FFF;
  border: 1px solid #93C5FD;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  color: #1E40AF;
  font-weight: 500;
  transition: all 0.15s ease;
}

.weather-chip:hover, .weather-chip.active {
  background: #1E40AF;
  color: #FFF;
  border-color: #1E40AF;
}

/* Forecast Table */
.forecast-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.table-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.table-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal-900);
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.885rem;
}

.custom-table th {
  background: var(--charcoal-50);
  color: var(--charcoal-700);
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.custom-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--charcoal-800);
  vertical-align: middle;
}

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

.custom-table tr:hover td {
  background: #FAF8F5;
}

.item-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-icon {
  font-size: 1.25rem;
}

.item-details strong {
  display: block;
  color: var(--charcoal-900);
  font-size: 0.925rem;
}

.item-details span {
  font-size: 0.75rem;
  color: var(--charcoal-500);
}

.badge-conventional {
  background: #F1F5F9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-ai {
  background: #FEF3C7;
  color: #92400E;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid #FDE68A;
}

.retouren-diff {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.825rem;
}

.retouren-diff.down {
  color: var(--savings-green);
}

.retouren-diff.up {
  color: var(--crust-600);
}

.saving-cell {
  font-weight: 700;
  color: var(--savings-green);
  font-size: 0.95rem;
}

/* M1 Summary Grid */
.m1-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
}

.chart-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.chart-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-line {
  width: 20px;
  border-top: 3px solid;
}

.legend-line.before {
  border-top-style: dashed;
  color: var(--waste-red);
}

.legend-line.after {
  color: var(--savings-green);
}

.canvas-container {
  height: 220px;
}

.canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.savings-highlight-card {
  background: linear-gradient(135deg, var(--crust-500) 0%, var(--crust-700) 100%);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.sh-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 6px;
}

.sh-amount {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #FEF3C7;
}

.sh-sub {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.4;
}

.sh-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sh-stat-col strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.sh-stat-col span {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ========================================================
   Module 2: B2B-Bestellassistent (Split Screen)
   ======================================================== */
.m2-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  min-height: 580px;
}

/* WhatsApp Left Screen */
.wa-pane {
  background: #EFEAE2;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.wa-header {
  background: #075E54;
  color: #FFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wa-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: #128C7E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFF;
}

.wa-info strong {
  display: block;
  font-size: 0.95rem;
}

.wa-info span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.wa-scenarios {
  background: #FFF;
  padding: 10px 16px;
  border-bottom: 1px solid #DDD;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wa-scenario-chip {
  font-size: 0.78rem;
  background: var(--charcoal-100);
  border: 1px solid var(--charcoal-200);
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 500;
  color: var(--charcoal-700);
}

.wa-scenario-chip:hover, .wa-scenario-chip.active {
  background: #128C7E;
  color: #FFF;
  border-color: #128C7E;
}

.wa-chat-body {
  flex-grow: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 380px;
}

.wa-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
  font-size: 0.885rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  line-height: 1.45;
}

.wa-msg.in {
  background: #FFF;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.wa-msg.out {
  background: #E7FFDB;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.wa-time {
  font-size: 0.68rem;
  color: #888;
  float: right;
  margin-top: 6px;
  margin-left: 10px;
}

.voice-memo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8F9FA;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  margin-top: 8px;
}

.voice-play-btn {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #128C7E;
  color: #FFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  flex-grow: 1;
}

.wave-bar {
  width: 3px;
  background: #94A3B8;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.voice-memo-box.playing .wave-bar {
  background: #128C7E;
  animation: wavePulse 0.6s infinite ease-in-out alternate;
}

@keyframes wavePulse {
  0% { height: 6px; }
  100% { height: 22px; }
}

.wa-input-row {
  background: #F0F2F5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-input-field {
  flex-grow: 1;
  min-width: 0;
  border: 1px solid #CCC;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.885rem;
  outline: none;
  background: #FFF;
}

.wa-send-btn {
  width: 38px;
  height: 38px;
  flex: none;
  background: #128C7E;
  color: #FFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ERP Right Screen */
.erp-pane {
  background: #FFF;
  padding: clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
}

.erp-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.erp-title-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.erp-sync-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--savings-green-light);
  color: var(--savings-green);
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.erp-customer-card {
  background: var(--charcoal-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.875rem;
}

.erp-customer-col strong {
  display: block;
  color: var(--charcoal-900);
}

.erp-customer-col span {
  font-size: 0.78rem;
  color: var(--charcoal-500);
}

.erp-total-col {
  text-align: right;
}

.erp-items-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
}

.erp-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.erp-items-table th {
  background: var(--crust-100);
  color: var(--charcoal-800);
  font-weight: 700;
  padding: 10px 7px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.erp-items-table td {
  padding: 12px 7px;
  border-bottom: 1px solid var(--border-subtle);
}

.erp-items-table code,
.erp-items-table td:nth-child(3),
.erp-items-table td:nth-child(4),
.erp-items-table td:nth-child(5),
.erp-items-table .match-badge {
  white-space: nowrap;
}

.match-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #DCFCE7;
  color: #15803D;
}

.erp-actions-row {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.erp-target-selector {
  font-size: 0.825rem;
  color: var(--charcoal-600);
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 12rem;
  min-width: 0;
}

.erp-target-selector .form-select {
  min-width: 0;
}

.erp-actions-row .btn {
  max-width: 100%;
  margin-inline-start: auto;
  white-space: normal;
  text-align: center;
}

/* ========================================================
   Module 3: Team- & HACCP-Copilot (Theken-Terminal)
   ======================================================== */
.m3-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  padding: 28px;
  align-items: start;
}

/* Phone / Terminal Shell */
.phone-shell {
  width: 100%;
  background: #1E293B;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 4px solid #334155;
  position: relative;
}

.phone-screen {
  background: #FAF8F5;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.phone-top-bar {
  background: #FFF;
  padding: 12px 18px 8px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}

.phone-brand {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--crust-500);
}

.phone-lang-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.lang-btn {
  font-size: 0.75rem;
  background: #FFF;
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--crust-500);
  color: #FFF;
  border-color: var(--crust-500);
}

.phone-mode-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #FFF;
  border-bottom: 1px solid var(--border-light);
}

.phone-mode-btn {
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--charcoal-500);
}

.phone-mode-btn.active {
  color: var(--crust-500);
  border-bottom-color: var(--crust-500);
  background: var(--crust-50);
}

.phone-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

/* Voice trigger box */
.voice-action-box {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.mic-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--crust-500);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.3);
}

.mic-circle.recording {
  animation: micPulse 1.2s infinite;
  background: #DC2626;
}

@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.voice-prompt-text {
  font-size: 0.825rem;
  color: var(--charcoal-600);
  margin-bottom: 10px;
}

.preset-query-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.query-chip {
  background: var(--charcoal-50);
  border: 1px solid var(--charcoal-200);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  color: var(--charcoal-700);
  font-weight: 500;
  transition: all 0.15s ease;
}

.query-chip:hover {
  background: var(--crust-100);
  border-color: var(--crust-400);
  color: var(--crust-800);
}

/* Allergen Result Card */
.allergen-result-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.arc-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}

.arc-status {
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.arc-status.safe { background: #DCFCE7; color: #15803D; }
.arc-status.warning { background: #FEF3C7; color: #B45309; }

.arc-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal-900);
}

.arc-answer {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--charcoal-800);
}

.allergen-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tag-item {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--charcoal-100);
  color: var(--charcoal-700);
  font-weight: 600;
}

.tag-item.allergen {
  background: #FEE2E2;
  color: #B91C1C;
}

/* M3 Context Right Pane */
.m3-explanation {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.m3-explanation h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.m3-feature-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m3-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.m3-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--crust-100);
  color: var(--crust-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.haccp-table-preview {
  margin-top: 24px;
  background: var(--charcoal-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.haccp-table-preview h4 {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================================
   ROI Calculator Section
   ======================================================== */
.roi-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.roi-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.slider-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal-800);
}

.slider-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--crust-500);
  background: var(--crust-100);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: 8px;
  min-width: 70px;
  text-align: right;
}

.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--crust-500);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.4);
  transition: transform 0.15s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* ROI Output Dashboard */
.roi-results {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.roi-main-stat {
  margin-bottom: 24px;
}

.roi-stat-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #FCD34D;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.roi-big-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: #34D399;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.roi-subtext {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-top: 6px;
}

.roi-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.roi-sec-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #F8FAFC;
}

.roi-sec-item span {
  font-size: 0.78rem;
  color: #94A3B8;
}

/* 3 Steps Pilot Section */
.steps-section {
  padding: 80px 0;
  background: #FFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 32px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--crust-500);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.3);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 12px 0 10px;
  color: var(--charcoal-900);
}

.step-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal-700);
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--charcoal-600);
  font-weight: 500;
}

.csv-check-details {
  margin-top: 36px;
  background: var(--bg-main);
  border: 2px dashed var(--crust-400);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  text-align: center;
}

.csv-check-details summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--crust-700);
  padding: 6px 0;
}

.csv-check-body {
  padding-top: 18px;
}

/* Hamburg Bakeries Target Section */
.hamburg-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.hamburg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bakery-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.bakery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bakery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.bakery-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal-900);
}

.bakery-location {
  font-size: 0.78rem;
  color: var(--crust-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bakery-address {
  font-size: 0.8rem;
  color: var(--charcoal-500);
  margin-bottom: 12px;
}

.bakery-focus {
  background: var(--crust-50);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.825rem;
  color: var(--charcoal-700);
}

.bakery-focus strong {
  color: var(--crust-700);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #FFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-main);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--charcoal-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--crust-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  background: #FFF;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--charcoal-700);
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 18px 24px 26px;
}

/* Pilot Project CTA & Booking Form */
.pilot-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFF;
  position: relative;
}

.pilot-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.pilot-cta-text h2 {
  color: #FFF;
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.pilot-cta-text p {
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.guarantee-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.guarantee-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--savings-green);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.booking-form-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  color: var(--charcoal-800);
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal-900);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--charcoal-500);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal-700);
}

.form-input, .form-select {
  padding: 12px 14px;
  border: 1px solid var(--charcoal-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--crust-500);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--charcoal-500);
  text-align: center;
  margin-top: 14px;
}

.contact-fields {
  min-width: 0;
  border: 0;
}

.contact-status:not(:empty) {
  margin: 12px 0;
}

#lead-verification-button[hidden] {
  display: none;
}

/* Footer */
.footer {
  background: var(--charcoal-900);
  color: var(--charcoal-400);
  padding: 60px 0 30px;
  font-size: 0.885rem;
  border-top: 1px solid var(--charcoal-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #FFF;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--charcoal-400);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #FFF;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-800);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* Native Modal Dialogs (Accessible Modern HTML5) */
dialog.custom-modal {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  max-width: 600px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  background: #FFF;
}

dialog.custom-modal::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--charcoal-500);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--charcoal-50);
}

/* Architecture Overview Table */
.arch-table-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.arch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.arch-table thead th {
  background: linear-gradient(90deg, #54250B 0%, #78350F 100%);
  color: #FFF;
  font-weight: 700;
  padding: 16px 22px;
  text-align: left;
  font-size: 0.95rem;
}

.arch-table tbody td {
  padding: 22px;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-subtle);
  vertical-align: top;
  width: 33.33%;
}

.arch-table tbody td:last-child {
  border-right: none;
}

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

.arch-table tbody tr:hover td {
  background: var(--crust-50);
}

.arch-table td strong {
  display: block;
  color: var(--charcoal-900);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.arch-table td p {
  font-size: 0.85rem;
  color: var(--charcoal-600);
  line-height: 1.5;
}

.arch-module-pill {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #FEF3C7;
  color: #92400E;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* Quantity Stepper in M1 Table */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 3px 8px;
  border-radius: 8px;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid #D97706;
  background: #FFF;
  color: #92400E;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background: #B45309;
  color: #FFF;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1E293B;
  color: #FFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 4px solid var(--savings-green);
}

.toast-notice.show {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1100px) {
  .m2-split {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .wa-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 1024px) {
  .nav-links { gap: 16px; }
  .location-pill { display: none; }
  .hero-title { font-size: 2.5rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics-grid { grid-template-columns: 1fr; }
  .m1-summary-grid { grid-template-columns: minmax(0, 1fr); }
  .m3-wrap { grid-template-columns: minmax(0, 1fr); }
  .phone-shell { max-width: 400px; margin: 0 auto; }
  .roi-card { grid-template-columns: 1fr; padding: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .hamburg-grid { grid-template-columns: 1fr; }
  .pilot-cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .erp-header {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
  .erp-customer-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 12px;
  }
  .erp-total-col {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
    text-align: left;
  }
  .erp-actions-row .btn { width: 100%; }
  .m3-wrap { padding: 12px; }
}
