The middleware was deleted in the Next.js 16 upgrade but is still required by next-intl to handle locale detection and URL rewriting. Without it, /auth/sign-in can't resolve to [locale=de]/auth/sign-in → 404. Uses createMiddleware from next-intl/middleware with the shared routing config.