export const PLAN_LIMITS = {
  free: {
    name: 'Free',
    price_eur_month: 0,
    employee_limit: 5,
    history_months: 1,
    solve_runs_per_month: 10,
    ai_parses_per_month: 20,
    legal_templates: true,
    pdf_export: false,
    excel_export: false,
    support: 'community',
    stripe_price_id: null,
    description: 'Für kleine Teams zum Ausprobieren',
    features: [
      'Bis zu 5 Mitarbeiter',
      '10 Schichtpläne/Monat',
      'Gesetzliche Vorlagen (Deutschland)',
      'KI-Bedingungserkennung',
    ],
  },
  pro: {
    name: 'Pro',
    price_eur_month: 29,
    employee_limit: 25,
    history_months: 6,
    solve_runs_per_month: 100,
    ai_parses_per_month: 200,
    legal_templates: true,
    pdf_export: true,
    excel_export: true,
    support: 'email',
    stripe_price_id: 'price_pro_monthly',
    description: 'Für wachsende Teams',
    features: [
      'Bis zu 25 Mitarbeiter',
      '100 Schichtpläne/Monat',
      'PDF & Excel Export',
      '6 Monate Verlauf',
      'E-Mail Support',
    ],
  },
  business: {
    name: 'Business',
    price_eur_month: 99,
    employee_limit: Infinity,
    history_months: Infinity,
    solve_runs_per_month: Infinity,
    ai_parses_per_month: Infinity,
    legal_templates: true,
    pdf_export: true,
    excel_export: true,
    support: 'priority',
    stripe_price_id: 'price_business_monthly',
    description: 'Für große Unternehmen',
    features: [
      'Unbegrenzte Mitarbeiter',
      'Unbegrenzte Schichtpläne',
      'PDF & Excel Export',
      'Unbegrenzter Verlauf',
      'Priority Support',
      'API-Zugang (demnächst)',
    ],
  },
} as const

export type PlanTier = keyof typeof PLAN_LIMITS
