// Default configuration - should be overridden by environment variables
export const defaultLegalConfig = {
    companyName: process.env.COMPANY_NAME || "Stargirlnails Kiel",
    ownerName: process.env.OWNER_NAME || "Inhaber Name",
    address: {
        street: process.env.ADDRESS_STREET || "Liebigstr. 15",
        city: process.env.ADDRESS_CITY || "Kiel",
        postalCode: process.env.ADDRESS_POSTAL_CODE || "24145",
        country: process.env.ADDRESS_COUNTRY || "Deutschland",
        latitude: process.env.ADDRESS_LATITUDE ? parseFloat(process.env.ADDRESS_LATITUDE) : 54.3233,
        longitude: process.env.ADDRESS_LONGITUDE ? parseFloat(process.env.ADDRESS_LONGITUDE) : 10.1228,
    },
    contact: {
        phone: process.env.CONTACT_PHONE || "+49 431 123456",
        email: process.env.CONTACT_EMAIL || "info@stargirlnails.de",
        website: process.env.DOMAIN || "stargirlnails.de",
    },
    businessDetails: {
        taxId: process.env.TAX_ID || "",
        vatId: process.env.VAT_ID || "",
        commercialRegister: process.env.COMMERCIAL_REGISTER || "",
        responsibleForContent: process.env.RESPONSIBLE_FOR_CONTENT || "Inhaber Name",
    },
    dataProtection: {
        responsiblePerson: process.env.DATA_PROTECTION_RESPONSIBLE || "Inhaber Name",
        email: process.env.DATA_PROTECTION_EMAIL || "datenschutz@stargirlnails.de",
        purpose: process.env.DATA_PROTECTION_PURPOSE || "Terminbuchung und Kundenbetreuung",
        legalBasis: process.env.DATA_PROTECTION_LEGAL_BASIS || "Art. 6 Abs. 1 lit. b DSGVO (Vertragserfüllung) und Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)",
        dataRetention: process.env.DATA_PROTECTION_RETENTION || "Buchungsdaten werden 3 Jahre nach Vertragsende gespeichert",
        rights: process.env.DATA_PROTECTION_RIGHTS || "Auskunft, Berichtigung, Löschung, Einschränkung, Widerspruch, Beschwerde bei der Aufsichtsbehörde",
        cookies: process.env.DATA_PROTECTION_COOKIES || "Wir verwenden technisch notwendige Cookies für die Funktionalität der Website",
        thirdPartyServices: process.env.THIRD_PARTY_SERVICES ? process.env.THIRD_PARTY_SERVICES.split(',') : ["Resend (E-Mail-Versand)"],
        dataSecurity: process.env.DATA_PROTECTION_SECURITY || "SSL-Verschlüsselung, sichere Server, regelmäßige Updates",
        contactDataProtection: process.env.DATA_PROTECTION_CONTACT || "Bei Fragen zum Datenschutz wenden Sie sich an: datenschutz@stargirlnails.de",
    },
};
export function getLegalConfig() {
    return defaultLegalConfig;
}
