diff --git a/app/[locale]/referenzen/[slug]/page.tsx b/app/[locale]/referenzen/[slug]/page.tsx
index 04c36406c..277340595 100644
--- a/app/[locale]/referenzen/[slug]/page.tsx
+++ b/app/[locale]/referenzen/[slug]/page.tsx
@@ -135,7 +135,9 @@ export default async function ReferenceDetail(props: { params: Promise<{ locale:
Ort
-
{reference.frontmatter.location}
+
+ {reference.frontmatter.location ? reference.frontmatter.location.split('/')[0].replace(/\b\d{5}\b/g, '').trim() : ''}
+
diff --git a/app/[locale]/referenzen/page.tsx b/app/[locale]/referenzen/page.tsx
index 82a77b41c..4112b757e 100644
--- a/app/[locale]/referenzen/page.tsx
+++ b/app/[locale]/referenzen/page.tsx
@@ -42,6 +42,16 @@ export default async function ReferenzenOverview(props: { params: Promise<{ loca
const references = await getAllReferences(locale);
+ // Helper to clean up location names (remove PLZ and keep only first location if multiple)
+ const cleanLocation = (locStr: string | undefined) => {
+ if (!locStr) return '';
+ // Take first part before slash
+ let cleaned = locStr.split('/')[0].trim();
+ // Remove 5-digit PLZ
+ cleaned = cleaned.replace(/\b\d{5}\b/g, '').trim();
+ return cleaned;
+ };
+
// Enrich the static map locations with dynamic project data (images, details)
const enrichedLocations = defaultLocations.map(loc => {
if (loc.type === 'project') {
@@ -114,7 +124,7 @@ export default async function ReferenzenOverview(props: { params: Promise<{ loca
- {ref.frontmatter.location}
+ {cleanLocation(ref.frontmatter.location)}