/* Minimal standalone canvas reset */
    

    /* ==========================================================================
       STRICTLY SCOPED ERP REALITY CHECK APPLICATION CONTAINER
       Prevents style bleed with WordPress Astra Theme
       ========================================================================== */
    #erechnung-readiness-app {
      --bg-canvas: #f8fafc;
      --bg-surface: #ffffff;
      --slate-900: #0f172a;
      --slate-800: #1e293b;
      --slate-700: #334155;
      --slate-600: #475569;
      --slate-500: #64748b;
      --slate-400: #94a3b8;
      --slate-300: #cbd5e1;
      --slate-200: #e2e8f0;
      --slate-100: #f1f5f9;
      --slate-50:  #f8fafc;
      --amber-600: #d97706;
      --amber-500: #f59e0b;
      --amber-100: #fef3c7;
      --amber-50:  #fffbeb;
      --red-600:   #dc2626;
      --red-100:   #fee2e2;
      --red-50:    #fef2f2;
      --emerald-600: #059669;
      --emerald-100: #d1fae5;
      --emerald-50:  #ecfdf5;
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;
      --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);

      background-color: var(--bg-canvas);
      color: var(--slate-900);
      font-family: var(--font-sans);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

    #erechnung-readiness-app *,
    #erechnung-readiness-app *::before,
    #erechnung-readiness-app *::after {
      box-sizing: border-box;
    }

    /* Container */
    #erechnung-readiness-app .app-shell {
      max-width: 960px;
      margin: 0 auto;
      width: 100%;
      padding: 32px 20px 64px 20px;
      flex: 1;
    }

    /* Header & Navigation Bar */
    #erechnung-readiness-app .brand-header {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--slate-200);
      padding: 16px 24px;
      position: sticky;
      top: 0;
      z-index: 40;
    }

    #erechnung-readiness-app .brand-header-inner {
      max-width: 960px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    #erechnung-readiness-app .brand-logo-group {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    #erechnung-readiness-app .brand-logo {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--slate-900);
      text-transform: uppercase;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    #erechnung-readiness-app .brand-accent-dot {
      color: var(--amber-600);
      font-weight: 900;
    }

    #erechnung-readiness-app .brand-badge {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 4px 8px;
      background: var(--slate-100);
      color: var(--slate-600);
      border-radius: 4px;
      border: 1px solid var(--slate-200);
    }

    #erechnung-readiness-app .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    #erechnung-readiness-app .btn-text-nav {
      background: none;
      border: 1px solid transparent;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--slate-600);
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 6px;
      transition: all 0.15s ease;
      text-decoration: none;
    }

    #erechnung-readiness-app .btn-text-nav:hover {
      color: var(--slate-900);
      background: var(--slate-100);
      border-color: var(--slate-200);
    }

    /* Screen Views */
    #erechnung-readiness-app .view-screen {
      display: none;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    #erechnung-readiness-app .view-screen.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    /* Card Panels */
    #erechnung-readiness-app .card-panel {
      background: var(--bg-surface);
      border: 1px solid var(--slate-200);
      border-radius: 14px;
      padding: 40px;
      box-shadow: var(--shadow-sm);
    }

    @media (max-width: 640px) {
      #erechnung-readiness-app .card-panel {
        padding: 24px;
      }
    }

    /* ==========================================================================
       VIEW: WELCOME SCREEN
       ========================================================================== */
    #erechnung-readiness-app .hero-eyebrow {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--amber-600);
      letter-spacing: 0.08em;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    #erechnung-readiness-app .hero-title {
      font-family: var(--font-heading);
      font-size: 2.1rem;
      font-weight: 800;
      line-height: 1.2;
      color: var(--slate-900);
      letter-spacing: -0.025em;
      margin: 0 0 16px 0;
    }

    #erechnung-readiness-app .hero-lead {
      font-size: 1.05rem;
      color: var(--slate-600);
      line-height: 1.7;
      margin: 0 0 32px 0;
    }

    #erechnung-readiness-app .grid-benefits {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
      margin-bottom: 36px;
    }

    #erechnung-readiness-app .benefit-card {
      background: var(--slate-50);
      border: 1px solid var(--slate-200);
      border-radius: 10px;
      padding: 20px;
    }

    #erechnung-readiness-app .benefit-card h4 {
      font-family: var(--font-heading);
      font-size: 0.98rem;
      font-weight: 700;
      color: var(--slate-900);
      margin: 0 0 8px 0;
    }

    #erechnung-readiness-app .benefit-card p {
      font-size: 0.86rem;
      color: var(--slate-600);
      line-height: 1.55;
      margin: 0;
    }

    #erechnung-readiness-app .meta-checklist-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      padding: 18px 0;
      border-top: 1px solid var(--slate-200);
      border-bottom: 1px solid var(--slate-200);
      margin-bottom: 36px;
      font-size: 0.86rem;
      color: var(--slate-700);
    }

    #erechnung-readiness-app .meta-checklist-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
    }

    #erechnung-readiness-app .meta-checklist-item svg {
      color: var(--emerald-600);
      flex-shrink: 0;
    }

    /* Buttons */
    #erechnung-readiness-app .btn-primary {
      background: var(--slate-900);
      color: #ffffff;
      border: 1px solid var(--slate-900);
      font-size: 0.96rem;
      font-weight: 600;
      padding: 14px 28px;
      min-height: 48px;
      border-radius: 8px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: var(--shadow-sm);
      transition: all 0.15s ease;
      text-decoration: none;
    }

    #erechnung-readiness-app .btn-primary:hover:not(:disabled) {
      background: var(--slate-800);
      border-color: var(--slate-800);
      transform: translateY(-1px);
      box-shadow: var(--shadow-md);
    }

    #erechnung-readiness-app .btn-primary:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    #erechnung-readiness-app .btn-secondary {
      background: var(--bg-surface);
      color: var(--slate-700);
      border: 1px solid var(--slate-200);
      font-size: 0.94rem;
      font-weight: 600;
      padding: 14px 22px;
      min-height: 48px;
      border-radius: 8px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.15s ease;
      text-decoration: none;
    }

    #erechnung-readiness-app .btn-secondary:hover:not(:disabled) {
      background: var(--slate-100);
      color: var(--slate-900);
      border-color: var(--slate-300);
    }

    #erechnung-readiness-app .btn-secondary:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    #erechnung-readiness-app .btn-amber {
      background: var(--amber-600);
      color: #ffffff;
      border: 1px solid var(--amber-600);
      font-size: 0.96rem;
      font-weight: 600;
      padding: 14px 28px;
      min-height: 48px;
      border-radius: 8px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: var(--shadow-sm);
      transition: all 0.15s ease;
      text-decoration: none;
    }

    #erechnung-readiness-app .btn-amber:hover:not(:disabled) {
      background: #b45309;
      border-color: #b45309;
      transform: translateY(-1px);
    }

    /* ==========================================================================
       VIEW: ASSESSMENT STEP-THROUGH
       ========================================================================== */
    #erechnung-readiness-app .assessment-progress-wrapper {
      margin-bottom: 28px;
    }

    #erechnung-readiness-app .progress-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
      font-size: 0.85rem;
      color: var(--slate-500);
      font-weight: 600;
    }

    #erechnung-readiness-app .dimension-pill {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      background: var(--amber-50);
      color: var(--amber-600);
      border: 1px solid var(--amber-100);
      padding: 4px 10px;
      border-radius: 4px;
      font-weight: 700;
    }

    #erechnung-readiness-app .progress-track {
      background: var(--slate-200);
      height: 7px;
      border-radius: 999px;
      overflow: hidden;
      position: relative;
    }

    #erechnung-readiness-app .progress-bar-fill {
      background: var(--amber-600);
      height: 100%;
      width: 0%;
      transition: width 0.3s ease-out;
      border-radius: 999px;
    }

    /* Visual 6-Pill Dimension Roadmap */
    #erechnung-readiness-app .dimension-roadmap {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 6px;
      margin-bottom: 28px;
    }

    @media (max-width: 768px) {
      #erechnung-readiness-app .dimension-roadmap {
        display: none;
      }
    }

    #erechnung-readiness-app .roadmap-step {
      background: var(--slate-100);
      border: 1px solid var(--slate-200);
      border-radius: 6px;
      padding: 8px 6px;
      text-align: center;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--slate-400);
      transition: all 0.2s ease;
    }

    #erechnung-readiness-app .roadmap-step.active {
      background: var(--amber-50);
      border-color: var(--amber-600);
      color: var(--amber-600);
    }

    #erechnung-readiness-app .roadmap-step.completed {
      background: var(--emerald-50);
      border-color: var(--emerald-600);
      color: var(--emerald-600);
    }

    #erechnung-readiness-app .question-header {
      margin-bottom: 24px;
    }

    #erechnung-readiness-app .question-tag-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    #erechnung-readiness-app .badge-critical {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      background: var(--red-50);
      color: var(--red-600);
      border: 1px solid var(--red-100);
      padding: 4px 10px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    #erechnung-readiness-app .question-number-tag {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--slate-500);
    }

    #erechnung-readiness-app .question-text {
      font-family: var(--font-heading);
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--slate-900);
      line-height: 1.35;
      letter-spacing: -0.015em;
      margin: 0;
    }

    /* Options List */
    #erechnung-readiness-app .options-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 24px;
    }

    #erechnung-readiness-app .option-card {
      background: var(--bg-surface);
      border: 1.5px solid var(--slate-200);
      border-radius: 10px;
      padding: 16px 18px;
      min-height: 56px;
      cursor: pointer;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      position: relative;
      transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                  box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                  border-color 0.18s ease,
                  background-color 0.18s ease;
      user-select: none;
    }

    #erechnung-readiness-app .option-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px -2px rgba(15, 23, 42, 0.08);
      border-color: var(--slate-400);
    }

    #erechnung-readiness-app .option-card:focus-visible {
      outline: 2px solid var(--slate-900);
      outline-offset: 2px;
    }

    /* Radio Indicator */
    #erechnung-readiness-app .option-indicator {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 2px solid var(--slate-300);
      background: #ffffff;
      flex-shrink: 0;
      margin-top: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #erechnung-readiness-app .option-indicator::after {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ffffff;
      transform: scale(0);
      transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    #erechnung-readiness-app .option-card.selected .option-indicator::after {
      transform: scale(1);
    }

    #erechnung-readiness-app .option-body {
      flex: 1;
    }

    #erechnung-readiness-app .option-label {
      font-size: 0.96rem;
      color: var(--slate-900);
      font-weight: 500;
      line-height: 1.5;
    }

    /* Level Badges Base */
    #erechnung-readiness-app .option-level-badge {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      padding: 3px 8px;
      border-radius: 4px;
      margin-top: 8px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.18s ease;
    }

    /* Level 0: Critical Gap / Offenes Risiko (Red Accent) */
    #erechnung-readiness-app .option-card.opt-level-0 {
      background: #fef8f8;
      border-color: #fecaca;
      border-left: 5px solid #ef4444;
    }
    #erechnung-readiness-app .option-card.opt-level-0:hover {
      border-color: #f87171;
      border-left-color: #dc2626;
      background: #fee2e2;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px -2px rgba(239, 68, 68, 0.18);
    }
    #erechnung-readiness-app .option-card.opt-level-0.selected {
      border-color: #dc2626;
      border-left: 6px solid #dc2626;
      background: #fef2f2;
      box-shadow: 0 0 0 2px #dc2626, 0 8px 24px rgba(220, 38, 38, 0.20);
    }
    #erechnung-readiness-app .option-card.opt-level-0.selected .option-indicator {
      border-color: #dc2626;
      background: #dc2626;
    }
    #erechnung-readiness-app .option-card.opt-level-0 .option-level-badge {
      background: #fee2e2;
      color: #991b1b;
      border: 1px solid #fca5a5;
    }

    /* Level 1: Manual Workaround / Manuelle Behelfslösung (Amber Accent) */
    #erechnung-readiness-app .option-card.opt-level-1 {
      background: #fffdf5;
      border-color: #fed7aa;
      border-left: 5px solid #f59e0b;
    }
    #erechnung-readiness-app .option-card.opt-level-1:hover {
      border-color: #fbbf24;
      border-left-color: #d97706;
      background: #fef3c7;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px -2px rgba(245, 158, 11, 0.18);
    }
    #erechnung-readiness-app .option-card.opt-level-1.selected {
      border-color: #d97706;
      border-left: 6px solid #d97706;
      background: #fffbeb;
      box-shadow: 0 0 0 2px #d97706, 0 8px 24px rgba(217, 119, 6, 0.20);
    }
    #erechnung-readiness-app .option-card.opt-level-1.selected .option-indicator {
      border-color: #d97706;
      background: #d97706;
    }
    #erechnung-readiness-app .option-card.opt-level-1 .option-level-badge {
      background: #fef3c7;
      color: #92400e;
      border: 1px solid #fcd34d;
    }

    /* Level 2: In Progress / Im Aufbau (Blue Accent) */
    #erechnung-readiness-app .option-card.opt-level-2 {
      background: #f8faff;
      border-color: #bfdbfe;
      border-left: 5px solid #3b82f6;
    }
    #erechnung-readiness-app .option-card.opt-level-2:hover {
      border-color: #60a5fa;
      border-left-color: #2563eb;
      background: #e0f2fe;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px -2px rgba(59, 130, 246, 0.18);
    }
    #erechnung-readiness-app .option-card.opt-level-2.selected {
      border-color: #2563eb;
      border-left: 6px solid #2563eb;
      background: #eff6ff;
      box-shadow: 0 0 0 2px #2563eb, 0 8px 24px rgba(37, 99, 235, 0.20);
    }
    #erechnung-readiness-app .option-card.opt-level-2.selected .option-indicator {
      border-color: #2563eb;
      background: #2563eb;
    }
    #erechnung-readiness-app .option-card.opt-level-2 .option-level-badge {
      background: #dbeafe;
      color: #1e40af;
      border: 1px solid #93c5fd;
    }

    /* Level 3: Compliant & Verified / Vollständig im ERP gelöst (Emerald Accent) */
    #erechnung-readiness-app .option-card.opt-level-3 {
      background: #f6fdf9;
      border-color: #bbf7d0;
      border-left: 5px solid #10b981;
    }
    #erechnung-readiness-app .option-card.opt-level-3:hover {
      border-color: #34d399;
      border-left-color: #059669;
      background: #dcfce7;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px -2px rgba(16, 185, 129, 0.18);
    }
    #erechnung-readiness-app .option-card.opt-level-3.selected {
      border-color: #059669;
      border-left: 6px solid #059669;
      background: #ecfdf5;
      box-shadow: 0 0 0 2px #059669, 0 8px 24px rgba(5, 150, 105, 0.20);
    }
    #erechnung-readiness-app .option-card.opt-level-3.selected .option-indicator {
      border-color: #059669;
      background: #059669;
    }
    #erechnung-readiness-app .option-card.opt-level-3 .option-level-badge {
      background: #d1fae5;
      color: #065f46;
      border: 1px solid #86efac;
    }

    @keyframes optionCardPulse {
      0% { transform: scale(0.99); }
      50% { transform: scale(1.006); }
      100% { transform: scale(1); }
    }
    #erechnung-readiness-app .option-card.selected {
      animation: optionCardPulse 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    #erechnung-readiness-app .option-card.selected .option-label {
      font-weight: 600;
      color: var(--slate-900);
    }

    /* Auxiliary Options Row */
    #erechnung-readiness-app .aux-options-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 28px;
      padding-top: 16px;
      border-top: 1px dashed var(--slate-200);
    }

    #erechnung-readiness-app .btn-aux-option {
      background: var(--slate-50);
      border: 1px dashed var(--slate-300);
      color: var(--slate-600);
      font-size: 0.82rem;
      font-weight: 600;
      padding: 10px 16px;
      min-height: 44px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    #erechnung-readiness-app .btn-aux-option:hover {
      background: var(--slate-100);
      color: var(--slate-900);
      border-color: var(--slate-400);
    }

    #erechnung-readiness-app .btn-aux-option.selected {
      background: var(--slate-800);
      border-color: var(--slate-800);
      color: #ffffff;
    }

    /* Contextual Box (Always visible for better UX) */
    #erechnung-readiness-app .context-box {
      background: var(--slate-50);
      border-left: 3px solid var(--slate-400);
      border-radius: 0 8px 8px 0;
      padding: 16px 20px;
      margin-bottom: 28px;
    }

    #erechnung-readiness-app .context-box-title {
      font-family: var(--font-heading);
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--slate-700);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    #erechnung-readiness-app .context-box-

    /* Auto-Advance Toggle Row */
    #erechnung-readiness-app .preference-toggle-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
      font-size: 0.82rem;
      color: var(--slate-500);
      background: var(--slate-50);
      padding: 10px 14px;
      border-radius: 6px;
      border: 1px solid var(--slate-200);
    }

    #erechnung-readiness-app .preference-toggle-row label {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      font-weight: 600;
      color: var(--slate-700);
    }

    /* Assessment Controls Bar */
    #erechnung-readiness-app .assessment-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 20px;
      border-top: 1px solid var(--slate-200);
    }

    #erechnung-readiness-app .kb-hints {
      font-size: 0.78rem;
      color: var(--slate-400);
      display: none;
    }

    @media (min-width: 640px) {
      #erechnung-readiness-app .kb-hints {
        display: block;
      }
    }

    /* ==========================================================================
       VIEW: RESULTS DASHBOARD
       ========================================================================== */
    #erechnung-readiness-app .scorecard-hero {
      background: var(--slate-900);
      color: #ffffff;
      border-radius: 14px;
      padding: 36px;
      margin-bottom: 28px;
      position: relative;
      overflow: hidden;
    }

    #erechnung-readiness-app .scorecard-hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 100%;
      background: var(--amber-500);
    }

    #erechnung-readiness-app .scorecard-header-flex {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    @media (min-width: 640px) {
      #erechnung-readiness-app .scorecard-header-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    #erechnung-readiness-app .score-dial-box {
      display: flex;
      align-items: baseline;
      gap: 12px;
    }

    #erechnung-readiness-app .score-large-number {
      font-family: var(--font-heading);
      font-size: 3.8rem;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.03em;
      color: #ffffff;
    }

    #erechnung-readiness-app .score-scale-denom {
      font-size: 1.25rem;
      color: var(--slate-400);
      font-weight: 600;
    }

    #erechnung-readiness-app .tier-badge-pill {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 6px 14px;
      border-radius: 6px;
      display: inline-block;
      margin-top: 10px;
    }

    #erechnung-readiness-app .tier-badge-pill.tier-1 {
      background: rgba(220, 38, 38, 0.2);
      color: #fca5a5;
      border: 1px solid rgba(220, 38, 38, 0.4);
    }

    #erechnung-readiness-app .tier-badge-pill.tier-2 {
      background: rgba(217, 119, 6, 0.2);
      color: #fcd34d;
      border: 1px solid rgba(217, 119, 6, 0.4);
    }

    #erechnung-readiness-app .tier-badge-pill.tier-3 {
      background: rgba(59, 130, 246, 0.2);
      color: #93c5fd;
      border: 1px solid rgba(59, 130, 246, 0.4);
    }

    #erechnung-readiness-app .tier-badge-pill.tier-4 {
      background: rgba(5, 150, 105, 0.2);
      color: #6ee7b7;
      border: 1px solid rgba(5, 150, 105, 0.4);
    }

    #erechnung-readiness-app .scorecard-verdict {
      font-size: 1.05rem;
      color: var(--slate-200);
      line-height: 1.65;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid var(--slate-800);
    }

    /* Data Uncertainty Warning Banner */
    #erechnung-readiness-app .uncertainty-banner {
      background: var(--amber-50);
      border: 1px solid var(--amber-500);
      border-left: 4px solid var(--amber-600);
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 28px;
      display: none;
    }

    #erechnung-readiness-app .uncertainty-banner h4 {
      font-family: var(--font-heading);
      font-size: 0.98rem;
      font-weight: 800;
      color: #92400e;
      margin: 0 0 6px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    #erechnung-readiness-app .uncertainty-banner p {
      font-size: 0.86rem;
      color: #78350f;
      margin: 0;
      line-height: 1.5;
    }

    /* Red Flags Alert Section */
    #erechnung-readiness-app .red-flags-container {
      background: var(--red-50);
      border: 1px solid var(--red-100);
      border-left: 4px solid var(--red-600);
      border-radius: 10px;
      padding: 28px;
      margin-bottom: 32px;
    }

    #erechnung-readiness-app .red-flags-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }

    #erechnung-readiness-app .red-flags-header h3 {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--red-600);
      margin: 0;
    }

    #erechnung-readiness-app .red-flag-item {
      background: #ffffff;
      border: 1px solid rgba(220, 38, 38, 0.2);
      border-radius: 8px;
      padding: 16px;
      margin-bottom: 12px;
    }

    #erechnung-readiness-app .red-flag-item:last-child {
      margin-bottom: 0;
    }

    #erechnung-readiness-app .red-flag-category-tag {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--red-600);
      background: var(--red-50);
      padding: 3px 8px;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 6px;
    }

    #erechnung-readiness-app .red-flag-title {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--slate-900);
      margin-bottom: 4px;
    }

    #erechnung-readiness-app .red-flag-desc {
      font-size: 0.84rem;
      color: var(--slate-600);
      line-height: 1.5;
    }

    /* Dimensions Breakdown Matrix */
    #erechnung-readiness-app .breakdown-section {
      margin-bottom: 36px;
    }

    #erechnung-readiness-app .section-title {
      font-family: var(--font-heading);
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--slate-900);
      letter-spacing: -0.015em;
      margin: 0 0 18px 0;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 8px;
    }

    #erechnung-readiness-app .dimension-bars-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    #erechnung-readiness-app .dimension-bar-card {
      background: var(--bg-surface);
      border: 1px solid var(--slate-200);
      border-radius: 10px;
      padding: 18px 22px;
    }

    #erechnung-readiness-app .dim-meta-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    #erechnung-readiness-app .dim-name {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--slate-900);
    }

    #erechnung-readiness-app .dim-score-badge {
      font-family: var(--font-mono);
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--slate-900);
    }

    #erechnung-readiness-app .dimension-bar-item {
      background: var(--bg-surface);
      border: 1px solid var(--slate-200);
      border-radius: 10px;
      padding: 16px 20px;
      margin-bottom: 12px;
    }

    #erechnung-readiness-app .dimension-bar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      font-size: 0.92rem;
    }

    #erechnung-readiness-app .dim-bar-track,
    #erechnung-readiness-app .dimension-track {
      background: var(--slate-100);
      height: 10px;
      border-radius: 999px;
      overflow: hidden;
      position: relative;
      width: 100%;
    }

    #erechnung-readiness-app .dim-bar-fill,
    #erechnung-readiness-app .dimension-fill {
      height: 100%;
      background: var(--slate-900);
      border-radius: 999px;
      transition: width 0.4s ease;
    }

    /* Visual Benchmark Tick strictly contained inside Progress Track */
    #erechnung-readiness-app .benchmark-tick {
      position: absolute;
      top: 0;
      bottom: 0;
      height: 100%;
      width: 2px;
      background: var(--slate-900);
      z-index: 5;
      opacity: 0.6;
      pointer-events: none;
    }

    #erechnung-readiness-app .dim-meta-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
      font-size: 0.76rem;
      color: var(--slate-500);
    }

    /* Results Screen Retake & Reset Toolbar */
    #erechnung-readiness-app .results-retake-bar {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 12px;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px dashed var(--slate-200);
    }

    #erechnung-readiness-app .btn-retake-action {
      background: transparent;
      color: var(--slate-600);
      border: 1px solid var(--slate-300);
      border-radius: 6px;
      padding: 9px 16px;
      font-size: 0.84rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      transition: all 0.18s ease;
    }

    #erechnung-readiness-app .btn-retake-action:hover {
      background: var(--slate-100);
      color: var(--slate-900);
      border-color: var(--slate-400);
    }

    #erechnung-readiness-app .btn-retake-top {
      background: rgba(255, 255, 255, 0.08);
      color: var(--slate-200);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 6px;
      padding: 7px 14px;
      font-size: 0.80rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.18s ease;
    }

    #erechnung-readiness-app .btn-retake-top:hover {
      background: rgba(255, 255, 255, 0.18);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.4);
    }

    #erechnung-readiness-app .btn-restart-app {
      background: transparent;
      border: 1px solid var(--slate-300);
      color: var(--slate-600);
      font-size: 0.80rem;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 6px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.18s ease;
    }

    #erechnung-readiness-app .btn-restart-app:hover {
      background: var(--slate-100);
      color: var(--slate-900);
      border-color: var(--slate-400);
    }

    /* 3-Card Product Ladder Conversion Suite */
    #erechnung-readiness-app .ladder-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 18px;
    }

    @media (min-width: 820px) {
      #erechnung-readiness-app .ladder-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    #erechnung-readiness-app .conversion-card {
      border: 1px solid var(--slate-200);
      border-radius: 12px;
      padding: 24px;
      background: var(--bg-surface);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: var(--shadow-sm);
    }

    #erechnung-readiness-app .conversion-card.featured {
      background: #ffffff;
      border: 2px solid var(--amber-600);
      position: relative;
    }

    #erechnung-readiness-app .ladder-tier-badge {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--slate-500);
      margin-bottom: 8px;
      display: block;
    }

    #erechnung-readiness-app .conversion-card.featured .ladder-tier-badge {
      color: var(--amber-600);
    }

    #erechnung-readiness-app .conversion-card h4 {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--slate-900);
      margin: 0 0 6px 0;
    }

    #erechnung-readiness-app .ladder-price-tag {
      font-family: var(--font-mono);
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--slate-800);
      margin-bottom: 14px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--slate-100);
    }

    #erechnung-readiness-app .conversion-card p {
      font-size: 0.85rem;
      color: var(--slate-600);
      line-height: 1.6;
      margin: 0 0 20px 0;
    }

    /* Form Controls */
    #erechnung-readiness-app .input-field {
      width: 100%;
      padding: 12px 14px;
      min-height: 46px;
      border: 1px solid var(--slate-300);
      border-radius: 8px;
      font-size: 0.88rem;
      font-family: inherit;
      color: var(--slate-900);
      background: #ffffff;
    }

    #erechnung-readiness-app .input-field:focus {
      outline: none;
      border-color: var(--amber-600);
      box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
    }

    #erechnung-readiness-app .gdpr-checkbox-label {
      font-size: 0.78rem;
      color: var(--slate-600);
      display: flex;
      align-items: flex-start;
      gap: 8px;
      line-height: 1.45;
      cursor: pointer;
    }

    #erechnung-readiness-app .gdpr-checkbox-label input {
      margin-top: 3px;
      flex-shrink: 0;
    }

    /* Modals & Dialogs */
    #erechnung-readiness-app .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(2px);
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    #erechnung-readiness-app .modal-overlay.active {
      display: flex;
    }

    #erechnung-readiness-app .modal-card {
      background: #ffffff;
      border-radius: 14px;
      max-width: 520px;
      width: 100%;
      padding: 32px;
      box-shadow: var(--shadow-lg);
      position: relative;
      max-height: 92vh;
      overflow-y: auto;
    }

    #erechnung-readiness-app .modal-close-x {
      position: absolute;
      top: 18px;
      right: 18px;
      background: var(--slate-100);
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 6px;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--slate-600);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #erechnung-readiness-app .modal-close-x:hover {
      background: var(--slate-200);
      color: var(--slate-900);
    }

    #erechnung-readiness-app .modal-card h3 {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--slate-900);
      margin: 0 0 8px 0;
      padding-right: 28px;
    }

    #erechnung-readiness-app .modal-card p {
      font-size: 0.88rem;
      color: var(--slate-600);
      line-height: 1.6;
      margin: 0 0 20px 0;
    }

    #erechnung-readiness-app .modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 20px;
    }

    /* Footer */
    #erechnung-readiness-app .practice-footer {
      background: var(--slate-900);
      color: var(--slate-400);
      padding: 40px 20px;
      font-size: 0.82rem;
      border-top: 1px solid var(--slate-800);
    }

    #erechnung-readiness-app .practice-footer-inner {
      max-width: 960px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    @media (min-width: 720px) {
      #erechnung-readiness-app .practice-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
      }
    }

    #erechnung-readiness-app .practice-footer a {
      color: var(--slate-300);
      text-decoration: none;
    }

    #erechnung-readiness-app .practice-footer a:hover {
      color: var(--amber-500);
    }

    #erechnung-readiness-app .footer-links-row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 10px;
    }

    /* Utility */
    #erechnung-readiness-app .mono { font-family: var(--font-mono); }
    #erechnung-readiness-app .text-amber { color: var(--amber-600); }
    #erechnung-readiness-app .text-emerald { color: var(--emerald-600); }
    #erechnung-readiness-app .text-red { color: var(--red-600); }
    #erechnung-readiness-app .honeypot-hidden {
      position: absolute !important;
      left: -9999px !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      opacity: 0 !important;
    }

    /* ==========================================================================
       STEP 2: UPFRONT LEAD REGISTRATION & QUALIFICATION CARD
       UI/UX Standards: b2b-web-builder, taste-skill, WCAG 2.2 AA
       ========================================================================== */
    #erechnung-readiness-app .lead-registration-card {
      margin-top: 32px;
      background: var(--bg-surface);
      border: 1px solid var(--slate-300);
      border-radius: 12px;
      padding: 32px min(32px, 5vw);
      box-shadow: var(--shadow-md);
      text-align: left;
    }

    #erechnung-readiness-app .lead-card-header {
      margin-bottom: 24px;
      border-bottom: 1px solid var(--slate-200);
      padding-bottom: 16px;
    }

    #erechnung-readiness-app .lead-card-badge {
      display: inline-block;
      background: var(--amber-50);
      color: var(--amber-600);
      border: 1px solid var(--amber-100);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 10px;
      border-radius: 4px;
      margin-bottom: 8px;
    }

    #erechnung-readiness-app .lead-card-title {
      font-family: var(--font-heading);
      font-size: 1.45rem;
      font-weight: 800;
      color: var(--slate-900);
      margin: 0 0 6px 0;
      line-height: 1.3;
    }

    #erechnung-readiness-app .lead-card-desc {
      font-size: 0.92rem;
      color: var(--slate-600);
      margin: 0;
      line-height: 1.5;
    }

    #erechnung-readiness-app .lead-form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
      gap: 18px;
      margin-bottom: 24px;
    }

    #erechnung-readiness-app .form-group {
      display: flex;
      flex-direction: column;
    }

    #erechnung-readiness-app .form-group label {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--slate-700);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    #erechnung-readiness-app .form-group label .req {
      color: var(--red-600);
    }

    #erechnung-readiness-app .form-group input,
    #erechnung-readiness-app .form-group select {
      height: 44px;
      min-height: 44px;
      padding: 8px 12px;
      border-radius: 6px;
      border: 1px solid var(--slate-300);
      background: var(--bg-surface);
      color: var(--slate-900);
      font-family: var(--font-sans);
      font-size: 0.9rem;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
      box-sizing: border-box;
    }

    #erechnung-readiness-app .form-group input:focus,
    #erechnung-readiness-app .form-group select:focus {
      outline: none;
      border-color: var(--amber-500);
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    }

    #erechnung-readiness-app .form-group.has-error input,
    #erechnung-readiness-app .form-group.has-error select {
      border-color: var(--red-600);
      background-color: var(--red-50);
    }

    #erechnung-readiness-app .field-error {
      display: none;
      font-size: 0.75rem;
      color: var(--red-600);
      margin-top: 4px;
      font-weight: 600;
    }

    #erechnung-readiness-app .form-group.has-error .field-error {
      display: block;
    }

    #erechnung-readiness-app .lead-consent-section {
      background: var(--slate-50);
      border: 1px solid var(--slate-200);
      border-radius: 8px;
      padding: 16px;
      margin-bottom: 24px;
    }

    #erechnung-readiness-app .consent-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.82rem;
      color: var(--slate-700);
      cursor: pointer;
      margin-bottom: 12px;
      line-height: 1.45;
    }

    #erechnung-readiness-app .consent-row input[type="checkbox"] {
      width: 18px;
      height: 18px;
      min-width: 18px;
      min-height: 18px;
      accent-color: var(--amber-600);
      margin-top: 2px;
      cursor: pointer;
    }

    #erechnung-readiness-app .privacy-notice {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 0.78rem;
      color: var(--slate-500);
      margin: 0;
      line-height: 1.4;
    }

    #erechnung-readiness-app .privacy-notice svg {
      min-width: 14px;
      margin-top: 2px;
      color: var(--slate-400);
    }

    #erechnung-readiness-app .privacy-notice a {
      color: var(--amber-600);
      text-decoration: underline;
    }

    #erechnung-readiness-app .lead-submit-wrapper {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    #erechnung-readiness-app .btn-submit-lead {
      min-height: 48px;
      width: 100%;
      font-size: 1rem;
      font-weight: 700;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 2px 4px rgba(217, 119, 6, 0.2);
    }

    #erechnung-readiness-app .btn-submit-lead:hover {
      filter: brightness(1.05);
    }

    #erechnung-readiness-app .lead-trust-strip {
      display: flex;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
      font-size: 0.78rem;
      color: var(--slate-500);
    }

    #erechnung-readiness-app .res-lead-banner {
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: 6px;
      padding: 10px 14px;
      margin-top: 14px;
      font-size: 0.85rem;
      color: #fef3c7;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    @media (max-width: 640px) {
      #erechnung-readiness-app .app-shell {
        padding: 16px 4px 40px 4px !important;
      }
      #erechnung-readiness-app .card-panel {
        padding: 16px 12px !important;
      }
      #erechnung-readiness-app .lead-registration-card {
        padding: 16px 12px !important;
      }
      #erechnung-readiness-app .lead-form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
      }
      #erechnung-readiness-app input,
      #erechnung-readiness-app select,
      #erechnung-readiness-app button {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
    }