// data.jsx — sample data for Immovertrieb wholix (deutsche Anlageimmobilien)

const SAMPLE_OBJEKTE = [
  {
    id: 'OBJ-2041',
    titel: 'Stadtvilla Königsallee — 3 Einheiten',
    adresse: 'Königsallee 42, 40212 Düsseldorf',
    ort: 'Düsseldorf',
    typ: 'Mehrfamilienhaus (Bestand)',
    status: 'aktiv',
    statusTone: 'green',
    bauJahr: 1962,
    sanierung: 2023,
    wfl: 248,
    nfl: 312,
    zimmer: 9,
    einheiten: 3,
    kaufpreis: 1_290_000,
    qmPreis: 5_201,
    miete: 4_240,
    bewirtschaftung: 380,
    energie: 'C',
    heizung: 'Gas-Brennwert',
    afaTyp: 'linear-2',
    cover: 'https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1200&q=80&auto=format&fit=crop',
    galerie: [
      'https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=900&q=80&auto=format&fit=crop',
      'https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=900&q=80&auto=format&fit=crop',
      'https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=900&q=80&auto=format&fit=crop',
      'https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=900&q=80&auto=format&fit=crop',
    ],
    interessenten: 14,
    reservierung: 'M. Albrecht',
    provisionPct: 3.57,
    eigentuemer: 'Falkenberg Immobilien GmbH',
    badge: 'Anlage-Highlight',
  },
  {
    id: 'OBJ-2042',
    titel: 'Neubau Maximilianhöfe — WE 04',
    adresse: 'Maximilianhöfe 7, 80539 München',
    ort: 'München',
    typ: 'Eigentumswohnung (Neubau §7b)',
    status: 'reserviert',
    statusTone: 'amber',
    bauJahr: 2025,
    wfl: 78,
    zimmer: 3,
    einheiten: 1,
    kaufpreis: 845_000,
    qmPreis: 10_833,
    miete: 1_910,
    bewirtschaftung: 165,
    energie: 'A+',
    heizung: 'Wärmepumpe',
    afaTyp: 'sonder-7b',
    cover: 'https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1200&q=80&auto=format&fit=crop',
    galerie: [
      'https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=900&q=80&auto=format&fit=crop',
      'https://images.unsplash.com/photo-1556909011-7309f48f79b6?w=900&q=80&auto=format&fit=crop',
      'https://images.unsplash.com/photo-1493809842364-78817add7ffb?w=900&q=80&auto=format&fit=crop',
    ],
    interessenten: 9,
    reservierung: 'Familie Vogt',
    provisionPct: 3.0,
    eigentuemer: 'Maximilianhöfe Bau GmbH',
    badge: 'Sonder-AfA §7b',
  },
  {
    id: 'OBJ-2039',
    titel: 'Denkmal Speicherstadt — Loft 12',
    adresse: 'Am Sandtorkai 12, 20457 Hamburg',
    ort: 'Hamburg',
    typ: 'Denkmalimmobilie',
    status: 'aktiv',
    statusTone: 'green',
    bauJahr: 1888,
    sanierung: 2024,
    wfl: 112,
    zimmer: 3.5,
    einheiten: 1,
    kaufpreis: 1_180_000,
    qmPreis: 10_536,
    miete: 2_240,
    bewirtschaftung: 230,
    energie: 'D',
    heizung: 'Fernwärme',
    afaTyp: 'denkmal-7i',
    cover: 'https://images.unsplash.com/photo-1493809842364-78817add7ffb?w=1200&q=80&auto=format&fit=crop',
    galerie: [
      'https://images.unsplash.com/photo-1493809842364-78817add7ffb?w=900&q=80&auto=format&fit=crop',
      'https://images.unsplash.com/photo-1505873242700-f289a29e1e0f?w=900&q=80&auto=format&fit=crop',
    ],
    interessenten: 21,
    provisionPct: 3.57,
    eigentuemer: 'Speicherstadt Heritage AG',
    badge: 'Denkmal-AfA §7i',
  },
  {
    id: 'OBJ-2037',
    titel: 'Reihenhaus Am Stadtwald',
    adresse: 'Am Stadtwald 19, 50935 Köln',
    ort: 'Köln',
    typ: 'Reihenhaus (Bestand)',
    status: 'verkauft',
    statusTone: 'grey',
    bauJahr: 1998,
    wfl: 142,
    zimmer: 5,
    einheiten: 1,
    kaufpreis: 720_000,
    qmPreis: 5_070,
    miete: 1_680,
    bewirtschaftung: 190,
    energie: 'B',
    heizung: 'Gas-Brennwert',
    afaTyp: 'linear-2',
    cover: 'https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=1200&q=80&auto=format&fit=crop',
    galerie: ['https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=900&q=80&auto=format&fit=crop'],
    interessenten: 0,
    provisionPct: 3.57,
    eigentuemer: 'Privat',
  },
  {
    id: 'OBJ-2044',
    titel: 'Apartment Belle Époque',
    adresse: 'Goethestraße 8, 60313 Frankfurt',
    ort: 'Frankfurt',
    typ: 'Eigentumswohnung (Bestand)',
    status: 'aktiv',
    statusTone: 'green',
    bauJahr: 1908,
    sanierung: 2019,
    wfl: 64,
    zimmer: 2,
    einheiten: 1,
    kaufpreis: 489_000,
    qmPreis: 7_640,
    miete: 1_280,
    bewirtschaftung: 145,
    energie: 'D',
    heizung: 'Etagenheizung',
    afaTyp: 'linear-2.5',
    cover: 'https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=1200&q=80&auto=format&fit=crop',
    galerie: ['https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=900&q=80&auto=format&fit=crop'],
    interessenten: 6,
    provisionPct: 3.57,
    eigentuemer: 'Privat',
  },
  {
    id: 'OBJ-2045',
    titel: 'Neubau Quartier Friedrichspark',
    adresse: 'Friedrichstraße 110, 10117 Berlin',
    ort: 'Berlin',
    typ: 'Eigentumswohnung (Neubau)',
    status: 'aktiv',
    statusTone: 'green',
    bauJahr: 2026,
    wfl: 96,
    zimmer: 3,
    einheiten: 1,
    kaufpreis: 920_000,
    qmPreis: 9_583,
    miete: 2_100,
    bewirtschaftung: 175,
    energie: 'A',
    heizung: 'Wärmepumpe',
    afaTyp: 'degressiv-5',
    cover: 'https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1200&q=80&auto=format&fit=crop',
    galerie: ['https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=900&q=80&auto=format&fit=crop'],
    interessenten: 11,
    provisionPct: 3.0,
    eigentuemer: 'Friedrichspark Bau KG',
    badge: 'Degressive AfA',
  },
];

const SAMPLE_KUNDEN = [
  { id: 'K-1041', name: 'Marcel Albrecht',  email: 'm.albrecht@example.de', tel: '+49 211 4422-019', stadt: 'Düsseldorf', stage: 'reservierung', berater: 'Sandra Kersten', objektId: 'OBJ-2041', budget: 1_400_000, ek: 480_000, einkommen: 11_400, score: 86, lastTouch: 'vor 2 Std', selbstauskunft: 'eingegangen' },
  { id: 'K-1042', name: 'Familie Vogt',     email: 'vogt.familie@example.de', tel: '+49 89 558-2210', stadt: 'München', stage: 'kauf', berater: 'Tim Rauch', objektId: 'OBJ-2042', budget: 900_000, ek: 320_000, einkommen: 9_800, score: 91, lastTouch: 'gestern', selbstauskunft: 'unterschrieben' },
  { id: 'K-1043', name: 'Dr. Lena Brandt',  email: 'lena.brandt@example.de', tel: '+49 30 4488-9912', stadt: 'Berlin', stage: 'expose', berater: 'Sandra Kersten', objektId: 'OBJ-2045', budget: 1_000_000, ek: 350_000, einkommen: 13_200, score: 88, lastTouch: 'vor 1 Tag', selbstauskunft: 'angefragt' },
  { id: 'K-1044', name: 'Yusuf & Aylin Demir', email: 'demir@example.de', tel: '+49 69 7711-340', stadt: 'Frankfurt', stage: 'qualifizierung', berater: 'Mira Hoffmann', objektId: 'OBJ-2044', budget: 540_000, ek: 120_000, einkommen: 7_400, score: 64, lastTouch: 'vor 3 Tagen', selbstauskunft: 'angefragt' },
  { id: 'K-1045', name: 'Peter Wenzel',     email: 'p.wenzel@example.de', tel: '+49 40 6230-118', stadt: 'Hamburg', stage: 'expose', berater: 'Tim Rauch', objektId: 'OBJ-2039', budget: 1_300_000, ek: 600_000, einkommen: 14_500, score: 92, lastTouch: 'heute', selbstauskunft: '—' },
  { id: 'K-1046', name: 'Annika Roth',      email: 'a.roth@example.de', tel: '+49 221 882-44',  stadt: 'Köln', stage: 'lead', berater: 'Mira Hoffmann', objektId: null, budget: 700_000, ek: 200_000, einkommen: 8_800, score: 71, lastTouch: 'gestern', selbstauskunft: '—' },
  { id: 'K-1047', name: 'Sabine Klar',      email: 's.klar@example.de', tel: '+49 89 224-7755', stadt: 'München', stage: 'lead', berater: 'Tim Rauch', objektId: null, budget: 850_000, ek: 250_000, einkommen: 10_100, score: 78, lastTouch: 'vor 4 Tagen', selbstauskunft: '—' },
  { id: 'K-1048', name: 'Jonas Pfeiffer',   email: 'j.pfeiffer@example.de', tel: '+49 30 1188-66', stadt: 'Berlin', stage: 'qualifizierung', berater: 'Sandra Kersten', objektId: 'OBJ-2045', budget: 1_100_000, ek: 400_000, einkommen: 12_300, score: 84, lastTouch: 'vor 2 Tagen', selbstauskunft: 'eingegangen' },
];

const SAMPLE_PARTNER = [
  { id: 'P-101', name: 'Sandra Kersten', rolle: 'Senior Vertriebspartnerin', region: 'NRW & Berlin', email: 'sandra@office-vertrieb.de', tel: '+49 211 99 88 700', kunden: 24, abschluesse: 7, pipeline: 4_120_000, provisionYTD: 168_400, provisionPct: 1.5, score: 94, status: 'aktiv' },
  { id: 'P-102', name: 'Tim Rauch',      rolle: 'Vertriebspartner',         region: 'Bayern & HH', email: 'tim@office-vertrieb.de',  tel: '+49 89 33 22 410', kunden: 18, abschluesse: 5, pipeline: 3_280_000, provisionYTD: 124_900, provisionPct: 1.4, score: 88, status: 'aktiv' },
  { id: 'P-103', name: 'Mira Hoffmann',  rolle: 'Junior-Beraterin',         region: 'Hessen & RP', email: 'mira@office-vertrieb.de', tel: '+49 69 77 88 22',  kunden: 12, abschluesse: 2, pipeline: 1_140_000, provisionYTD: 38_600,  provisionPct: 1.2, score: 76, status: 'aktiv' },
  { id: 'P-104', name: 'Bernd Lohse',    rolle: 'Tippgeber',                region: 'BW',          email: 'b.lohse@partner.de',      tel: '+49 711 88 224',  kunden: 6,  abschluesse: 1, pipeline: 540_000,   provisionYTD: 14_200,  provisionPct: 0.6, score: 64, status: 'aktiv' },
  { id: 'P-105', name: 'Greta Pohl',     rolle: 'Vertriebspartnerin',       region: 'Sachsen',     email: 'g.pohl@office-vertrieb.de', tel: '+49 351 22 11 9', kunden: 9,  abschluesse: 3, pipeline: 1_640_000, provisionYTD: 62_300,  provisionPct: 1.4, score: 82, status: 'aktiv' },
];

const PIPELINE_STAGES = [
  { key: 'lead',           label: 'Lead',                tone: 'grey'   },
  { key: 'qualifizierung', label: 'Qualifizierung',      tone: 'blue'   },
  { key: 'expose',         label: 'Exposé versendet',    tone: 'amber'  },
  { key: 'reservierung',   label: 'Reservierung',        tone: 'yellow' },
  { key: 'kauf',           label: 'Kaufabwicklung',      tone: 'green'  },
];

const SAMPLE_AKTIVITAET = [
  { typ: 'selbstauskunft', text: 'Marcel Albrecht hat die Selbstauskunft eingereicht', meta: 'OBJ-2041 · Stadtvilla Königsallee', zeit: 'vor 12 Min', icon: 'fileCheck', tone: 'green' },
  { typ: 'expose',         text: 'Dr. Lena Brandt hat das Exposé 6× geöffnet',         meta: 'OBJ-2045 · Quartier Friedrichspark', zeit: 'vor 38 Min', icon: 'eye', tone: 'amber' },
  { typ: 'reservierung',   text: 'Familie Vogt hat reserviert',                         meta: 'OBJ-2042 · WE 04 — 845.000 €',       zeit: 'vor 1 Std',  icon: 'bookmark', tone: 'yellow' },
  { typ: 'doc',            text: 'Peter Wenzel hat 3 Dokumente hochgeladen',           meta: 'Gehaltsnachweise · Kontoauszüge',    zeit: 'vor 2 Std',  icon: 'paperclip', tone: 'blue' },
  { typ: 'mail',           text: 'Kampagne „Anlage-Highlights Mai" versendet',         meta: '186 Empfänger · 32 % Öffnungsrate',  zeit: 'gestern',    icon: 'send', tone: 'grey' },
  { typ: 'lead',           text: 'Neuer Lead: Annika Roth (Köln)',                     meta: 'Budget bis 700.000 € · Webformular', zeit: 'gestern',    icon: 'plus', tone: 'green' },
];

window.SAMPLE_OBJEKTE = SAMPLE_OBJEKTE;
window.SAMPLE_KUNDEN = SAMPLE_KUNDEN;
window.SAMPLE_PARTNER = SAMPLE_PARTNER;
window.PIPELINE_STAGES = PIPELINE_STAGES;
window.SAMPLE_AKTIVITAET = SAMPLE_AKTIVITAET;
