;(function() {
// 1. CMS-Felder aus Webflow holen
var title = "LKW-Fahrer C+CE (m/w/d)";
var herausforderungen = "Auslieferung von Getränken im Umkreis von 100 Kilometern ";
var bewerberprofil = "Gültiger Führerschein C+CE und Erfahrung im LKW-Fahren ";
var rawDatePosted = "Sep 02, 2025";
var rawValidThrough = "";
var land = "DE";
var stadt = "Mülheim-Kärlich";
var ortName = ""
var gehaltMin = 3500;
var gehaltMax = 4000;
var arbeitsmodell = "Vollzeit";
// 2. Datum in ISO konvertieren
function toISO(dateString) {
var d = new Date(dateString);
return isNaN(d) ? "" : d.toISOString().split("T")[0];
}
var datePosted = toISO(rawDatePosted);
var validThrough = toISO(rawValidThrough);
// 3. Mapping Arbeitsmodell → Schema.org‑Werte
var map = {
"Vollzeit in Schichtarbeit": "FULL_TIME",
"Vollzeit": "FULL_TIME",
"Teilzeit": "PART_TIME",
"Minijob": "PART_TIME",
"Teil- und Vollzeit": '["FULL_TIME","PART_TIME"]'
};
var empVal = map[arbeitsmodell] || "OTHER";
var employmentType = empVal.startsWith("[")
? JSON.parse(empVal)
: empVal;
// 4. JSON‑LD‑Objekt zusammenstellen
var place = {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": stadt,
"addressCountry": land
}
};
if (ortName && ortName.trim() !== "") {
place.name = ortName;
}
var job = {
"@context": "https://schema.org/",
"@type": "JobPosting",
"title": title,
"description": herausforderungen + "
" + bewerberprofil,
"datePosted": datePosted,
"validThrough": validThrough,
"employmentType": employmentType,
"hiringOrganization": {
"@type": "Organization",
"name": "MD Unternehmensgruppe",
"sameAs": "https://www.md-unternehmensgruppe.de",
"logo": "https://www.md-unternehmensgruppe.de/logo.png"
},
"jobLocation": place,
"baseSalary": {
"@type": "MonetaryAmount",
"currency": "EUR",
"value": {
"@type": "QuantitativeValue",
"minValue": gehaltMin,
"maxValue": gehaltMax,
"unitText": "YEAR"
}
}
};
// 5. Skript-Tag erzeugen und ins
• Gültiger Führerschein der Klasse C+CE
• LKW-Fahrererfahrung von Vorteil
• Körperliche Belastbarkeit
• Grundkenntnisse in Deutsch
• Freundlichkeit, Teamfähigkeit und Flexibilität
• Vollzeitstelle
• Geregelte Arbeitszeiten
• Langfristige Beschäftigung
• Leistungsgerechte und pünktliche Bezahlung